{"_id":"trustlines-clientlib","_rev":"199-c66458cc26038da01d9954a19baafd26","name":"trustlines-clientlib","dist-tags":{"latest":"0.13.2-0","next":"0.1.2-next.20180816T100742Z.fdb2685.HEAD","dev":"0.13.5-0-dev.20200727T083650Z.399c5fc"},"versions":{"0.0.1":{"name":"trustlines-clientlib","version":"0.0.1","description":"Client library for trustlines network","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"./node_modules/typedoc/bin/typedoc --options tdconfig.json","lint":"tslint -c tslint.json ./src/**/**.ts ./tests/**/**.ts","lint-fix":"tslint -c tslint.json --fix ./src/**/**.ts ./tests/**/**.ts","test":"mocha --timeout 10000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"mocha --timeout 10000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"mocha --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"mocha --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","watch:esm":"tsc -w -m es6 --outDir lib-esm"},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":"","license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.5.2","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","es6-promise":"^4.1.1","isomorphic-fetch":"^2.2.1","mocha":"^5.2.0","reconnecting-websocket":"^3.0.7","ts-node":"^7.0.0","tslint":"^5.10.0","tslint-config-standard":"^7.1.0","typedoc":"^0.11.1","types-ethereumjs-util":"0.0.8","typescript":"^2.9.2","typings":"^2.1.1","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"bignumber.js":"7.2.1","eth-lightwallet":"^3.0.1","ethereumjs-abi":"^0.6.5","ethereumjs-util":"^5.2.0","html5-websocket":"^2.0.2","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10"},"gitHead":"a4d5cc19cc56aaa540ee35c8072cb2227a6a5e4b","_id":"trustlines-clientlib@0.0.1","_npmVersion":"5.5.1","_nodeVersion":"8.9.0","_npmUser":{"name":"jens_n","email":"jens@brainbot.com"},"dist":{"integrity":"sha512-HX2eqEeICusFpmSJU/0PybEJTQAmDKV4qsj1GDdeyJf3nib5wI68LpU82d1gj8aADsgLmTh9OSFhVc9+IgcIpg==","shasum":"7b49181a62b35a03aa8e3ecbb978361cbf0f2f0b","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.0.1.tgz","fileCount":4,"unpackedSize":486895,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbYXrbCRA9TVsSAnZWagAA4lwP/0zLoNYbQcZMxIfAn1+Q\ni/KrfLwgWChPtxKifWVZjkCo/XdomzKFNaYcpakXdkWUVd4H0Kq+aADZDKq2\n1jUT0kVZs2VSUp+GEsRVNEVTmELZFFclNHqGgYEPTRs2kb9hNhUjTsPlE/Ej\n2arxUxr1g+AITdNsMUgs1qcS4X0qTnEKjdJSr66S8TL305Tdce9J8dw8THXN\n5Im4XYbh3a0jJcd1ka/Uol85QN5EQfosq7/MVRopzyssN9zDMiZm8iFFcOqy\nozQPesFEaBzCKn8AMIHBxPaG+sjK1/vskmVeR3MMu+kpFAbB1N2vPfB4GBJJ\nmn5bd5cSPAXzNIz0wWrJ9GlcVHYZvNA4NIT9vithm9t+txxfuxRnGxm5BzL6\nEU/ub0lMZZGHSutAl7Inw4YTGQWlRjVgynMa7b0qr5vA4mXfs+AGmsQh2UcY\nlRNEmA/kO+aNi5DH4nSp3fk93iNf0eZ86jEDIwVt49T3VHf4OiOmg4BY4R59\nCD5L70Eb/vCA34XTD+ia/y8ek409gtTtUwN4eyn8dUk41KTv2meopEd27YsK\n7AD5Vld0fALw46P6+zSK7jml/WrV9N936L6ePjOzfunw3il/e6qv4ym/52f1\n0OwAhpA+Su9cLpDwDZZ3hK6DOkdQj5t69QXndIshIy7m2+YxLRrJ5bBrm6uH\nSIdJ\r\n=oyko\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHnZ6lfQJAFtKQj4mlPXTjruvr8Gp+7q6UnT0LJWXf5mAiEAj7XARk2Ml198jZVVVCxJt2uBPKE2QHtIXfC3og1cOGw="}]},"maintainers":[{"name":"jens_n","email":"jens@brainbot.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.0.1_1533115099472_0.022844897674838327"},"_hasShrinkwrap":false,"deprecated":"Package was moved to the @trustlines organisation. Intall latest version with npm install @trustlines/trustlines-clientlib"},"0.1.0":{"name":"trustlines-clientlib","version":"0.1.0","description":"Client library for trustlines network","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"./node_modules/typedoc/bin/typedoc --options tdconfig.json","lint":"tslint -c tslint.json ./src/**/**.ts ./tests/**/**.ts","lint-fix":"tslint -c tslint.json --fix ./src/**/**.ts ./tests/**/**.ts","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"mocha --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"mocha --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","watch:esm":"tsc -w -m es6 --outDir lib-esm","postversion":"git push --tags"},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.5.2","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","es6-promise":"^4.1.1","isomorphic-fetch":"^2.2.1","mocha":"^5.2.0","reconnecting-websocket":"^3.0.7","ts-node":"^7.0.0","tslint":"^5.10.0","tslint-config-standard":"^7.1.0","typedoc":"^0.11.1","types-ethereumjs-util":"0.0.8","typescript":"^2.9.2","typings":"^2.1.1","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"bignumber.js":"7.2.1","eth-lightwallet":"^3.0.1","ethereumjs-abi":"^0.6.5","ethereumjs-util":"^5.2.0","html5-websocket":"^2.0.2","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","web3":"^1.0.0-beta.34"},"gitHead":"f38aa92c727817d2cf47d95cb32920177af1bfd0","_id":"trustlines-clientlib@0.1.0","_npmVersion":"6.1.0","_nodeVersion":"8.0.0","_npmUser":{"name":"dakingha69","email":"dongha.kim210@gmail.com"},"dist":{"integrity":"sha512-qF1nE0YuisXXotYx2qjtSW0FsU9EQr/GiK5UdlbpLZJiTJUb+KqgJ+IV9wmlyyFcm7kEXmezo0aZQJl50y/ENw==","shasum":"688c505bc17264db02c6d55cd6ba3ee25e1c93e5","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.1.0.tgz","fileCount":57,"unpackedSize":6715859,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbYuEVCRA9TVsSAnZWagAAvsIP/iFH1NVHvA9+dwVY3WBF\nZelfqsN8sIDNVhLVia8Ftk5sx09QP9dP1ZRJ5OP9lNcNrcM80WVHY6p5+nZ+\n6LaIMi+C9kn/VYqNxCpyme/W/awyiCKaUJm97gc4WQPbYy5xkngi0A3r7s1B\ny/CZ3dGZ+OhhbFpSIFmQ2/g3zwGFHMVtb5ouUzeNg4f7fsMR2yloIAJvQrQ2\neQpzZP247BEjj8L/1/SP7I3Xs4ywVjql2Naao92s/giv9bq9Qvluh2G2Op8s\n/AtaxEUb32mhn1KAZu7XhU0S06tWxHQ7TAsyCv0NoJZsmnMpDEcbU9nI36er\npGyPNT57efC9gDis26F90jMjNUNSx+V17vodwJAHSOCddMFC8so9qopx2zMF\ncOQNdszude1mfCszU33h61vBR/81Ozn1tIF+kJtaETQpFxEMapASeLkqAu9L\n0PwkoHiFKvfEFlBcPw2QWveCMlo33T04DDtRrlW2a5Eun+qkGXGjaHZsZEa1\nAzagNFTGoaux1/0/FTOl/MGaWSgaAmuQfWJ8Nu6Zyw1wdFkhKP1kgvL9PPL4\nQ+sZjsreJKRlbJR3sM7x+lWdlBh0hQo7z9jGWyr3anYFW0saCJT8vXHmbKRG\nKoUtirozNyPZSYtoLdWv4tF+NLlGQGlDz5fEvfWdvzu1MZmmFp4OLxoqa8h7\nKNpB\r\n=y2yQ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDxzS23riDHUicja9LySusa6+t3uiB78BBVGEERVxO2qAIgW3w2R7PNG5NVegRfzWBPJfgMg/6ULhKCDjiLa14bfus="}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.1.0_1533206804459_0.36028665845225705"},"_hasShrinkwrap":false,"deprecated":"Package was moved to the @trustlines organisation. Intall latest version with npm install @trustlines/trustlines-clientlib"},"0.1.1":{"name":"trustlines-clientlib","version":"0.1.1","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"./node_modules/typedoc/bin/typedoc --options tdconfig.json","lint":"tslint -c tslint.json ./src/**/**.ts ./tests/**/**.ts","lint-fix":"tslint -c tslint.json --fix ./src/**/**.ts ./tests/**/**.ts","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"mocha --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"mocha --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","watch:esm":"tsc -w -m es6 --outDir lib-esm","postversion":"git push --tags"},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.5.2","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","es6-promise":"^4.1.1","isomorphic-fetch":"^2.2.1","mocha":"^5.2.0","reconnecting-websocket":"^3.0.7","ts-node":"^7.0.0","tslint":"^5.10.0","tslint-config-standard":"^7.1.0","typedoc":"^0.11.1","types-ethereumjs-util":"0.0.8","typescript":"^2.9.2","typings":"^2.1.1","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"bignumber.js":"7.2.1","eth-lightwallet":"^3.0.1","ethereumjs-abi":"^0.6.5","ethereumjs-util":"^5.2.0","html5-websocket":"^2.0.2","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","web3":"^1.0.0-beta.34"},"gitHead":"5a6f3ee3fbd5254a731f7a648531321ca6dfa45b","readme":"# trustlines-network clientlib\nA TypeScript/Javascript library for interacting with the [trustlines-network protocol](https://trustlines.network/).\n\n## Read the [Documentation](https://trustlines-network.github.io/clientlib-docs/)\n\n## Installation\nInstall the library using `npm` or `yarn`\n```bash\n$ npm install\n// OR\n$ yarn install\n```\n\n#### Import ES6 module\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n```\n\nUse the following configuration to connect to the currently deployed test setup.\n\n\n**NOTE: The [trustlines-network contracts](https://github.com/trustlines-network/contracts) are deployed on the Kovan testnet. Some Kovan Test ETH is therefore required to interact with the contracts in this setup.**\n\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n\nconst config = {\n  protocol: 'https',\n  host: 'relay0.testnet.trustlines.network',\n  path: 'api/v1/'\n}\n\nconst tlNetwork = new TLNetwork(config)\n```\n\n## Example\nThis library is a promise-based library. So every asynchronous call will return a native Javascript promise. If an error occurs the library will throw it. The caller has to handle it appropriately.\n\n```javascript\ntry {\n  const networks = await tlNetwork.currencyNetwokr.getAll()\n} catch (error) {\n  console.log('Caught error:', error)\n}\n```\n","readmeFilename":"README.md","_id":"trustlines-clientlib@0.1.1","_shasum":"66923223fa20ac72475a7590ca990521117b6b68","_from":".","_npmVersion":"4.2.0","_nodeVersion":"7.10.1","_npmUser":{"name":"dakingha69","email":"dongha.kim210@gmail.com"},"dist":{"shasum":"66923223fa20ac72475a7590ca990521117b6b68","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.1.1.tgz","fileCount":5,"unpackedSize":382799,"integrity":"sha512-as4WhGOl7yPTBj/kMHR60PoAotqCjZky+6W+72RahE792AHYCB3Toph2JVtlS56sNOMN88Q6wNelHujHVVkwAw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDiojTBx8qcp1aKJ9KQQre2I51+eG84wKuCxqnY7IORnQIhANy0d6xTOO5RuNS5TdRe9tYCMiT8f6W5ZqlBiP8qwH2x"}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.1.1_1533228891730_0.13284089738350047"},"_hasShrinkwrap":false,"deprecated":"Package was moved to the @trustlines organisation. Intall latest version with npm install @trustlines/trustlines-clientlib"},"0.1.2":{"name":"trustlines-clientlib","version":"0.1.2","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"./node_modules/typedoc/bin/typedoc --options tdconfig.json","lint":"tslint -c tslint.json ./src/**/**.ts ./tests/**/**.ts","lint-fix":"tslint -c tslint.json --fix ./src/**/**.ts ./tests/**/**.ts","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"mocha --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"mocha --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","watch:esm":"tsc -w -m es6 --outDir lib-esm","postversion":"git push --tags"},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.5.2","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","es6-promise":"^4.1.1","isomorphic-fetch":"^2.2.1","mocha":"^5.2.0","reconnecting-websocket":"^3.0.7","ts-node":"^7.0.0","tslint":"^5.10.0","tslint-config-standard":"^7.1.0","typedoc":"^0.11.1","types-ethereumjs-util":"0.0.8","typescript":"^2.9.2","typings":"^2.1.1","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"bignumber.js":"7.2.1","eth-lightwallet":"^3.0.1","ethereumjs-abi":"^0.6.5","ethereumjs-util":"^5.2.0","html5-websocket":"^2.0.2","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","web3":"^1.0.0-beta.34"},"gitHead":"79da2c2f300f485e6a3bf25defd7806089fcc513","readme":"# trustlines-network clientlib\nA TypeScript/Javascript library for interacting with the [trustlines-network protocol](https://trustlines.network/).\n\n## Read the [Documentation](https://trustlines-network.github.io/clientlib-docs/)\n\n## Installation\nInstall the library using `npm` or `yarn`\n```bash\n$ npm install\n// OR\n$ yarn install\n```\n\n#### Import ES6 module\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n```\n\nUse the following configuration to connect to the currently deployed test setup.\n\n\n**NOTE: The [trustlines-network contracts](https://github.com/trustlines-network/contracts) are deployed on the Kovan testnet. Some Kovan Test ETH is therefore required to interact with the contracts in this setup.**\n\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n\nconst config = {\n  protocol: 'https',\n  host: 'relay0.testnet.trustlines.network',\n  path: 'api/v1/'\n}\n\nconst tlNetwork = new TLNetwork(config)\n```\n\n## Example\nThis library is a promise-based library. So every asynchronous call will return a native Javascript promise. If an error occurs the library will throw it. The caller has to handle it appropriately.\n\n```javascript\ntry {\n  const networks = await tlNetwork.currencyNetwokr.getAll()\n}\ncatch (error) {\n  console.log('Caught error:', error)\n}\n```\n","readmeFilename":"README.md","_id":"trustlines-clientlib@0.1.2","_shasum":"d9b6dcc085a3e40186637422578fe79b23442b29","_from":".","_npmVersion":"4.2.0","_nodeVersion":"7.10.1","_npmUser":{"name":"dakingha69","email":"dongha.kim210@gmail.com"},"dist":{"shasum":"d9b6dcc085a3e40186637422578fe79b23442b29","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.1.2.tgz","integrity":"sha512-Z1/ONcKsEmw5w8Ckos1ggiQu+WIyp88vwvT8jVTkmYgR2WcRxnrC17QnxoRc5pITPB3xcEUenhvAnGOoLcm71w==","fileCount":56,"unpackedSize":653087,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbabzXCRA9TVsSAnZWagAAGgwP/1o2x7FMu7OX7Mhyd+53\nPhsWvhefd0ZL7uX6JAT0ScPOqt1X5Lqf7h7LkGUTpwOmojDxDbPtKJBTay3V\nI7IedYnWKoUV6cCiQjz/Iny+paMgW4sQcuexyPXE2DwtcUZKpeMmadCK8izX\n69ISUfiQxHaQ9RcVrqU+umu3krqyerYya8mslpFUgHwy4PzjLfNUO0gwnHRr\nO0LkRzmH4ZCmfEsne0AHEEuEYzX2R/RLeOuyLKqs67cvfWp07pZk9Y5zTE8H\n5/7NLIFnTdE4eYDParlepYNIkojSmd5/wZR1pEKWqrtqhAIxw8gR0ugoYlVD\nrFCSgcHUOcOaHnN/YMQJgTC2XSBZ4C6XgG4QrTtmVjJ/RbNmRNi8cRZ6fLoz\nDdgk5DdTmUr7kF9LZ86L8um23A9PO+J2PNmCiIlM56B6Ro0h7NUq2XAskg2E\nBdU6Yrqq4omkuuP0i3wfEWKvPtVWrOqmet/Tb/T7UsyQyuUOyPcWOc3uHPJT\nIFB2byAaSVvvYbxREHaVTVOxw1JJJyHWBelnBiI7TLly5cI8FEzvwMCxKbw9\n6I6OpFoFm6ujACdnDIqjiNrrqcwx5N5QZqRoQF6blS7LQJ+AoWl2NMqImwrj\nqwlArIem1h4CGnyCbiO2BGHqWng3F0W7yikmJ/q1ZJdYi+GKoR/T1oVcnu4v\nxR0L\r\n=RzVM\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDhmYbH43/a8V01fzmERJuHVaPbMbxPzKWPxfWCJWhtwAIgW+qr/SNOu5fS8BLyDuOzl2JIKmFaowmUz0Xfx2eV5sk="}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.1.2_1533656275763_0.48063776107835077"},"_hasShrinkwrap":false,"deprecated":"Package was moved to the @trustlines organisation. Intall latest version with npm install @trustlines/trustlines-clientlib"},"0.1.2-dev.20180816T093610Z.7f62300.HEAD":{"name":"trustlines-clientlib","version":"0.1.2-dev.20180816T093610Z.7f62300.HEAD","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"./node_modules/typedoc/bin/typedoc --options tdconfig.json","lint":"tslint -c tslint.json ./src/**/**.ts ./tests/**/**.ts","lint-fix":"tslint -c tslint.json --fix ./src/**/**.ts ./tests/**/**.ts","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"mocha --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"mocha --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","watch:esm":"tsc -w -m es6 --outDir lib-esm"},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.5.2","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","es6-promise":"^4.1.1","fluid-publish":"^2.2.0","isomorphic-fetch":"^2.2.1","mocha":"^5.2.0","reconnecting-websocket":"^3.0.7","ts-node":"^7.0.0","tslint":"^5.10.0","tslint-config-standard":"^7.1.0","typedoc":"^0.11.1","types-ethereumjs-util":"0.0.8","typescript":"^2.9.2","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"bignumber.js":"7.2.1","eth-lightwallet":"^3.0.1","ethereumjs-abi":"^0.6.5","ethereumjs-util":"^5.2.0","html5-websocket":"^2.0.2","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","web3":"^1.0.0-beta.34"},"gitHead":"7f62300a9155b41e29c1f3ca8c821fbb04901efb","readme":"# trustlines-network clientlib\nA TypeScript/Javascript library for interacting with the [trustlines-network protocol](https://trustlines.network/).\n\n## Read the [Documentation](https://trustlines-network.github.io/clientlib-docs/)\n\n## Installation\nInstall the library using `npm` or `yarn`\n```bash\n$ npm install\n// OR\n$ yarn install\n```\n\n#### Import ES6 module\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n```\n\nUse the following configuration to connect to the currently deployed test setup.\n\n\n**NOTE: The [trustlines-network contracts](https://github.com/trustlines-network/contracts) are deployed on the Kovan testnet. Some Kovan Test ETH is therefore required to interact with the contracts in this setup.**\n\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n\nconst config = {\n  protocol: 'https',\n  host: 'relay0.testnet.trustlines.network',\n  path: 'api/v1/'\n}\n\nconst tlNetwork = new TLNetwork(config)\n```\n\n## Example\nThis library is a promise-based library. So every asynchronous call will return a native Javascript promise. If an error occurs the library will throw it. The caller has to handle it appropriately.\n\n```javascript\ntry {\n  const networks = await tlNetwork.currencyNetwokr.getAll()\n}\ncatch (error) {\n  console.log('Caught error:', error)\n}\n```\n","readmeFilename":"README.md","_id":"trustlines-clientlib@0.1.2-dev.20180816T093610Z.7f62300.HEAD","_shasum":"93124713519a9ae54ee6ccc8aba9bef082f6987e","_from":".","_npmVersion":"4.2.0","_nodeVersion":"7.10.1","_npmUser":{"name":"dakingha69","email":"dongha.kim210@gmail.com"},"dist":{"shasum":"93124713519a9ae54ee6ccc8aba9bef082f6987e","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.1.2-dev.20180816T093610Z.7f62300.HEAD.tgz","integrity":"sha512-w7nptvw3tgc4WlbRfIRbEbu7xad14hMsNKqJrxHJH0sYsFlI/Z3GN1f+e+wVQ28I6npdaZktSY/TOWPC7yHvKA==","fileCount":56,"unpackedSize":653089,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbdUagCRA9TVsSAnZWagAA5iYP/1c9b7XdyVKDUN+6utEc\nxsIsYQx6TVRsbi/+JOYciYOlTdkav+o1WjsAGHrBU+x8jn9pRvD4UntIJGwi\n/DL1fbMisFf0A1Vc7xz/U4mDn4eTQnGy6Z8+NuAhks3dZAREWmnL+xJuCmY4\nKkKMP5OEfzKmHE6FspLtMgOpyYQfTlnXS8JIqXZ7wyta3TdW0GquM9+W0orK\nw8SvZAMSkK/Ao018NVpKUfW0rwKcSKFLJmHYgD9k6Fkd6L6PRlWL9DfMes2Y\nBa4C8r74kwCpjoUFGzlrKEMEXAsqcOA2oDeuPyy8OZ7LVDhDIrk3E2xT13kk\ntQjQ491eaWrJH8X8jxeWtny1AU6MsO5+weu/zV1tUj5q2SOsV0aRKqkdIq/5\n1eAt8jKqhxzjwSehy/oR4kyuwqKwGDw5pVPLF9cZeqICJhZ8GdAeA0A2XWem\nvofhazIl98USqRmE1cDCBDH4z+0JxedqSYFul4jWE8bejqh7ddEbLCGJ9TJG\nkx5a8dNBGa9JtbgHJxwD4IJAoOgb7zQ4nOXwGgDMBuhoGfq2NQJ9eXJw3yQ8\nQPlu4hj1/kZ1lWvEeR4bSKb/RmBl8ENzcanr0ZE4BBm0SaBfaFscdhisvVGT\nqu58GOs+bHUsvbvTt86xOkXhzImOvZqdwIF/W+tcbWitSjCMFZkzveh96qcW\nfy0U\r\n=e9bH\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIA9htincxMx0yXYbBwi7R3KmUCKGKl0Tcp6vMVtRfvBWAiEAnbAkOuQROvgaIkFQb0xiqsdSgT+saSi+JUaPENsAILA="}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.1.2-dev.20180816T093610Z.7f62300.HEAD_1534412447819_0.8442817149683477"},"_hasShrinkwrap":false},"0.1.2-next.20180816T100742Z.fdb2685.HEAD":{"name":"trustlines-clientlib","version":"0.1.2-next.20180816T100742Z.fdb2685.HEAD","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"./node_modules/typedoc/bin/typedoc --options tdconfig.json","lint":"tslint -c tslint.json ./src/**/**.ts ./tests/**/**.ts","lint-fix":"tslint -c tslint.json --fix ./src/**/**.ts ./tests/**/**.ts","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"mocha --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"mocha --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","watch:esm":"tsc -w -m es6 --outDir lib-esm"},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.5.2","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","es6-promise":"^4.1.1","fluid-publish":"^2.2.0","isomorphic-fetch":"^2.2.1","mocha":"^5.2.0","reconnecting-websocket":"^3.0.7","ts-node":"^7.0.0","tslint":"^5.10.0","tslint-config-standard":"^7.1.0","typedoc":"^0.11.1","types-ethereumjs-util":"0.0.8","typescript":"^2.9.2","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"bignumber.js":"7.2.1","eth-lightwallet":"^3.0.1","ethereumjs-abi":"^0.6.5","ethereumjs-util":"^5.2.0","html5-websocket":"^2.0.2","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","web3":"^1.0.0-beta.34"},"gitHead":"fdb2685604113405db7d3968651547d67e48e1eb","readme":"# trustlines-network clientlib\nA TypeScript/Javascript library for interacting with the [trustlines-network protocol](https://trustlines.network/).\n\n## Read the [Documentation](https://trustlines-network.github.io/clientlib-docs/)\n\n## Installation\nInstall the library using `npm` or `yarn`\n```bash\n$ npm install\n// OR\n$ yarn install\n```\n\n#### Import ES6 module\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n```\n\nUse the following configuration to connect to the currently deployed test setup.\n\n\n**NOTE: The [trustlines-network contracts](https://github.com/trustlines-network/contracts) are deployed on the Kovan testnet. Some Kovan Test ETH is therefore required to interact with the contracts in this setup.**\n\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n\nconst config = {\n  protocol: 'https',\n  host: 'relay0.testnet.trustlines.network',\n  path: 'api/v1/'\n}\n\nconst tlNetwork = new TLNetwork(config)\n```\n\n## Example\nThis library is a promise-based library. So every asynchronous call will return a native Javascript promise. If an error occurs the library will throw it. The caller has to handle it appropriately.\n\n```javascript\ntry {\n  const networks = await tlNetwork.currencyNetwokr.getAll()\n}\ncatch (error) {\n  console.log('Caught error:', error)\n}\n```\n","readmeFilename":"README.md","_id":"trustlines-clientlib@0.1.2-next.20180816T100742Z.fdb2685.HEAD","_shasum":"b7d62ca66b666d5f37c7b6a865bd07cfee345ac5","_from":".","_npmVersion":"4.2.0","_nodeVersion":"7.10.1","_npmUser":{"name":"dakingha69","email":"dongha.kim210@gmail.com"},"dist":{"shasum":"b7d62ca66b666d5f37c7b6a865bd07cfee345ac5","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.1.2-next.20180816T100742Z.fdb2685.HEAD.tgz","integrity":"sha512-2qwEMY154NsQHV3vlw5z80FFlPAwWHsaC9tWw+SRMl8o9gA0ymUNZMn79EiqF5AxvZqNNkra+a1ahD+Sqq7Arg==","fileCount":56,"unpackedSize":653090,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbdU7qCRA9TVsSAnZWagAAoxIQAIfjSKfHqZHYnqxPoLqp\nEnSV4g/MLjRTeWGFl3eO9+CBaguQvwEY+w9dP4EDw8QQf1uTzKTI3cNG6VP6\nHR0klIAO4twy/6vCqH79LEHeq+Ww1uLedQ1zOXn/pnmpFn0b3F1OQmMx/i9o\njhft7nLYjjsCdkmyVd+PE0bm+iUQAZcQ9+dkja0tIqXnqVE5i/gWkV234NKq\nO4A77JwO98XkuU6Pc6KiFvWfjEOcbfZuhd5ZR9+ZLQGgScQpEAY3WQrNtxbq\nRDwbtlKB5Y000MdOcIZgIhqu8xmwNUbOQq/nJcKitx8JWjXc3Ae8G2x2AKd1\nBrld5CBjGDrMy0+jPEy5OxsLaioKuhRPg7g0nSB/7H25fhWUzPZFP8YfBJ3T\nmPxxP2KWPemNj2KuM6JgThkh0vYcXvg+hrO2ImG9lWrvxejyuEM3wjgCSX9l\nLPz/CG0eMAX9cPMYLCggI4ORfwQ/FOV/F/nn7EFSsw7Zd90X/7lRaBwR2KRB\n5c6wKEXjWdjCYhx/rWQ/2j6LNvLL8NOVkSrYCH2Gc02hSvXPqjqb2ECE14rI\nDQIgnFLiK9Qj4lelavfXXyoM+G6UoJ1YtmuEBKifJrympfIPcS7PNIKTBjo8\n5zoxITboFNaFFCOHhbE2PQjAOE3z4hUrSFL2zQQNeEtgA4uPOaDj7K3RgfpL\ni2EB\r\n=E8zN\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGpAwNcl6ri0+Kl5DqIMiP3zlhwWlrQ4SHfIbo6rF00sAiBRWoJxeRdbadb0qFjhlUNckajOgV3sBuk0WuYfqj56Kg=="}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.1.2-next.20180816T100742Z.fdb2685.HEAD_1534414570447_0.81751424698393"},"_hasShrinkwrap":false},"0.1.2-dev.20180816T103808Z.2e313bb.HEAD":{"name":"trustlines-clientlib","version":"0.1.2-dev.20180816T103808Z.2e313bb.HEAD","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"./node_modules/typedoc/bin/typedoc --options tdconfig.json","lint":"tslint -c tslint.json ./src/**/**.ts ./tests/**/**.ts","lint-fix":"tslint -c tslint.json --fix ./src/**/**.ts ./tests/**/**.ts","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"mocha --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"mocha --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","watch:esm":"tsc -w -m es6 --outDir lib-esm"},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.5.2","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","es6-promise":"^4.1.1","fluid-publish":"^2.2.0","isomorphic-fetch":"^2.2.1","mocha":"^5.2.0","reconnecting-websocket":"^3.0.7","ts-node":"^7.0.0","tslint":"^5.10.0","tslint-config-standard":"^7.1.0","typedoc":"^0.11.1","types-ethereumjs-util":"0.0.8","typescript":"^2.9.2","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"bignumber.js":"7.2.1","eth-lightwallet":"^3.0.1","ethereumjs-abi":"^0.6.5","ethereumjs-util":"^5.2.0","html5-websocket":"^2.0.2","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","web3":"^1.0.0-beta.34"},"gitHead":"2e313bb5403a8f0d4f36f18cd7e062bdec305c30","readme":"# trustlines-network clientlib\nA TypeScript/Javascript library for interacting with the [trustlines-network protocol](https://trustlines.network/).\n\n## Read the [Documentation](https://trustlines-network.github.io/clientlib-docs/)\n\n## Installation\nInstall the library using `npm` or `yarn`\n```bash\n$ npm install\n// OR\n$ yarn install\n```\n\n#### Import ES6 module\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n```\n\nUse the following configuration to connect to the currently deployed test setup.\n\n\n**NOTE: The [trustlines-network contracts](https://github.com/trustlines-network/contracts) are deployed on the Kovan testnet. Some Kovan Test ETH is therefore required to interact with the contracts in this setup.**\n\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n\nconst config = {\n  protocol: 'https',\n  host: 'relay0.testnet.trustlines.network',\n  path: 'api/v1/'\n}\n\nconst tlNetwork = new TLNetwork(config)\n```\n\n## Example\nThis library is a promise-based library. So every asynchronous call will return a native Javascript promise. If an error occurs the library will throw it. The caller has to handle it appropriately.\n\n```javascript\ntry {\n  const networks = await tlNetwork.currencyNetwokr.getAll()\n} catch (error) {\n  console.log('Caught error:', error)\n}\n```\n","readmeFilename":"README.md","_id":"trustlines-clientlib@0.1.2-dev.20180816T103808Z.2e313bb.HEAD","_shasum":"3b0de1a184741905a8f5dfc5db48d708369acef4","_from":".","_npmVersion":"4.2.0","_nodeVersion":"7.10.1","_npmUser":{"name":"dakingha69","email":"dongha.kim210@gmail.com"},"dist":{"shasum":"3b0de1a184741905a8f5dfc5db48d708369acef4","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.1.2-dev.20180816T103808Z.2e313bb.HEAD.tgz","integrity":"sha512-loEA1IrxUloatAT0IvB2G1ALH3WmF7hsUkk8CrPGCZPAoBMgeFb0R6RepBK0mbmo1qd7RwlbuSEf5rIQxpIlLQ==","fileCount":56,"unpackedSize":653089,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbdVaRCRA9TVsSAnZWagAAnzMQAJvjUwct0b2s7TSYY68w\njtiPWtHh8G30E4e3XmyIwxxje5hi0sXZeJWtMqn0AE41gNY0tw1tVv5oOLQB\nTukp7M67TtPNxR9XBk0VTbP1j/0tn+4OZwAvfogR+LGDc5cnAJo52putXAPc\nODU3oT0ahOASl4eogVDvcySk8yMqfmq8jtnuM6sZm1NdR91brMTNbdUgJalA\nB54JRNZbHxoZ7BtT2iB0me1+MvpOY5fUINcSzKQr973rkFyLhuk0ACfjEEcG\nfjl7Hf8webc2h+AmDEdKqZ5yx8gI06RVa2EfYE7eCp2WggKR1bZz9gBzw5K4\nGsZwlMEqrJ+48uJ4QbFR6AzRCz6yUkOG6ttjH2OlFNuBJAL0ulLeixD2xGep\n+jVif0/FYjhdIzbj7ERpjkaMymMGUzpKzHWOnEgiSIYxUrVmV5AY3vjkTGyz\nXMzArpJW7cHTFbBsgImqld4cLA2TmLEvd0K6abGOeerBM5nZ2YTeSHwiT5gF\nuzkkZ4ARjpkxzeMvA07YTKrkfCghoFvqpr2cJAHAZsTCoHIJTh/GOAgE0ExS\n5wCIpfomEJd/HIGDidt8mwJUinpslisfdNMWU893S9i2tjCAW8QzLKo66mra\nobyjnmRmGgX3oRi2+8xLaodgguIbqwIhYNOqdsw58vJ53Z/699HbC52uAF7O\neiHz\r\n=l+qn\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDzLv2J8jqvB1nwTpFUCYx5ciSp1cAMDIDeBqbfvlHM/gIgKEdxcXZcvKp4yiafiZv55Mq/AWydOjK7iWQP1qWeb5U="}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.1.2-dev.20180816T103808Z.2e313bb.HEAD_1534416528450_0.12679792333004714"},"_hasShrinkwrap":false},"0.1.2-dev.20180817T100838Z.3438646.HEAD":{"name":"trustlines-clientlib","version":"0.1.2-dev.20180817T100838Z.3438646.HEAD","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"./node_modules/typedoc/bin/typedoc --options tdconfig.json","lint":"tslint -c tslint.json ./src/**/**.ts ./tests/**/**.ts","lint-fix":"tslint -c tslint.json --fix ./src/**/**.ts ./tests/**/**.ts","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"mocha --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"mocha --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump:pre":"npm --no-git-tag-version version","bump":"./bump.sh"},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.5.2","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","es6-promise":"^4.1.1","fluid-publish":"^2.2.0","isomorphic-fetch":"^2.2.1","mocha":"^5.2.0","reconnecting-websocket":"^3.0.7","ts-node":"^7.0.0","tslint":"^5.10.0","tslint-config-standard":"^7.1.0","typedoc":"^0.11.1","types-ethereumjs-util":"0.0.8","typescript":"^2.9.2","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"bignumber.js":"7.2.1","eth-lightwallet":"^3.0.1","ethereumjs-abi":"^0.6.5","ethereumjs-util":"^5.2.0","html5-websocket":"^2.0.2","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","web3":"^1.0.0-beta.34"},"gitHead":"34386467004018763e183aabe72cc56abc24da4b","readme":"# trustlines-network clientlib\nA TypeScript/Javascript library for interacting with the [trustlines-network protocol](https://trustlines.network/).\n\n## Read the [Documentation](https://trustlines-network.github.io/clientlib-docs/)\n\n## Installation\nInstall the library using `npm` or `yarn`\n```bash\n$ npm install\n// OR\n$ yarn install\n```\n\n#### Import ES6 module\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n```\n\nUse the following configuration to connect to the currently deployed test setup.\n\n\n**NOTE: The [trustlines-network contracts](https://github.com/trustlines-network/contracts) are deployed on the Kovan testnet. Some Kovan Test ETH is therefore required to interact with the contracts in this setup.**\n\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n\nconst config = {\n  protocol: 'https',\n  host: 'relay0.testnet.trustlines.network',\n  path: 'api/v1/'\n}\n\nconst tlNetwork = new TLNetwork(config)\n```\n\n## Example\nThis library is a promise-based library. So every asynchronous call will return a native Javascript promise. If an error occurs the library will throw it. The caller has to handle it appropriately.\n\n```javascript\ntry {\n  const networks = await tlNetwork.currencyNetwokr.getAll()\n} catch (error) {\n  console.log('Caught error:', error)\n}\n```\n","readmeFilename":"README.md","_id":"trustlines-clientlib@0.1.2-dev.20180817T100838Z.3438646.HEAD","_shasum":"27541814d41072752fe3ae9f08256dd134e40917","_from":".","_npmVersion":"4.2.0","_nodeVersion":"7.10.1","_npmUser":{"name":"dakingha69","email":"dongha.kim210@gmail.com"},"dist":{"shasum":"27541814d41072752fe3ae9f08256dd134e40917","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.1.2-dev.20180817T100838Z.3438646.HEAD.tgz","integrity":"sha512-R5rJSNzRmh4PuW9gaVwIH2lMkOnH6E81zafI1adCh3ymISVqrU0cww6nyC+rxJsrTo7fCJVwgheotTt02VxRtA==","fileCount":58,"unpackedSize":653351,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbdqB2CRA9TVsSAnZWagAAkPEQAIqKJohU2UXdpn64ssJS\nq6AZ3phoZCGua7zbCHwGyy5kJNk/hBYyNkO7twPvwWTOLyXEbf6x4ZFsThwm\nQ9yqVAWx2bYOvC/cXEIB9bzEaouMNmxm35ncU9w+fOYCOCJ6oZTwbmEI38m5\nM4J3idgwdAHrRZ3xJ8ZhV8uvLNKkZMeLohH4kN9SVbn2fMGjKTfaJwm+RM85\n24wT2gyzg/gI1LHe0FjC20/bb1qRFelSH54yOYMCTbyDD2gtOejuSD+YSfga\n0KMximWTDZEfs8xWT5fKuU/fNa0C/2ZEd/3ZLHoDMasA50/h8xLRE4FOA1Pc\nuWbp/McxRLsoXxgOkszVcar6xCyRBYa9zB929malnIIq0KnNFCrOAsB7BOh9\nkMKfcswiczEQTDpcsC/Ydof3FR8h7Ueap+OvxfZxtKSwFKB9avu/omPDQu2F\nyVmbKLqtJsc+w+FkL62YiybaEXWtpL9n5UkFWqS5P2fBoZWSDAqFu3fSBm8H\nsr4vbEih2gpAtvVpFnMRcHzuBkblKfU2NZA/g9Dv0L6IhkSxskSzPZwsuYKU\nYslIXdzqWlnkj2PNY114IbgXfbsVHm8tWyCywKK9dS9OtFIM4JZ67BxccS8e\nDR3VaOxZSVOFT/71/8QvMWXy7JSgGFQtD4E8khzISMwq6Ecex9PuCZR55On0\nvcsE\r\n=YvX6\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHHVxbdlDLCAh9lOkf8rcWFp8XvHbAyEHF9OUJTC6XbNAiBn7m9msw/tG6soE0h7SFxgJIUqIFfm0LNw0FqnSmWy9A=="}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.1.2-dev.20180817T100838Z.3438646.HEAD_1534500981708_0.882937033531703"},"_hasShrinkwrap":false},"0.1.2-dev.20180817T101709Z.d1e6622.HEAD":{"name":"trustlines-clientlib","version":"0.1.2-dev.20180817T101709Z.d1e6622.HEAD","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"./node_modules/typedoc/bin/typedoc --options tdconfig.json","lint":"tslint -c tslint.json ./src/**/**.ts ./tests/**/**.ts","lint-fix":"tslint -c tslint.json --fix ./src/**/**.ts ./tests/**/**.ts","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"mocha --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"mocha --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump:pre":"npm --no-git-tag-version version","bump":"./bump.sh"},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.5.2","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","es6-promise":"^4.1.1","fluid-publish":"^2.2.0","isomorphic-fetch":"^2.2.1","mocha":"^5.2.0","reconnecting-websocket":"^3.0.7","ts-node":"^7.0.0","tslint":"^5.10.0","tslint-config-standard":"^7.1.0","typedoc":"^0.11.1","types-ethereumjs-util":"0.0.8","typescript":"^2.9.2","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"bignumber.js":"7.2.1","eth-lightwallet":"^3.0.1","ethereumjs-abi":"^0.6.5","ethereumjs-util":"^5.2.0","html5-websocket":"^2.0.2","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","web3":"^1.0.0-beta.34"},"gitHead":"d1e6622b5834944fe23bf6b07afd93c57ef5cbad","readme":"# trustlines-network clientlib\nA TypeScript/Javascript library for interacting with the [trustlines-network protocol](https://trustlines.network/).\n\n## Read the [Documentation](https://trustlines-network.github.io/clientlib-docs/)\n\n## Installation\nInstall the library using `npm` or `yarn`\n```bash\n$ npm install trustlines-clientlib\n// OR\n$ yarn add trustlines-clientlib\n```\n\n#### Import ES6 module\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n```\n\nUse the following configuration to connect to the currently deployed test setup.\n\n\n**NOTE: The [trustlines-network contracts](https://github.com/trustlines-network/contracts) are deployed on the Kovan testnet. Some Kovan Test ETH is therefore required to interact with the contracts in this setup.**\n\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n\nconst config = {\n  protocol: 'https',\n  host: 'relay0.testnet.trustlines.network',\n  path: 'api/v1/'\n}\n\nconst tlNetwork = new TLNetwork(config)\n```\n\n## Example\nThis library is a promise-based library. So every asynchronous call will return a native Javascript promise. If an error occurs the library will throw it. The caller has to handle it appropriately.\n\n```javascript\ntry {\n  const networks = await tlNetwork.currencyNetwokr.getAll()\n} catch (error) {\n  console.log('Caught error:', error)\n}\n```\n","readmeFilename":"README.md","_id":"trustlines-clientlib@0.1.2-dev.20180817T101709Z.d1e6622.HEAD","_shasum":"81b707fedf18461872746046df2ee71136cb6a16","_from":".","_npmVersion":"4.2.0","_nodeVersion":"7.10.1","_npmUser":{"name":"dakingha69","email":"dongha.kim210@gmail.com"},"dist":{"shasum":"81b707fedf18461872746046df2ee71136cb6a16","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.1.2-dev.20180817T101709Z.d1e6622.HEAD.tgz","integrity":"sha512-exZFLFvl+s4vQhIidI1YwCT9qgM/2W5COgz+/dQPsk+wqrGZ3bwpnQw+uRSx7Se2pwamPmzm0OkKRlAyozxfyA==","fileCount":58,"unpackedSize":653389,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbdqR7CRA9TVsSAnZWagAA8fMQAILZTpiAjmO0mjeePNUZ\nfGTDm5EtjPAg/C+cPugsastBhgLObilKkS9J46pF/c1r3ohw1PNC9iHqWtKm\nY2fdh03SoXx57Sc7QA/gIY1VwN2bKVJvoS+bVCAHDAE4SHAPpsvYU5SRtllT\neYX1F15mG/032ED7pu4bNFT1eP81hSQ6WVngvtklTvQ9+dYSneQQCwyhC5tO\nIcyVNH0UnwURJmc/ZLEkfdyO7Dnkhg81sSNm1PK+gjYPjPo1lJLzxhZiI0dp\nFrDEcqzSm6PTaEHIFtvnBIkZLvNml5s7y9VeHPKFF5elNZi95yMAbYSujBdX\n3zQ3hjFnOedl6IPZSAuI4EMw5OXXNxpA3YfM/IjsQZkMLfeYpEOfNQGl+zCK\nAlQlVR3OEpyb9+i3Bm0yQ9DMD1dMokw7NLQ/94cfX0umitgoJe2qHFmCQmtw\nRAMHg+9bPiI01jSEk/G86TmD9FH7DObC5qsU8SRqf8xIEbY4YMk3gL5I6mPS\nU0ItuSJg2KXpEP8VD6z4ZMr7WarT/FsptQqrluZNrqydc/eKfmiiSDwSE8k+\n37sGGBvymLcFVbkg+nMr/JK8nYQ3gGgRg7W2lpywqmDXstX73JDij6DrtMoA\nArmTaxWaAKHMlivnWgJTpB5WaIJC5uSM9t7sxG/Z7NL35cKcMOt13eydMSYx\neXqz\r\n=hZ/m\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDFnNoXiOldlgIljouH8/25c73n3hwp+xCjGuH3l0dIagIhAJrIhfF81DuR95w6DVe0ennk1xiyWj0om9vMn8s3dJHZ"}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.1.2-dev.20180817T101709Z.d1e6622.HEAD_1534502011362_0.39845798619402695"},"_hasShrinkwrap":false},"0.1.2-dev.20180820T070359Z.826cf38.HEAD":{"name":"trustlines-clientlib","version":"0.1.2-dev.20180820T070359Z.826cf38.HEAD","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"./node_modules/typedoc/bin/typedoc --options tdconfig.json","lint":"tslint -c tslint.json ./src/**/**.ts ./tests/**/**.ts","lint-fix":"tslint -c tslint.json --fix ./src/**/**.ts ./tests/**/**.ts","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"mocha --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"mocha --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump:pre":"npm --no-git-tag-version version","bump":"./bump.sh"},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.5.2","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","es6-promise":"^4.1.1","fluid-publish":"^2.2.0","isomorphic-fetch":"^2.2.1","mocha":"^5.2.0","reconnecting-websocket":"^3.0.7","ts-node":"^7.0.0","tslint":"^5.10.0","tslint-config-standard":"^7.1.0","typedoc":"^0.11.1","types-ethereumjs-util":"0.0.8","typescript":"^2.9.2","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"bignumber.js":"7.2.1","eth-lightwallet":"^3.0.1","ethereumjs-abi":"^0.6.5","ethereumjs-util":"^5.2.0","html5-websocket":"^2.0.2","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","web3":"^1.0.0-beta.34"},"gitHead":"826cf38e552be1275b8e7bd759ca70c2ff27aaf0","readme":"# trustlines-network clientlib\nA TypeScript/Javascript library for interacting with the [trustlines-network protocol](https://trustlines.network/).\n\n## Read the [Documentation](https://trustlines-network.github.io/clientlib-docs/)\n\n## Installation\nInstall the library using `npm` or `yarn`\n```bash\n$ npm install trustlines-clientlib\n// OR\n$ yarn add trustlines-clientlib\n```\n\n#### Import ES6 module\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n```\n\nUse the following configuration to connect to the currently deployed test setup.\n\n\n**NOTE: The [trustlines-network contracts](https://github.com/trustlines-network/contracts) are deployed on the Kovan testnet. Some Kovan Test ETH is therefore required to interact with the contracts in this setup.**\n\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n\nconst config = {\n  protocol: 'https',\n  host: 'relay0.testnet.trustlines.network',\n  path: 'api/v1/'\n}\n\nconst tlNetwork = new TLNetwork(config)\n```\n\n## Example\nThis library is a promise-based library. So every asynchronous call will return a native Javascript promise. If an error occurs the library will throw it. The caller has to handle it appropriately.\n\n```javascript\ntry {\n  const networks = await tlNetwork.currencyNetwokr.getAll()\n} catch (error) {\n  console.log('Caught error:', error)\n}\n```\n","readmeFilename":"README.md","_id":"trustlines-clientlib@0.1.2-dev.20180820T070359Z.826cf38.HEAD","_shasum":"a84e429f8bd1c498ac4017bd450fcec0d73ef260","_from":".","_npmVersion":"4.2.0","_nodeVersion":"7.10.1","_npmUser":{"name":"dakingha69","email":"dongha.kim210@gmail.com"},"dist":{"shasum":"a84e429f8bd1c498ac4017bd450fcec0d73ef260","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.1.2-dev.20180820T070359Z.826cf38.HEAD.tgz","integrity":"sha512-BbjPufOBYWrv12RONynN+w//ZOL3eYkXyCH5k0axoQpnQLJTA+sKtpAnupPCklCyeTz5DndjPsAm1e8aIeAoWA==","fileCount":58,"unpackedSize":655997,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbemzDCRA9TVsSAnZWagAAbWUP/jBl7l1or7qdRVBj+s7G\n/XmKt4i45mcbUv7B7NVyfQbA/zDtb7OE0X/6pmi6zi2diZjUIDKXHyfkaqWn\nniM5Jyj/aSJHrZWxXnTOTBvbcltzhgDPISz80pPI0lHiHpLHjHJoUQhapXa1\nS7uIRTjf0/5eG314xgctpeBEE9ZR5gEP2/JiCPIpph8ONKZHAbz3gYKKmHUu\nczsvPA+2IjjQ5aQSuCAYi3brQKZSJSmiS0bI/kxiTquVwrmqTLc5iIw4LA/C\nzWSlvwC4YY3oLXNBIv2O//2oBTYCkg2wypybs/OJd0fHg9UA4W+YtA6CxkYi\nCcIrJ11mfrQYzDyoE3QpkeGESD4zdmcmIRP+XAz9h8fp7oLf4MH+CMtxd1eY\nVff7TWO6cLbnbsyHhoAc4WodxklBeQTacWjHdOqpUNxyhZfJXWudYWeZHUDS\n2zALXcWNiFRHDsuBd9UXnAVAMInV/ytToRXRAew0L/YyLLrKfnRPQI/7VY98\nDwjONE3cKyVGrPhp12noksDb0MgCmzdb3lVOLbqES0kXcAu3ZDJgVvRi0gey\nBTCD+aQfbsp6679r+65TNJs+A3GxwfWaIJXQrFVYcmq2Goi7Nojn1cYeoJKk\n89VWvB9FTalhl+fiDtXCX2PM50vILryIrm+5+vFaEEV/4VK/GVoJFi8VHNl8\nVPfP\r\n=oSro\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIQC9BWcrPZar8ZwEN6Nwhd/0gi0KUzCui92H6ii+qEUAnwIfP0dcs/s3XC3fHwLvESYgQsOISQZtlrILrBbryPOs7A=="}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.1.2-dev.20180820T070359Z.826cf38.HEAD_1534749891312_0.5770213884929298"},"_hasShrinkwrap":false},"0.1.3-dev.20180822T082547Z.24cba90.HEAD":{"name":"trustlines-clientlib","version":"0.1.3-dev.20180822T082547Z.24cba90.HEAD","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"./node_modules/typedoc/bin/typedoc --options tdconfig.json","lint":"tslint -c tslint.json ./src/**/**.ts ./tests/**/**.ts","lint-fix":"tslint -c tslint.json --fix ./src/**/**.ts ./tests/**/**.ts","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"mocha --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"mocha --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump:pre":"npm --no-git-tag-version version","bump":"./bump.sh"},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.5.2","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","es6-promise":"^4.1.1","fluid-publish":"^2.2.0","isomorphic-fetch":"^2.2.1","mocha":"^5.2.0","reconnecting-websocket":"^3.0.7","ts-node":"^7.0.0","tslint":"^5.10.0","tslint-config-standard":"^7.1.0","typedoc":"^0.11.1","types-ethereumjs-util":"0.0.8","typescript":"^2.9.2","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"bignumber.js":"7.2.1","eth-lightwallet":"^3.0.1","ethereumjs-abi":"^0.6.5","ethereumjs-util":"^5.2.0","html5-websocket":"^2.0.2","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","web3":"^1.0.0-beta.34"},"gitHead":"24cba90b0b3688885d5b74dd130877de896bca81","readme":"# trustlines-network clientlib\nA TypeScript/Javascript library for interacting with the [trustlines-network protocol](https://trustlines.network/).\n\n## Read the [Documentation](https://trustlines-network.github.io/clientlib-docs/)\n\n## Installation\nInstall the library using `npm` or `yarn`\n```bash\n$ npm install trustlines-clientlib\n// OR\n$ yarn add trustlines-clientlib\n```\n\n#### Import ES6 module\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n```\n\nUse the following configuration to connect to the currently deployed test setup.\n\n\n**NOTE: The [trustlines-network contracts](https://github.com/trustlines-network/contracts) are deployed on the Kovan testnet. Some Kovan Test ETH is therefore required to interact with the contracts in this setup.**\n\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n\nconst config = {\n  protocol: 'https',\n  host: 'relay0.testnet.trustlines.network',\n  path: 'api/v1/'\n}\n\nconst tlNetwork = new TLNetwork(config)\n```\n\n## Example\nThis library is a promise-based library. So every asynchronous call will return a native Javascript promise. If an error occurs the library will throw it. The caller has to handle it appropriately.\n\n```javascript\ntry {\n  const networks = await tlNetwork.currencyNetwokr.getAll()\n} catch (error) {\n  console.log('Caught error:', error)\n}\n```\n","readmeFilename":"README.md","_id":"trustlines-clientlib@0.1.3-dev.20180822T082547Z.24cba90.HEAD","_shasum":"16cc9c64f583467f96db977fe02b664445f98400","_from":".","_npmVersion":"4.2.0","_nodeVersion":"7.10.1","_npmUser":{"name":"dakingha69","email":"dongha.kim210@gmail.com"},"dist":{"shasum":"16cc9c64f583467f96db977fe02b664445f98400","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.1.3-dev.20180822T082547Z.24cba90.HEAD.tgz","integrity":"sha512-3OK9pRPdEN3qmC2NQC6dDwD9YEKtnuXFGf4brOcwYIYH8xh12eIy7pE1T0o0NFxaE4hGp5yEZRYDHhX06N/B/g==","fileCount":59,"unpackedSize":656426,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbfSduCRA9TVsSAnZWagAACfEP/36+M/XbcSsCPoikY7Hr\nthYaslQfPyHb5GVxSdwaYDctT+QPu4WvmYCKpIfbhQAJNNnQjOAukYUfjBZW\nbQQBzoOMg+Vx0G+0s+lPXCFtbtyhGn4x6IL6H3pYv42QFYxUQGqnmVGgJwoH\nz/eb7YDI3lPwk0bKsFMOpJJyNvbRkU7Yi1xNeSxamW68asDeVn0q3XonaEEm\nOJKtzHlkvY7IHaG7tP7DVewVEa85hxsCY7P1+Zv6GomcvjKWV3p3UTxOxYCK\nhf5h3nhc8q31Yg4Pfq8flc8Dq3P/OM7FcEzNz1vMlhsQBUbwbZTq6OL3Qp+a\nQkQWi19mVdEbb8T6U+Q9gUKQHFWGMSlNYy8lidvorScWN2Q7At9kCLAND3BL\nXpwS1Y3Mr7Cqde4HPl/8mZD1simHzoTnRIMVLGwZmwvgs5gUSd0zf/Qqu+HC\nGGv3+eC+nMYsYZuNOsBDIjr+8gjBwB3WVstzxS55fG7XCHP0LG0qL29jYywV\ntxDhAOA50Y1gd3kReltZs8njSvtI1N3cpZ22j8e8/mjG3uvu8BNzSxMCwJbM\n62PF8bYn9ywYBrsZiOdS1quSnESzjBSo9s+Z25AYoX+KuamP4s4amTcwPFft\no+K/WxsSLJ1uCtpBMoDvC+mNKMFFjU2P0TpkIk4Mqoi+YbIm96qx1HQ6sQxv\n2dJp\r\n=ZgE8\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFBsVYh+biXCCGUemUbQ5JtJInKOtkMH0Ugv/8lEPkAWAiBjYBu4cX5zHu2kDbin9/2wFPDA6EXaBpHAz1u2e+HtfQ=="}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.1.3-dev.20180822T082547Z.24cba90.HEAD_1534928749972_0.38147063988538776"},"_hasShrinkwrap":false},"0.1.3-dev.20180822T102431Z.1969074.HEAD":{"name":"trustlines-clientlib","version":"0.1.3-dev.20180822T102431Z.1969074.HEAD","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"./node_modules/typedoc/bin/typedoc --options tdconfig.json","lint":"tslint -c tslint.json ./src/**/**.ts ./tests/**/**.ts","lint-fix":"tslint -c tslint.json --fix ./src/**/**.ts ./tests/**/**.ts","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"mocha --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"mocha --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump:pre":"npm --no-git-tag-version version","bump":"./bump.sh"},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.5.2","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","es6-promise":"^4.1.1","fluid-publish":"^2.2.0","isomorphic-fetch":"^2.2.1","mocha":"^5.2.0","reconnecting-websocket":"^3.0.7","ts-node":"^7.0.0","tslint":"^5.10.0","tslint-config-standard":"^7.1.0","typedoc":"^0.11.1","types-ethereumjs-util":"0.0.8","typescript":"^2.9.2","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"bignumber.js":"7.2.1","eth-lightwallet":"^3.0.1","ethereumjs-abi":"^0.6.5","ethereumjs-util":"^5.2.0","html5-websocket":"^2.0.2","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","web3":"^1.0.0-beta.34"},"gitHead":"19690747f2013167c16bff41e687dfebd293716c","readme":"# trustlines-network clientlib\nA TypeScript/Javascript library for interacting with the [trustlines-network protocol](https://trustlines.network/).\n\n## Read the [Documentation](https://trustlines-network.github.io/clientlib-docs/)\n\n## Installation\nInstall the library using `npm` or `yarn`\n```bash\n$ npm install trustlines-clientlib\n// OR\n$ yarn add trustlines-clientlib\n```\n\n#### Import ES6 module\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n```\n\nUse the following configuration to connect to the currently deployed test setup.\n\n\n**NOTE: The [trustlines-network contracts](https://github.com/trustlines-network/contracts) are deployed on the Kovan testnet. Some Kovan Test ETH is therefore required to interact with the contracts in this setup.**\n\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n\nconst config = {\n  protocol: 'https',\n  host: 'relay0.testnet.trustlines.network',\n  path: 'api/v1/'\n}\n\nconst tlNetwork = new TLNetwork(config)\n```\n\n## Example\nThis library is a promise-based library. So every asynchronous call will return a native Javascript promise. If an error occurs the library will throw it. The caller has to handle it appropriately.\n\n```javascript\ntry {\n  const networks = await tlNetwork.currencyNetwokr.getAll()\n} catch (error) {\n  console.log('Caught error:', error)\n}\n```\n","readmeFilename":"README.md","_id":"trustlines-clientlib@0.1.3-dev.20180822T102431Z.1969074.HEAD","_shasum":"39b2e8f8e6c26df60c1d15787eca1ab932b20ec3","_from":".","_npmVersion":"4.2.0","_nodeVersion":"7.10.1","_npmUser":{"name":"dakingha69","email":"dongha.kim210@gmail.com"},"dist":{"shasum":"39b2e8f8e6c26df60c1d15787eca1ab932b20ec3","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.1.3-dev.20180822T102431Z.1969074.HEAD.tgz","integrity":"sha512-qHvvI+B1ReczC2j3q/qBYdNOdkQ3nOqNQV3douowOb4QPqLEzMCA9MJoUqlqG+nyddMcD5WwdwOB8xKcNwWTyA==","fileCount":59,"unpackedSize":656426,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbfUA9CRA9TVsSAnZWagAAergP/Aicyoz92gfNjqt/9D3m\ns3WmLdVqMrQoPZ5IoFgE6g7kiblsJNFVzC169tuSfQXwo1GQYP45k6Pw8ICJ\nY2GnYhXEVSzzufaI1XuBoV72+d9PEJkmGxbvWFGuL29fTY13JQly031WJnhp\nvYUsgioIxZOeyG5Aj9bpf5nLYLka51habaTkC1HyCExvGYfX22eOglq5pOR5\n4+bAjF3oZL2epc4gRQhuPuBW9pKj5wbdG56Fg8JS0VsNAid6C7xbUaey680X\nnIaERfUWU57bNitz6TP/uBTWTf9qbGPemcmpFVeFblthJPkPx/l5xKnF1Pvm\nlFYMw3w5qDmkm4IVF6dZWjm+tnu53+T9QYnlsv1+PmFqHHPsy5y0yin0IJlX\nUKvJnUv0zFjSo2l72tU8HiwScOrtgxMmv75xpIRoC5OQQl5Wqot5G+BjQCW2\nmGhyakkIsRdshhl/dwIczhPC/KUFG53CS/zBRV3KwTQ7SeNTe2zQybA6Xszm\nExY6GBCmNYCEganIRpVEXFWecf6t8kgmrLIV3H6tzE7W5Pl/OhEP6OADty8j\nuORBSfUtQsL4HNkRaqlimqgwaLEQOLn6ugpkB68ITCVuz8GKwH1j8j6+5cRL\nAepmQAzGrayjJgnrwJrMu7wL+2sLWXbxVKQ6vgURljJms2F6qsOrF1xMiyvU\nuydD\r\n=4Pwp\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDXQQwv2lnx0I2WAyTWEHnFs8l2kQih/vaI2U7nzrCzGgIhAKLc9BGPBieygtaDcsCqo3c5RGNGr1E8352DU11eheFj"}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.1.3-dev.20180822T102431Z.1969074.HEAD_1534935100758_0.23015602837771842"},"_hasShrinkwrap":false},"0.1.3":{"name":"trustlines-clientlib","version":"0.1.3","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"./node_modules/typedoc/bin/typedoc --options tdconfig.json","lint":"tslint -c tslint.json ./src/**/**.ts ./tests/**/**.ts","lint-fix":"tslint -c tslint.json --fix ./src/**/**.ts ./tests/**/**.ts","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"mocha --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"mocha --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump:pre":"npm --no-git-tag-version version","bump":"./bump.sh"},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.5.2","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","es6-promise":"^4.1.1","fluid-publish":"^2.2.0","isomorphic-fetch":"^2.2.1","mocha":"^5.2.0","reconnecting-websocket":"^3.0.7","ts-node":"^7.0.0","tslint":"^5.10.0","tslint-config-standard":"^7.1.0","typedoc":"^0.11.1","types-ethereumjs-util":"0.0.8","typescript":"^2.9.2","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"bignumber.js":"7.2.1","eth-lightwallet":"^3.0.1","ethereumjs-abi":"^0.6.5","ethereumjs-util":"^5.2.0","html5-websocket":"^2.0.2","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","web3":"^1.0.0-beta.34"},"gitHead":"19690747f2013167c16bff41e687dfebd293716c","_id":"trustlines-clientlib@0.1.3","_shasum":"883fa803f244364cc86dfd197eb78cf129f3a77a","_from":".","_npmVersion":"4.2.0","_nodeVersion":"7.10.1","_npmUser":{"name":"dakingha69","email":"dongha.kim210@gmail.com"},"dist":{"shasum":"883fa803f244364cc86dfd197eb78cf129f3a77a","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.1.3.tgz","integrity":"sha512-aa0Yq4JbWWG+KmpBhkElypu/TeISHS8BEaxPt4jgdA/h9xgv1ByVou/UDenTrIyMZVN/VKqBNBj/y77bLzwv6w==","fileCount":59,"unpackedSize":656392,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbfULLCRA9TVsSAnZWagAAWXAQAJXK+Hw6gIrcYzbqslOJ\nImooeXtYCqg1q29O/urZj3M6teJ31oR8QBKIsBS9yn0LZG6ahIfQhqLjUqx+\nvFBVtmqU6jphVlfHPKdOM582ivyIRA6QZgcrSVAFi+192pp9meyAfwskrpmt\nIig15yWfiQVGfjwGuiBaL1IoYpHdFtkgLoSplCB4nnkcuMcOOz8gzYcsm8NB\nvqPtRCAvO0s8Jal7InpfK50jnTxikx/ODnjSVz/O2vcaIBCkzPdHIj7X9xDw\nif6dYWdL5Br/A2SNXVof2sPp91jKfYlY6l0XCrMQrnQ3OBWOpvV4D5oJvq9i\nvqeDypTyzb6VsRz0864J5aMy474DElE/pw1bk+/SPD66OZ6P624Cw2vnqRrV\n2o8+ZSY73uIpfuYEOafuEd5P/AeynQRdjKwHBlx7Y7rSf4Ab4J7V9uM+ZN+W\nfAJRSTrPTUHDUFp49rvTE7t/9DNr1JMwsWvGP6VsdVIiHasJsUQugOHl0ue7\n2efjRqdx1VTOASYmlrHBju/D1WkdZyhX7TUrXhVKdHqMu3V23cqycfU3xDMX\ne12IiHpwDi+EA6EYQRZlP429TocPsrYMFhJyJ1K4VZLq0WoPdBYcCLWUYeTS\nParQCSz6g95YoXpJMPgPM0eBdscECD4VDJUxDd/9yf+U6fmgK1pMoBP0ojhQ\n2h2t\r\n=kYz7\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICHM47xuT8pRXDHsglButgzl0LLm9PiU/4n0wsUiAjWsAiEA7yldkClDCvMPinfMCEOKoTUES6O8IELNeAblvSQ4he0="}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.1.3_1534935755008_0.5041195222027373"},"_hasShrinkwrap":false,"deprecated":"Package was moved to the @trustlines organisation. Intall latest version with npm install @trustlines/trustlines-clientlib"},"0.1.3-dev.20181009T153444Z.871eaa3.HEAD":{"name":"trustlines-clientlib","version":"0.1.3-dev.20181009T153444Z.871eaa3.HEAD","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"./node_modules/typedoc/bin/typedoc --options tdconfig.json","lint":"tslint -c tslint.json ./src/**/**.ts ./tests/**/**.ts","lint-fix":"tslint -c tslint.json --fix ./src/**/**.ts ./tests/**/**.ts","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"mocha --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"mocha --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump:pre":"npm --no-git-tag-version version","bump":"./bump.sh"},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.5.2","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","es6-promise":"^4.1.1","fluid-publish":"^2.2.0","isomorphic-fetch":"^2.2.1","mocha":"^5.2.0","reconnecting-websocket":"^3.0.7","ts-node":"^7.0.0","tslint":"^5.10.0","tslint-config-standard":"^7.1.0","typedoc":"^0.11.1","types-ethereumjs-util":"0.0.8","typescript":"^2.9.2","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"bignumber.js":"7.2.1","eth-lightwallet":"^3.0.1","ethereumjs-abi":"^0.6.5","ethereumjs-util":"^5.2.0","html5-websocket":"^2.0.2","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","web3":"^1.0.0-beta.34"},"gitHead":"871eaa3fca74a1a149046a7666e79795a2c76c25","readme":"# trustlines-network clientlib\nA TypeScript/Javascript library for interacting with the [trustlines-network protocol](https://trustlines.network/).\n\n## Read the [Documentation](https://trustlines-network.github.io/clientlib-docs/)\n\n## Installation\nInstall the library using `npm` or `yarn`\n```bash\n$ npm install trustlines-clientlib\n// OR\n$ yarn add trustlines-clientlib\n```\n\n#### Import ES6 module\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n```\n\nUse the following configuration to connect to the currently deployed test setup.\n\n\n**NOTE: The [trustlines-network contracts](https://github.com/trustlines-network/contracts) are deployed on the Kovan testnet. Some Kovan Test ETH is therefore required to interact with the contracts in this setup.**\n\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n\nconst config = {\n  protocol: 'https',\n  host: 'relay0.testnet.trustlines.network',\n  path: 'api/v1/'\n}\n\nconst tlNetwork = new TLNetwork(config)\n```\n\n## Example\nThis library is a promise-based library. So every asynchronous call will return a native Javascript promise. If an error occurs the library will throw it. The caller has to handle it appropriately.\n\n```javascript\ntry {\n  const networks = await tlNetwork.currencyNetwokr.getAll()\n} catch (error) {\n  console.log('Caught error:', error)\n}\n```\n","readmeFilename":"README.md","_id":"trustlines-clientlib@0.1.3-dev.20181009T153444Z.871eaa3.HEAD","_shasum":"89da85b2abf4ecb2d8a0acfbc46a2120a97a1ac0","_from":".","_npmVersion":"4.2.0","_nodeVersion":"7.10.1","_npmUser":{"name":"dakingha69","email":"dongha.kim210@gmail.com"},"dist":{"shasum":"89da85b2abf4ecb2d8a0acfbc46a2120a97a1ac0","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.1.3-dev.20181009T153444Z.871eaa3.HEAD.tgz","integrity":"sha512-paHXuxcgKQ0EstuwK70t7miIlVBXVJzQskTehPykogG0aOqN/yRbvA3ZwfO72NNwdguYiMWvX7fD5xcq1qKHKg==","fileCount":59,"unpackedSize":656426,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbvMwkCRA9TVsSAnZWagAAqx4P/i9aMBUaTC5KgpUXj5oc\nleziVc5lR/Oi1sDtFnkM1yYS16rM3Sbl2Bi+T460fiwn8whicwf5wMSLMUCE\n20pqZkfOiY7uVTOiJrv98KOv7Tw1McnuNiunYgV70ZHoL0XjTJEmof1tdr+P\ngsUVW1OAs7l62xS+SI4ScELPMCH77SD5SyJ/bUlFc0t4vK6f3Pb5yq4CxEsy\nV6Z0QcMGDhLIfEGBiDsu/rYl9Bkmr9OROyeCnuNuKqCJXW+gVXuupeVh3fPa\n821q/dMb84j2TOFvIZowkLiosqkhQ9g13VXCyujyFasqF0wNEHKTD30jSKi6\nsCGFapFpwm84NqZ3yI1aIIOUxkc5ANTaCiFeQM2w4+lSF5YGXWYS+mF6fasf\njR4MZ1NbuifS0Pw/PYFsBAxv9oPw/dvoEYmPxIKyrov7NdvCfzqeMjvvaZhL\n1llBvmwUeX1p28eddXif8ADJ4aLwESrvzTF2vJslb6LY78wsi2BDHNgInN2H\nBz1WqdnDT69VGGzJdh75ELhxK4oEajI7n48jRCFUZBx8/oR1yceyglLVd5sX\nK8zcr0NX6RF0L5GmXOpsrpaZaVnFxMtjixzc2ShIg77QWICg8h8Ep95dgEqM\ntHTbc0ZbqN9AjYJfXOb829YyzEmW4kNMr4rII2Xm2SMIDrhrRK6qhABeaPek\nH/vC\r\n=l22V\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEtMZ5ROwMrXzGRd99egQ9XNo8AVsSkvM9xef2poYj1wAiEA0zy7JUZ2fvbs9G6ZKaP3EUIz7nppBRLyEHmezkNb58I="}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.1.3-dev.20181009T153444Z.871eaa3.HEAD_1539099683261_0.3327003975555525"},"_hasShrinkwrap":false},"0.1.3-dev.20181011T124854Z.953e548.HEAD":{"name":"trustlines-clientlib","version":"0.1.3-dev.20181011T124854Z.953e548.HEAD","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"./node_modules/typedoc/bin/typedoc --options tdconfig.json","lint":"tslint -c tslint.json ./src/**/**.ts ./tests/**/**.ts","lint-fix":"tslint -c tslint.json --fix ./src/**/**.ts ./tests/**/**.ts","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"mocha --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"mocha --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump:pre":"npm --no-git-tag-version version","bump":"./bump.sh"},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.5.2","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","es6-promise":"^4.1.1","fluid-publish":"^2.2.0","isomorphic-fetch":"^2.2.1","mocha":"^5.2.0","reconnecting-websocket":"^3.0.7","ts-node":"^7.0.0","tslint":"^5.10.0","tslint-config-standard":"^7.1.0","typedoc":"^0.11.1","types-ethereumjs-util":"0.0.8","typescript":"^2.9.2","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"bignumber.js":"7.2.1","eth-lightwallet":"^3.0.1","ethereumjs-abi":"^0.6.5","ethereumjs-util":"^5.2.0","html5-websocket":"^2.0.2","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","web3":"^1.0.0-beta.34"},"gitHead":"953e54859a7dc2300652de12666c8dde7fad7406","readme":"# trustlines-network clientlib\nA TypeScript/Javascript library for interacting with the [trustlines-network protocol](https://trustlines.network/).\n\n## Read the [Documentation](https://trustlines-network.github.io/clientlib-docs/)\n\n## Installation\nInstall the library using `npm` or `yarn`\n```bash\n$ npm install trustlines-clientlib\n// OR\n$ yarn add trustlines-clientlib\n```\n\n#### Import ES6 module\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n```\n\nUse the following configuration to connect to the currently deployed test setup.\n\n\n**NOTE: The [trustlines-network contracts](https://github.com/trustlines-network/contracts) are deployed on the Kovan testnet. Some Kovan Test ETH is therefore required to interact with the contracts in this setup.**\n\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n\nconst config = {\n  protocol: 'https',\n  host: 'relay0.testnet.trustlines.network',\n  path: 'api/v1/'\n}\n\nconst tlNetwork = new TLNetwork(config)\n```\n\n## Example\nThis library is a promise-based library. So every asynchronous call will return a native Javascript promise. If an error occurs the library will throw it. The caller has to handle it appropriately.\n\n```javascript\ntry {\n  const networks = await tlNetwork.currencyNetwokr.getAll()\n} catch (error) {\n  console.log('Caught error:', error)\n}\n```\n","readmeFilename":"README.md","_id":"trustlines-clientlib@0.1.3-dev.20181011T124854Z.953e548.HEAD","_shasum":"8212cc212275c10aa71dbbfcc90bd46a90e068c0","_from":".","_npmVersion":"4.2.0","_nodeVersion":"7.10.1","_npmUser":{"name":"dakingha69","email":"dongha.kim210@gmail.com"},"dist":{"shasum":"8212cc212275c10aa71dbbfcc90bd46a90e068c0","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.1.3-dev.20181011T124854Z.953e548.HEAD.tgz","integrity":"sha512-1HawpCR12sRVbIdhryktWNL6uhS2jqvxNx8MqVcpT0Vgx2uEdSbvQM8mPF7bnDUl1AzWiZ4CSjBOZARSKpJkGg==","fileCount":59,"unpackedSize":660396,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbv0hRCRA9TVsSAnZWagAACYsP/iEu7dYOnYI48e8Gerzy\ngPNbo6iveykgbYcakjlhshNxZG5e5Pir2MAEOOrtwuBHNg+UYS5jZlJOay9V\nchSkLms05BIX4N1x2pAJLlZybNYbLbrpQ6inXFsLQ4QGD4vQ9r1Zp2pwMLZY\nMc3s+tDYAc8FpVh/dEZtX1+cyOZ2WgUjre/9m/e0zjbT3VrC5mxz+15AjT+I\ngzbdMVcrrcAg1xWCWY5eYsz+SjMYBmSUn+asKUcNrdoDY/xA5B6fTK/EHbyC\nGLng2soNWPwdHYh05VmUHa04ZPahMI49ESHY/aMWs72pA/Zj3EVc2VaJ1EEa\nSuvfPxSgbjgd+l9x7u50RFQCuGL7BiGrLST8daW5+d6edkoq3cw/QgyjIkAD\niGPUwtSuDsDsYDsga/7/vo/3Anx+Z1kr4QbcNjk+5UxaLac43x4pv6F0+ydF\nVewt1ObBbn+PbQiwYekH+EiHLaa1baWix6Ck11JT50iABRUQuUEHPXv2O6Zr\n7ssz5eQdl6c0P5yX+mXAm5sUwlgiWRz8ZAxO0aIaGQNe4LWydZN9vP7xXiJd\nD9D4Uxt+S2Kg/rL8aIoIFc+1Y7Ig97pySCdAGQlAEqr0hWVhu/kj9oKAlLIJ\nIYJ+muYrZHL8zdX+xQPcd2dZ6dZfYg1FlAazCRC2Yiojf2Mh0hdBXEk6z9Rr\nRMyj\r\n=q/dE\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCID5yyFdVshFesAY7OABBn+ubS9fHfol85isuIMxZoQGeAiBHItEFpAmlNyXfIY8MbPG2YeZ+RbpzbNTVARokZAyTww=="}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.1.3-dev.20181011T124854Z.953e548.HEAD_1539262544226_0.5942378434422364"},"_hasShrinkwrap":false},"0.1.3-dev.20181113T171213Z.6d797ce.HEAD":{"name":"trustlines-clientlib","version":"0.1.3-dev.20181113T171213Z.6d797ce.HEAD","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"./node_modules/typedoc/bin/typedoc --options tdconfig.json","lint":"tslint -c tslint.json ./src/**/**.ts ./tests/**/**.ts","lint-fix":"tslint -c tslint.json --fix ./src/**/**.ts ./tests/**/**.ts","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"mocha --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"mocha --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump:pre":"npm --no-git-tag-version version","bump":"./bump.sh"},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.5.2","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","es6-promise":"^4.1.1","fluid-publish":"^2.2.0","isomorphic-fetch":"^2.2.1","mocha":"^5.2.0","reconnecting-websocket":"^3.0.7","ts-node":"^7.0.0","tslint":"^5.10.0","tslint-config-standard":"^7.1.0","typedoc":"^0.11.1","types-ethereumjs-util":"0.0.8","typescript":"^2.9.2","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"bignumber.js":"7.2.1","eth-lightwallet":"^3.0.1","ethereumjs-abi":"^0.6.5","ethereumjs-util":"^5.2.0","html5-websocket":"^2.0.2","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","web3":"^1.0.0-beta.34"},"gitHead":"6d797ce8bbb1a64be47c2f45dab84810b30e30ed","readme":"# trustlines-network clientlib\nA TypeScript/Javascript library for interacting with the [trustlines-network protocol](https://trustlines.network/).\n\n## Read the [Documentation](https://trustlines-network.github.io/clientlib-docs/)\n\n## Installation\nInstall the library using `npm` or `yarn`\n```bash\n$ npm install trustlines-clientlib\n// OR\n$ yarn add trustlines-clientlib\n```\n\n#### Import ES6 module\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n```\n\nUse the following configuration to connect to the currently deployed test setup.\n\n\n**NOTE: The [trustlines-network contracts](https://github.com/trustlines-network/contracts) are deployed on the Kovan testnet. Some Kovan Test ETH is therefore required to interact with the contracts in this setup.**\n\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n\nconst config = {\n  protocol: 'https',\n  host: 'relay0.testnet.trustlines.network',\n  path: 'api/v1/'\n}\n\nconst tlNetwork = new TLNetwork(config)\n```\n\n## Example\nThis library is a promise-based library. So every asynchronous call will return a native Javascript promise. If an error occurs the library will throw it. The caller has to handle it appropriately.\n\n```javascript\ntry {\n  const networks = await tlNetwork.currencyNetwokr.getAll()\n} catch (error) {\n  console.log('Caught error:', error)\n}\n```\n","readmeFilename":"README.md","_id":"trustlines-clientlib@0.1.3-dev.20181113T171213Z.6d797ce.HEAD","_shasum":"1e8fb8bbaedaae4e5b1bf057b38bb19d05549be2","_from":".","_npmVersion":"4.2.0","_nodeVersion":"7.10.1","_npmUser":{"name":"dakingha69","email":"dongha.kim210@gmail.com"},"dist":{"shasum":"1e8fb8bbaedaae4e5b1bf057b38bb19d05549be2","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.1.3-dev.20181113T171213Z.6d797ce.HEAD.tgz","integrity":"sha512-I/m3//eeN2XS9SyNaeA9KJ/ZCyw7v2U2zbO0xHTpsruy+vUouYvmQeaEcAmEEqLYJMJblZUAld6EWpNtL4LZgg==","fileCount":59,"unpackedSize":692686,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb6whVCRA9TVsSAnZWagAA4dsP/iVNAkHENjEkeI/jrKup\nRtXPUHEWNiwT7gua1xKkSBE5so5INkX7yWGshNY4zfZnF8YpskDDsOo+zKxa\nFY50PsBsfqHSDfNGf9mfYm1kQieCnBmUkZ8YiW59NVJ2nEFvyz3Nq/wySNRH\njZEq7Azz6CjkZoTpIGZ92oei280Si3WvU9hGVZwUH3EgXWb1XcX/RRS/UCIV\nZcaf2o4RaZ8ykFBsoTe/uAl2Evgg7rBhFGui+QZNcOIMxw85jdinP4OjhoFX\nmFKnNE3AYrT6tPQuUUJp6EbCrzMi1n/KSlFP+3ZAlA0R0TJqHEslAChDIuBz\nhYA19raYZ9zYcSfBkSYid5XVFGKiRuNx3vgNJav0tZKVUUWx7paSkpm5nypw\nrnEZnuHJ0JVq3+35o37SdeSqrhrZJAnZvk/cr0T63tpNRCxrrZdrlM4GFpbx\nW9aEd0lz9NRGNDX9ZkVYI6ah3rZOoYFDGwnVLwuTM65DPu2ZI1ulAV1o7pER\nEIAdFrtxbVsVbb55PfQL4H5q8nHUTKtMGVWDQVdJ1Ar53lJrS589u54niuZS\nfKm5MP4leIr88I6BX0CqatjeWFepe4s5TsWUld+3GfVpAOuBmN9ucC2spFrw\nVrg4INXaiXvCzbsV2VefXQjWZtEPP3ut+ebaRL0siW4l8rslMCLfJEmhUEra\n6VWm\r\n=nwpj\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCDD6VKAvIPkxb0h3osIUPa6AE/AhawiiiW5ZBhouD6TwIgLjQajmF/BWlaYIZlDzJCsx41xO8SGOlXEvFBjmXre2w="}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.1.3-dev.20181113T171213Z.6d797ce.HEAD_1542129747999_0.6451314846762306"},"_hasShrinkwrap":false},"0.1.3-dev.20181114T123018Z.b2222c4.HEAD":{"name":"trustlines-clientlib","version":"0.1.3-dev.20181114T123018Z.b2222c4.HEAD","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"./node_modules/typedoc/bin/typedoc --options tdconfig.json","lint":"tslint -c tslint.json ./src/**/**.ts ./tests/**/**.ts","lint-fix":"tslint -c tslint.json --fix ./src/**/**.ts ./tests/**/**.ts","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"mocha --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"mocha --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump:pre":"npm --no-git-tag-version version","bump":"./bump.sh"},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.5.2","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","es6-promise":"^4.1.1","fluid-publish":"^2.2.0","isomorphic-fetch":"^2.2.1","mocha":"^5.2.0","reconnecting-websocket":"^3.0.7","ts-node":"^7.0.0","tslint":"^5.10.0","tslint-config-standard":"^7.1.0","typedoc":"^0.11.1","types-ethereumjs-util":"0.0.8","typescript":"^2.9.2","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"bignumber.js":"7.2.1","eth-lightwallet":"^3.0.1","ethereumjs-abi":"^0.6.5","ethereumjs-util":"^5.2.0","html5-websocket":"^2.0.2","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","web3":"^1.0.0-beta.34"},"gitHead":"b2222c40a6396a4e6cec5d4a34fb841ea60fd025","readme":"# trustlines-network clientlib\nA TypeScript/Javascript library for interacting with the [trustlines-network protocol](https://trustlines.network/).\n\n## Read the [Documentation](https://trustlines-network.github.io/clientlib-docs/)\n\n## Installation\nInstall the library using `npm` or `yarn`\n```bash\n$ npm install trustlines-clientlib\n// OR\n$ yarn add trustlines-clientlib\n```\n\n#### Import ES6 module\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n```\n\nUse the following configuration to connect to the currently deployed test setup.\n\n\n**NOTE: The [trustlines-network contracts](https://github.com/trustlines-network/contracts) are deployed on the Kovan testnet. Some Kovan Test ETH is therefore required to interact with the contracts in this setup.**\n\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n\nconst config = {\n  protocol: 'https',\n  host: 'relay0.testnet.trustlines.network',\n  path: 'api/v1/'\n}\n\nconst tlNetwork = new TLNetwork(config)\n```\n\n## Example\nThis library is a promise-based library. So every asynchronous call will return a native Javascript promise. If an error occurs the library will throw it. The caller has to handle it appropriately.\n\n```javascript\ntry {\n  const networks = await tlNetwork.currencyNetwokr.getAll()\n} catch (error) {\n  console.log('Caught error:', error)\n}\n```\n","readmeFilename":"README.md","_id":"trustlines-clientlib@0.1.3-dev.20181114T123018Z.b2222c4.HEAD","_shasum":"74862b5f73b22c5a57d0337506784ee8883092a2","_from":".","_npmVersion":"4.2.0","_nodeVersion":"7.10.1","_npmUser":{"name":"dakingha69","email":"dongha.kim210@gmail.com"},"dist":{"shasum":"74862b5f73b22c5a57d0337506784ee8883092a2","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.1.3-dev.20181114T123018Z.b2222c4.HEAD.tgz","integrity":"sha512-znyLskMNZOObUcE15vDuHRE0yUwO7HlNzPJ5MTfNCHtEnU0pOedFS8gVWdP1cNSb9dwwTlnc0gAV6bGNOaolCg==","fileCount":59,"unpackedSize":693491,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb7Bb8CRA9TVsSAnZWagAAAnsP/i/l4Jg5AkBbVELUHA7R\njyFYQqxu7Y3ULNH4LAjp5k0b1kSvaAi/FLM1fidwTGoACvzCidGoDVTXrDe9\nDhiMb1XQeNMqwIq231caMpOAr2eDY/sTGQ4gAx3EFuE6AnfMVZrqS/NtZ7pd\n19bk6cJGTtomn7YQi1DQWzMO9PKzottU0wNuWUa2aR1C+/rAAX0G4Qrcc4UH\n32n+jMfgMkTXzSBOXgEAUk+ia+I8JvlriRvHzt6f70XiUIE5/LZ23kkqBzYf\ns6NCzOKlBF7nqQ6aZrqUi9ahLtroYvJTwR2eX0NUwcVeJUhzNYsBoRZRe5rQ\n6PIs9rX183lHrq6P64gDdJiSFrq/5SxM4V9T7UKW9rvLAqCGxwshBGFETKv/\nEL15Jo5aqyogNMtpJMwZXDh8tybsUX5TzMjWzrBsS7Rd9Tklf0p1VuCp8Joq\nPniqDpo0fpoEZ2vwM+rm0xaaeYP5oibPSWAHPc1cBKuOCqYpGtYAmBrPk+A9\nRDDl8EVnDD3zE5PxPu5ZT6ctBWpkXVRlJjCHVyps1zyGd88BAyMsi+KJ26sj\nVR+p3a8NVeQOv7eNzUHsTfHVAR4XtTfYt369eNZR3pthKP5LErAx/cxx740W\n8Nlk52VJ9fO1wQUQuL8gWoEGDHijiTcemzVZWCy1F37vK2A/JKQs+RH2yHzM\nLiD8\r\n=dICT\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIG6WnJYfsWre3MtniWBPKWxdB3g2u3wUoGRZBop82ggtAiAuLaAYRBsTbyCoCh5izt6b67And8HFLpfBxxROCAvMqQ=="}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.1.3-dev.20181114T123018Z.b2222c4.HEAD_1542199036088_0.5056201117469605"},"_hasShrinkwrap":false},"0.1.3-dev.20181114T140340Z.dfd8471.HEAD":{"name":"trustlines-clientlib","version":"0.1.3-dev.20181114T140340Z.dfd8471.HEAD","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"./node_modules/typedoc/bin/typedoc --options tdconfig.json","lint":"tslint -c tslint.json ./src/**/**.ts ./tests/**/**.ts","lint-fix":"tslint -c tslint.json --fix ./src/**/**.ts ./tests/**/**.ts","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"mocha --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"mocha --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump:pre":"npm --no-git-tag-version version","bump":"./bump.sh"},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.5.2","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","es6-promise":"^4.1.1","fluid-publish":"^2.2.0","isomorphic-fetch":"^2.2.1","mocha":"^5.2.0","reconnecting-websocket":"^3.0.7","ts-node":"^7.0.0","tslint":"^5.10.0","tslint-config-standard":"^7.1.0","typedoc":"^0.11.1","types-ethereumjs-util":"0.0.8","typescript":"^2.9.2","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"bignumber.js":"7.2.1","eth-lightwallet":"^3.0.1","ethereumjs-abi":"^0.6.5","ethereumjs-util":"^5.2.0","html5-websocket":"^2.0.2","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","web3":"^1.0.0-beta.34"},"gitHead":"dfd8471a3c984473ec0392f1560942b9dc6f778f","readme":"# trustlines-network clientlib\nA TypeScript/Javascript library for interacting with the [trustlines-network protocol](https://trustlines.network/).\n\n## Read the [Documentation](https://trustlines-network.github.io/clientlib-docs/)\n\n## Installation\nInstall the library using `npm` or `yarn`\n```bash\n$ npm install trustlines-clientlib\n// OR\n$ yarn add trustlines-clientlib\n```\n\n#### Import ES6 module\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n```\n\nUse the following configuration to connect to the currently deployed test setup.\n\n\n**NOTE: The [trustlines-network contracts](https://github.com/trustlines-network/contracts) are deployed on the Kovan testnet. Some Kovan Test ETH is therefore required to interact with the contracts in this setup.**\n\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n\nconst config = {\n  protocol: 'https',\n  host: 'relay0.testnet.trustlines.network',\n  path: 'api/v1/'\n}\n\nconst tlNetwork = new TLNetwork(config)\n```\n\n## Example\nThis library is a promise-based library. So every asynchronous call will return a native Javascript promise. If an error occurs the library will throw it. The caller has to handle it appropriately.\n\n```javascript\ntry {\n  const networks = await tlNetwork.currencyNetwokr.getAll()\n} catch (error) {\n  console.log('Caught error:', error)\n}\n```\n","readmeFilename":"README.md","_id":"trustlines-clientlib@0.1.3-dev.20181114T140340Z.dfd8471.HEAD","_shasum":"193e55549803bc707e295411d56a4a1d7c3bad63","_from":".","_npmVersion":"4.2.0","_nodeVersion":"7.10.1","_npmUser":{"name":"dakingha69","email":"dongha.kim210@gmail.com"},"dist":{"shasum":"193e55549803bc707e295411d56a4a1d7c3bad63","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.1.3-dev.20181114T140340Z.dfd8471.HEAD.tgz","integrity":"sha512-6nlJ5hqI+rfDuAt+Mum5PRPzXg8P7KHN03k4uVvljI8i4Sgxu8WzUHZH6UvWKomj5OY+ana1FPpa6CmNT/QmzA==","fileCount":59,"unpackedSize":704901,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb7Cz2CRA9TVsSAnZWagAAYbQQAJzc/kOPRuWVcmGZnzsJ\nQBKWiJSdq7iLzJQntzbVPKa+9Y9iljFoR2PS9aLhSAA+T1IGFbxe9ukWJC7J\ndPSiLShJLWXAJWzQSe2NUo7Dm1cnLCl5ngslyyZD5WJocZvQjnPb68Am/Adi\noSQCeZqY3rFsMJdcnxM/A+Jx2d+62JhTWxfgkiTHbnC9c4OJllDTWErCYfkW\n4EKq9OkSvKp8FcmDU4of/u7cqA/sTZmFS/Q8iwJdl7As/eVyQbW1xSk9Ckh1\nCVKk5D4MO0mg7qL9xi3xrwV7hpTILcra/pc1aILJVOoj3Mxe7jDWqDGFFa/x\ndd9aYdCimVOsneHws8Y9pzHtEU1MBuWwmhw7zdhuqQ0YnPVzF8XHFXFG5N6m\narmiA5kflmWQ/Hsd/ei34HGF/vNUvIiPruJTfy9vV8fJPswznnvIhLFB3ldZ\nZYdi/cx5JxQRF9QyftYJkyzk8/yBaQmmpTmLyyggqrs9pgr+wxmHR6m//aAC\nf2/U4nYBP8qaC67ehhxEtNjK+lOw1pVClhP6L4uDagwD0Co4nH8x9lpY9w0X\n1WaIogeNA95qYEw8eEGgBNgDuZ2Wfty7YbTQxi7AH3AqtjLxlreZGrPO4Qu1\nBjWwdUSaDIOZfYyBQgID1kj63slBfaCWcvUjYCFeLsQcqeheFdWb01SfgZbn\nT/+n\r\n=nlk4\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDL2OskpSNNIZNAWGzMwOI6NGF0Y/XY6fQTOhrwMu4cNgIhAOSgOj3MOygE96CyhSIuF48KxmtRMiTsEkIyCl+xjmXL"}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.1.3-dev.20181114T140340Z.dfd8471.HEAD_1542204662208_0.004193359252966378"},"_hasShrinkwrap":false},"0.1.4":{"name":"trustlines-clientlib","version":"0.1.4","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"./node_modules/typedoc/bin/typedoc --options tdconfig.json","lint":"tslint -c tslint.json ./src/**/**.ts ./tests/**/**.ts","lint-fix":"tslint -c tslint.json --fix ./src/**/**.ts ./tests/**/**.ts","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"mocha --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"mocha --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump:pre":"npm --no-git-tag-version version","bump":"./bump.sh"},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.5.2","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","es6-promise":"^4.1.1","fluid-publish":"^2.2.0","isomorphic-fetch":"^2.2.1","mocha":"^5.2.0","reconnecting-websocket":"^3.0.7","ts-node":"^7.0.0","tslint":"^5.10.0","tslint-config-standard":"^7.1.0","typedoc":"^0.11.1","types-ethereumjs-util":"0.0.8","typescript":"^2.9.2","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"bignumber.js":"7.2.1","eth-lightwallet":"^3.0.1","ethereumjs-abi":"^0.6.5","ethereumjs-util":"^5.2.0","html5-websocket":"^2.0.2","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","web3":"^1.0.0-beta.34"},"gitHead":"183ca4ceebe18e6c272f093e08cc77ff009af6a4","_id":"trustlines-clientlib@0.1.4","_shasum":"954bcc6a51d09a48988c13a74e62bb7f18d3618b","_from":".","_npmVersion":"4.2.0","_nodeVersion":"7.10.1","_npmUser":{"name":"dakingha69","email":"dongha.kim210@gmail.com"},"dist":{"shasum":"954bcc6a51d09a48988c13a74e62bb7f18d3618b","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.1.4.tgz","integrity":"sha512-U5qwtJT6j5AKKqcAXxZ8TqTDaUFmSEgaJ1FPZsypGc5R7EQuqPFwPvwq34e83uGquUbxYeLo9k2cMpRjorE7zw==","fileCount":59,"unpackedSize":705389,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb7EA5CRA9TVsSAnZWagAACmwQAJhRX2q8vUQdl6rJmH1d\nm0hGbGYe/RxPco8zsGZU6VP0oNYNsMRTWeekhTzIGmSCyOV4rDiImbUOu9gG\nJ146WgLhRF2ImcJbXe0ukL2KDklLHbHQSf6nnaAmzXLb4LWd+xMMUqUT7yk0\n1KF8vm/1i6FrOIyEt796zt5k/GKQmur7l/IWMFUPxB1nDtLVh7ItLj8Lw36K\nC3irLvVKL58RPxDL3bTaZa+luBXuUwLq3ebNw54EOZ19fT5oq/VPe3nW4ARC\nJTcyuOvjTRD2Dp8Xo5I1l2ntuoQRi8KfdLzCnooQrRsVeWD5tIxKYqQr1Hmf\nkQTJ11ICc4OBxOnnNPPiMntOfdq51o1W4uPcWS5JEArjM9XMx29TI2mY0nBN\nAp8wrrgS2IjltkZr3iK0n3BM+aua8DRqiQKOU3rug8EalRRyPncpRIij2PzC\nRJ590LDee/Qmgdjk6mQVUjfsz9tXtbJFr9O/CNmBiqEQJjJzmtx9YkasX+br\nYpa/Vf7g/wFEfi9i+3QhEx/t6e7AuY6rlAlhaNTqJvu2vlms7DcS9U/ojYGD\nqmkMIIg7Ltuhc9Eim13pFQBjNcuNAYEpz8BLP/FJwWH+Ur82kZNeXnWAjoBT\nS1kLiAm/b2cdzJhgzb10NAvXFlzsC8+JSKyV2li8kOI4lg/qVRvfAkuq8Jbu\nmIT3\r\n=qoL+\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCQms9tDd8C3sB7RpjlqNeWtoMOnqE7psD6FpHyuD7/bQIhAP15XVTtbixUNrwxuPpqIU4mn78BXchC3CETOu0Fr99G"}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.1.4_1542209592789_0.9682451940439505"},"_hasShrinkwrap":false,"deprecated":"Package was moved to the @trustlines organisation. Intall latest version with npm install @trustlines/trustlines-clientlib"},"0.1.5-dev.20181114T152441Z.5f4d690.HEAD":{"name":"trustlines-clientlib","version":"0.1.5-dev.20181114T152441Z.5f4d690.HEAD","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"./node_modules/typedoc/bin/typedoc --options tdconfig.json","lint":"tslint -c tslint.json ./src/**/**.ts ./tests/**/**.ts","lint-fix":"tslint -c tslint.json --fix ./src/**/**.ts ./tests/**/**.ts","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"mocha --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"mocha --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump:pre":"npm --no-git-tag-version version","bump":"./bump.sh"},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.5.2","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","es6-promise":"^4.1.1","fluid-publish":"^2.2.0","isomorphic-fetch":"^2.2.1","mocha":"^5.2.0","reconnecting-websocket":"^3.0.7","ts-node":"^7.0.0","tslint":"^5.10.0","tslint-config-standard":"^7.1.0","typedoc":"^0.11.1","types-ethereumjs-util":"0.0.8","typescript":"^2.9.2","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"bignumber.js":"7.2.1","eth-lightwallet":"^3.0.1","ethereumjs-abi":"^0.6.5","ethereumjs-util":"^5.2.0","html5-websocket":"^2.0.2","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","web3":"^1.0.0-beta.34"},"gitHead":"5f4d69088f89da161504b9fede28c623093bc58a","readme":"# trustlines-network clientlib\nA TypeScript/Javascript library for interacting with the [trustlines-network protocol](https://trustlines.network/).\n\n## Read the [Documentation](https://trustlines-network.github.io/clientlib-docs/)\n\n## Installation\nInstall the library using `npm` or `yarn`\n```bash\n$ npm install trustlines-clientlib\n// OR\n$ yarn add trustlines-clientlib\n```\n\n#### Import ES6 module\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n```\n\nUse the following configuration to connect to the currently deployed test setup.\n\n\n**NOTE: The [trustlines-network contracts](https://github.com/trustlines-network/contracts) are deployed on the Kovan testnet. Some Kovan Test ETH is therefore required to interact with the contracts in this setup.**\n\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n\nconst config = {\n  protocol: 'https',\n  host: 'relay0.testnet.trustlines.network',\n  path: 'api/v1/'\n}\n\nconst tlNetwork = new TLNetwork(config)\n```\n\n## Example\nThis library is a promise-based library. So every asynchronous call will return a native Javascript promise. If an error occurs the library will throw it. The caller has to handle it appropriately.\n\n```javascript\ntry {\n  const networks = await tlNetwork.currencyNetwokr.getAll()\n} catch (error) {\n  console.log('Caught error:', error)\n}\n```\n","readmeFilename":"README.md","_id":"trustlines-clientlib@0.1.5-dev.20181114T152441Z.5f4d690.HEAD","_shasum":"92052e7f63cf8a796a86485a9eec59a803310656","_from":".","_npmVersion":"4.2.0","_nodeVersion":"7.10.1","_npmUser":{"name":"dakingha69","email":"dongha.kim210@gmail.com"},"dist":{"shasum":"92052e7f63cf8a796a86485a9eec59a803310656","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.1.5-dev.20181114T152441Z.5f4d690.HEAD.tgz","integrity":"sha512-qBOmDAhNHQWpNCl+DBRgz11r9tOzo+ZE/IBy8vVnJvaApYP/BnyUTrH1YwqClDhrsyglGyul7Saouf4fKUIYCA==","fileCount":59,"unpackedSize":705423,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb7EBHCRA9TVsSAnZWagAA0XAP/34mhohi9LYuqVnlWgdh\nndlD1jJjq4OtIonATuaUxTXrjy+2/sKTku6H0Jv085yyYZ6JXptdFDBx8MEO\nzQYaif6DVIjYOu935No+T2nShtzudZB6t+3xg0DpnB3MPycgR52uCnkZU2zk\n4MJPLwdQDI5UmLtxEx+5mr9z54qem5W91LcxDMhF9O6mEY/AKOxv9GDn6Jw2\naOictEHi+4NHWKtz1FMLL0jHB98OwFIT9WVt3dxJDzVibjTUjEwH4dAfSE8/\nDODYHxCUTs1qeADsz3xh+XpyKur2R99Se1YlwZGNoQ1NWzQ+V8ax95FQeG90\nato3d4i06rPk7Q7iEF/eSEzolD+zQNvEviZgXiGG5wnTNc11A1Olf7Agr6jh\nTwEl07WQtmA82lVKHIMj7ITBPIgjTViVY+8+VweB3lnegnVoYOGM8HmH+rF2\nQOM90AKTpr02PmxhPlCuc0tWuEAvuEqN8uplOaOYxEmF2Go94UqNc8t5cFt2\nshzxr1pD+/lil0N0kFaPvij/FRbkAu6q00h0MgtpAd+GtlAUC5MqYQzRzQAU\nvoo/FsVi1exJn2ZxDtZKr7ULvh25Km+SD+3bI2zJ4/Vxwq+1M19OBkobs0Zh\nQ3O7NoqMph/PGDsmTDmfivTDVpbPU/pUoryLV35+kfVPvDfrRUe2LhTFGheX\nUWMU\r\n=gGrw\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDViT4mIr5Y0DSnIMjTRP/Ew+Cyp6qjav3mHLdTWNILBAIgcmRrBO6Ns0g3okbF3GnRBi2gPqY4h9dEwPESW65zQsg="}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.1.5-dev.20181114T152441Z.5f4d690.HEAD_1542209607340_0.3992233220566719"},"_hasShrinkwrap":false},"0.1.5-dev.20181114T155919Z.48fe055.HEAD":{"name":"trustlines-clientlib","version":"0.1.5-dev.20181114T155919Z.48fe055.HEAD","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"./node_modules/typedoc/bin/typedoc --options tdconfig.json","lint":"tslint -c tslint.json ./src/**/**.ts ./tests/**/**.ts","lint-fix":"tslint -c tslint.json --fix ./src/**/**.ts ./tests/**/**.ts","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"mocha --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"mocha --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump":"./bump.sh"},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.5.2","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","es6-promise":"^4.1.1","fluid-publish":"^2.2.0","isomorphic-fetch":"^2.2.1","mocha":"^5.2.0","reconnecting-websocket":"^3.0.7","ts-node":"^7.0.0","tslint":"^5.10.0","tslint-config-standard":"^7.1.0","typedoc":"^0.11.1","types-ethereumjs-util":"0.0.8","typescript":"^2.9.2","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"bignumber.js":"7.2.1","eth-lightwallet":"^3.0.1","ethereumjs-abi":"^0.6.5","ethereumjs-util":"^5.2.0","html5-websocket":"^2.0.2","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","web3":"^1.0.0-beta.34"},"gitHead":"48fe05545da796086877ccc7776ac9d840aee2ea","readme":"# trustlines-network clientlib\nA TypeScript/Javascript library for interacting with the [trustlines-network protocol](https://trustlines.network/).\n\n## Read the [Documentation](https://trustlines-network.github.io/clientlib-docs/)\n\n## Installation\nInstall the library using `npm` or `yarn`\n```bash\n$ npm install trustlines-clientlib\n// OR\n$ yarn add trustlines-clientlib\n```\n\n#### Import ES6 module\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n```\n\nUse the following configuration to connect to the currently deployed test setup.\n\n\n**NOTE: The [trustlines-network contracts](https://github.com/trustlines-network/contracts) are deployed on the Kovan testnet. Some Kovan Test ETH is therefore required to interact with the contracts in this setup.**\n\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n\nconst config = {\n  protocol: 'https',\n  host: 'relay0.testnet.trustlines.network',\n  path: 'api/v1/'\n}\n\nconst tlNetwork = new TLNetwork(config)\n```\n\n## Example\nThis library is a promise-based library. So every asynchronous call will return a native Javascript promise. If an error occurs the library will throw it. The caller has to handle it appropriately.\n\n```javascript\ntry {\n  const networks = await tlNetwork.currencyNetwokr.getAll()\n} catch (error) {\n  console.log('Caught error:', error)\n}\n```\n","readmeFilename":"README.md","_id":"trustlines-clientlib@0.1.5-dev.20181114T155919Z.48fe055.HEAD","_shasum":"27d1fa999d226722773f1c7f6c02cfaefa84b4af","_from":".","_npmVersion":"4.2.0","_nodeVersion":"7.10.1","_npmUser":{"name":"dakingha69","email":"dongha.kim210@gmail.com"},"dist":{"shasum":"27d1fa999d226722773f1c7f6c02cfaefa84b4af","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.1.5-dev.20181114T155919Z.48fe055.HEAD.tgz","integrity":"sha512-2MXUm7rN15w6d6oiy29gPpRq1JgtU1T6d7mWGy8YH31cdXMHOxf+Xrh1JhYYxFzpyLtCf1BJfkKUaWgoltymWQ==","fileCount":59,"unpackedSize":705721,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb7Eh1CRA9TVsSAnZWagAAox4P/2K8zooRrEBIAk52XhaY\nseCOczMe866e25yA5vyCjWUxARFGsJhlh1HGM8OMZYFn7c63VYvTwM0eQx7r\nhYTlyD+DKQwjfiFEkgZfsXESdw9vIlGI4Pl9yHEkbaEYLx3FE557vszAvyFW\n50EFkHy+qfJLbGtyP/645NxqpmV+gSB9mmUnFFbzFBuE6ZSMDUlzg86lLNKW\nRxIDuW4TtRUeF49vUjRA2y/M98zfxAH78w0SHM2kRYu6pATh6priuxREMFPW\nn1zK1LPNDska2fEBhSOjudqVnWEoLb+8iXvb8KaMMnqRfCbBQCXkQYj1gm0e\n1y5/JUskOkqCeDcZLMebuX5md8zbnMpLtJl9YoA6bdcAimNVMbt4gwHnXcyu\nSqeb6SJzhu7kHhd5WGLZjExOuiIKdPghPlSoJ/qWQ+YeaY+s1SIuEmWpPizb\nZultJLOdGaB+KV7IdDKvTxcDwcWtuQe9zjFXL+moRdIXMaQMPxeqgSEgzrY2\n0QYrd+T4ge5FjViqQGZ6BYl0W7AeG/4rAxxx7vMH1b+2VLthXxEsMgZ1QXIb\nBg/dvncfYb1VXYeRoKkZz1EPSUIvlq0AdDV26v14jKl0PeKtcrWz+TZ506Xc\nk3U70ldSC7gAnI9WHF8nOMtfZ/SxN0itdXTcgJhNaCfQE6E3UOhdBjDrWW/R\nvcJu\r\n=xvOG\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCK4JUA2lbCkJNAMHJRl2dpt/EyKhHFCUkbVKLCg94dnAIhAJ494cHHPgmhNt580wFQPUqXbyRaUSLq4aULajkShK8T"}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.1.5-dev.20181114T155919Z.48fe055.HEAD_1542211701214_0.6678671620770671"},"_hasShrinkwrap":false},"0.1.5-dev.20181114T161947Z.c2ae077.HEAD":{"name":"trustlines-clientlib","version":"0.1.5-dev.20181114T161947Z.c2ae077.HEAD","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"./node_modules/typedoc/bin/typedoc --options tdconfig.json","lint":"tslint -c tslint.json ./src/**/**.ts ./tests/**/**.ts","lint-fix":"tslint -c tslint.json --fix ./src/**/**.ts ./tests/**/**.ts","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"mocha --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"mocha --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump":"./bump.sh"},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.5.2","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","es6-promise":"^4.1.1","fluid-publish":"^2.2.0","isomorphic-fetch":"^2.2.1","mocha":"^5.2.0","reconnecting-websocket":"^3.0.7","ts-node":"^7.0.0","tslint":"^5.10.0","tslint-config-standard":"^7.1.0","typedoc":"^0.11.1","types-ethereumjs-util":"0.0.8","typescript":"^2.9.2","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"bignumber.js":"7.2.1","eth-lightwallet":"^3.0.1","ethereumjs-abi":"^0.6.5","ethereumjs-util":"^5.2.0","html5-websocket":"^2.0.2","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","web3":"^1.0.0-beta.34"},"gitHead":"c2ae0775ebdf3e6d6ea1f9b2c62b0866a62e8f7d","readme":"# trustlines-network clientlib\nA TypeScript/Javascript library for interacting with the [trustlines-network protocol](https://trustlines.network/).\n\n## Read the [Documentation](https://trustlines-network.github.io/clientlib-docs/)\n\n## Installation\nInstall the library using `npm` or `yarn`\n```bash\n$ npm install trustlines-clientlib\n// OR\n$ yarn add trustlines-clientlib\n```\n\n#### Import ES6 module\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n```\n\nUse the following configuration to connect to the currently deployed test setup.\n\n\n**NOTE: The [trustlines-network contracts](https://github.com/trustlines-network/contracts) are deployed on the Kovan testnet. Some Kovan Test ETH is therefore required to interact with the contracts in this setup.**\n\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n\nconst config = {\n  protocol: 'https',\n  host: 'relay0.testnet.trustlines.network',\n  path: 'api/v1/'\n}\n\nconst tlNetwork = new TLNetwork(config)\n```\n\n## Example\nThis library is a promise-based library. So every asynchronous call will return a native Javascript promise. If an error occurs the library will throw it. The caller has to handle it appropriately.\n\n```javascript\ntry {\n  const networks = await tlNetwork.currencyNetwokr.getAll()\n} catch (error) {\n  console.log('Caught error:', error)\n}\n```\n","readmeFilename":"README.md","_id":"trustlines-clientlib@0.1.5-dev.20181114T161947Z.c2ae077.HEAD","_shasum":"52c1f154dd1215e596647d903ead640077b56da0","_from":".","_npmVersion":"4.2.0","_nodeVersion":"7.10.1","_npmUser":{"name":"dakingha69","email":"dongha.kim210@gmail.com"},"dist":{"shasum":"52c1f154dd1215e596647d903ead640077b56da0","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.1.5-dev.20181114T161947Z.c2ae077.HEAD.tgz","integrity":"sha512-+j/g4JE7sGf1E4SYC1IDkj/3e96zG2qwavR1ZLpRtiPHaIZVRBTa/yb7wpPeJhJRTWgRdf5U07uo3OtXliBe8w==","fileCount":59,"unpackedSize":705740,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb7EzZCRA9TVsSAnZWagAAhiUQAIWvDVtqLRIII1Dqd0xH\nbuNFwXIOGr8O+Ipi9fze4W8LvSXLoy50IOGwfUG4yIO1jbEBIm5z7z3l7Xox\nLJqnfVJ0Z5DIii8uQyw5Yi7hBNwnNECnA9ipB0I5vvEIDIRS38okl8ASONOz\nEX5vCmQXT65oQWt4rUJwMkblCNMl0IPR81Ye2lKyVQdW/xVXJntb8BuBB4c7\n9nds7B4alFfOdxX2zf1P4sYQQyXtK+ZzBqQ02A+PVV2aCK7vBbXuBEsUjNKp\nPYOJ/icZfhRFNU0s+dI9iTxyQXCqxMGdJ7CKZsArarx1MAXdrn3aYr4pcqbL\n1o0XHl3O0Q7qshrdIYlPUmWKp3HtJvtfzKkdB8hTGcR3pF0uIkfrkelptU1m\n0Sd5fCCDgza2tsm3+S9U94t0jL6izaS+axtAJ23JOlOjElSkTcwiW709WRGz\neS2sVbhtJ33QWz+RMl2IjTPJh24CuxN+mYsxy7sQ18K5KNfC7IypzVuU2Ezv\n3u6DK2TyFauicw8mB+z4MyvOoprz8037zQto4YYryCS58rhfv4u+swk+bUns\n9L9N2XNcupFAFNpnxFT1/b1rxdzx8MrKOzdBxN98Ms3MjSsBVIAObDocCTMf\n9vSgIIcaeIRpNTEjWq05EYsmwbh1uz/wmGtFVA5pnfWNzP9kgCYUD9cPExO8\n4KP5\r\n=Gk0+\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCDQGgGs+ikzyTx2jL5V4raWPfcPyS7i/0GS4gFseGjZQIhAMIXOeL33BP8URbLzYYQoaDWGMd10AYFlw6dAkEYK0dH"}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.1.5-dev.20181114T161947Z.c2ae077.HEAD_1542212825384_0.3397145528165755"},"_hasShrinkwrap":false},"0.2.0-dev.20181115T123614Z.959b6f9.HEAD":{"name":"trustlines-clientlib","version":"0.2.0-dev.20181115T123614Z.959b6f9.HEAD","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"./node_modules/typedoc/bin/typedoc --options tdconfig.json","lint":"tslint -c tslint.json ./src/**/**.ts ./tests/**/**.ts","lint-fix":"tslint -c tslint.json --fix ./src/**/**.ts ./tests/**/**.ts","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"mocha --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"mocha --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump":"./bump.sh"},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.5.2","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","es6-promise":"^4.1.1","fluid-publish":"^2.2.0","isomorphic-fetch":"^2.2.1","mocha":"^5.2.0","reconnecting-websocket":"^3.0.7","ts-node":"^7.0.0","tslint":"^5.10.0","tslint-config-standard":"^7.1.0","typedoc":"^0.11.1","types-ethereumjs-util":"0.0.8","typescript":"^2.9.2","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"bignumber.js":"7.2.1","eth-lightwallet":"^3.0.1","ethereumjs-abi":"^0.6.5","ethereumjs-util":"^5.2.0","html5-websocket":"^2.0.2","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","web3":"^1.0.0-beta.34"},"gitHead":"959b6f937d79ef6f6a138351f9d72b28d92b6179","readme":"# trustlines-network clientlib\nA TypeScript/Javascript library for interacting with the [trustlines-network protocol](https://trustlines.network/).\n\n## Read the [Documentation](https://trustlines-network.github.io/clientlib-docs/)\n\n## Installation\nInstall the library using `npm` or `yarn`\n```bash\n$ npm install trustlines-clientlib\n// OR\n$ yarn add trustlines-clientlib\n```\n\n#### Import ES6 module\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n```\n\nUse the following configuration to connect to the currently deployed test setup.\n\n\n**NOTE: The [trustlines-network contracts](https://github.com/trustlines-network/contracts) are deployed on the Kovan testnet. Some Kovan Test ETH is therefore required to interact with the contracts in this setup.**\n\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n\nconst config = {\n  protocol: 'https',\n  host: 'relay0.testnet.trustlines.network',\n  path: 'api/v1/'\n}\n\nconst tlNetwork = new TLNetwork(config)\n```\n\n## Example\nThis library is a promise-based library. So every asynchronous call will return a native Javascript promise. If an error occurs the library will throw it. The caller has to handle it appropriately.\n\n```javascript\ntry {\n  const networks = await tlNetwork.currencyNetwokr.getAll()\n} catch (error) {\n  console.log('Caught error:', error)\n}\n```\n","readmeFilename":"README.md","_id":"trustlines-clientlib@0.2.0-dev.20181115T123614Z.959b6f9.HEAD","_shasum":"fe88aa90a8314d4e5fd6f690840d8edd0c748d0d","_from":".","_npmVersion":"4.2.0","_nodeVersion":"7.10.1","_npmUser":{"name":"dakingha69","email":"dongha.kim210@gmail.com"},"dist":{"shasum":"fe88aa90a8314d4e5fd6f690840d8edd0c748d0d","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.2.0-dev.20181115T123614Z.959b6f9.HEAD.tgz","integrity":"sha512-hn8C+23uFOM4T1h+7bKTgaegzReLTmnclOguI8dY9mEtSnca1nTZZyaOhT/g9BU/UvhYhvpNTyfbCFn0C0BOCA==","fileCount":59,"unpackedSize":705740,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb7WoUCRA9TVsSAnZWagAAaaUP/RGHhSYhNYGVUfb52ZdF\nO+an7VPljD/aEJIjFH1CX4okH82f8xfyrHl54tl8uMvXvv3uG2Aj/pXufqYC\n/SMufiYUWe3yxBo4/SFhQ6knJz0bHn6tcOR/wXTxj/2vVoolTkORG9mslBSB\nuzKxoT7X85agY9xMug9Y3xp6FfxCXZAm7R1hy6c6OlS1x35c3bkkwOrUQhYs\nvAXjKonm6r5qfL2IZtbhLABrO6hns9/2Bqf63ZPDgEmYOfwgGV+Nu+a9TW1J\nPjTubOS2NFQtktG5DaSqFX2UcGS/3RfAimSzqW1mh+T9XKoObuXUX2JcMv19\nVnNfRfULjBqG45vzpTyWkxfo+kH1xndeOpVgIiUgQ9DApQl9HI2/bV2XWXlk\nfYAQOYstWx1qtCfb/E9g2K/GKpY1/R1+jJcR2qOlNPFHy9qHlo6llPt3m+y6\nV4Y7jlrmafy9N3+jb3noUg0WSrC/tfxi/KH1qTAGazVXE93b6eUUyhEhn/xf\nvbUfH7Pfkj5ZieQTQrJ+0Zukq+M12icH2saM3dzsy85JsdSBlBqDb909oNwY\noWEdabe1ud74qI8otp23mPN2sIeLz2mgXP5Os9GuVLC/V35MSdyWzVk2e4Bt\nnvH1YAHuR7Bx6b8CBYB2j03bJqJvhDfgNYbJob/SZTjS2gLIB3vjSDvwQRBR\nVixC\r\n=g8/R\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD1AyRosS05ZJjB8hW2IMc450pSVv/EE6JPuAS3PK/p4QIhAK2YItSP5Zxb+P3h6Q9JlKZQyY3qu9HkIbBqardRFFKx"}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.2.0-dev.20181115T123614Z.959b6f9.HEAD_1542285843540_0.7926191842798782"},"_hasShrinkwrap":false},"0.2.1-dev.20181115T132422Z.8798c79.HEAD":{"name":"trustlines-clientlib","version":"0.2.1-dev.20181115T132422Z.8798c79.HEAD","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"./node_modules/typedoc/bin/typedoc --options tdconfig.json","lint":"tslint -c tslint.json ./src/**/**.ts ./tests/**/**.ts","lint-fix":"tslint -c tslint.json --fix ./src/**/**.ts ./tests/**/**.ts","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"mocha --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"mocha --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump":"./bump.sh"},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.5.2","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","es6-promise":"^4.1.1","fluid-publish":"^2.2.0","isomorphic-fetch":"^2.2.1","mocha":"^5.2.0","reconnecting-websocket":"^3.0.7","ts-node":"^7.0.0","tslint":"^5.10.0","tslint-config-standard":"^7.1.0","typedoc":"^0.11.1","types-ethereumjs-util":"0.0.8","typescript":"^2.9.2","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"bignumber.js":"7.2.1","eth-lightwallet":"^3.0.1","ethereumjs-abi":"^0.6.5","ethereumjs-util":"^5.2.0","html5-websocket":"^2.0.2","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","web3":"^1.0.0-beta.34"},"gitHead":"8798c79da4efbdc384db48b1ca47b747dc2066b6","readme":"# trustlines-network clientlib\nA TypeScript/Javascript library for interacting with the [trustlines-network protocol](https://trustlines.network/).\n\n## Read the [Documentation](https://trustlines-network.github.io/clientlib-docs/)\n\n## Installation\nInstall the library using `npm` or `yarn`\n```bash\n$ npm install trustlines-clientlib\n// OR\n$ yarn add trustlines-clientlib\n```\n\n#### Import ES6 module\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n```\n\nUse the following configuration to connect to the currently deployed test setup.\n\n\n**NOTE: The [trustlines-network contracts](https://github.com/trustlines-network/contracts) are deployed on the Kovan testnet. Some Kovan Test ETH is therefore required to interact with the contracts in this setup.**\n\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n\nconst config = {\n  protocol: 'https',\n  host: 'relay0.testnet.trustlines.network',\n  path: 'api/v1/'\n}\n\nconst tlNetwork = new TLNetwork(config)\n```\n\n## Example\nThis library is a promise-based library. So every asynchronous call will return a native Javascript promise. If an error occurs the library will throw it. The caller has to handle it appropriately.\n\n```javascript\ntry {\n  const networks = await tlNetwork.currencyNetwokr.getAll()\n} catch (error) {\n  console.log('Caught error:', error)\n}\n```\n","readmeFilename":"README.md","_id":"trustlines-clientlib@0.2.1-dev.20181115T132422Z.8798c79.HEAD","_shasum":"21168862967a83832bc445ba0384b745d16f5acd","_from":".","_npmVersion":"4.2.0","_nodeVersion":"7.10.1","_npmUser":{"name":"dakingha69","email":"dongha.kim210@gmail.com"},"dist":{"shasum":"21168862967a83832bc445ba0384b745d16f5acd","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.2.1-dev.20181115T132422Z.8798c79.HEAD.tgz","integrity":"sha512-/VdNFn8g4K54CjNeJB1NeLAOmfIZCsC3ipTNKPauKXEXH0n2maQmIFIcOym62b1aSEX4LeF4hQxRdxMfMTuA6g==","fileCount":59,"unpackedSize":705797,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb7XUwCRA9TVsSAnZWagAADvoP/1IL41DJhfb/fux/u/+J\nsanEbjcM6+njMyq48dVz0NqT4+wqVJ+mC35cYfiB8I9LbW7e6VRhISF3zzfP\n8ANcPlPbwRRsvsz4rLhi0gx3/0YzfJi6R+HHosjqvejmYtEBYbyFJ/nmkYbN\nAhyiiHgWACenCn4YeNvVofFw/DDgSKAIhhZ82oBSlrRWwFm3q2qodQffkQf/\nXVONIhcNgtsHY6QX0ypIRaUQmM465jjFSOwZ9oEcocMkvWIUcW/8E+o66fq/\n5Mo8aJe0YHFxW2w/ZUAf2EUul5oH1t5QqfpBUyI3KuFKbRpTFFIx5A4dRWb6\nlENdyLhSaMqtoS0WvGrotqhBPZ4jo+mlnTVow2va+zq9cB70EweG0UmrsNFx\ngwg745IdeFh0/Wt0PXV6Ve6yKwhcGHOFKCc7sC+bEzAKLcJKlOr3a4LcSguU\ntc80Z957f2ojZsybIaJE4kRh98ryFM2nz3xp/sPvLphmPFF0RoVWKiFcOnrx\nYjaqr3w24nddSkriJIc0QOeiI3hC8qfgM1U04a0FnGwwoLIHNTc92XwI/IjE\nahQMLDuVhWY6qOM8aSYdGqC69Q1NWK17vWqEPq6EeYSfZh5yLECF/ty5OkDm\nzxdZG6CgRUnATg5nK5lnLCGu48xfoMbMXKu20ruV1nUn9ViYYr4kTjFgSoDl\nZ8pD\r\n=mVWA\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAFfcHmVfMS0d4SvOCSTZykwDuG1HAOdkSU4nM1Lt6GNAiAmD/Hc8vDzSmS/sqvC1n9KJyidqWZz5x/aOv/yZ2MiRg=="}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.2.1-dev.20181115T132422Z.8798c79.HEAD_1542288687653_0.4984843050758152"},"_hasShrinkwrap":false},"0.2.0":{"name":"trustlines-clientlib","version":"0.2.0","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"./node_modules/typedoc/bin/typedoc --options tdconfig.json","lint":"tslint -c tslint.json ./src/**/**.ts ./tests/**/**.ts","lint-fix":"tslint -c tslint.json --fix ./src/**/**.ts ./tests/**/**.ts","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"mocha --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"mocha --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump":"./bump.sh"},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.5.2","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","es6-promise":"^4.1.1","fluid-publish":"^2.2.0","isomorphic-fetch":"^2.2.1","mocha":"^5.2.0","reconnecting-websocket":"^3.0.7","ts-node":"^7.0.0","tslint":"^5.10.0","tslint-config-standard":"^7.1.0","typedoc":"^0.11.1","types-ethereumjs-util":"0.0.8","typescript":"^2.9.2","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"bignumber.js":"7.2.1","eth-lightwallet":"^3.0.1","ethereumjs-abi":"^0.6.5","ethereumjs-util":"^5.2.0","html5-websocket":"^2.0.2","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","web3":"^1.0.0-beta.34"},"gitHead":"959b6f937d79ef6f6a138351f9d72b28d92b6179","_id":"trustlines-clientlib@0.2.0","_shasum":"fae2c1d0695ca2f954836e2766160084c3c6976e","_from":".","_npmVersion":"4.2.0","_nodeVersion":"7.10.1","_npmUser":{"name":"dakingha69","email":"dongha.kim210@gmail.com"},"dist":{"shasum":"fae2c1d0695ca2f954836e2766160084c3c6976e","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.2.0.tgz","integrity":"sha512-inFMs/OaBXg54DTstsxjzWHb3P6N2Oj9DXrAfO28RXJDXWz0szAACxJV9fJHRmRcWBh7HeOS3JkpISvoD2CKMQ==","fileCount":59,"unpackedSize":705706,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb7XVQCRA9TVsSAnZWagAAinAP/jsdNRA7qnFqIC+nYAC6\nOQ99q2tVXnCMxK1ZRELeBA2ALhrviAlIt1a6G8wEex+9hsD2UBWnMsKVbCRq\n18WJbWhxQDKBjPMEvM8to8IagSbYtgZ4AowVDQYI+qVCUzhKnZRJiHTu0h6e\nJ7/tewW2qqWiRzDIC09BMAdF22ZoD0l4Q2lc+VlbSgajYgmHmg3vxaK2mj/m\nEpqnmKz7tkoUKa1SUM0tAo3qhexIOsaRurLyDUWSNCNzpJgOtje38t2GpxHx\nvq2o6ru6EjMl5N5eMjtaO9FpaflQ+Q9ICJWo8vISypQHpyXGcsXpj24HuOxJ\nqDPDXrfoxesWzvcdTtnfpCKQelyZj10Mp/VpE0R9kScekdEDkW/PEp6JLMdw\n65427E2dbIXJvRvKrUd3t+4hvmuEf1Ihjjn0kyheVQr/FqI2RaKLHkLLgduG\nLWMIrcwDIUvIGuUJ4uq1DZJRUNlyMVTJDxzmmFiY/YY3GYlkSk9fsQovdDQl\nTW4uK1BNOlOepKRUOPk0OGRCsdyngt92dB4PxY1Zh5ZQwfoVWWHjLttfUk6R\nodnjjytWtkmvA46PfPtVxHRlv5XQ9Hhjc+nhYrpbo6/lZa1XQEqFVgiM3Oud\nUzm3KMFoRh9PrfGwKYB5v71TIgM/JLtGzCXZx+z52EWjKPTzjvJbWSd+r2I4\nvya3\r\n=mq8l\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCvhVQMZ79ciKecffYjaepjf9cK93agIvxwvWlhmRyZjwIgZ1oYNzeLxheRmOl0V/MD1afGjEkNbL2BbT1cgpDbL8o="}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.2.0_1542288719941_0.5835560489175307"},"_hasShrinkwrap":false,"deprecated":"Package was moved to the @trustlines organisation. Intall latest version with npm install @trustlines/trustlines-clientlib"},"0.2.1":{"name":"trustlines-clientlib","version":"0.2.1","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"./node_modules/typedoc/bin/typedoc --options tdconfig.json","lint":"tslint -c tslint.json ./src/**/**.ts ./tests/**/**.ts","lint-fix":"tslint -c tslint.json --fix ./src/**/**.ts ./tests/**/**.ts","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"mocha --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"mocha --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump":"./bump.sh"},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.5.2","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","es6-promise":"^4.1.1","fluid-publish":"^2.2.0","isomorphic-fetch":"^2.2.1","mocha":"^5.2.0","reconnecting-websocket":"^3.0.7","ts-node":"^7.0.0","tslint":"^5.10.0","tslint-config-standard":"^7.1.0","typedoc":"^0.11.1","types-ethereumjs-util":"0.0.8","typescript":"^2.9.2","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"bignumber.js":"7.2.1","eth-lightwallet":"^3.0.1","ethereumjs-abi":"^0.6.5","ethereumjs-util":"^5.2.0","html5-websocket":"^2.0.2","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","web3":"^1.0.0-beta.34"},"gitHead":"8798c79da4efbdc384db48b1ca47b747dc2066b6","_id":"trustlines-clientlib@0.2.1","_shasum":"6b27ee00aa8b6df10836b12c56afb67e10d0351e","_from":".","_npmVersion":"4.2.0","_nodeVersion":"7.10.1","_npmUser":{"name":"dakingha69","email":"dongha.kim210@gmail.com"},"dist":{"shasum":"6b27ee00aa8b6df10836b12c56afb67e10d0351e","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.2.1.tgz","integrity":"sha512-ut588j3rHikjn0ZUuMGzdKuxW1cfrSX44V6JFpySEQ9eUoud+3kFPxR3GJ0KZlaRcAXgEsWMS6Ym5NtW5zXbFQ==","fileCount":59,"unpackedSize":705763,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb7XW+CRA9TVsSAnZWagAAGPAQAIHHRGt8UHuU+pY13Muk\nNQRw8IDPtCsEQ2fSwP+ZRatq/x2HzLMUD1W+vuk1t1/t57jAnDszL+VhBm6i\nC73d709UW4wQxnj5DccztmV7mm5svTJlFRibO76BhwhVgCjWg3gy5aGs4Dh6\n5vSDrCbOzt0Nwr8xXdWoh/M+pqEmgnIAzye/8Hua4OUhq3tLo9yq8bw2eeO0\nP65gP0/J+GWrFfnX4xc0CgK5owtFTkbh8Vb08ACmzI3MnpirBIiXA+hziLgc\nDeqqpjfYlFH5Gf4yEsCZnakXRcNXYi7KJ55Aren8vNdG4IiqO6M0L3IxraXa\n0f7c7+2KwbwaTVxi3bYTwoKQ0ErWGdPadHWjTF0AEQsR1TBiePCLeZBvC9VI\nEfczhiY9w/wuNHFT8Qm4Fs+X0AB5EkE1JM7OYaY6N296F1PIIi2EQM5TNmMs\nKVtzuzP67QSLgUL0QSgKw/IR4tZ86m42mNrveWDemk2sZbqW9E75IP1rQku5\ndKQ9Ktm6xiBFiqhj2j7D8OtxDdBuAGe6EiBw3kpZq2ODfsslKArDxhEdM2Bn\nCY0vedFY5GfIQJQcUbZZLMnU8O7ke67FcKwd1qVJj7+rH2iR4kcO8a7eR1UT\ndwimuq2OtzUyFXeAHBTkeatX05L9Mm1zeu3FfqfV3pLhQdQGE0oxdm+6dBiH\n0pWq\r\n=LjGK\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCv7v/SIG83Xx7RJTQzh3vLuLb/7Ez/bF18uV61Upn5UQIgNBBq3IPQTwdA/AGAUuNyYFc+i93hYShT7JJ4cHw04Us="}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.2.1_1542288829851_0.922825069938003"},"_hasShrinkwrap":false,"deprecated":"Package was moved to the @trustlines organisation. Intall latest version with npm install @trustlines/trustlines-clientlib"},"0.2.2-0-dev.20181115T132855Z.015d698.HEAD":{"name":"trustlines-clientlib","version":"0.2.2-0-dev.20181115T132855Z.015d698.HEAD","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"./node_modules/typedoc/bin/typedoc --options tdconfig.json","lint":"tslint -c tslint.json ./src/**/**.ts ./tests/**/**.ts","lint-fix":"tslint -c tslint.json --fix ./src/**/**.ts ./tests/**/**.ts","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"mocha --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"mocha --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump":"./bump.sh"},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.5.2","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","es6-promise":"^4.1.1","fluid-publish":"^2.2.0","isomorphic-fetch":"^2.2.1","mocha":"^5.2.0","reconnecting-websocket":"^3.0.7","ts-node":"^7.0.0","tslint":"^5.10.0","tslint-config-standard":"^7.1.0","typedoc":"^0.11.1","types-ethereumjs-util":"0.0.8","typescript":"^2.9.2","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"bignumber.js":"7.2.1","eth-lightwallet":"^3.0.1","ethereumjs-abi":"^0.6.5","ethereumjs-util":"^5.2.0","html5-websocket":"^2.0.2","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","web3":"^1.0.0-beta.34"},"gitHead":"015d6985b23ee44a6b6aeb0f449a7fe9c85ba038","readme":"# trustlines-network clientlib\nA TypeScript/Javascript library for interacting with the [trustlines-network protocol](https://trustlines.network/).\n\n## Read the [Documentation](https://trustlines-network.github.io/clientlib-docs/)\n\n## Installation\nInstall the library using `npm` or `yarn`\n```bash\n$ npm install trustlines-clientlib\n// OR\n$ yarn add trustlines-clientlib\n```\n\n#### Import ES6 module\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n```\n\nUse the following configuration to connect to the currently deployed test setup.\n\n\n**NOTE: The [trustlines-network contracts](https://github.com/trustlines-network/contracts) are deployed on the Kovan testnet. Some Kovan Test ETH is therefore required to interact with the contracts in this setup.**\n\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n\nconst config = {\n  protocol: 'https',\n  host: 'relay0.testnet.trustlines.network',\n  path: 'api/v1/'\n}\n\nconst tlNetwork = new TLNetwork(config)\n```\n\n## Example\nThis library is a promise-based library. So every asynchronous call will return a native Javascript promise. If an error occurs the library will throw it. The caller has to handle it appropriately.\n\n```javascript\ntry {\n  const networks = await tlNetwork.currencyNetwokr.getAll()\n} catch (error) {\n  console.log('Caught error:', error)\n}\n```\n","readmeFilename":"README.md","_id":"trustlines-clientlib@0.2.2-0-dev.20181115T132855Z.015d698.HEAD","_shasum":"f87fa407dfc342365b2023e3152d91d152447da3","_from":".","_npmVersion":"4.2.0","_nodeVersion":"7.10.1","_npmUser":{"name":"dakingha69","email":"dongha.kim210@gmail.com"},"dist":{"shasum":"f87fa407dfc342365b2023e3152d91d152447da3","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.2.2-0-dev.20181115T132855Z.015d698.HEAD.tgz","integrity":"sha512-Mp2F3/2qxIoeRs36pIjKKAYW+7KdoXFMzpUEwHORg6Lqf8fYzIQc+jizwVoOEq3X42mh0vkDnVXmS/iwVY5XJg==","fileCount":59,"unpackedSize":705878,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb7XZlCRA9TVsSAnZWagAAsrsP/31ex9iszNB4W72TKn7Q\n3wXVJ/HTSJtkUg3J8tUQrXaXrP0/tU3a6X/A8SbX1Z3IUKcqRS+EDAt2X9Ei\nO8wtxoh660FpSERodOS0fo2dGa5c/k5tVdRm27hZRKil6GRypHq72KP2/ZWF\n4iJ2W9kFA4Bbi2s/ZpezCU6+vDyZicwc8/I/PgvwV4Ut3f7hiSkrAKr4C3jU\nIeQuuGxqo3bWBucCEM4rHTZRww35FA7BYS1fO+AMCVs9M3ig2ixg2BrSahs1\nWieRDW+2Biawo5HzDKGaGzwLZMqsiNkSCf6fTbf4BtkefY/Nw+4Timfxjdh8\n8Hd60FlTMacwJwp8bU3uBFVI00zweYJ/6qEm6YPU/Yv/8BJCboQsvF9+RsUQ\nn08bNtajhd4iIzmAgip/bWmfZ5uIRK2sTGCIbXubxGmPWr+nX9zsyANccViQ\njCp/eoKdCScbGTri+5ftWPw1uCVtGqQIDjYeHAlLkZaP/W90n2/yUz5gnGJs\nDkmoPG6Q4ppsjTxBBZpzUJ8SbPTLmOcZHjXBS1K4wDMrO0X00s3eBMF4YltW\nUTE6dd8mWIVAzZ4+76zWk8Rve0IBnkdYCUfx+SAsRc26uuMwP13abKh8MkWQ\npAJq4WWJjilQJc7DtHFoRmctyt26ae0FO8i3FwrFu0uGf5mEtSmxzrN4TeSs\ncD88\r\n=Tm+x\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICgWy+weRjGHPESxyKv2WG86bWoQZ8Hstb1eXYWc65hAAiB4pk9K5XQ/1wjPEwoLU2kCrvPcRuhb12rJoa5QPVThbA=="}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.2.2-0-dev.20181115T132855Z.015d698.HEAD_1542288996606_0.9824340756135068"},"_hasShrinkwrap":false},"0.2.2-0-dev.20181130T153121Z.a71eef2.HEAD":{"name":"trustlines-clientlib","version":"0.2.2-0-dev.20181130T153121Z.a71eef2.HEAD","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"./node_modules/typedoc/bin/typedoc --options tdconfig.json","lint":"tslint -c tslint.json ./src/**/**.ts ./tests/**/**.ts","lint-fix":"tslint -c tslint.json --fix ./src/**/**.ts ./tests/**/**.ts","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"mocha --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"mocha --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump":"./bump.sh"},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.5.2","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","es6-promise":"^4.1.1","fluid-publish":"^2.2.0","isomorphic-fetch":"^2.2.1","mocha":"^5.2.0","reconnecting-websocket":"^3.0.7","ts-node":"^7.0.0","tslint":"^5.10.0","tslint-config-standard":"^7.1.0","typedoc":"^0.11.1","types-ethereumjs-util":"0.0.8","typescript":"^2.9.2","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"bignumber.js":"7.2.1","eth-lightwallet":"^3.0.1","ethereumjs-abi":"^0.6.5","ethereumjs-util":"^5.2.0","html5-websocket":"^2.0.2","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","web3":"^1.0.0-beta.34"},"gitHead":"a71eef2d473b51e0d1e4067711eeccc125970d9b","readme":"# trustlines-network clientlib\n\n[![npm](https://img.shields.io/npm/v/trustlines-clientlib.svg)](https://www.npmjs.com/package/trustlines-clientlib)\n[![Travis (.org) branch](https://img.shields.io/travis/trustlines-network/clientlib/develop.svg)](https://travis-ci.org/trustlines-network/clientlib)\n\nA TypeScript/Javascript library for interacting with the [trustlines-network protocol](https://trustlines.network/).\n\n## Read the [Documentation](https://trustlines-network.github.io/clientlib-docs/)\n\n## Installation\nInstall the library using `npm` or `yarn`\n```bash\n$ npm install trustlines-clientlib\n// OR\n$ yarn add trustlines-clientlib\n```\n\n#### Import ES6 module\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n```\n\nUse the following configuration to connect to the currently deployed test setup.\n\n\n**NOTE: The [trustlines-network contracts](https://github.com/trustlines-network/contracts) are deployed on the Kovan testnet. Some Kovan Test ETH is therefore required to interact with the contracts in this setup.**\n\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n\nconst config = {\n  protocol: 'https',\n  host: 'relay0.testnet.trustlines.network',\n  path: 'api/v1/'\n}\n\nconst tlNetwork = new TLNetwork(config)\n```\n\n## Example\nThis library is a promise-based library. So every asynchronous call will return a native Javascript promise. If an error occurs the library will throw it. The caller has to handle it appropriately.\n\n```javascript\ntry {\n  const networks = await tlNetwork.currencyNetwokr.getAll()\n} catch (error) {\n  console.log('Caught error:', error)\n}\n```\n","readmeFilename":"README.md","_id":"trustlines-clientlib@0.2.2-0-dev.20181130T153121Z.a71eef2.HEAD","_shasum":"6557ee3210cfff86f83adc578a40eeaa1962569e","_from":".","_npmVersion":"4.2.0","_nodeVersion":"7.10.1","_npmUser":{"name":"dakingha69","email":"dongha.kim210@gmail.com"},"dist":{"shasum":"6557ee3210cfff86f83adc578a40eeaa1962569e","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.2.2-0-dev.20181130T153121Z.a71eef2.HEAD.tgz","integrity":"sha512-oLJHDBKaMm4b7Ow1zqBzWT13kIMii6EWuL/uwK1hi8M7jxWDAG1dLJuXSaMW8/OFeXIYU1guRfawKO6IwZVdvQ==","fileCount":59,"unpackedSize":706146,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcAVl/CRA9TVsSAnZWagAAVEwP/jZGxg5PMEZo/ZUl+bd+\n/sLESyK7X7qqZ6rdfNJrq2euZgF2Q825gsKVmL56FXf8g63yAqzT8vtzBj4B\n9A0jSAxzqjriYkMVm8FCBDHlSfLFdJkIEDpekaJ6LEr2QcKvqQ//tqmPqlPX\nCrK56wCxrrEom67wrF+5E+jabLPR+taTzPpzw3qNA2DDsbwsHI3RQGCd9x96\n2W3W2HMhYVO5n7FBiqjc7Yv5+L5Jkec45pEUDi6jJdwFYr/fP5wj4CjNha96\nBkqOS0tYWGcIhezatOXNV9A2gT7z692iAs1QiA+lE7NfCEMOlSI2E931v6jo\nH1VdirSVKpOS367S731pnTfZlyoGD49It96VedVc3b3ZrWfqbT6y2Uq+ZotW\nQfKbpvLF4OlmraqzbF4tZVzVpP5FqzOBuiNVYMhqP9mZIst3MoIX5KPPVu7+\nOgx6akiArA0mNau1M77/pynO/Syea45ISaN9E/n6ylx2GG/fMV2WnkrtbsLe\n2pbm/bQeKN8ud1eWvQVFsJG7es3f0/O2rbRK/CyGfSXc3g4g+73SwD1yGX0W\nBe38mYOEMf0X1yGag9Te52TCWfjIsR/H3rI/M77aIw+GqsrvpXZ7arlPQti3\n0bdZQ8g4DzQIACj79iXeu0qdYbVr3Il5b9A+GhRIoBIbdlJpX88jG70uXmHp\ngMqT\r\n=8414\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDxJ1VY8xr9wJK0JUopzWQAYIllidAH5bFl6MGsYZ3ObAiEAg7b7IcfTwUJsdiGRlPhAVX7HVWD9BqRaxR7fNXQU3Vo="}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"},{"email":"bernd@brainbot.com","name":"trustlines-deploy"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.2.2-0-dev.20181130T153121Z.a71eef2.HEAD_1543592318680_0.47080037016676024"},"_hasShrinkwrap":false},"0.2.2-0-dev.20181130T164335Z.ce12130.HEAD":{"name":"trustlines-clientlib","version":"0.2.2-0-dev.20181130T164335Z.ce12130.HEAD","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"typedoc --options tdconfig.json","lint":"tslint -c tslint.json ./src/**/**.ts ./tests/**/**.ts","prettier":"prettier --write './{src,tests}/**/*.ts'","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"mocha --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"mocha --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump":"./bump.sh"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{ts,js,json,css,md}":["prettier --write","git add"]},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.5.2","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","es6-promise":"^4.1.1","fluid-publish":"^2.2.0","husky":"^1.1.4","isomorphic-fetch":"^2.2.1","lint-staged":"^8.0.4","mocha":"^5.2.0","prettier":"^1.15.2","reconnecting-websocket":"^3.0.7","ts-node":"^7.0.0","tslint":"^5.10.0","tslint-config-prettier":"^1.16.0","tslint-config-standard":"^7.1.0","typedoc":"^0.11.1","types-ethereumjs-util":"0.0.8","typescript":"^2.9.2","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"bignumber.js":"7.2.1","eth-lightwallet":"^3.0.1","ethereumjs-abi":"^0.6.5","ethereumjs-util":"^5.2.0","html5-websocket":"^2.0.2","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","web3":"^1.0.0-beta.34"},"gitHead":"ce12130d259b658aa13b82838c7e8a20f23c6f99","readme":"# trustlines-network clientlib\n\n[![npm](https://img.shields.io/npm/v/trustlines-clientlib.svg)](https://www.npmjs.com/package/trustlines-clientlib)\n[![Travis (.org) branch](https://img.shields.io/travis/trustlines-network/clientlib/develop.svg)](https://travis-ci.org/trustlines-network/clientlib)\n\nA TypeScript/Javascript library for interacting with the [trustlines-network protocol](https://trustlines.network/).\n\n## Read the [Documentation](https://trustlines-network.github.io/clientlib-docs/)\n\n## Installation\nInstall the library using `npm` or `yarn`\n```bash\n$ npm install trustlines-clientlib\n// OR\n$ yarn add trustlines-clientlib\n```\n\n#### Import ES6 module\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n```\n\nUse the following configuration to connect to the currently deployed test setup.\n\n\n**NOTE: The [trustlines-network contracts](https://github.com/trustlines-network/contracts) are deployed on the Kovan testnet. Some Kovan Test ETH is therefore required to interact with the contracts in this setup.**\n\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n\nconst config = {\n  protocol: 'https',\n  host: 'relay0.testnet.trustlines.network',\n  path: 'api/v1/'\n}\n\nconst tlNetwork = new TLNetwork(config)\n```\n\n## Example\nThis library is a promise-based library. So every asynchronous call will return a native Javascript promise. If an error occurs the library will throw it. The caller has to handle it appropriately.\n\n```javascript\ntry {\n  const networks = await tlNetwork.currencyNetwokr.getAll()\n} catch (error) {\n  console.log('Caught error:', error)\n}\n```\n","readmeFilename":"README.md","_id":"trustlines-clientlib@0.2.2-0-dev.20181130T164335Z.ce12130.HEAD","_shasum":"acf047b47232939a49fa889c784736f7a891ca4d","_from":".","_npmVersion":"4.2.0","_nodeVersion":"7.10.1","_npmUser":{"name":"dakingha69","email":"dongha.kim210@gmail.com"},"dist":{"shasum":"acf047b47232939a49fa889c784736f7a891ca4d","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.2.2-0-dev.20181130T164335Z.ce12130.HEAD.tgz","integrity":"sha512-WKa0GuR81kIHr5uJNzdAVz131nqPuOo4vDBrtbeisa7fXUwUGnzkJWcUGZbTtU9BUPt+e6M6BDpsATd01+/LXw==","fileCount":60,"unpackedSize":704987,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcAWr3CRA9TVsSAnZWagAAURQP/1q2/kIlKiS+W+qWF8VQ\nqxzuSOqqBfSTMheJ8VoyY/jH4kCrizNzyWL75vk5Aft21XlQTdbfcxogXgVb\nh3k0SJ2UtvCJlWvtLX9reFBj0tgLMlmVARIqeSZv8Eik+pytS1lHDVmCFK+X\nMOOYRc/xQP5OzN79BcI4/tnPEqNn3ljOZhvJyl2P6gfgcwx23hojfoBepYok\nUP2P32C/eJdhnhf9idfU8hVHXbWTm86+4QsXHUYI7W6vEdZjY+l52aGi9UGW\nPg4WEH39Ph8wBddA1fTGfzNHbTJoYze1GizSpczdrdClTb7PCRZPNk12fv1v\nieY8daJYV6yKEj1xbGlgsLL6lyJ2NL1Tq4Cq5yhIwrA5GHJbizz7EJxYBXXr\nP+x6V2mL2wakCm6y4r8fvp09BRiU8nWb4uEFvE2AE5gCg51GZKNzZRccu3Ks\ngC0vQtz6vUNlmoZmDOf1xLJLkEOXI0yxC1Pynx1FrccIMoDz2iB3PUQVTro9\nMzfkQMdMfXrE8RuYzsvgCdKqQa+F64aLNPyNqsMDbnNUtTMV6/0XlNuDDV6b\nwu79nyWZmf8fYToSAe2lZObPs89Zfhwyscmyxmedh5qQOOSvwxPa24Sid/Ys\nSSU9mkCVQvSbTBwc2cCb/PTCVDUwkQywXTF9mV+FBgqEiu/EgZX/S62mGAU+\n0Ql5\r\n=3Stt\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDVO+oeP/34fbU8a2aodgBYMZCppeHSP0zhuxLT5bCzpgIhAO77j4Lpj9FDKugR4bGiuvApeYu7Qng6kBX3aJRt847G"}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"},{"email":"bernd@brainbot.com","name":"trustlines-deploy"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.2.2-0-dev.20181130T164335Z.ce12130.HEAD_1543596790864_0.9013822621956153"},"_hasShrinkwrap":false},"0.2.2-0-dev.20181205T085901Z.87fb174.HEAD":{"name":"trustlines-clientlib","version":"0.2.2-0-dev.20181205T085901Z.87fb174.HEAD","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"typedoc --options tdconfig.json","lint":"tslint -c tslint.json ./src/**/**.ts ./tests/**/**.ts","prettier":"prettier --write './{src,tests}/**/*.ts'","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"nyc mocha --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"nyc mocha --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","coverage":"nyc report --reporter=text-lcov > coverage.lcov && codecov","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump":"./bump.sh"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{ts,js,json,css,md}":["prettier --write","git add"]},"nyc":{"extension":[".ts"],"include":["src"],"reporter":["text"],"all":true},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.5.2","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","codecov":"^3.1.0","es6-promise":"^4.1.1","fluid-publish":"^2.2.0","husky":"^1.1.4","isomorphic-fetch":"^2.2.1","lint-staged":"^8.0.4","mocha":"^5.2.0","prettier":"^1.15.2","nyc":"^13.1.0","reconnecting-websocket":"^3.0.7","ts-node":"^7.0.0","tslint":"^5.10.0","tslint-config-prettier":"^1.16.0","tslint-config-standard":"^7.1.0","typedoc":"^0.11.1","types-ethereumjs-util":"0.0.8","typescript":"^2.9.2","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"bignumber.js":"7.2.1","eth-lightwallet":"^3.0.1","ethereumjs-abi":"^0.6.5","ethereumjs-util":"^5.2.0","html5-websocket":"^2.0.2","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","web3":"^1.0.0-beta.34"},"gitHead":"87fb1741fd6d3f6109769d48fa107c74d0f06db8","readme":"# trustlines-network clientlib\n\n[![npm](https://img.shields.io/npm/v/trustlines-clientlib.svg)](https://www.npmjs.com/package/trustlines-clientlib)\n[![Travis (.org) branch](https://img.shields.io/travis/trustlines-network/clientlib/develop.svg)](https://travis-ci.org/trustlines-network/clientlib)\n[![Codecov branch](https://img.shields.io/codecov/c/github/trustlines-network/clientlib/develop.svg)](https://codecov.io/gh/trustlines-network/clientlib)\n\nA TypeScript/Javascript library for interacting with the [trustlines-network protocol](https://trustlines.network/).\n\n## Read the [Documentation](https://trustlines-network.github.io/clientlib-docs/)\n\n## Installation\n\nInstall the library using `npm` or `yarn`\n\n```bash\n$ npm install trustlines-clientlib\n// OR\n$ yarn add trustlines-clientlib\n```\n\n#### Import ES6 module\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n```\n\nUse the following configuration to connect to the currently deployed test setup.\n\n**NOTE: The [trustlines-network contracts](https://github.com/trustlines-network/contracts) are deployed on the Kovan testnet. Some Kovan Test ETH is therefore required to interact with the contracts in this setup.**\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n\nconst config = {\n  protocol: 'https',\n  host: 'relay0.testnet.trustlines.network',\n  path: 'api/v1/'\n}\n\nconst tlNetwork = new TLNetwork(config)\n```\n\n## Example\n\nThis library is a promise-based library. So every asynchronous call will return a native Javascript promise. If an error occurs the library will throw it. The caller has to handle it appropriately.\n\n```javascript\ntry {\n  const networks = await tlNetwork.currencyNetwokr.getAll()\n} catch (error) {\n  console.log('Caught error:', error)\n}\n```\n","readmeFilename":"README.md","_id":"trustlines-clientlib@0.2.2-0-dev.20181205T085901Z.87fb174.HEAD","_shasum":"ad26013147676d3092a9c84ff7d83ab6892716ad","_from":".","_npmVersion":"4.2.0","_nodeVersion":"7.10.1","_npmUser":{"name":"dakingha69","email":"dongha.kim210@gmail.com"},"dist":{"shasum":"ad26013147676d3092a9c84ff7d83ab6892716ad","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.2.2-0-dev.20181205T085901Z.87fb174.HEAD.tgz","integrity":"sha512-0ovlFe6IvBX/IAW3wOtjqQOpT9maKhU5qS/g8IiSenBwYQMqtBIvL3kMp8gD9nQ2EMrx5/6lz+1h5m/fE++weA==","fileCount":60,"unpackedSize":705424,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcB5XJCRA9TVsSAnZWagAAgb4P/2lxBqSbSEEtd7jUyQ5r\n8k5GaHihqU7vyDRr9pjHtAbyIJQseXDZLAREySt6NAYvYjqePAaK9v3npp8k\nGXRHmCWbEDClMrNqiE+BQhTnb4JaUQ/sjhSScS7tey30n96jUREFgiCLE2b4\n36hWzJRnry32wBJo3M9/yeYvx3UFiPFKmt1W/sBnj7vwo2MutN7qTe56KDQl\nvNLkF7ZW/8pVL/uNZ9N0KEl4/YLNHLI0JMbAtJEHCY73bTgPtBADZ0DSekiS\nn1ek6Xjk1RLWZUtsdbYniBT71tWZ8GBmbkC9HBsKHxD1zhefjrP+68vEi/Aq\nBrbnd3EE1W0ycGvKDsAqLkTtB7mEx6ElwNF5KFBedsWPH61CMi8/G1VmJtpD\n0/aBKmfkHHtRpYVLBINDXsgW1gI76VGdPzwLkqH5zPmVSnqYg3RxEkmVUo6u\nP/1bs9HgLNmh8aOhfqaNklYqEH+oiXO2g0rXqMtCqvakThVDhBZ/tgvHOvm9\nj6jVNWJJYTA2c3bDnmyBg4iqWgLLwVuihiZUk6RPCl9DzY4lhvltqYzNWS/n\neJb3e3hluVCdFXYkw0dBuAyFVMjKidDC22CJDIRaO3lKnb437tOxALJcGr8p\nSnME0mnnYqzCQieOKVNIuTD24n6wFjWCVITVCtPxMycw535LSgd//qqBjfu5\nFX8H\r\n=v3ZY\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDy8BcDA7k8/cwBwaUodyWNcPH+nGZ9XlgabrgxZob1ngIhAMzimi1/tgeEJmjeLqpoTMtQtw5caFXeXU1Z7MEbTtiY"}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"},{"email":"bernd@brainbot.com","name":"trustlines-deploy"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.2.2-0-dev.20181205T085901Z.87fb174.HEAD_1544000968874_0.9029745629627208"},"_hasShrinkwrap":false},"0.2.2-0-dev.20181205T161129Z.364804f.HEAD":{"name":"trustlines-clientlib","version":"0.2.2-0-dev.20181205T161129Z.364804f.HEAD","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"typedoc --options tdconfig.json","lint":"tslint -c tslint.json ./src/**/**.ts ./tests/**/**.ts","prettier":"prettier --write './{src,tests}/**/*.ts'","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"nyc mocha --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"nyc mocha --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","coverage":"nyc report --reporter=text-lcov > coverage.lcov && codecov","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump":"./bump.sh"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{ts,js,json,css,md}":["prettier --write","git add"]},"nyc":{"extension":[".ts"],"include":["src"],"reporter":["text"],"all":true},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.5.2","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","codecov":"^3.1.0","es6-promise":"^4.1.1","fluid-publish":"^2.2.0","husky":"^1.1.4","isomorphic-fetch":"^2.2.1","lint-staged":"^8.0.4","mocha":"^5.2.0","nyc":"^13.1.0","prettier":"^1.15.2","reconnecting-websocket":"^3.0.7","ts-node":"^7.0.0","tslint":"^5.10.0","tslint-config-prettier":"^1.16.0","tslint-config-standard":"^7.1.0","typedoc":"^0.11.1","types-ethereumjs-util":"0.0.8","typescript":"^2.9.2","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"bignumber.js":"7.2.1","eth-lightwallet":"^3.0.1","ethereumjs-abi":"^0.6.5","ethereumjs-util":"^5.2.0","html5-websocket":"^2.0.2","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","trustlines-contracts-abi":"dev","web3":"^1.0.0-beta.34"},"gitHead":"364804f13f414043e148fdcbf6477d505bb8ff16","readme":"# trustlines-network clientlib\n\n[![npm](https://img.shields.io/npm/v/trustlines-clientlib.svg)](https://www.npmjs.com/package/trustlines-clientlib)\n[![Travis (.org) branch](https://img.shields.io/travis/trustlines-network/clientlib/develop.svg)](https://travis-ci.org/trustlines-network/clientlib)\n[![Codecov branch](https://img.shields.io/codecov/c/github/trustlines-network/clientlib/develop.svg)](https://codecov.io/gh/trustlines-network/clientlib)\n\nA TypeScript/Javascript library for interacting with the [trustlines-network protocol](https://trustlines.network/).\n\n## Read the [Documentation](https://trustlines-network.github.io/clientlib-docs/)\n\n## Installation\n\nInstall the library using `npm` or `yarn`\n\n```bash\n$ npm install trustlines-clientlib\n// OR\n$ yarn add trustlines-clientlib\n```\n\n#### Import ES6 module\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n```\n\nUse the following configuration to connect to the currently deployed test setup.\n\n**NOTE: The [trustlines-network contracts](https://github.com/trustlines-network/contracts) are deployed on the Kovan testnet. Some Kovan Test ETH is therefore required to interact with the contracts in this setup.**\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n\nconst config = {\n  protocol: 'https',\n  host: 'relay0.testnet.trustlines.network',\n  path: 'api/v1/'\n}\n\nconst tlNetwork = new TLNetwork(config)\n```\n\n## Example\n\nThis library is a promise-based library. So every asynchronous call will return a native Javascript promise. If an error occurs the library will throw it. The caller has to handle it appropriately.\n\n```javascript\ntry {\n  const networks = await tlNetwork.currencyNetwokr.getAll()\n} catch (error) {\n  console.log('Caught error:', error)\n}\n```\n","readmeFilename":"README.md","_id":"trustlines-clientlib@0.2.2-0-dev.20181205T161129Z.364804f.HEAD","_shasum":"3886f37f111a3f89169e4bb36004c8d96ce07b86","_from":".","_npmVersion":"4.2.0","_nodeVersion":"7.10.1","_npmUser":{"name":"dakingha69","email":"dongha.kim210@gmail.com"},"dist":{"shasum":"3886f37f111a3f89169e4bb36004c8d96ce07b86","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.2.2-0-dev.20181205T161129Z.364804f.HEAD.tgz","integrity":"sha512-SOOiCCfrdEwtOWODqiP4bM0hHwFWxjiZII9xuDUmibWtI5x2isnI9unfqg2rlaglD9zy6zh9OAlw3y8xx9xgTQ==","fileCount":59,"unpackedSize":306167,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcB/tGCRA9TVsSAnZWagAAuu0P/RJlocT8tRh1RO0cosrt\n8Y9LMVTXitdK3c1Nn/pxhcLIj/98DmI99LmJJ7+laJDgJW5ia931qG3z5RMh\ndJltC0gldDUgrV0wV+cbJpUG++P3gmfHvYLnRlZG+RKBYvcuJzmWVToF97si\nfYUozNraHjiusvTfhcmhfPWXsUWUYZRPoaBHdyUISeC+WBDNxuk8WaCPUtCp\n168Rk8nkkzDXXR3XJktERbPymt0ac20B1UFajZl66oY2uRgb8QL9ofM3X2SP\nW9aA6Ob8zEghDtudIBSCdwtfit/yZdFHfyGnfd2KssL7QOUixpJs1AJ7jx+g\nZkZpKLQgYslbQByrt4n5w2tIiq9JCFK1Qb1vHWGaExAkYtKaHJHmCPxh0g2N\n8QB8HNQ71wrIaMiNbQz300Oeo8ieCl1q36zGl6L5VzD4txJWjlGIta1JkzOf\nanb51gU7itKX5kewj+peRzkbCU6mH3Pbpkrx24v7Hr1iUrz0bK4EcqFVcKuj\n4f45icGE9//bPpYOO9B6oZFGV019reTB7mrnVyVukXn1IHZvLwWyHkEFKwLo\nIfGZzUGQeiJUJEGoKvdUySRHmNlAO/ngfMYiCRl5xUjMZRErtO/qHTWY4Y/L\nFD19fQu2PvR1qQfL7M66Xqj5MWKfUJ8ITm7P4kPU7PtaIrW5Jhlopc155Skc\nJxw9\r\n=Gv6Y\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDf2YeSXtj+qepfiMJaVH1tczc2yjPRkDnuq/lFsu3qLAiEAgsWorXh36z2ocDwa+j/FztY3ilQfGvLEadT1PJfpuLI="}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"},{"email":"bernd@brainbot.com","name":"trustlines-deploy"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.2.2-0-dev.20181205T161129Z.364804f.HEAD_1544026949851_0.2142866935328065"},"_hasShrinkwrap":false},"0.2.2-0-dev.20181211T074901Z.332295b.HEAD":{"name":"trustlines-clientlib","version":"0.2.2-0-dev.20181211T074901Z.332295b.HEAD","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"typedoc --options tdconfig.json","lint":"tslint -c tslint.json ./src/**/**.ts ./tests/**/**.ts","prettier":"prettier --write './{src,tests}/**/*.ts'","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"nyc mocha --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"nyc mocha --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","coverage":"nyc report --reporter=text-lcov > coverage.lcov && codecov","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump":"./bump.sh"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{ts,js,json,css,md}":["prettier --write","git add"]},"nyc":{"extension":[".ts"],"include":["src"],"reporter":["text"],"all":true},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.5.2","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","codecov":"^3.1.0","es6-promise":"^4.1.1","fluid-publish":"^2.2.0","husky":"^1.1.4","isomorphic-fetch":"^2.2.1","lint-staged":"^8.0.4","mocha":"^5.2.0","nyc":"^13.1.0","prettier":"^1.15.2","reconnecting-websocket":"^3.0.7","ts-node":"^7.0.0","tslint":"^5.10.0","tslint-config-prettier":"^1.16.0","tslint-config-standard":"^7.1.0","typedoc":"^0.11.1","types-ethereumjs-util":"0.0.8","typescript":"^2.9.2","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"bignumber.js":"7.2.1","eth-lightwallet":"github:trustlines-network/eth-lightwallet","ethereumjs-abi":"^0.6.5","ethereumjs-util":"^5.2.0","html5-websocket":"^2.0.2","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","trustlines-contracts-abi":"dev","web3":"^1.0.0-beta.34"},"gitHead":"332295b7a98650228c5a3007e5646fe97e15987c","readme":"# trustlines-network clientlib\n\n[![npm](https://img.shields.io/npm/v/trustlines-clientlib.svg)](https://www.npmjs.com/package/trustlines-clientlib)\n[![Travis (.org) branch](https://img.shields.io/travis/trustlines-network/clientlib/develop.svg)](https://travis-ci.org/trustlines-network/clientlib)\n[![Codecov branch](https://img.shields.io/codecov/c/github/trustlines-network/clientlib/develop.svg)](https://codecov.io/gh/trustlines-network/clientlib)\n\nA TypeScript/Javascript library for interacting with the [trustlines-network protocol](https://trustlines.network/).\n\n## Read the [Documentation](https://trustlines-network.github.io/clientlib-docs/)\n\n## Installation\n\nInstall the library using `npm` or `yarn`\n\n```bash\n$ npm install trustlines-clientlib\n// OR\n$ yarn add trustlines-clientlib\n```\n\n#### Import ES6 module\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n```\n\nUse the following configuration to connect to the currently deployed test setup.\n\n**NOTE: The [trustlines-network contracts](https://github.com/trustlines-network/contracts) are deployed on the Kovan testnet. Some Kovan Test ETH is therefore required to interact with the contracts in this setup.**\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n\nconst config = {\n  protocol: 'https',\n  host: 'relay0.testnet.trustlines.network',\n  path: 'api/v1/'\n}\n\nconst tlNetwork = new TLNetwork(config)\n```\n\n## Example\n\nThis library is a promise-based library. So every asynchronous call will return a native Javascript promise. If an error occurs the library will throw it. The caller has to handle it appropriately.\n\n```javascript\ntry {\n  const networks = await tlNetwork.currencyNetwokr.getAll()\n} catch (error) {\n  console.log('Caught error:', error)\n}\n```\n","readmeFilename":"README.md","_id":"trustlines-clientlib@0.2.2-0-dev.20181211T074901Z.332295b.HEAD","_npmVersion":"6.4.1","_nodeVersion":"8.14.0","_npmUser":{"name":"dakingha69","email":"dongha.kim210@gmail.com"},"dist":{"integrity":"sha512-qmjyFzR3S9i4xphijJCPovMKosBpicIbScmrZpq3NQhY9u3fKPrrStvNW7iwAfOG56KDp9WOnvRy00oyeHn6Sw==","shasum":"9a25df774d43e07de738f733a545371a9a39067d","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.2.2-0-dev.20181211T074901Z.332295b.HEAD.tgz","fileCount":58,"unpackedSize":305948,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcD26aCRA9TVsSAnZWagAAJGYQAIXIJIYG72hXc2i52OJR\nFPv1lbDREH1etMLKcB4JB6SFSCuRzVpHDPVcqADoOGhs9T6W+rHxU+xOAwJI\nvorPUDm8NFQWByDttW7xPVcSvReVjAo9f9asNhBZ7WRukqeL1tngezN8WSr7\njzmSsI60r619IrHEJFJsAD6ScgOXUm+FPOnufZjQORKZiqupudAUw84tUYC8\ntk7sc7IXyo1eI1rKeRGJS+heMjUH3QJH0RD52AID87v1LvLkoWy8DijG9uuS\nmzrRj5l5ETXkxNDxbYH3cnLXxP9g1bC6/NNw43MJGGZTo0G/bSaf75Z/kn4V\n0A3r/F2CT8+eEyoP8IqqLLieqY4CTaNYvWG9u4ZGd0pG2YTy68Kr3GIu5kCi\nmTCabkY712QeHhKTcnbW+lnzbkZFQo2ByonnwmuFXC3li5Src/T0qgKf06gO\nXOrav+uIqCMrEJqnN0x0OcPcp2KAXj0KR3bsaZfxq4FIebZLjJ4+Txe9cmz3\n0BopiyDd1Jdj8tMiGFc4jRIgdwaJkzG0DUH5N8uRWEp8HjkE2mv1m5QVLqzH\nlePSn0RD/XmCoKXhTj8dLtzkyTGAu6TIgRN5nFh/3yLLU+Boq4os8YnlXvhx\nSzO1iZRrZFZYkA+H4kM4IzM1mZYU2ugVNvHorQzzDTabigHPx1aafOf5g88c\nb3kS\r\n=bHhE\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAzc1oN0BK8bVeM6R+ncrQqGK3X22Exwf8AYnzpvElXIAiBqdJzWJDaE8zZujE5loQfEd2AsUdFddTY/XYDdfoQqvg=="}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"},{"email":"bernd@brainbot.com","name":"trustlines-deploy"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.2.2-0-dev.20181211T074901Z.332295b.HEAD_1544515226139_0.08024884224551565"},"_hasShrinkwrap":false},"0.2.2-0-dev.20181211T100239Z.8df1728.HEAD":{"name":"trustlines-clientlib","version":"0.2.2-0-dev.20181211T100239Z.8df1728.HEAD","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"typedoc --options tdconfig.json","lint":"tslint -c tslint.json ./src/**/**.ts ./tests/**/**.ts","prettier":"prettier --write './{src,tests}/**/*.ts'","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"nyc mocha --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"nyc mocha --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","coverage":"nyc report --reporter=text-lcov > coverage.lcov && codecov","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump":"./bump.sh"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{ts,js,json,css,md}":["prettier --write","git add"]},"nyc":{"extension":[".ts"],"include":["src"],"reporter":["text"],"all":true},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.5.2","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","codecov":"^3.1.0","es6-promise":"^4.1.1","fluid-publish":"^2.2.0","husky":"^1.1.4","isomorphic-fetch":"^2.2.1","lint-staged":"^8.0.4","mocha":"^5.2.0","nyc":"^13.1.0","prettier":"^1.15.2","reconnecting-websocket":"^3.0.7","ts-node":"^7.0.0","tslint":"^5.10.0","tslint-config-prettier":"^1.16.0","tslint-config-standard":"^7.1.0","typedoc":"^0.11.1","types-ethereumjs-util":"0.0.8","typescript":"^2.9.2","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"bignumber.js":"7.2.1","eth-lightwallet":"github:trustlines-network/eth-lightwallet","ethereumjs-abi":"^0.6.5","ethereumjs-util":"^5.2.0","html5-websocket":"^2.0.2","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","trustlines-contracts-abi":"dev","web3":"^1.0.0-beta.34"},"gitHead":"8df172846091216b5f37f2b60017a5436ace686f","readme":"# trustlines-network clientlib\n\n[![npm](https://img.shields.io/npm/v/trustlines-clientlib.svg)](https://www.npmjs.com/package/trustlines-clientlib)\n[![Travis (.org) branch](https://img.shields.io/travis/trustlines-network/clientlib/develop.svg)](https://travis-ci.org/trustlines-network/clientlib)\n[![Codecov branch](https://img.shields.io/codecov/c/github/trustlines-network/clientlib/develop.svg)](https://codecov.io/gh/trustlines-network/clientlib)\n\nA TypeScript/Javascript library for interacting with the [trustlines-network protocol](https://trustlines.network/).\n\n## Read the [Documentation](https://trustlines-network.github.io/clientlib-docs/)\n\n## Installation\n\nInstall the library using `npm` or `yarn`\n\n```bash\n$ npm install trustlines-clientlib\n// OR\n$ yarn add trustlines-clientlib\n```\n\n#### Import ES6 module\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n```\n\nUse the following configuration to connect to the currently deployed test setup.\n\n**NOTE: The [trustlines-network contracts](https://github.com/trustlines-network/contracts) are deployed on the Kovan testnet. Some Kovan Test ETH is therefore required to interact with the contracts in this setup.**\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n\nconst config = {\n  protocol: 'https',\n  host: 'relay0.testnet.trustlines.network',\n  path: 'api/v1/'\n}\n\nconst tlNetwork = new TLNetwork(config)\n```\n\n## Example\n\nThis library is a promise-based library. So every asynchronous call will return a native Javascript promise. If an error occurs the library will throw it. The caller has to handle it appropriately.\n\n```javascript\ntry {\n  const networks = await tlNetwork.currencyNetwokr.getAll()\n} catch (error) {\n  console.log('Caught error:', error)\n}\n```\n","readmeFilename":"README.md","_id":"trustlines-clientlib@0.2.2-0-dev.20181211T100239Z.8df1728.HEAD","_npmVersion":"6.4.1","_nodeVersion":"8.14.0","_npmUser":{"name":"dakingha69","email":"dongha.kim210@gmail.com"},"dist":{"integrity":"sha512-ZmVUgCzwBiheNvicq4lBoWK4ju1yvGCTfgGCAmrbCUWv3jOOwHqWvoioyGFclT347gfjnZ2703uFcvbQMliyqA==","shasum":"a1a23925ae856b54a7c6e683ba8d3c8707bbbe01","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.2.2-0-dev.20181211T100239Z.8df1728.HEAD.tgz","fileCount":58,"unpackedSize":306876,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcD41/CRA9TVsSAnZWagAALyIP/3tu4O0+Cw/C0i8O1wmM\nmqC5tyk3MUk+z4O+1/tPch1h71yfzlQ7nXlgy1VOAGrqowe0gPsa/quTwnfX\nZ0E/yLiPib82RJNjRZWfFSRio8z/HtSanROHzYGsSUnZwNB5KyqSmwUweDZa\nms0i+B322954tIosZgHYyeCoU7NIuYjX4fL8rQ2l41p+7NRfmgQYIpXQ6Rrr\ndef7eqiRf/B2fG9KBtAlTwl12SJuiJJduRMTCGgybgEOHUvPiJfRoXKNkovA\nuZyzU4mvQ0F1qLVZ94K2Cv8l7ZOUmpJuwRKUXuPjA9AwX+Nf2ajQw7GIJYON\nrufduRpFErl6ThOHi/vk7COi0tqgcVwgbpUy8LFT2wDq80KjNOnf6pCvogBl\nuYwWb9eAZV8mrFkTU1GUGoiX2BJ8uyY3Z1/bHIlQn4siS1QMija1nQNX6wLX\nF8WlmH9kUWnsc9a7yuVEHLEnUfFGQOs4QXECTbz5ks8dx7nMQ4yNPlldLlWQ\nzceeeyo+CQ+NPZvarnKpvTqEj4QkcMXuQgdXhJ2+sDcFfCUgIGok4Hb3LAUf\nkhsaLCq9Bl4F6lYAtBPykZI6YKi+kM820OGcDzgDCSZHpXeVLUlgyUE2Vi7S\nPP3G+cufXeQGKnONQQDYse5+x5kDqXP+k6APZlvCQrr7xhGqkEOpGWqkl25E\nz9mV\r\n=JMjh\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCDsj77OVlSvg7DA3HRPElylQxeIPix/mwyJ+FpdtJXjQIhALnUr4IaYF0kkLP4tcsF6Qzmf9TmueL58/xTlQsBdBMb"}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"},{"email":"bernd@brainbot.com","name":"trustlines-deploy"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.2.2-0-dev.20181211T100239Z.8df1728.HEAD_1544523134269_0.0749673481701929"},"_hasShrinkwrap":false},"0.2.2-0-dev.20181213T115912Z.b878235.HEAD":{"name":"trustlines-clientlib","version":"0.2.2-0-dev.20181213T115912Z.b878235.HEAD","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"typedoc --options tdconfig.json","lint":"tslint -c tslint.json ./src/**/**.ts ./tests/**/**.ts","prettier":"prettier --write './{src,tests}/**/*.ts'","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"nyc mocha --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"nyc mocha --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","coverage":"nyc report --reporter=text-lcov > coverage.lcov && codecov","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump":"./bump.sh"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{ts,js,json,css,md}":["prettier --write","git add"]},"nyc":{"extension":[".ts"],"include":["src"],"reporter":["text"],"all":true},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.5.2","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","codecov":"^3.1.0","es6-promise":"^4.1.1","fluid-publish":"^2.2.0","husky":"^1.1.4","isomorphic-fetch":"^2.2.1","lint-staged":"^8.0.4","mocha":"^5.2.0","nyc":"^13.1.0","prettier":"^1.15.2","reconnecting-websocket":"^3.0.7","ts-node":"^7.0.0","tslint":"^5.10.0","tslint-config-prettier":"^1.16.0","tslint-config-standard":"^7.1.0","typedoc":"^0.11.1","types-ethereumjs-util":"0.0.8","typescript":"^2.9.2","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"bignumber.js":"7.2.1","eth-lightwallet":"github:trustlines-network/eth-lightwallet","ethereumjs-abi":"^0.6.5","ethereumjs-util":"^5.2.0","html5-websocket":"^2.0.2","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","trustlines-contracts-abi":"dev","web3":"^1.0.0-beta.34"},"gitHead":"b87823509756b6c34cc40cd76842b51473ad6bec","readme":"# trustlines-network clientlib\n\n[![npm](https://img.shields.io/npm/v/trustlines-clientlib.svg)](https://www.npmjs.com/package/trustlines-clientlib)\n[![Travis (.org) branch](https://img.shields.io/travis/trustlines-network/clientlib/develop.svg)](https://travis-ci.org/trustlines-network/clientlib)\n[![Codecov branch](https://img.shields.io/codecov/c/github/trustlines-network/clientlib/develop.svg)](https://codecov.io/gh/trustlines-network/clientlib)\n\nA TypeScript/Javascript library for interacting with the [trustlines-network protocol](https://trustlines.network/).\n\n## Read the [Documentation](https://trustlines-network.github.io/clientlib-docs/)\n\n## Installation\n\nInstall the library using `npm` or `yarn`\n\n```bash\n$ npm install trustlines-clientlib\n// OR\n$ yarn add trustlines-clientlib\n```\n\n#### Import ES6 module\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n```\n\nUse the following configuration to connect to the currently deployed test setup.\n\n**NOTE: The [trustlines-network contracts](https://github.com/trustlines-network/contracts) are deployed on the Kovan testnet. Some Kovan Test ETH is therefore required to interact with the contracts in this setup.**\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n\nconst config = {\n  protocol: 'https',\n  host: 'relay0.testnet.trustlines.network',\n  path: 'api/v1/'\n}\n\nconst tlNetwork = new TLNetwork(config)\n```\n\n## Example\n\nThis library is a promise-based library. So every asynchronous call will return a native Javascript promise. If an error occurs the library will throw it. The caller has to handle it appropriately.\n\n```javascript\ntry {\n  const networks = await tlNetwork.currencyNetwokr.getAll()\n} catch (error) {\n  console.log('Caught error:', error)\n}\n```\n","readmeFilename":"README.md","_id":"trustlines-clientlib@0.2.2-0-dev.20181213T115912Z.b878235.HEAD","_npmVersion":"6.4.1","_nodeVersion":"8.14.0","_npmUser":{"name":"dakingha69","email":"dongha.kim210@gmail.com"},"dist":{"integrity":"sha512-Z9zUnbuRaQV26bDi5EafvdzYMBixqFBGEsLipqcmSUGloHKo1OZj59SWWWYs8VN+I6ANjoT+zFCZbhSz/O3aMA==","shasum":"86ecc49d650e1988176550f435dd6aba8ece3fa5","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.2.2-0-dev.20181213T115912Z.b878235.HEAD.tgz","fileCount":58,"unpackedSize":306876,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcEkvsCRA9TVsSAnZWagAAV50QAJwixomHkL95m3CsLt4N\nLLO+CiPWuPnAPah0kqXTDdwqNPq4gwAVkuQOpY5qAhuU61hyYa2fAKiEX5QT\nPLB2yaaPfJr/Qi++x1amw667K+8AEp6SUE4cE7dWPyi9JykbOXTQKp5UMHaO\nJi7Kp7WYE4PRoqfcV5+bK2E1OD3Wvaw6OIaH1ghYshne9b/S64PJFRboZm+0\npbPQXLeJonkkOWmrCEhIDf7Lm0u8Z5Sazws/1/bWEfT/dV3oajjNw8RVo6vG\n6jsvejRIxJa7CR6pXHztBAfYMxLfbKfIRJ6Z2Gu4I3pd2+CmhhXMUtl2Ielt\n8dFFWyUvCrvA1dsnDb+1mc/kuTcWZr+DyZsd+fRJwaFIo0/cjxkf4ze9U+wm\nDikSkSnmmA7zdhZ7+ARHNXznlXDqSacXHXz/hvmFOt3u9zwHUMxqsxwnyc2p\nYhyRzp9UF2Dr0BzSv/UbJsAGtlhlJJBgL8Wr02crC8ErFs4vOF7MmCEP+o8d\n+oEBgc3kQ8iiBZcvFNr72JssfjUwSuSsZ7/JlTb2azQwWsjZls5IqXS6fyQ/\n3Sgip4+Gk39r/KLXLVa94TPL2z/juNRjXSxJSl0bNuHXv0xc139d+dsZdLv9\nq2O33N3JC99CWApLit1tV+7TxVPVN0uCqLiiWAsXAtH+2i10P2/4N/JEo8bA\nLSCM\r\n=+HXN\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCctVdofSBDiqjRMlEdD3wqs6VPDakWZapxRUfIWnaSDQIgG6vTGKSspOOVjKzclxmK70wVqNzGKyyxZEB7ja2g2j8="}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"},{"email":"bernd@brainbot.com","name":"trustlines-deploy"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.2.2-0-dev.20181213T115912Z.b878235.HEAD_1544702956011_0.2992336653441159"},"_hasShrinkwrap":false},"0.2.2":{"name":"trustlines-clientlib","version":"0.2.2","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"typedoc --options tdconfig.json","lint":"tslint -c tslint.json ./src/**/**.ts ./tests/**/**.ts","prettier":"prettier --write './{src,tests}/**/*.ts'","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"nyc mocha --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"nyc mocha --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","coverage":"nyc report --reporter=text-lcov > coverage.lcov && codecov","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump":"./bump.sh"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{ts,js,json,css,md}":["prettier --write","git add"]},"nyc":{"extension":[".ts"],"include":["src"],"reporter":["text"],"all":true},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.5.2","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","codecov":"^3.1.0","es6-promise":"^4.1.1","fluid-publish":"^2.2.0","husky":"^1.1.4","isomorphic-fetch":"^2.2.1","lint-staged":"^8.0.4","mocha":"^5.2.0","nyc":"^13.1.0","prettier":"^1.15.2","reconnecting-websocket":"^3.0.7","ts-node":"^7.0.0","tslint":"^5.10.0","tslint-config-prettier":"^1.16.0","tslint-config-standard":"^7.1.0","typedoc":"^0.11.1","types-ethereumjs-util":"0.0.8","typescript":"^2.9.2","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"bignumber.js":"7.2.1","eth-lightwallet":"github:trustlines-network/eth-lightwallet","ethereumjs-abi":"^0.6.5","ethereumjs-util":"^5.2.0","html5-websocket":"^2.0.2","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","trustlines-contracts-abi":"dev","web3":"^1.0.0-beta.34"},"gitHead":"5292604608f95acc6391d720587634dc016aa2d4","_id":"trustlines-clientlib@0.2.2","_npmVersion":"6.4.1","_nodeVersion":"8.14.0","_npmUser":{"name":"dakingha69","email":"dongha.kim210@gmail.com"},"dist":{"integrity":"sha512-4D/9ZNjgU4vLVaXgoVPuPBGq6Jteud054aONs+C+RH4drsFF1rzHOnnhIdHIR9D92okDVnxgjACTZqJXZZAJsw==","shasum":"da9a61b244bd634cdfba343bad763e8567c0f11c","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.2.2.tgz","fileCount":58,"unpackedSize":306840,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcGNQbCRA9TVsSAnZWagAAA2YQAJtJnvGFpQhdD/taCXae\n2GwjGtgiVFy3Ger3GhJp5sOT81IptuYn1tGditk1IZfgO1D5mjytaJVUvoWm\nENAxSfVtdju8Q+dViDjA7oBhMaCM4tf/jsOrXxWDSRoLpaFjOJ3DxSkO1L/f\n0xNobRF81Z8i2QirEhi5Yv91Oh3Wu18ElFM+U9plg7O2oduPry59ShxaRYX4\nbQJ6cNh5TKsUrQjC2HgJZC84OvDY2ItDlkx/GIpPiaASL7kntfb8n2i2iR7k\n4NfbJaVL758sVSoHm00AXh5e4VY+IcluxdIaIyxT3Dqi08t1AIw/VoKHIK3D\nW0N9e47LjWj3+x5ifojVoJGKI1AoWD4RYMImu4mFzoPjEwmTme72buPRneUL\nVNAC6TbCFuuKl5pZbY8bK/WblzTwtGOLNy/mG5Y5awAVTH+4z98+APbwcq2M\nZCADu9z17ROp3RvpCsXSY337//DQBNwZng2khg8RksNYxQOUDnV3ZazO2+x/\nzgAr3cwHYAPHQkY28tdWuAAFvO/0Mxh40urPeDiKC+V71mmTiUy2R0ol81c8\niElpM0FD4DYRTVZMHu8zexZJ1vepLusI3d7kI7kpf5oH8HYaAl2Em9x50jRU\nI1G0SYYL1Da5pUu6xrlWj1B/oA6zK7kCU3E5ABqzkjiRzovZzn0g3fTn9AfT\nqDnI\r\n=xsEe\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDFqSj90yzlTXUZlEZh7XPZy3TwD9Eyj774z/qShVHjYQIgHg2FySDWo1ZWsOxcUqFUk7E2LeLVXYo5FXeao4DuD2Y="}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"},{"email":"bernd@brainbot.com","name":"trustlines-deploy"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.2.2_1545131034701_0.1502350948493265"},"_hasShrinkwrap":false,"deprecated":"Package was moved to the @trustlines organisation. Intall latest version with npm install @trustlines/trustlines-clientlib"},"0.2.3-0-dev.20181218T105243Z.da11882.HEAD":{"name":"trustlines-clientlib","version":"0.2.3-0-dev.20181218T105243Z.da11882.HEAD","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"typedoc --options tdconfig.json","lint":"tslint -c tslint.json ./src/**/**.ts ./tests/**/**.ts","prettier":"prettier --write './{src,tests}/**/*.ts'","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"nyc mocha --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"nyc mocha --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","coverage":"nyc report --reporter=text-lcov > coverage.lcov && codecov","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump":"./bump.sh"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{ts,js,json,css,md}":["prettier --write","git add"]},"nyc":{"extension":[".ts"],"include":["src"],"reporter":["text"],"all":true},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.5.2","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","codecov":"^3.1.0","es6-promise":"^4.1.1","fluid-publish":"^2.2.0","husky":"^1.1.4","isomorphic-fetch":"^2.2.1","lint-staged":"^8.0.4","mocha":"^5.2.0","nyc":"^13.1.0","prettier":"^1.15.2","reconnecting-websocket":"^3.0.7","ts-node":"^7.0.0","tslint":"^5.10.0","tslint-config-prettier":"^1.16.0","tslint-config-standard":"^7.1.0","typedoc":"^0.11.1","types-ethereumjs-util":"0.0.8","typescript":"^2.9.2","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"bignumber.js":"7.2.1","eth-lightwallet":"github:trustlines-network/eth-lightwallet","ethereumjs-abi":"^0.6.5","ethereumjs-util":"^5.2.0","html5-websocket":"^2.0.2","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","trustlines-contracts-abi":"dev","web3":"^1.0.0-beta.34"},"gitHead":"da118821abb050684ff61155ceedb8deaadb7105","readme":"# trustlines-network clientlib\n\n[![npm](https://img.shields.io/npm/v/trustlines-clientlib.svg)](https://www.npmjs.com/package/trustlines-clientlib)\n[![Travis (.org) branch](https://img.shields.io/travis/trustlines-network/clientlib/develop.svg)](https://travis-ci.org/trustlines-network/clientlib)\n[![Codecov branch](https://img.shields.io/codecov/c/github/trustlines-network/clientlib/develop.svg)](https://codecov.io/gh/trustlines-network/clientlib)\n\nA TypeScript/Javascript library for interacting with the [trustlines-network protocol](https://trustlines.network/).\n\n## Read the [Documentation](https://trustlines-network.github.io/clientlib-docs/)\n\n## Installation\n\nInstall the library using `npm` or `yarn`\n\n```bash\n$ npm install trustlines-clientlib\n// OR\n$ yarn add trustlines-clientlib\n```\n\n#### Import ES6 module\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n```\n\nUse the following configuration to connect to the currently deployed test setup.\n\n**NOTE: The [trustlines-network contracts](https://github.com/trustlines-network/contracts) are deployed on the Kovan testnet. Some Kovan Test ETH is therefore required to interact with the contracts in this setup.**\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n\nconst config = {\n  protocol: 'https',\n  host: 'relay0.testnet.trustlines.network',\n  path: 'api/v1/'\n}\n\nconst tlNetwork = new TLNetwork(config)\n```\n\n## Example\n\nThis library is a promise-based library. So every asynchronous call will return a native Javascript promise. If an error occurs the library will throw it. The caller has to handle it appropriately.\n\n```javascript\ntry {\n  const networks = await tlNetwork.currencyNetwokr.getAll()\n} catch (error) {\n  console.log('Caught error:', error)\n}\n```\n","readmeFilename":"README.md","_id":"trustlines-clientlib@0.2.3-0-dev.20181218T105243Z.da11882.HEAD","_npmVersion":"6.4.1","_nodeVersion":"8.14.0","_npmUser":{"name":"dakingha69","email":"dongha.kim210@gmail.com"},"dist":{"integrity":"sha512-PKiWst50dEYLcedX2eN4l23atuyN22ZcfpPbjPT0e2pcP9JFWtty4qruj1OxEmIanBSQ0qH2XEiuH3zavu22FQ==","shasum":"36fe1eb644982dfc602e82a9314ee214a4e966a7","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.2.3-0-dev.20181218T105243Z.da11882.HEAD.tgz","fileCount":58,"unpackedSize":306876,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcGNQfCRA9TVsSAnZWagAADSAP/2TMFlL5VNGzys/AFZzi\n4gbdCuKOPQXJZoIwU3XlcLgkDDel4dg9ocoPEuPe2/RZYIZJCYacI1Xd69aw\nXBePkI/9eDNYfZm7WB5tcQLgWPvVR/3FcKQICcBPrIYPu8H+yQuAXxomUO91\ngQID6Ofjv9RAyWzkjWYtTPI7Hl6XPpIYjQkdfWayBbKUMWLmy7gsIHGycuCL\nGJcKxkOfGchviBVfahF7yPd/vFTbYWFnL/HE2kVsZQim4NU6rFdjn+D7LujL\nV2SAqfUfw/8no+4IjnoMbhYdc8ajnKZMopZIPf8HurbdY5q+Cuk/zVJ5JPwb\nfvnqIfDLPeKHOi9ndPzJ1l2dmRBiZ0No4Pm1xjq+9FfutkyckbKaP86JffJ9\naHn7KJdFNc4rapC08VXRVnGQ2IJe1xe/NLud8oU/oadUhELPSB5RZ7+fypBR\nPsruo/NQXrm/GYYj3/XMe9lyipWURChz6n+VNt/E58JMZDtW8TbkOPZjrTGG\n/EPvZZ6FZ0isctIiwJgGanq8zJmEw0a+mAW697nVbnk+0cnxAC059LiFlbYu\nAvqLTNb85kTIPOyEoEzjGNcTnVIe5umE3+7XiWCKyiWRmZRNDTv4vuyNPkmC\n41m75erbjVausQohagvP1nPfkwaHk5PmD2sYIayT2Wms/t7VYMkaAM97qIt6\ndcqE\r\n=yz1N\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC7ZMC6INoD5sfiQMFPw8IRIxV7mh02yzzw3yvhwODO+QIgVuXtobG7ZM6cZXBH0iO/DSv8B40yeVy9M7TIG/iwNWY="}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"},{"email":"bernd@brainbot.com","name":"trustlines-deploy"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.2.3-0-dev.20181218T105243Z.da11882.HEAD_1545131038756_0.69501885832652"},"_hasShrinkwrap":false},"0.2.3-0-dev.20181218T113352Z.83173ad.HEAD":{"name":"trustlines-clientlib","version":"0.2.3-0-dev.20181218T113352Z.83173ad.HEAD","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"typedoc --options tdconfig.json","lint":"tslint -c tslint.json ./src/**/**.ts ./tests/**/**.ts","prettier":"prettier --write './{src,tests}/**/*.ts'","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"nyc mocha --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"nyc mocha --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","coverage":"nyc report --reporter=text-lcov > coverage.lcov && codecov","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump":"./bump.sh"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{ts,js,json,css,md}":["prettier --write","git add"]},"nyc":{"extension":[".ts"],"include":["src"],"reporter":["text"],"all":true},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.5.2","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","codecov":"^3.1.0","es6-promise":"^4.1.1","fluid-publish":"^2.2.0","husky":"^1.1.4","isomorphic-fetch":"^2.2.1","lint-staged":"^8.0.4","mocha":"^5.2.0","nyc":"^13.1.0","prettier":"^1.15.2","reconnecting-websocket":"^3.0.7","ts-node":"^7.0.0","tslint":"^5.10.0","tslint-config-prettier":"^1.16.0","tslint-config-standard":"^7.1.0","typedoc":"^0.11.1","types-ethereumjs-util":"0.0.8","typescript":"^2.9.2","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"bignumber.js":"7.2.1","eth-lightwallet":"github:trustlines-network/eth-lightwallet","ethereumjs-abi":"^0.6.5","ethereumjs-util":"^5.2.0","html5-websocket":"^2.0.2","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","trustlines-contracts-abi":"dev","web3":"^1.0.0-beta.34"},"gitHead":"83173ad971f83bb01411835046388fba8dc334dc","readme":"# trustlines-network clientlib\n\n[![npm](https://img.shields.io/npm/v/trustlines-clientlib.svg)](https://www.npmjs.com/package/trustlines-clientlib)\n[![Travis (.org) branch](https://img.shields.io/travis/trustlines-network/clientlib/develop.svg)](https://travis-ci.org/trustlines-network/clientlib)\n[![Codecov branch](https://img.shields.io/codecov/c/github/trustlines-network/clientlib/develop.svg)](https://codecov.io/gh/trustlines-network/clientlib)\n\nA TypeScript/Javascript library for interacting with the [trustlines-network protocol](https://trustlines.network/).\n\n## Read the [Documentation](https://trustlines-network.github.io/clientlib-docs/)\n\n## Installation\n\nInstall the library using `npm` or `yarn`\n\n```bash\n$ npm install trustlines-clientlib\n// OR\n$ yarn add trustlines-clientlib\n```\n\n#### Import ES6 module\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n```\n\nUse the following configuration to connect to the currently deployed test setup.\n\n**NOTE: The [trustlines-network contracts](https://github.com/trustlines-network/contracts) are deployed on the Kovan testnet. Some Kovan Test ETH is therefore required to interact with the contracts in this setup.**\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n\nconst config = {\n  protocol: 'https',\n  host: 'relay0.testnet.trustlines.network',\n  path: 'api/v1/'\n}\n\nconst tlNetwork = new TLNetwork(config)\n```\n\n## Example\n\nThis library is a promise-based library. So every asynchronous call will return a native Javascript promise. If an error occurs the library will throw it. The caller has to handle it appropriately.\n\n```javascript\ntry {\n  const networks = await tlNetwork.currencyNetwokr.getAll()\n} catch (error) {\n  console.log('Caught error:', error)\n}\n```\n","readmeFilename":"README.md","_id":"trustlines-clientlib@0.2.3-0-dev.20181218T113352Z.83173ad.HEAD","_npmVersion":"6.4.1","_nodeVersion":"8.14.0","_npmUser":{"name":"dakingha69","email":"dongha.kim210@gmail.com"},"dist":{"integrity":"sha512-RaQymb7/4EchXz+DE1R3tBcSFX+Gg4GHnLCA+Q/b3SWNL2R1DwJUdndMNoAdqhOJ/YS4D2nAGYBuxXUV1+jNFA==","shasum":"aa5a0ccd92fd98228e9088c80aea470de3ce9181","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.2.3-0-dev.20181218T113352Z.83173ad.HEAD.tgz","fileCount":58,"unpackedSize":307532,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcGN1iCRA9TVsSAnZWagAAXSwQAJfHG9eIhYOdoqzRogdY\ngtS451EAPo9D05XIgmlFALAh6kukk7geGPvOTM+xyizAxZdun/skrFzNz1Es\nMV19Gkw7FZ/K5mL7y3KmqNgszqcAGf9X75l//RVBHtrgceTLT9UO2Wv1HdYU\nqjrB8k+kEfX1c1WWaKSBdoJaIoRi+aztsN0kTWxrBDAhVmMuj8nFTxCXVqv9\n0a83ge45/c2Zw28wHhvudskB69AaDUXhftPXh7uA3rWk43LOJyAtafgM0mFE\nl5axWB+rIhzDpIhz+lOs8ICjS8M0/R/sFIdQiFhs6qMiS+L6qUvXHCVdsLBp\nhfvjo6yU1SI/sZhd4eY5+QOn6XzvkfvfRlF55JoME18UOv9DQvyAZKcP/pHs\nLsKmPsy3G7bfQyR4kRCxR6131f3RJxXEY1LATPTITjDqIGRcQ1IOQl7z0s73\nTGiKscbrO2ixivC96Xjsm+f3V7HfavGPFIsrKJ6sfdhaMs/h4PT2wFUoN91/\n7d/jWZ2PKoNWZNmFU9SOoNQ71gHvHiF2gpyHaBqxVg1fVWG3f4bmM5CRE9vC\nmEfvVmDJe7a5F1e4xVND5tBo9zqUmHz/0KINUY3IulXKGEY92r9Nq95MufKn\nqLzw8BJ+7Bf1cjmIW7Iwj3Kt7MS14xfc1a4IpcPWSUOH4Sa2g17s2vi8QxZW\ntvXs\r\n=iTux\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC9YSaCo3NrAiARGqRhIHJORbW/mAa3S54TgYJqrmq26wIgIf/d6x6Rq49FIe9Y+TgNdVmb1iOd8gznPHfc4T3RvV0="}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"},{"email":"bernd@brainbot.com","name":"trustlines-deploy"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.2.3-0-dev.20181218T113352Z.83173ad.HEAD_1545133409772_0.9459502260860617"},"_hasShrinkwrap":false},"0.2.3-0-dev.20190103T094750Z.7a80dcc.HEAD":{"name":"trustlines-clientlib","version":"0.2.3-0-dev.20190103T094750Z.7a80dcc.HEAD","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"typedoc --options tdconfig.json","lint":"tslint -c tslint.json ./src/**/**.ts ./tests/**/**.ts","prettier":"prettier --write './{src,tests}/**/*.ts'","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"nyc mocha --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"nyc mocha --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","coverage":"nyc report --reporter=text-lcov > coverage.lcov && codecov","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump":"./bump.sh"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{ts,js,json,css,md}":["prettier --write","git add"]},"nyc":{"extension":[".ts"],"include":["src"],"reporter":["text"],"all":true},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.5.2","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","codecov":"^3.1.0","es6-promise":"^4.1.1","fetch-mock":"^7.2.5","fluid-publish":"^2.2.0","husky":"^1.1.4","isomorphic-fetch":"^2.2.1","lint-staged":"^8.0.4","mocha":"^5.2.0","nyc":"^13.1.0","prettier":"^1.15.2","reconnecting-websocket":"^3.0.7","ts-node":"^7.0.0","tslint":"^5.10.0","tslint-config-prettier":"^1.16.0","tslint-config-standard":"^7.1.0","typedoc":"^0.11.1","types-ethereumjs-util":"0.0.8","typescript":"^2.9.2","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"bignumber.js":"7.2.1","eth-lightwallet":"github:trustlines-network/eth-lightwallet","ethereumjs-abi":"^0.6.5","ethereumjs-util":"^5.2.0","html5-websocket":"^2.0.2","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","trustlines-contracts-abi":"dev","web3":"^1.0.0-beta.34"},"gitHead":"7a80dcc7a0e6b4fb6284698ad6db5d7dc76eea11","readme":"# trustlines-network clientlib\n\n[![npm](https://img.shields.io/npm/v/trustlines-clientlib.svg)](https://www.npmjs.com/package/trustlines-clientlib)\n[![Travis (.org) branch](https://img.shields.io/travis/trustlines-network/clientlib/develop.svg)](https://travis-ci.org/trustlines-network/clientlib)\n[![Codecov branch](https://img.shields.io/codecov/c/github/trustlines-network/clientlib/develop.svg)](https://codecov.io/gh/trustlines-network/clientlib)\n\nA TypeScript/Javascript library for interacting with the [trustlines-network protocol](https://trustlines.network/).\n\n## Read the [Documentation](https://trustlines-network.github.io/clientlib-docs/)\n\n## Installation\n\nInstall the library using `npm` or `yarn`\n\n```bash\n$ npm install trustlines-clientlib\n// OR\n$ yarn add trustlines-clientlib\n```\n\n#### Import ES6 module\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n```\n\nUse the following configuration to connect to the currently deployed test setup.\n\n**NOTE: The [trustlines-network contracts](https://github.com/trustlines-network/contracts) are deployed on the Kovan testnet. Some Kovan Test ETH is therefore required to interact with the contracts in this setup.**\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n\nconst config = {\n  protocol: 'https',\n  host: 'relay0.testnet.trustlines.network',\n  path: 'api/v1/'\n}\n\nconst tlNetwork = new TLNetwork(config)\n```\n\n## Example\n\nThis library is a promise-based library. So every asynchronous call will return a native Javascript promise. If an error occurs the library will throw it. The caller has to handle it appropriately.\n\n```javascript\ntry {\n  const networks = await tlNetwork.currencyNetwokr.getAll()\n} catch (error) {\n  console.log('Caught error:', error)\n}\n```\n","readmeFilename":"README.md","_id":"trustlines-clientlib@0.2.3-0-dev.20190103T094750Z.7a80dcc.HEAD","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"dakingha69","email":"dongha.kim210@gmail.com"},"dist":{"integrity":"sha512-Bcoy9xtk7Qu7dhRNGk3Mg81FXt7ygdZ3J/e5/VVAXAkSgGgj2EzZdSAEfK3IAFcrSCLIJd6cx0Sl95blxj6myA==","shasum":"495607467caea18589c0b54b85b173a130cab561","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.2.3-0-dev.20190103T094750Z.7a80dcc.HEAD.tgz","fileCount":58,"unpackedSize":309693,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcLd1oCRA9TVsSAnZWagAANwYQAJVyv3Xn4Ly9KPXCAjYs\n07TPaCSVL7y1u68w8OnP2eQFBaDGgjURfsuJTwBGb6sa/zNJE2CfnZd1AKKQ\nOiMD9FPZLjIdGIrLN1fDmi0y141ceZ6Sp231gzpWcVvJJofjkZy6v/PuV0zh\ntjO/iKXCycHCdL610cnToYMnGr7cKnAP6BjvNC7pCPZcox0Y+7Gmzu7CEtGe\npEfiZGsVvO08EHlKZ5Skp82kJSeI//Iljw/xIDf1YRkbUEW14sLk+B26N/bb\nedmYJag+OiJrhlxsBHTKzLzKAZQZOcwyuoCQ50FCobIzomhf7wgHFRd3FZiR\nqxk4upKveJeCb1OrKNLDsaxWmw1VOGXnomheiGp9CkthDo4TlBUB28yj1Rjv\nkMliBt+eJABNJIsFgFAjJ++awzKe0k+FInUEIYPZLnYYt6X7qX12O8GbjzRu\ngP8MKA9Lm3CDi1nGU/SggeXltPYi+G4r2tNHLvaLBm4MzRCDd8StMf/hyqOa\ncG8qqfUebT3//yEn3zegXUgM0Wcbv2vPh5atYvIzVLPUQvIQtz9MTNYRy4HS\nKaJH0HkYeJYc6jTYX/95Bt1olDHYUHi15Dk0jLH60qvbjXq2TY6t9AD/4RcH\n2+5AAxREAGinugoN5x3Q4v8WrxElIrNlqT56n+/TMSrBMGlU9H53uUYNXzQA\nLpMm\r\n=O/gN\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGCJxtFrzQcO39TXePDAutnTh26W8WZ+ZLrK2mQXreDCAiEA2SU9h6YHxBtVdaAhbzfj/bUvk11SE65TMeDp/Kl28F4="}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"},{"email":"bernd@brainbot.com","name":"trustlines-deploy"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.2.3-0-dev.20190103T094750Z.7a80dcc.HEAD_1546509671981_0.8701634280871102"},"_hasShrinkwrap":false},"0.2.3-0-dev.20190103T145740Z.f2cfdf3.HEAD":{"name":"trustlines-clientlib","version":"0.2.3-0-dev.20190103T145740Z.f2cfdf3.HEAD","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"typedoc --options tdconfig.json","lint":"tslint -c tslint.json ./src/**/**.ts ./tests/**/**.ts","prettier":"prettier --write './{src,tests}/**/*.ts'","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"nyc mocha --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"nyc mocha --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","coverage":"nyc report --reporter=text-lcov > coverage.lcov && codecov","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump":"./bump.sh"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{ts,js,json,css,md}":["prettier --write","git add"]},"nyc":{"extension":[".ts"],"include":["src"],"reporter":["text"],"all":true},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.5.2","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","codecov":"^3.1.0","es6-promise":"^4.1.1","fetch-mock":"^7.2.5","fluid-publish":"^2.2.0","husky":"^1.1.4","isomorphic-fetch":"^2.2.1","lint-staged":"^8.0.4","mocha":"^5.2.0","nyc":"^13.1.0","prettier":"^1.15.2","reconnecting-websocket":"^3.0.7","ts-node":"^7.0.0","tslint":"^5.10.0","tslint-config-prettier":"^1.16.0","tslint-config-standard":"^7.1.0","typedoc":"^0.11.1","types-ethereumjs-util":"0.0.8","typescript":"^2.9.2","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"bignumber.js":"7.2.1","eth-lightwallet":"github:trustlines-network/eth-lightwallet","ethereumjs-abi":"^0.6.5","ethereumjs-util":"^5.2.0","html5-websocket":"^2.0.2","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","trustlines-contracts-abi":"dev","web3":"^1.0.0-beta.34"},"gitHead":"f2cfdf38746f3e8cb9d5fa0f62e1bc198a38f25d","readme":"# trustlines-network clientlib\n\n[![npm](https://img.shields.io/npm/v/trustlines-clientlib.svg)](https://www.npmjs.com/package/trustlines-clientlib)\n[![Travis (.org) branch](https://img.shields.io/travis/trustlines-network/clientlib/develop.svg)](https://travis-ci.org/trustlines-network/clientlib)\n[![Codecov branch](https://img.shields.io/codecov/c/github/trustlines-network/clientlib/develop.svg)](https://codecov.io/gh/trustlines-network/clientlib)\n\nA TypeScript/Javascript library for interacting with the [trustlines-network protocol](https://trustlines.network/).\n\n## Read the [Documentation](https://trustlines-network.github.io/clientlib-docs/)\n\n## Installation\n\nInstall the library using `npm` or `yarn`\n\n```bash\n$ npm install trustlines-clientlib\n// OR\n$ yarn add trustlines-clientlib\n```\n\n#### Import ES6 module\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n```\n\nUse the following configuration to connect to the currently deployed test setup.\n\n**NOTE: The [trustlines-network contracts](https://github.com/trustlines-network/contracts) are deployed on the Kovan testnet. Some Kovan Test ETH is therefore required to interact with the contracts in this setup.**\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n\nconst config = {\n  protocol: 'https',\n  host: 'relay0.testnet.trustlines.network',\n  path: 'api/v1/'\n}\n\nconst tlNetwork = new TLNetwork(config)\n```\n\n## Example\n\nThis library is a promise-based library. So every asynchronous call will return a native Javascript promise. If an error occurs the library will throw it. The caller has to handle it appropriately.\n\n```javascript\ntry {\n  const networks = await tlNetwork.currencyNetwokr.getAll()\n} catch (error) {\n  console.log('Caught error:', error)\n}\n```\n","readmeFilename":"README.md","_id":"trustlines-clientlib@0.2.3-0-dev.20190103T145740Z.f2cfdf3.HEAD","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"dakingha69","email":"dongha.kim210@gmail.com"},"dist":{"integrity":"sha512-HhsM7lvdVsK5Whx0PUAPXHiA/78UK1cKYGIKnCsqRvwsMFN5eBDHvStq9XpuSV+hXCOkedJg3Bok9hI5UJi7Gw==","shasum":"5adc7c92e7bb719dbb2d71e4104236699fd230f2","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.2.3-0-dev.20190103T145740Z.f2cfdf3.HEAD.tgz","fileCount":58,"unpackedSize":311560,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcLiVXCRA9TVsSAnZWagAA76sP/RvZGU6dKhpDhPQ0rFqs\ngMmZa022yhNm/axYJhIN7AQHj3w+ZscVlWpcCVK6XlEakyfKnikj/NmHphdJ\nbB5URaQMq4CMozanL90kqm8MoSyy3Qbx0ZJvvxkEmGX0BDNHQzQPyt7oxWUu\nJTSH8GQrroI8OkGA46Y5hXZXfpXKKPRD73FW3okbBqcrbMNbZUZQru8m9eo2\nBH49x/EMl8VebUs3UdnvLu9oLMqxPD/ataqWIZqZU7Oyq3O4GeR7N1yKVAcB\nDF8d83OrDpDC/MIh4LuDmIgETDlncnsF64oeaEDDoJ6a798upyMzeSBDF0NJ\n86Oi/otZf0/D1XcpB8g+CZ3AUZeg6dcMBF6a8sXPPgZ58f4nmux+T5nPTb3l\n554DtuhOkxYI80bE+CisWvHxK5rYQ0R5K0FjK12t2hNyJiDt6xqUwjyXQ5Q5\nbKJnY9OsUp9T5MePON5x1Y+BrZ+81Ix9vXXIBedVspnPEvDoK6cGcizjob9K\n8wT5mfqwrtAFcC//ufSJTaKN95Vj/wHcFJBoH+tkn+A/KKAiAz6KTFuCbUgo\nVd7mqWRMUK0J3LOPrt9MNCpugT3SyEnq/iglCOp2qQLsQhMuvO4EoC/RXO/i\nmXC0MyUJ0s8si65toO5x60mp7tNEXtLSiLWADfUq1aqWr7ROvYOCHiHvzh+w\nRvFg\r\n=J3ad\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIA+Gua7ASNf54z+BR60qHw2TWYcfDGtt2lpw8ZYKWxx7AiEApOA4ial5YFs3CS5womqB2GKORnBSDimZ91liF+KoI/I="}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"},{"email":"bernd@brainbot.com","name":"trustlines-deploy"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.2.3-0-dev.20190103T145740Z.f2cfdf3.HEAD_1546528086623_0.8462640528702778"},"_hasShrinkwrap":false},"0.2.3-0":{"name":"trustlines-clientlib","version":"0.2.3-0","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"typedoc --options tdconfig.json","lint":"tslint -c tslint.json ./src/**/**.ts ./tests/**/**.ts","prettier":"prettier --write './{src,tests}/**/*.ts'","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"nyc mocha --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"nyc mocha --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","coverage":"nyc report --reporter=text-lcov > coverage.lcov && codecov","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump":"./bump.sh"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{ts,js,json,css,md}":["prettier --write","git add"]},"nyc":{"extension":[".ts"],"include":["src"],"reporter":["text"],"all":true},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.5.2","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","codecov":"^3.1.0","es6-promise":"^4.1.1","fetch-mock":"^7.2.5","fluid-publish":"^2.2.0","husky":"^1.1.4","isomorphic-fetch":"^2.2.1","lint-staged":"^8.0.4","mocha":"^5.2.0","nyc":"^13.1.0","prettier":"^1.15.2","reconnecting-websocket":"^3.0.7","ts-node":"^7.0.0","tslint":"^5.10.0","tslint-config-prettier":"^1.16.0","tslint-config-standard":"^7.1.0","typedoc":"^0.11.1","types-ethereumjs-util":"0.0.8","typescript":"^2.9.2","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"bignumber.js":"7.2.1","eth-lightwallet":"trustlines-network/eth-lightwallet","ethereumjs-abi":"^0.6.5","ethereumjs-util":"^5.2.0","html5-websocket":"^2.0.2","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","trustlines-contracts-abi":"dev","web3":"^1.0.0-beta.34"},"licenseText":"MIT License\n\nCopyright (c) 2017 Trustlines Network\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"trustlines-clientlib@0.2.3-0","dist":{"shasum":"a838209a81c12d431af2ad00da13c1d58e847850","integrity":"sha512-wXMu8UBR9Sgm1hTrc0ZcS/HfKrzdcrQ5OJZUOzF58MwOVVJn8TsnW3cIAoqE+iEUPAZp2zdDox0eGS+49r00xA==","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.2.3-0.tgz","fileCount":65,"unpackedSize":317302,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcOLGrCRA9TVsSAnZWagAAB08P/1hx9Bq1TouLgXphEr4/\n2Wuv+3NQsSZ1aST397iCmES2C0S4giU1e+2gjEumi4zUvopL4gcA16VWB+7j\n7pJVjN/A3Xgxx+KdU/vPHXGVOqGVtwY2LKd1HtLFpy5cI0lViU4Rb4FK4stE\neaz3qidEBcmZz/nBNlW+KQuEMTtJ7EERAF38Hz/OEPptBGE/syifR38jl2IL\ncdRWTpnS5zBVRtD54vbc/sSVvidANHgoAwYFHeZktDYsIrCa55lkFb5jbBGx\nvZiSrZuNof0w+zvA9jc6HFAkGTghAmLmKLXbJvgydnFe7AE4kygKYYGOrJdD\ntj/1GwrRlOtKst78i9J5fNrleSvZXxniinh2q4BtUDRQLWlyAv0r+655tL4a\n0hr/LEG1hZO6cT34BvB4UWVioxlhIJo48qOaVC57i8h+bX/lIEsBmrHUzsid\nUqBKS1pbA/fdi1ei1IPV3o6qlvqlx59zxewDGhmc/Av48NYTHdkaz8eRsmNW\nvTV/UFrA5LVtAxbe0CSvovQD0VXFJzHlTA9A8nhBf8LQMUR7AnvNij8KFU+R\nIYHQhyGF0B4P5Lb6PpS+ica/touiNk1XbRB4o0CNSpXSpYG2aNEFAPdllrFn\nepfD3y6zchXT6Ln29UDVEOokIRX9fUgtMtlla2ZdUppGNeyLMnCiD+6VCiZG\n5NwA\r\n=2Ey8\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDS+hmx8AcaCknkpvPe0LXe82Hy6IA/GhSV0BEuDAGyewIgeNX3qJgS82Jdve7uopg1WpN2ZT+lmSZ8Ulymm+BvP/w="}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"},{"email":"bernd@brainbot.com","name":"trustlines-deploy"}],"_npmUser":{"name":"dakingha69","email":"dongha.kim210@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.2.3-0_1547219371160_0.6602585520093214"},"_hasShrinkwrap":false},"0.2.3-0-dev.20190115T153223Z.2a980d2.develop":{"name":"trustlines-clientlib","version":"0.2.3-0-dev.20190115T153223Z.2a980d2.develop","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"typedoc --options tdconfig.json","lint":"tslint -c tslint.json ./src/**/**.ts ./tests/**/**.ts","prettier":"prettier --write './{src,tests}/**/*.ts'","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"nyc mocha --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"nyc mocha --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","coverage":"nyc report --reporter=text-lcov > coverage.lcov && codecov","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump":"./bump.sh"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{ts,js,json,css,md}":["prettier --write","git add"]},"nyc":{"extension":[".ts"],"include":["src"],"reporter":["text"],"all":true},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.5.2","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","codecov":"^3.1.0","es6-promise":"^4.1.1","fetch-mock":"^7.2.5","fluid-publish":"^2.2.0","husky":"^1.1.4","isomorphic-fetch":"^2.2.1","lint-staged":"^8.0.4","mocha":"^5.2.0","nyc":"^13.1.0","prettier":"^1.15.2","reconnecting-websocket":"^3.0.7","ts-node":"^7.0.0","tslint":"^5.10.0","tslint-config-prettier":"^1.16.0","tslint-config-standard":"^7.1.0","typedoc":"^0.11.1","types-ethereumjs-util":"0.0.8","typescript":"^2.9.2","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"bignumber.js":"7.2.1","eth-lightwallet":"github:trustlines-network/eth-lightwallet","ethereumjs-abi":"^0.6.5","ethereumjs-util":"^5.2.0","html5-websocket":"^2.0.2","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","trustlines-contracts-abi":"dev","web3":"^1.0.0-beta.34"},"readme":"# trustlines-network clientlib\n\n[![npm](https://img.shields.io/npm/v/trustlines-clientlib.svg)](https://www.npmjs.com/package/trustlines-clientlib)\n[![Travis (.org) branch](https://img.shields.io/travis/trustlines-network/clientlib/develop.svg)](https://travis-ci.org/trustlines-network/clientlib)\n[![Codecov branch](https://img.shields.io/codecov/c/github/trustlines-network/clientlib/develop.svg)](https://codecov.io/gh/trustlines-network/clientlib)\n\nA TypeScript/Javascript library for interacting with the [trustlines-network protocol](https://trustlines.network/).\n\n## Read the [Documentation](https://trustlines-network.github.io/clientlib-docs/)\n\n## Installation\n\nInstall the library using `npm` or `yarn`\n\n```bash\n$ npm install trustlines-clientlib\n// OR\n$ yarn add trustlines-clientlib\n```\n\n#### Import ES6 module\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n```\n\nUse the following configuration to connect to the currently deployed test setup.\n\n**NOTE: The [trustlines-network contracts](https://github.com/trustlines-network/contracts) are deployed on the Kovan testnet. Some Kovan Test ETH is therefore required to interact with the contracts in this setup.**\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n\nconst config = {\n  protocol: 'https',\n  host: 'relay0.testnet.trustlines.network',\n  path: 'api/v1/'\n}\n\nconst tlNetwork = new TLNetwork(config)\n```\n\n## Example\n\nThis library is a promise-based library. So every asynchronous call will return a native Javascript promise. If an error occurs the library will throw it. The caller has to handle it appropriately.\n\n```javascript\ntry {\n  const networks = await tlNetwork.currencyNetwokr.getAll()\n} catch (error) {\n  console.log('Caught error:', error)\n}\n```\n","readmeFilename":"README.md","gitHead":"2a980d2264fae3a579620cdd2af0b90a87271b04","_id":"trustlines-clientlib@0.2.3-0-dev.20190115T153223Z.2a980d2.develop","_npmVersion":"6.4.1","_nodeVersion":"10.15.0","_npmUser":{"name":"trustlines-deploy","email":"bernd@brainbot.com"},"dist":{"integrity":"sha512-SFBjBLW3+0NyIyV1CNF07QRpncGUFoX6qBc9K6pBitXVgy/oyJc90AIzQOPCD/AczIiPgmHqkjacLYIJCHmpqw==","shasum":"c3dea8e139dde55f8edf464b9d737a65b742376b","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.2.3-0-dev.20190115T153223Z.2a980d2.develop.tgz","fileCount":60,"unpackedSize":317390,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcPf7mCRA9TVsSAnZWagAAyFsP/1tvC5Tpjw8lR5iOKDbm\npQd2qNGSmBjNwGU8kTXJIUusqCdRK+uVduvexBmkmcttJkVQkraz4jI6eD/i\nxGDHPgylFX3Cip/+2K0Wp4Tujwr7iPfhMJyaQZlyINcxMLemJM0qXwsEoUCx\ncPZh1WGjhHzKMC4R8nqpq/8pfKKgQZat/Mji7dyOOARtCZZgLSNJ3iqVUGzn\nDZt3wiRik9hGpFamOsB0AzRgZ1BnegYVSzlqmoBMRAlfeHELXls/FjEsX982\ng/3LWORcRQABS1VLzztZOEcwKMpN3pgYcHbjoIXp0bOt3rqWFppBVY6nnxSU\nAmgXtPdq5/ugP2BN1oIov1rtQQ/mKZTv8zAGVmFcuC1WtMBgyUIHXJ6PC8EC\nWEQlJ17sW3hwxn+qbYcJsJwpUbx5udyKyasNNd7ffUtjvN/h+810pWlqyKMI\nwq8fh6U0LAOVxz2q1avVmaiGvaxahYLlciA35W9VlMU8YOfmLTIsHw2lJMld\nhm3kOdnyBRlhsTHTnPwZVMAv9WT5mWI5Ofe4cfVWvRjAQFUFFJGsG1YT+ALJ\nTdNkYbvZDnC5l7U4fpsVy3bZ/4NjWvj4yItQKooJBjnj9/A/gAvIvqYAB2ev\ncTOzHkR9jJA8199wrn857LEOV2fObO0wD/ZoWKvz6A3zHmjgjSzzrJvcTZ83\nj4Yz\r\n=5l1b\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFy1z5Dm5NOlGCe3vnUni1FKT9FmSaKd7O2IGE0N53uTAiBdjH99m5lli0xlqVN8BcB/+i/Vkkb+LYZJ5tzZSfOrgg=="}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"},{"email":"bernd@brainbot.com","name":"trustlines-deploy"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.2.3-0-dev.20190115T153223Z.2a980d2.develop_1547566822319_0.03689908883373905"},"_hasShrinkwrap":false},"0.2.3-0-dev.20190115T160817Z.ae4001d.develop":{"name":"trustlines-clientlib","version":"0.2.3-0-dev.20190115T160817Z.ae4001d.develop","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"typedoc --options tdconfig.json","lint":"tslint -c tslint.json ./src/**/**.ts ./tests/**/**.ts","prettier":"prettier --write './{src,tests}/**/*.ts'","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"nyc mocha --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"nyc mocha --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","coverage":"nyc report --reporter=text-lcov > coverage.lcov && codecov","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump":"./bump.sh"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{ts,js,json,css,md}":["prettier --write","git add"]},"nyc":{"extension":[".ts"],"include":["src"],"reporter":["text"],"all":true},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.5.2","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","codecov":"^3.1.0","es6-promise":"^4.1.1","fetch-mock":"^7.2.5","fluid-publish":"^2.2.0","husky":"^1.1.4","isomorphic-fetch":"^2.2.1","lint-staged":"^8.0.4","mocha":"^5.2.0","nyc":"^13.1.0","prettier":"^1.15.2","reconnecting-websocket":"^3.0.7","ts-node":"^7.0.0","tslint":"^5.10.0","tslint-config-prettier":"^1.16.0","tslint-config-standard":"^7.1.0","typedoc":"^0.11.1","types-ethereumjs-util":"0.0.8","typescript":"^2.9.2","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"bignumber.js":"7.2.1","eth-lightwallet":"github:trustlines-network/eth-lightwallet","ethereumjs-abi":"^0.6.5","ethereumjs-util":"^5.2.0","html5-websocket":"^2.0.2","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","trustlines-contracts-abi":"dev","web3":"^1.0.0-beta.34"},"readme":"# trustlines-network clientlib\n\n[![npm](https://img.shields.io/npm/v/trustlines-clientlib.svg)](https://www.npmjs.com/package/trustlines-clientlib)\n[![Travis (.org) branch](https://img.shields.io/travis/trustlines-network/clientlib/develop.svg)](https://travis-ci.org/trustlines-network/clientlib)\n[![Codecov branch](https://img.shields.io/codecov/c/github/trustlines-network/clientlib/develop.svg)](https://codecov.io/gh/trustlines-network/clientlib)\n\nA TypeScript/Javascript library for interacting with the [trustlines-network protocol](https://trustlines.network/).\n\n## Read the [Documentation](https://trustlines-network.github.io/clientlib-docs/)\n\n## Installation\n\nInstall the library using `npm` or `yarn`\n\n```bash\n$ npm install trustlines-clientlib\n// OR\n$ yarn add trustlines-clientlib\n```\n\n#### Import ES6 module\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n```\n\nUse the following configuration to connect to the currently deployed test setup.\n\n**NOTE: The [trustlines-network contracts](https://github.com/trustlines-network/contracts) are deployed on the Kovan testnet. Some Kovan Test ETH is therefore required to interact with the contracts in this setup.**\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n\nconst config = {\n  protocol: 'https',\n  host: 'relay0.testnet.trustlines.network',\n  path: 'api/v1/'\n}\n\nconst tlNetwork = new TLNetwork(config)\n```\n\n## Example\n\nThis library is a promise-based library. So every asynchronous call will return a native Javascript promise. If an error occurs the library will throw it. The caller has to handle it appropriately.\n\n```javascript\ntry {\n  const networks = await tlNetwork.currencyNetwokr.getAll()\n} catch (error) {\n  console.log('Caught error:', error)\n}\n```\n","readmeFilename":"README.md","gitHead":"ae4001d235714b7cdd3dbcf46c8f34a35e9775ee","_id":"trustlines-clientlib@0.2.3-0-dev.20190115T160817Z.ae4001d.develop","_npmVersion":"6.4.1","_nodeVersion":"10.15.0","_npmUser":{"name":"trustlines-deploy","email":"bernd@brainbot.com"},"dist":{"integrity":"sha512-OiWnrbb2eYU93+y3b9IZYyDjCK6+yBFsczSmY1+HQJ3zdJJctXBOiZ3zbLrjJ9bPbMiIDCHUOt0Om9oRlfJ1DA==","shasum":"a5073cdbf6526d5650b3a522a34998cb5ccb1e65","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.2.3-0-dev.20190115T160817Z.ae4001d.develop.tgz","fileCount":60,"unpackedSize":317354,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcPgckCRA9TVsSAnZWagAAsW0P+we3qe1aYAZdcTKzEuP2\nJQ9YQWhKSTS4OjPIMKmOWQU1WlppFCxdca5ad31pFWHLS5j9QUhclz06CLog\nTXidBQ5vAd2LnuoRtV2ilhT+Qsxl7zzrW25euSIhq1XZZthdxbr/9+pGLUcZ\nfAGKCMFYJlw6hMtTSaVCTzTpWcznOEVTF/RGI3MGV9+JQSsbxxe8auL4P3cl\nSujjHFNuQvYmuTxip48OtLwfA+XYuwPOhJlfCjJD1IiGtHpONCgdeGr07CK+\n4e8re4yUouNZFK8IAISF4BVSTKGoHRZe9EVFmfedhq/Xj3Vn60oCsjXE2BR8\nhiEuAiXiGVwioqt+7Nd/qPMzKCczUf+jMc41v7wrFTFAcKeAT6wLY51OgQe6\nxio1Rkxq7bD/MGHCP2KtcsRY72z9hCZWm6nxjQJH3frYq3OaXB0wJV9UUjEk\nX3uvi/KZx+g9M6FKxBk0D9PFYeRZN2weRMvQ/notV/f1oePCZD8VXoaIZyIS\nHGg+zudzMtmdwwbLedShPoQAIIcekmLYlZTVHk1kvA2K1+lRjUxko/9I+SRi\n8zodKwm12OKNQnle0sVajv62/4qmFX7DVp/T3FCFuf1w/GzxVmiBCCSdg/PR\nl6bN+EZivI3r/vFFjtt+6wC21/daltq05pqQy1GSFakpkk5N4HoN7+czW7GB\ncIgE\r\n=s8GI\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCnD7ABxPsJHUTcR43q1rEgimDa3kJXrkGkjAlIKTyWnQIgNQ7Vcbta6JSTcKzqd7PGKX2tXz5vO4IGRksICiqUbLU="}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"},{"email":"bernd@brainbot.com","name":"trustlines-deploy"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.2.3-0-dev.20190115T160817Z.ae4001d.develop_1547568931501_0.9206693252587621"},"_hasShrinkwrap":false},"0.2.3-0-dev.20190116T093637Z.f082941.develop":{"name":"trustlines-clientlib","version":"0.2.3-0-dev.20190116T093637Z.f082941.develop","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"typedoc --options tdconfig.json","lint":"tslint -c tslint.json ./src/**/**.ts ./tests/**/**.ts","prettier":"prettier --write './{src,tests}/**/*.ts'","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"nyc mocha --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"nyc mocha --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","coverage":"nyc report --reporter=text-lcov > coverage.lcov && codecov","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump":"./bump.sh"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{ts,js,json,css,md}":["prettier --write","git add"]},"nyc":{"extension":[".ts"],"include":["src"],"reporter":["text"],"all":true},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.5.2","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","codecov":"^3.1.0","es6-promise":"^4.1.1","fetch-mock":"^7.2.5","fluid-publish":"^2.2.0","husky":"^1.1.4","isomorphic-fetch":"^2.2.1","lint-staged":"^8.0.4","mocha":"^5.2.0","nyc":"^13.1.0","prettier":"^1.15.2","reconnecting-websocket":"^3.0.7","ts-node":"^7.0.0","tslint":"^5.10.0","tslint-config-prettier":"^1.16.0","tslint-config-standard":"^7.1.0","typedoc":"^0.11.1","types-ethereumjs-util":"0.0.8","typescript":"^2.9.2","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"bignumber.js":"7.2.1","eth-lightwallet":"github:trustlines-network/eth-lightwallet","ethereumjs-abi":"^0.6.5","ethereumjs-util":"^5.2.0","html5-websocket":"^2.0.2","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","trustlines-contracts-abi":"dev","web3":"^1.0.0-beta.34"},"readme":"# trustlines-network clientlib\n\n[![npm](https://img.shields.io/npm/v/trustlines-clientlib.svg)](https://www.npmjs.com/package/trustlines-clientlib)\n[![Travis (.org) branch](https://img.shields.io/travis/trustlines-network/clientlib/develop.svg)](https://travis-ci.org/trustlines-network/clientlib)\n[![Codecov branch](https://img.shields.io/codecov/c/github/trustlines-network/clientlib/develop.svg)](https://codecov.io/gh/trustlines-network/clientlib)\n\nA TypeScript/Javascript library for interacting with the [trustlines-network protocol](https://trustlines.network/).\n\n## Read the [Documentation](https://trustlines-network.github.io/clientlib-docs/)\n\n## Installation\n\nInstall the library using `npm` or `yarn`\n\n```bash\n$ npm install trustlines-clientlib\n// OR\n$ yarn add trustlines-clientlib\n```\n\n#### Import ES6 module\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n```\n\nUse the following configuration to connect to the currently deployed test setup.\n\n**NOTE: The [trustlines-network contracts](https://github.com/trustlines-network/contracts) are deployed on the Kovan testnet. Some Kovan Test ETH is therefore required to interact with the contracts in this setup.**\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n\nconst config = {\n  protocol: 'https',\n  host: 'relay0.testnet.trustlines.network',\n  path: 'api/v1/'\n}\n\nconst tlNetwork = new TLNetwork(config)\n```\n\n## Example\n\nThis library is a promise-based library. So every asynchronous call will return a native Javascript promise. If an error occurs the library will throw it. The caller has to handle it appropriately.\n\n```javascript\ntry {\n  const networks = await tlNetwork.currencyNetwokr.getAll()\n} catch (error) {\n  console.log('Caught error:', error)\n}\n```\n","readmeFilename":"README.md","gitHead":"f0829419192f4754761736db41c32a6098d68681","_id":"trustlines-clientlib@0.2.3-0-dev.20190116T093637Z.f082941.develop","_npmVersion":"6.4.1","_nodeVersion":"10.15.0","_npmUser":{"name":"trustlines-deploy","email":"bernd@brainbot.com"},"dist":{"integrity":"sha512-+zuEkh2brDTboZwI4tn2exud1/WrY21rrg/0hSx5pLsA3jUMgxbLVde3B8reba42nrqe/WLiMRS5xArOuEnPTg==","shasum":"c17ba7f9f42dfc8c20df3f0512276f77e09e96fb","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.2.3-0-dev.20190116T093637Z.f082941.develop.tgz","fileCount":59,"unpackedSize":317067,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcPvzZCRA9TVsSAnZWagAAqicP/0DqQRYXJzHvz7ir/yHB\nrz57TY9H4/npikGcMGTMOlueRbTALqEOufF/0dRZRqMYfGbamjocuLPh0MKe\nxu6x5KOgFA+R/W6MEJFLDhc0tlw966gfXgtQbzr89yJq3eCWaM5TxnVFRg6F\nPHONwLNGZtNLLh0WT7pUd/u5ykk3p59hWcbRX2PkxJVeM4wf5yMAuI07gjgW\neimjbOrtT9e5FDhTwIOeeivktCg7zMDmMucKxKgJV9Q3F4hlyHbZo+JDOaYT\ncOcEE1/H2WCHH3MICNiYO0WXSe5La80tsR5zCwpSzTLXf4KIkGo88qu7WaCu\nr+TSoXtsZ7DADPTW82f8uoGAudRFUmDo0l9c5JFI3UyRqH3Lcf7IKOeq/oEW\nTN7ImjTAd/p6MEhQDFdjjsmJdMhH6aJ6HOIPK7MN2p88tx0vFd6mf0WzRKkZ\nWD46gvV7J7Mz/cwntqFe4ekrABKlnOCkYNEagEVxG0ZvaGCFrsN/6UgMfPGF\nQMv7i2H02YcyFqh8ZasDRRlRFkiyE5ZHLc4VkhEKggunpLX7stnh//RagLRT\nXSzgaOiA2yHML0jaHS+LDEBTWLrhBFa8izT+pLxlGra4yWOas7M/fkNWxrnX\nM+in0t6x6LdVHswJBZyGJOwXYKxCfH4R8/JT2yDlnyP7VS7GF4PFt//nZnTq\nsANz\r\n=bH6a\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCpKsxOhhiKbFPw+ydAsHEr6Ez4X2+xT91esnOuI7TuuwIgBifroFZL8NTMEQla/pQk3uJ7QwitHnO9HqJ5vpPRLn8="}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"},{"email":"bernd@brainbot.com","name":"trustlines-deploy"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.2.3-0-dev.20190116T093637Z.f082941.develop_1547631833338_0.25723316304514654"},"_hasShrinkwrap":false},"0.2.3-0-dev.20190121T081412Z.e108eac.develop":{"name":"trustlines-clientlib","version":"0.2.3-0-dev.20190121T081412Z.e108eac.develop","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"typedoc --options tdconfig.json","lint":"tslint -c tslint.json ./src/**/**.ts ./tests/**/**.ts","prettier":"prettier --write './{src,tests}/**/*.ts'","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"nyc mocha --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"nyc mocha --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","coverage":"nyc report --reporter=text-lcov > coverage.lcov && codecov","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump":"./bump.sh"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{ts,js,json,css,md}":["prettier --write","git add"]},"nyc":{"extension":[".ts"],"include":["src"],"reporter":["text"],"all":true},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.5.2","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","codecov":"^3.1.0","es6-promise":"^4.1.1","fetch-mock":"^7.2.5","fluid-publish":"^2.2.0","husky":"^1.1.4","isomorphic-fetch":"^2.2.1","lint-staged":"^8.0.4","mocha":"^5.2.0","nyc":"^13.1.0","prettier":"^1.15.2","reconnecting-websocket":"^3.0.7","ts-node":"^7.0.0","tslint":"^5.10.0","tslint-config-prettier":"^1.16.0","tslint-config-standard":"^7.1.0","typedoc":"^0.11.1","types-ethereumjs-util":"0.0.8","typescript":"^2.9.2","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"bignumber.js":"7.2.1","eth-lightwallet":"github:trustlines-network/eth-lightwallet","ethereumjs-abi":"^0.6.5","ethereumjs-util":"^5.2.0","html5-websocket":"^2.0.2","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","trustlines-contracts-abi":"dev","web3":"^1.0.0-beta.34"},"readme":"# trustlines-network clientlib\n\n[![npm](https://img.shields.io/npm/v/trustlines-clientlib.svg)](https://www.npmjs.com/package/trustlines-clientlib)\n[![Travis (.org) branch](https://img.shields.io/travis/trustlines-network/clientlib/develop.svg)](https://travis-ci.org/trustlines-network/clientlib)\n[![Codecov branch](https://img.shields.io/codecov/c/github/trustlines-network/clientlib/develop.svg)](https://codecov.io/gh/trustlines-network/clientlib)\n\nA TypeScript/Javascript library for interacting with the [trustlines-network protocol](https://trustlines.network/).\n\n## Read the [Documentation](https://trustlines-network.github.io/clientlib-docs/)\n\n## Installation\n\nInstall the library using `npm` or `yarn`\n\n```bash\n$ npm install trustlines-clientlib\n// OR\n$ yarn add trustlines-clientlib\n```\n\n#### Import ES6 module\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n```\n\nUse the following configuration to connect to the currently deployed test setup.\n\n**NOTE: The [trustlines-network contracts](https://github.com/trustlines-network/contracts) are deployed on the Kovan testnet. Some Kovan Test ETH is therefore required to interact with the contracts in this setup.**\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n\nconst config = {\n  protocol: 'https',\n  host: 'relay0.testnet.trustlines.network',\n  path: 'api/v1/'\n}\n\nconst tlNetwork = new TLNetwork(config)\n```\n\n## Example\n\nThis library is a promise-based library. So every asynchronous call will return a native Javascript promise. If an error occurs the library will throw it. The caller has to handle it appropriately.\n\n```javascript\ntry {\n  const networks = await tlNetwork.currencyNetwokr.getAll()\n} catch (error) {\n  console.log('Caught error:', error)\n}\n```\n","readmeFilename":"README.md","gitHead":"e108eac7de37651b2e7cf3485cb1ebe2741c0052","_id":"trustlines-clientlib@0.2.3-0-dev.20190121T081412Z.e108eac.develop","_npmVersion":"6.4.1","_nodeVersion":"10.15.0","_npmUser":{"name":"trustlines-deploy","email":"bernd@brainbot.com"},"dist":{"integrity":"sha512-l4+zte7tpq69Gt2cOGyE5hkPdatr+3FQsmoBW7weEHC/qHbqibVRtLNbK1z7fJvDLCZ5BcC64Xv+NFzKpINaHg==","shasum":"2c6c0cb96ed5c3dddc7ab3b67499c2ab52f3b387","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.2.3-0-dev.20190121T081412Z.e108eac.develop.tgz","fileCount":60,"unpackedSize":318672,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcRbijCRA9TVsSAnZWagAAg68P/0fwsLSfjPhr3CrpqGFe\nymoxdHw27rdG5C5baTgIusp/ESxsMAea0CgoCE27urddrqrn7t0O/7JlRKtw\nB4mQ0N2iC0pMtiQzuP2Ala4f3HE3+Avtm1ju0BiCc00TIgmb1mpCO4u4K9JW\nAm0tENukhJ+PzRvFcgACyoE3kXVvfmMeClWWtXYSbW6IT8b1qFWk5wdWdXb9\nFVGlDF4Y+KJp8umXb1i9nYHze8MevWYG7SA801jZi1oOSrpP04915QA9YbqL\ni6w1rNmyDxQf1MhVS+EfM73HQN39tWhuJnH25Bi1NJixHltAxcr/ttRLyb2B\ng9kPvgC2OJdB9anAgR+GTI4w9Qme7JzvOHKTPpFScmjuHHt/elNQVSu7Py1d\nn94f3zHlzaAUP/QV5cMmVgDaEADqrkM3fobX2UecO7aKTH1rxTcRYNX++txz\n0NZOIp8O7vWuaeaEyxlNsYDCxYyT8evh6LyL3lyeTv2JW0ocOtvfzARQ/GxN\nSVk3qalt3/eQwCZQCcH4pl/s7RNuPYKMOH8BBq+KCSulgCy4YX+qcRsb5Ks0\nn4NaJ2VcWcFcBq/Pc1tGO1vc8LOsdAYdjYF6Sr5BGu+9KcWrFw3BQ89DLcec\nLkUIxUyQqYsdXpy2WLvCgn+4jVlga5ST+GhtjCe/3T+f+xmnjx2HtEY5hvIK\nzNkr\r\n=RUBd\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD421P1Trx58ESCBYP97mvWwKOKxHxjAb6lYjBknKszrwIhAOKLtkWwSKLnIbFpjHLbSHZOZJkHa3PJ2+RAvsZX7dXZ"}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"},{"email":"bernd@brainbot.com","name":"trustlines-deploy"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.2.3-0-dev.20190121T081412Z.e108eac.develop_1548073122966_0.0909057541766829"},"_hasShrinkwrap":false},"0.2.3-0-dev.20190124T110658Z.3c09440.develop":{"name":"trustlines-clientlib","version":"0.2.3-0-dev.20190124T110658Z.3c09440.develop","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"typedoc --options tdconfig.json","lint":"tslint -c tslint.json ./src/**/**.ts ./tests/**/**.ts","prettier":"prettier --write './{src,tests}/**/*.ts'","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"nyc mocha --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"nyc mocha --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","coverage":"nyc report --reporter=text-lcov > coverage.lcov && codecov","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump":"./bump.sh"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{ts,js,json,css,md}":["prettier --write","git add"]},"nyc":{"extension":[".ts"],"include":["src"],"reporter":["text"],"all":true},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.5.2","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","codecov":"^3.1.0","es6-promise":"^4.1.1","fetch-mock":"^7.2.5","fluid-publish":"^2.2.0","husky":"^1.1.4","isomorphic-fetch":"^2.2.1","lint-staged":"^8.0.4","mocha":"^5.2.0","nyc":"^13.1.0","prettier":"^1.15.2","reconnecting-websocket":"^3.0.7","ts-node":"^7.0.0","tslint":"^5.10.0","tslint-config-prettier":"^1.16.0","tslint-config-standard":"^7.1.0","typedoc":"^0.11.1","types-ethereumjs-util":"0.0.8","typescript":"^2.9.2","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"bignumber.js":"7.2.1","eth-lightwallet":"github:trustlines-network/eth-lightwallet","ethereumjs-abi":"^0.6.5","ethereumjs-util":"^5.2.0","html5-websocket":"^2.0.2","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","trustlines-contracts-abi":"dev","web3":"^1.0.0-beta.34"},"readme":"# trustlines-network clientlib\n\n[![npm](https://img.shields.io/npm/v/trustlines-clientlib.svg)](https://www.npmjs.com/package/trustlines-clientlib)\n[![Travis (.org) branch](https://img.shields.io/travis/trustlines-network/clientlib/develop.svg)](https://travis-ci.org/trustlines-network/clientlib)\n[![Codecov branch](https://img.shields.io/codecov/c/github/trustlines-network/clientlib/develop.svg)](https://codecov.io/gh/trustlines-network/clientlib)\n\nA TypeScript/Javascript library for interacting with the [trustlines-network protocol](https://trustlines.network/).\n\n## Read the [Documentation](https://trustlines-network.github.io/clientlib-docs/)\n\n## Installation\n\nInstall the library using `npm` or `yarn`\n\n```bash\n$ npm install trustlines-clientlib\n// OR\n$ yarn add trustlines-clientlib\n```\n\n#### Import ES6 module\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n```\n\nUse the following configuration to connect to the currently deployed test setup.\n\n**NOTE: The [trustlines-network contracts](https://github.com/trustlines-network/contracts) are deployed on the Kovan testnet. Some Kovan Test ETH is therefore required to interact with the contracts in this setup.**\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n\nconst config = {\n  protocol: 'https',\n  host: 'relay0.testnet.trustlines.network',\n  path: 'api/v1/'\n}\n\nconst tlNetwork = new TLNetwork(config)\n```\n\n## Example\n\nThis library is a promise-based library. So every asynchronous call will return a native Javascript promise. If an error occurs the library will throw it. The caller has to handle it appropriately.\n\n```javascript\ntry {\n  const networks = await tlNetwork.currencyNetwokr.getAll()\n} catch (error) {\n  console.log('Caught error:', error)\n}\n```\n","readmeFilename":"README.md","gitHead":"3c094401333f8bdea9484df6a3625bae22770e07","_id":"trustlines-clientlib@0.2.3-0-dev.20190124T110658Z.3c09440.develop","_npmVersion":"6.4.1","_nodeVersion":"10.15.0","_npmUser":{"name":"trustlines-deploy","email":"bernd@brainbot.com"},"dist":{"integrity":"sha512-TQct869AaKve4oQ53qxfj1WkJN22jkQCUGXatrVf+BuoL0+K9oWiizuiSzQxpRCrjITt7j4Ca6inihrkEHABsQ==","shasum":"3b9f1594c2e04881810860c4472446e617a0e0a8","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.2.3-0-dev.20190124T110658Z.3c09440.develop.tgz","fileCount":55,"unpackedSize":311059,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcSZ4/CRA9TVsSAnZWagAAjNMP/R77fOxwvsYV7M7gdSOm\nTkUs6x7EDedVgTNUgVxHuUIPYFmzMH9rncRb436KSL49ivgjYUMLEjxyavdL\nAqwI6BjfwM2OZ3h72SqBNyQYFSu5tUNz/l8dfShYYFkF2TGcjy48DY75kuUn\nQx/VrzvdVxQM1qfO+X728T0hVTYmaceN0YKRpFfVIq5X7UkF3gos6wYrVbbi\nYMlz91GzqdHK1lXmHrZCPvs/4tTZ6CTCht+whLfVod38HCdzcF1KKR1X55Sx\n2nDYrh/8YkxsoUtWhC09zSnYkKOUGv2vunCRn7iMLuy/0UhbYzFCyYy/azkl\n3O8PhDjdh33RuR8wMKGsRo2bJnXhNhNQvt8XvLv+MNLTqTdc2Be/Kj8DUeYv\nZobtgPnPFDYcSLvGLl5UlPZqhw0EF31lBpw4rJXrCJnW5YXjlJzDpNUAN9TE\nS0CvonxMuDPl3COYi9ThU7mnG2ZheKSVWsJJsvNXnx4f3daj1txsV+SfHj+2\n3bTi0jIfcZ7DxWxgdKvVgZVpEBPRHk6ABLcaYDD8sISX9UAJWkPPk0PPP4xl\ncGe89XBeCbXWWDuYO/wPZLhdGfet4HTvH3WP8y+6OFQCQ2Mwd3xmFmX/42eo\nWZiKjeeZNwNCX7c2BKcbDGGgbBYNN1q7Zl3hh7X956JLz9eOMAob/A1V6Uow\nMqlG\r\n=YxQk\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD5t+Ths28G6m7YpfK+8Sgcgg5P87tMt00NvhfxfjCPnwIhAPappSAaNp/d9nzdcPR23fxYIn9vnikHrSfJuiUzEV0+"}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"},{"email":"bernd@brainbot.com","name":"trustlines-deploy"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.2.3-0-dev.20190124T110658Z.3c09440.develop_1548328510552_0.40630991682646633"},"_hasShrinkwrap":false},"0.2.3-0-dev.20190206T133014Z.0a2df72.develop":{"name":"trustlines-clientlib","version":"0.2.3-0-dev.20190206T133014Z.0a2df72.develop","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"typedoc --options tdconfig.json","lint":"tslint -c tslint.json ./src/**/**.ts ./tests/**/**.ts","prettier":"prettier --write './{src,tests}/**/*.ts'","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"nyc mocha --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"nyc mocha --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","coverage":"nyc report --reporter=text-lcov > coverage.lcov && codecov","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump":"./bump.sh"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{ts,js,json,css,md}":["prettier --write","git add"]},"nyc":{"extension":[".ts"],"include":["src"],"reporter":["text"],"all":true},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.5.2","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","codecov":"^3.1.0","es6-promise":"^4.1.1","fetch-mock":"^7.2.5","fluid-publish":"^2.2.0","husky":"^1.1.4","isomorphic-fetch":"^2.2.1","lint-staged":"^8.0.4","mocha":"^5.2.0","nyc":"^13.1.0","prettier":"^1.15.2","reconnecting-websocket":"^3.0.7","ts-node":"^7.0.0","tslint":"^5.10.0","tslint-config-prettier":"^1.16.0","tslint-config-standard":"^7.1.0","typedoc":"^0.11.1","types-ethereumjs-util":"0.0.8","typescript":"^2.9.2","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"bignumber.js":"7.2.1","eth-lightwallet":"github:trustlines-network/eth-lightwallet","ethereumjs-abi":"^0.6.5","ethereumjs-util":"^5.2.0","html5-websocket":"^2.0.2","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","trustlines-contracts-abi":"dev","web3":"^1.0.0-beta.34"},"readme":"# trustlines-network clientlib\n\n[![npm](https://img.shields.io/npm/v/trustlines-clientlib.svg)](https://www.npmjs.com/package/trustlines-clientlib)\n[![Travis (.org) branch](https://img.shields.io/travis/trustlines-network/clientlib/develop.svg)](https://travis-ci.org/trustlines-network/clientlib)\n[![Codecov branch](https://img.shields.io/codecov/c/github/trustlines-network/clientlib/develop.svg)](https://codecov.io/gh/trustlines-network/clientlib)\n\nA TypeScript/Javascript library for interacting with the [trustlines-network protocol](https://trustlines.network/).\n\n## Read the [Documentation](https://trustlines-network.github.io/clientlib-docs/)\n\n## Installation\n\nInstall the library using `npm` or `yarn`\n\n```bash\n$ npm install trustlines-clientlib\n// OR\n$ yarn add trustlines-clientlib\n```\n\n#### Import ES6 module\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n```\n\nUse the following configuration to connect to the currently deployed test setup.\n\n**NOTE: The [trustlines-network contracts](https://github.com/trustlines-network/contracts) are deployed on the Kovan testnet. Some Kovan Test ETH is therefore required to interact with the contracts in this setup.**\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n\nconst config = {\n  protocol: 'https',\n  host: 'relay0.testnet.trustlines.network',\n  path: 'api/v1/'\n}\n\nconst tlNetwork = new TLNetwork(config)\n```\n\n## Example\n\nThis library is a promise-based library. So every asynchronous call will return a native Javascript promise. If an error occurs the library will throw it. The caller has to handle it appropriately.\n\n```javascript\ntry {\n  const networks = await tlNetwork.currencyNetwokr.getAll()\n} catch (error) {\n  console.log('Caught error:', error)\n}\n```\n","readmeFilename":"README.md","gitHead":"0a2df72128f71951fc256be1c2827d9f7a9a32fc","_id":"trustlines-clientlib@0.2.3-0-dev.20190206T133014Z.0a2df72.develop","_npmVersion":"6.4.1","_nodeVersion":"10.15.1","_npmUser":{"name":"trustlines-deploy","email":"bernd@brainbot.com"},"dist":{"integrity":"sha512-8vWph1ZQggQSfRBZOB0nIKW2MiT+3lf8pz6Lpa7uX2U40reARqSDQoxPJBvTjqaduZimAMl62DySmNiMuvdXWg==","shasum":"0cd5ee87f8609e81959179034aa5ac4c32eb6c60","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.2.3-0-dev.20190206T133014Z.0a2df72.develop.tgz","fileCount":58,"unpackedSize":317398,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcWuNLCRA9TVsSAnZWagAAePoP/jUXp5IhH4XLGd60uQ8t\nuT4IKuB9J+VBVNpEh53lRq1taHb8dcfK996HwqLykcqg3G9WdTRUr9P2wlur\noYiM1r/zH/65894QKCy9h7HugpU7AwLQNLEZxTfNpp0IUwFhq4Dh/7TZw5c6\n/Xm49B9vcKpxwgYrKszohejLY5k8xQjxaUJ1DcAnnJGUSXMVup33AFutuw0M\nxqsiXW/HfoxzsJSZLCQCm70IQI5Gp/sEIi/EvsNBLuk6JxQGHUCv1Gdtdn0m\nIcR2H7v587BsJ0/R7l5gCIBDH2JoBEtOKLgn+2eUfH0HsaMIzpLzzdW3jcq4\n4eKrON/MPyAkobuwyYaz2ERWpDl1FawPVabyXNp6uPoilZuJdBrX0k0Exp4X\nbXo8G1UAoLzJPwvzzYt3NMGvO2uS8FaPcS8qO7uEsooFhaWPdgoUhOV6/OwK\nUiw7Vo+7/ANrb0oB78V0CojFonBu0vX23Zwj414kCeHV5lbkMpK6uH4RxDFy\nISbWg14aLNeDgDhecLUt4ZXDoyyQ2T1/JOK69khMkkfB4FpCj0nlROUYIVMa\nIqpd/pm5ovvLZADqQ9FrhQEOPyM0P73iPizz9gyLX5I5wYqaeCydfV2M8N8o\n0XXt+4wbS+ZTgDK5WWRVM8+wGKrur7vGQ2XNEMzTT4EcxXM96TYdXz+zVBp7\nVX5n\r\n=lKm7\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBzHmB6Y+PQ3wIOQ/O3khtEkdUHpgE7kKZ3MIQX4vTEnAiEA5eHTtwmU/im2ss5OwPWjKYP6YzWUdehg0Nmg1pRXpYc="}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"},{"email":"bernd@brainbot.com","name":"trustlines-deploy"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.2.3-0-dev.20190206T133014Z.0a2df72.develop_1549460299354_0.278852013766796"},"_hasShrinkwrap":false},"0.2.3-0-dev.20190211T154519Z.9a4abc6.develop":{"name":"trustlines-clientlib","version":"0.2.3-0-dev.20190211T154519Z.9a4abc6.develop","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"typedoc --options tdconfig.json","lint":"tslint -c tslint.json ./src/**/**.ts ./tests/**/**.ts","prettier":"prettier --write './{src,tests}/**/*.ts'","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","coverage":"nyc report --reporter=text-lcov > coverage.lcov && codecov","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump":"./bump.sh"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{ts,js,json,css,md}":["prettier --write","git add"]},"nyc":{"extension":[".ts"],"include":["src"],"reporter":["text"],"all":true},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.5.2","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","codecov":"^3.1.0","es6-promise":"^4.1.1","fetch-mock":"^7.2.5","fluid-publish":"^2.2.0","husky":"^1.1.4","isomorphic-fetch":"^2.2.1","lint-staged":"^8.0.4","mocha":"^5.2.0","nyc":"^13.1.0","prettier":"^1.15.2","reconnecting-websocket":"^3.0.7","ts-node":"^7.0.0","tslint":"^5.10.0","tslint-config-prettier":"^1.16.0","tslint-config-standard":"^7.1.0","typedoc":"^0.11.1","types-ethereumjs-util":"0.0.8","typescript":"^2.9.2","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"bignumber.js":"7.2.1","eth-lightwallet":"github:trustlines-network/eth-lightwallet","ethereumjs-abi":"^0.6.5","ethereumjs-util":"^5.2.0","ethers":"^4.0.23","html5-websocket":"^2.0.2","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","trustlines-contracts-abi":"dev","web3":"^1.0.0-beta.34"},"readme":"# trustlines-network clientlib\n\n[![npm](https://img.shields.io/npm/v/trustlines-clientlib.svg)](https://www.npmjs.com/package/trustlines-clientlib)\n[![Travis (.org) branch](https://img.shields.io/travis/trustlines-network/clientlib/develop.svg)](https://travis-ci.org/trustlines-network/clientlib)\n[![Codecov branch](https://img.shields.io/codecov/c/github/trustlines-network/clientlib/develop.svg)](https://codecov.io/gh/trustlines-network/clientlib)\n\nA TypeScript/Javascript library for interacting with the [trustlines-network protocol](https://trustlines.network/).\n\n## Read the [Documentation](https://trustlines-network.github.io/clientlib-docs/)\n\n## Installation\n\nInstall the library using `npm` or `yarn`\n\n```bash\n$ npm install trustlines-clientlib\n// OR\n$ yarn add trustlines-clientlib\n```\n\n#### Import ES6 module\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n```\n\nUse the following configuration to connect to the currently deployed test setup.\n\n**NOTE: The [trustlines-network contracts](https://github.com/trustlines-network/contracts) are deployed on the Kovan testnet. Some Kovan Test ETH is therefore required to interact with the contracts in this setup.**\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n\nconst config = {\n  protocol: 'https',\n  host: 'relay0.testnet.trustlines.network',\n  path: 'api/v1/'\n}\n\nconst tlNetwork = new TLNetwork(config)\n```\n\n## Example\n\nThis library is a promise-based library. So every asynchronous call will return a native Javascript promise. If an error occurs the library will throw it. The caller has to handle it appropriately.\n\n```javascript\ntry {\n  const networks = await tlNetwork.currencyNetwokr.getAll()\n} catch (error) {\n  console.log('Caught error:', error)\n}\n```\n","readmeFilename":"README.md","gitHead":"9a4abc69239499c43c5269b7c163ea8199626b9c","_id":"trustlines-clientlib@0.2.3-0-dev.20190211T154519Z.9a4abc6.develop","_npmVersion":"6.4.1","_nodeVersion":"10.15.1","_npmUser":{"name":"trustlines-deploy","email":"bernd@brainbot.com"},"dist":{"integrity":"sha512-U5G5v1tOsEsaWGfT+5ZX9K5ytuUqh4AdXPVK/mK7qcdzp/aTz2HsXP2WUSwq/VEe/1buIbCfw5P+kDGNQptn5Q==","shasum":"452e3d1c30784f2904c9d3d88c8a4e9309a4a6d2","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.2.3-0-dev.20190211T154519Z.9a4abc6.develop.tgz","fileCount":58,"unpackedSize":300506,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcYZwHCRA9TVsSAnZWagAAc5EP/ReP4UV/IrQR/T/Q5ziI\nq0XvvU3MSVLqwqMG+oqC3YXk0ZzhuGne8oiPF+zbk8U37fU1/EVWldpx4vsz\nLYsYWfNIx3lI+pYKr0WqzJ1zRjQCKMT7V7ARTBYBl0bGS9hrTuODy+DNRpRA\n6Z9ULo0JuFZc25wEjzByj9h+65vMclMihiiZo3uBhCuK7jxLpRUp8GvF1Il0\nIlJgxYDI+F4bzeBQ18xgF3YJiaF6+WnVzd0QTnzdLXi1PJ5sbxL5aREAd/yK\nB3t6jzMPc6fIKi30KlaC3s9t6t3Sg6QRi2bhnlxmDGJ9YNpfeTxZw7KDgPfv\nYp76qjZGntN19peGnB+2HO8O2x2OFSadcQ8pkVh31uZoz1Nru+JgA3GM14cz\n39KGmtLO1vEloexwC84l6vG8Ll4vxx1pgZoW56j+nY09wAzf7Pi4Ar+a67Sg\nPVqgaQ7puiHPTMZCU1eSrh8ygYH5fFhRH85Qmg3QEgQneQ47gTDh6ndFV849\n2t5FeqEK6OPQt5HjIrhdIUZ29+zffqf4tWIwKQM8ZIAxJbqWoJKMa6WpIxku\nFcmy4FMI1QdzlipkQVKFWXU0ji7vyoWXRKvRM4OAg1TdUZMZRJ3tuxjop4oC\nFebnEcigk++iP7umgzoIb9DbQcW/B4AWScFppGslv8xeI6F9mluTZCwBtxs8\neVi1\r\n=uddP\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFXcbGZTgM214N1HzB0Xj1iB3EXJiMObBxfREbSGAEJGAiEA4E5GWQxRBNttsqnBqjMzErI/b9K33ioOqtIdaa90MHM="}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"},{"email":"bernd@brainbot.com","name":"trustlines-deploy"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.2.3-0-dev.20190211T154519Z.9a4abc6.develop_1549900806520_0.9645367152439346"},"_hasShrinkwrap":false},"0.2.3-0-dev.20190212T164719Z.d830113.develop":{"name":"trustlines-clientlib","version":"0.2.3-0-dev.20190212T164719Z.d830113.develop","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"typedoc --options tdconfig.json","lint":"tslint -c tslint.json ./src/**/**.ts ./tests/**/**.ts","prettier":"prettier --write './{src,tests}/**/*.ts'","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","coverage":"nyc report --reporter=text-lcov > coverage.lcov && codecov","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump":"./bump.sh"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{ts,js,json,css,md}":["prettier --write","git add"]},"nyc":{"extension":[".ts"],"include":["src"],"reporter":["text"],"all":true},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.5.2","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","codecov":"^3.1.0","es6-promise":"^4.1.1","fetch-mock":"^7.2.5","fluid-publish":"^2.2.0","husky":"^1.1.4","isomorphic-fetch":"^2.2.1","lint-staged":"^8.0.4","mocha":"^5.2.0","nyc":"^13.1.0","prettier":"^1.15.2","reconnecting-websocket":"^3.0.7","ts-node":"^7.0.0","tslint":"^5.10.0","tslint-config-prettier":"^1.16.0","tslint-config-standard":"^7.1.0","typedoc":"^0.11.1","types-ethereumjs-util":"0.0.8","typescript":"^2.9.2","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"bignumber.js":"7.2.1","ethereumjs-abi":"^0.6.5","ethereumjs-util":"^5.2.0","ethers":"^4.0.23","html5-websocket":"^2.0.2","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","trustlines-contracts-abi":"dev","web3":"^1.0.0-beta.34"},"readme":"# trustlines-network clientlib\n\n[![npm](https://img.shields.io/npm/v/trustlines-clientlib.svg)](https://www.npmjs.com/package/trustlines-clientlib)\n[![Travis (.org) branch](https://img.shields.io/travis/trustlines-network/clientlib/develop.svg)](https://travis-ci.org/trustlines-network/clientlib)\n[![Codecov branch](https://img.shields.io/codecov/c/github/trustlines-network/clientlib/develop.svg)](https://codecov.io/gh/trustlines-network/clientlib)\n\nA TypeScript/Javascript library for interacting with the [trustlines-network protocol](https://trustlines.network/).\n\n## Read the [Documentation](https://trustlines-network.github.io/clientlib-docs/)\n\n## Installation\n\nInstall the library using `npm` or `yarn`\n\n```bash\n$ npm install trustlines-clientlib\n// OR\n$ yarn add trustlines-clientlib\n```\n\n#### Import ES6 module\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n```\n\nUse the following configuration to connect to the currently deployed test setup.\n\n**NOTE: The [trustlines-network contracts](https://github.com/trustlines-network/contracts) are deployed on the Kovan testnet. Some Kovan Test ETH is therefore required to interact with the contracts in this setup.**\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n\nconst config = {\n  protocol: 'https',\n  host: 'relay0.testnet.trustlines.network',\n  path: 'api/v1/'\n}\n\nconst tlNetwork = new TLNetwork(config)\n```\n\n## Example\n\nThis library is a promise-based library. So every asynchronous call will return a native Javascript promise. If an error occurs the library will throw it. The caller has to handle it appropriately.\n\n```javascript\ntry {\n  const networks = await tlNetwork.currencyNetwokr.getAll()\n} catch (error) {\n  console.log('Caught error:', error)\n}\n```\n","readmeFilename":"README.md","gitHead":"d830113747d657a85380867744b20f4d7e49e43d","_id":"trustlines-clientlib@0.2.3-0-dev.20190212T164719Z.d830113.develop","_npmVersion":"6.4.1","_nodeVersion":"10.15.1","_npmUser":{"name":"trustlines-deploy","email":"bernd@brainbot.com"},"dist":{"integrity":"sha512-wYthQd1z5+0377GZuZVk+H6y3c7ny7p0LTUFo8/A0doPPIxpGW9VMrxM9GP9LxYyd+Rh2PkZCfQw1HqZ2fRS9g==","shasum":"b354105374d774eabf33c79c94406e360fe77d05","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.2.3-0-dev.20190212T164719Z.d830113.develop.tgz","fileCount":58,"unpackedSize":300445,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcYvrjCRA9TVsSAnZWagAAaW4P/13xoqyKscpqHTLuSf/9\n3ZTjldU5EOwXduy5q4vb4CDSueolscEC4l6ba6X8lTkafI2kShNRA6MHauMK\neJvC8Dzce6oNJF0gcjc1MwdMK4yVWd7UVVlDhvOlFdWH7rMXGEwwuHGuDjE3\nsvwgP6AP6kwX3xSvQvhuvbq8Y1zLCnvDeOP5RdVDKTcBdKQKHRqzf1wSckLp\n1tzi8KrXk+MPVVEbmFiUlgoCm7UDlNVzdz45sF4HIef3hR2pXL+WDPGMRcgg\n08eI9rbkWlT8RFKrd6ZlFbv3WAxUhp95qfS5ANfGLWey8SoUgdqXaFx5nrTF\nVtdYbxaYA3S+Is+bZAA1tCVTSHhEsKiHUXPTG281kqqfVpfDi5ZCq6gqwNDl\nGwAMkkdxcyaDbKOGFZl64eQ039Kg5YpzcmoH9LVznxpyeeuTxm+NXWSds9jo\nmOT3mExvVL1yofNND+24wCP05RR6kawKBz0wXuEZPQvl10XqbCQjoQifE8qS\nqy2SU/tTIGtjc2zz7WTuqQhu0BtJgx/VjKIummlJtgtfGezs2ptjAjVF0lCp\nMisIsyy4IUlIJ0QkzguKI8L9alLgQIaywarFKfL+EPpYFyEjB52S81WBxtE1\nM1spFHrgihPVCDyND+OH9uk8SFEybIQ7nogu1CHeanI0kmgwhlUBzxoaUxgo\n82dw\r\n=vq0U\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFLHmp3B+hsqKVuLc3pT54knvC1dlAM0MtiePwZYGhBqAiEA5ESy5hVnkkXOfa0h6dzLO2yLLuGZXpiwEnbms0UMInw="}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"},{"email":"bernd@brainbot.com","name":"trustlines-deploy"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.2.3-0-dev.20190212T164719Z.d830113.develop_1549990626491_0.9560168950676695"},"_hasShrinkwrap":false},"0.2.3-0-dev.20190214T121558Z.67cd815.develop":{"name":"trustlines-clientlib","version":"0.2.3-0-dev.20190214T121558Z.67cd815.develop","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"typedoc --options tdconfig.json","lint":"tslint -c tslint.json ./src/**/**.ts ./tests/**/**.ts","prettier":"prettier --write './{src,tests}/**/*.ts'","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","coverage":"nyc report --reporter=text-lcov > coverage.lcov && codecov","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump":"./bump.sh"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{ts,js,json,css,md}":["prettier --write","git add"]},"nyc":{"extension":[".ts"],"include":["src"],"reporter":["text"],"all":true},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.5.2","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","codecov":"^3.1.0","es6-promise":"^4.1.1","fetch-mock":"^7.2.5","fluid-publish":"^2.2.0","husky":"^1.1.4","isomorphic-fetch":"^2.2.1","lint-staged":"^8.0.4","mocha":"^5.2.0","nyc":"^13.1.0","prettier":"^1.15.2","reconnecting-websocket":"^3.0.7","ts-node":"^7.0.0","tslint":"^5.10.0","tslint-config-prettier":"^1.16.0","tslint-config-standard":"^7.1.0","typedoc":"^0.11.1","types-ethereumjs-util":"0.0.8","typescript":"^2.9.2","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"bignumber.js":"7.2.1","ethereumjs-util":"^5.2.0","ethers":"^4.0.23","html5-websocket":"^2.0.2","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","trustlines-contracts-abi":"dev"},"readme":"# trustlines-network clientlib\n\n[![npm](https://img.shields.io/npm/v/trustlines-clientlib.svg)](https://www.npmjs.com/package/trustlines-clientlib)\n[![Travis (.org) branch](https://img.shields.io/travis/trustlines-network/clientlib/develop.svg)](https://travis-ci.org/trustlines-network/clientlib)\n[![Codecov branch](https://img.shields.io/codecov/c/github/trustlines-network/clientlib/develop.svg)](https://codecov.io/gh/trustlines-network/clientlib)\n\nA TypeScript/Javascript library for interacting with the [trustlines-network protocol](https://trustlines.network/).\n\n## Read the [Documentation](https://trustlines-network.github.io/clientlib-docs/)\n\n## Installation\n\nInstall the library using `npm` or `yarn`\n\n```bash\n$ npm install trustlines-clientlib\n// OR\n$ yarn add trustlines-clientlib\n```\n\n#### Import ES6 module\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n```\n\nUse the following configuration to connect to the currently deployed test setup.\n\n**NOTE: The [trustlines-network contracts](https://github.com/trustlines-network/contracts) are deployed on the Kovan testnet. Some Kovan Test ETH is therefore required to interact with the contracts in this setup.**\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n\nconst config = {\n  protocol: 'https',\n  host: 'relay0.testnet.trustlines.network',\n  path: 'api/v1/'\n}\n\nconst tlNetwork = new TLNetwork(config)\n```\n\n## Example\n\nThis library is a promise-based library. So every asynchronous call will return a native Javascript promise. If an error occurs the library will throw it. The caller has to handle it appropriately.\n\n```javascript\ntry {\n  const networks = await tlNetwork.currencyNetwokr.getAll()\n} catch (error) {\n  console.log('Caught error:', error)\n}\n```\n","readmeFilename":"README.md","gitHead":"67cd815068bb7883007eb0cb22cf29eabbe4dc5a","_id":"trustlines-clientlib@0.2.3-0-dev.20190214T121558Z.67cd815.develop","_npmVersion":"6.4.1","_nodeVersion":"10.15.1","_npmUser":{"name":"trustlines-deploy","email":"bernd@brainbot.com"},"dist":{"integrity":"sha512-zEeUulRPqmcEvQO4Oc7MQxx7GJ3i3QLojExjAoxi4b3NC3kAsdAHmo1mDvXGfyDcCv/SBCTHTD8i1tlaxpcY1Q==","shasum":"cc9c75ad98f604d1bbb3aef292968479f1f28373","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.2.3-0-dev.20190214T121558Z.67cd815.develop.tgz","fileCount":61,"unpackedSize":312457,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcZV3iCRA9TVsSAnZWagAA9foQAIWw3EPM50lYSg+M1BlX\nq3Rbp0CtFFJNlUbUMfrsR2T1DwapHqt6e4yyKfI/2zj5jWhuoGjBEhlKbj7l\nR41Je0jZ2Tx4GwCTR5FUmrw9+88NBOYSyu8gU2KyFqI2rlWoxQLX7XoQ6+Db\nm5oB7F99/tujRi9AjvlMvJJEFYhhyGuywrP++v7BRyJfGDYxQcVsgLSilo/t\nP+nHTsoMg+e/EhGddGDWS10x1PrviOkESQD3kpPs8PvhJLz8PLYU8spMm+gB\nIyb2WqaUwf+cTqkV2qusi6t/QgWYvU/+j8SEBex3qGuGASPzj/xoy9clnlgK\njyBSmTYtgOmO5ZOWYzLlnX8X+DlT/GSycgmn7JE0aWKhmdU02QZAcY3faCnW\nHAUfvEQzFAVSD1j1crP/gK3A9UiM+2sF/DuM2qZd10VJQoMgiymxY6OtNksf\nSiGrf5ikjY5KHmvaYPvLtOdZK4R6HOVGQeY9cnZkEveDg73BSiRcqhCZDnOr\n3CgHrt8qhPeM3U9WhBR+UHB7ey2m52h8cYp40wnecmeaWPnlc43Vqz/QVK39\nk5QVZ4shMC9/Ik+wNEfMTmWuipW6nDNpcOZmIVIBWjC9NguaJ19SEvntC7jI\n6QcsBcP38VQvFTlSknTrcB0A7Q0PgvAL1/swqGLyrMylpQAvSQwCvi0tF6RG\n0yfY\r\n=Vikt\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCrEnOvE7Bt25J3oMwUUyGN2R3mPPYU+Tcb6+g7IEu8awIhANKs1OJiXnaOWom8oREy5wfzPTeRvbFI0A0vdzYgV118"}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"},{"email":"bernd@brainbot.com","name":"trustlines-deploy"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.2.3-0-dev.20190214T121558Z.67cd815.develop_1550147041214_0.5288986804215003"},"_hasShrinkwrap":false},"0.3.0":{"name":"trustlines-clientlib","version":"0.3.0","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"typedoc --options tdconfig.json","lint":"tslint -c tslint.json ./src/**/**.ts ./tests/**/**.ts","prettier":"prettier --write './{src,tests}/**/*.ts'","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","coverage":"nyc report --reporter=text-lcov > coverage.lcov && codecov","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump":"./bump.sh"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{ts,js,json,css,md}":["prettier --write","git add"]},"nyc":{"extension":[".ts"],"include":["src"],"reporter":["text"],"all":true},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.5.2","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","codecov":"^3.1.0","es6-promise":"^4.1.1","fetch-mock":"^7.2.5","fluid-publish":"^2.2.0","husky":"^1.1.4","isomorphic-fetch":"^2.2.1","lint-staged":"^8.0.4","mocha":"^5.2.0","nyc":"^13.1.0","prettier":"^1.15.2","reconnecting-websocket":"^3.0.7","ts-node":"^7.0.0","tslint":"^5.10.0","tslint-config-prettier":"^1.16.0","tslint-config-standard":"^7.1.0","typedoc":"^0.11.1","types-ethereumjs-util":"0.0.8","typescript":"^2.9.2","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"bignumber.js":"7.2.1","ethereumjs-util":"^5.2.0","ethers":"^4.0.23","html5-websocket":"^2.0.2","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","trustlines-contracts-abi":"dev"},"licenseText":"MIT License\n\nCopyright (c) 2017 Trustlines Network\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"trustlines-clientlib@0.3.0","dist":{"shasum":"7a3f86ef8cc16489dec3bb1aa212bb9f847d2d37","integrity":"sha512-L2M+2l0LdoTzEM1Fy3+aVzlJQ510qt20qOzAbucG/LfsxMRddkayH3TG3tMI69zfLrXVX+mbGn2YoAFzpjhvZw==","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.3.0.tgz","fileCount":66,"unpackedSize":312418,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcZolyCRA9TVsSAnZWagAAkUIP/RMQ9z+XdxG4dAL9+nDx\nzTKBFn5qRBSScWovFyEW7yvgJXs3RrZ7HzAuvLsY8L6W6vFNbnjFrSlsRPEw\ndq5C5q309gqEFTmhFW4qp4fOtHrUoYegL6WpkL4t1F0L1Ld4430rYhCJ02Lh\nAofuFmLCnpZvF8Cvp0zhmYe2j3snLLpQgzn7igirAUINIfjgZy6EDD6xkaq2\nfGYJw2d9rJCT/VKO7zhJ7HwQ/tINZi10OUjVi5uhAn1xZJqcw4HEYiYIa1LL\n4jgPoq9Ly11pDBMsnzIQdU2uOz2PDjL64B1Tv5QC33421EQ4AegTNYinFvok\nLUQLAkHC+btej0YVZQ9l9oSp6MYJ++UPHBr9j2mQF5ZRFDEOm/NUhtni6O44\ntHg4NdBqJXUpIdi97wJR6cqsQikvqJgrDzpjg8rqIy8Y6JybDEHdnZKKgKtA\nA9uUvh+Vg/Cht3Z31811xrKCGsK+CXHgeQuBjFaK7czRczQfE70eZENpVmaL\ndh3GHzUP8RmpaSd1pXXWP+qsbH/E+Og5Jy4x3e34UohOJjIId2VtTjxoC8R9\nTpAMRvNrVhtx2LT2dZXTJ52bEK7v8jXNFPnHCVMV6hA8kIJ5YUDuGgjHj0kP\nn6OeASZ9newseDFic6mcCFszWwIxbG9Qd61u0ZHg/WtL5leAGvEYdpxhqgTS\nSdcB\r\n=A9af\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDxCCQ33tzEdANC2/sy6mM2KDeynZHs377vygVt31IJCAiEA7eypWkHW3yTrIEG2fdBINK0jlcvRA8kdhhBH1r/R6ok="}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"},{"email":"bernd@brainbot.com","name":"trustlines-deploy"}],"_npmUser":{"name":"trustlines-deploy","email":"bernd@brainbot.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.3.0_1550223729486_0.4617240217787757"},"_hasShrinkwrap":false,"deprecated":"Package was moved to the @trustlines organisation. Intall latest version with npm install @trustlines/trustlines-clientlib"},"0.3.1-0-dev.20190215T094103Z.540df19.develop":{"name":"trustlines-clientlib","version":"0.3.1-0-dev.20190215T094103Z.540df19.develop","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"typedoc --options tdconfig.json","lint":"tslint -c tslint.json ./src/**/**.ts ./tests/**/**.ts","prettier":"prettier --write './{src,tests}/**/*.ts'","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","coverage":"nyc report --reporter=text-lcov > coverage.lcov && codecov","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump":"./bump.sh"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{ts,js,json,css,md}":["prettier --write","git add"]},"nyc":{"extension":[".ts"],"include":["src"],"reporter":["text"],"all":true},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.5.2","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","codecov":"^3.1.0","es6-promise":"^4.1.1","fetch-mock":"^7.2.5","fluid-publish":"^2.2.0","husky":"^1.1.4","isomorphic-fetch":"^2.2.1","lint-staged":"^8.0.4","mocha":"^5.2.0","nyc":"^13.1.0","prettier":"^1.15.2","reconnecting-websocket":"^3.0.7","ts-node":"^7.0.0","tslint":"^5.10.0","tslint-config-prettier":"^1.16.0","tslint-config-standard":"^7.1.0","typedoc":"^0.11.1","types-ethereumjs-util":"0.0.8","typescript":"^2.9.2","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"bignumber.js":"7.2.1","ethereumjs-util":"^5.2.0","ethers":"^4.0.23","html5-websocket":"^2.0.2","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","trustlines-contracts-abi":"dev"},"readme":"# trustlines-network clientlib\n\n[![npm](https://img.shields.io/npm/v/trustlines-clientlib.svg)](https://www.npmjs.com/package/trustlines-clientlib)\n[![Travis (.org) branch](https://img.shields.io/travis/trustlines-network/clientlib/develop.svg)](https://travis-ci.org/trustlines-network/clientlib)\n[![Codecov branch](https://img.shields.io/codecov/c/github/trustlines-network/clientlib/develop.svg)](https://codecov.io/gh/trustlines-network/clientlib)\n\nA TypeScript/Javascript library for interacting with the [trustlines-network protocol](https://trustlines.network/).\n\n## Read the [Documentation](https://trustlines-network.github.io/clientlib-docs/)\n\n## Installation\n\nInstall the library using `npm` or `yarn`\n\n```bash\n$ npm install trustlines-clientlib\n// OR\n$ yarn add trustlines-clientlib\n```\n\n#### Import ES6 module\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n```\n\nUse the following configuration to connect to the currently deployed test setup.\n\n**NOTE: The [trustlines-network contracts](https://github.com/trustlines-network/contracts) are deployed on the Kovan testnet. Some Kovan Test ETH is therefore required to interact with the contracts in this setup.**\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n\nconst config = {\n  protocol: 'https',\n  host: 'relay0.testnet.trustlines.network',\n  path: 'api/v1/'\n}\n\nconst tlNetwork = new TLNetwork(config)\n```\n\n## Example\n\nThis library is a promise-based library. So every asynchronous call will return a native Javascript promise. If an error occurs the library will throw it. The caller has to handle it appropriately.\n\n```javascript\ntry {\n  const networks = await tlNetwork.currencyNetwokr.getAll()\n} catch (error) {\n  console.log('Caught error:', error)\n}\n```\n","readmeFilename":"README.md","gitHead":"540df19fd0ad0a699a3cb9bd38e87fc001537f5b","_id":"trustlines-clientlib@0.3.1-0-dev.20190215T094103Z.540df19.develop","_npmVersion":"6.4.1","_nodeVersion":"10.15.1","_npmUser":{"name":"trustlines-deploy","email":"bernd@brainbot.com"},"dist":{"integrity":"sha512-RPVG+l6WNv6nqBxY+Cuj34TTRatjS6eSCD4Fl4T4rxYksQVkeIqwqkmrTLwprRpPBXop4CVy9YWB5H/n9ulLXg==","shasum":"7d083da9ebfddb59ad386406981e4224a42ee0d0","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.3.1-0-dev.20190215T094103Z.540df19.develop.tgz","fileCount":61,"unpackedSize":312457,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcZotRCRA9TVsSAnZWagAA21QQAI0TDKNFXx2maQsnz0cL\n/CscsJxsyDyEe2ejhnhv0F54XxteXZwYW9ISXM9aip+igztaZRTiFB4nx4po\nXfdquMfh3Fv5ditqFsYLWTjR2ARv3KrxIubRqvhWjJU/sw07YK8KjhiSnhtF\n3OR1nR4AHhGrxzxCKCePHUAtxfgqYU1NkqpKvb9WPn2GJIDNnTLOocMAzL1q\n/72CzCTbWwsReBWVMtQ+Tf4jYi6LwEvbiBrrBHThAU1spMo9YAf4Fhc6qjPU\nKb1eFdy3RwWNCAaJJSyZ3ovFe2WhzqPUx8opGxSMLuJL0Cwd/q9a/1RrFOeq\nDiiHPpZxO2EJI5i2tKG4FoMc1cVSs0/lo++qoRhsirWWPYiDRELDyk/mjeCp\nE4Z1qXBM4NFHuWvQlm5wTdkuDrPUDNOnZDrSdPX/10iW/U2UvwxRN+1X2bIO\nH4wNDbb0TRPxEb72/hZqbaDss91RBwFGqX6yLympDp3nW/4r25rE4VSyAeXl\nL2Hrgu+oC/+rFotYIb8aS3HeJkR1zoc7E14QyXUUQJ/qR4YoY3xcPbz5xy53\nyKztpWrKNyQ0OjM38f4kYAYYjmu2V71cYsUbB/OXAdydvprp54WZX7XUrhaG\nI3toVgPBVKyG6O87Qf9ypiMgaGxs9p59KYIAbrKeOHMi8htz0d+dZM2yCq7z\nHTW9\r\n=Uohi\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDLwzG6C0xHXtydxwR2qsfZWUf0fVxjMqhwLzpSyklXcAiEA7+HAF9XLymDNegjgec1NI9858mCEUWTo5ldxAkPBpNo="}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"},{"email":"bernd@brainbot.com","name":"trustlines-deploy"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.3.1-0-dev.20190215T094103Z.540df19.develop_1550224208512_0.747739585717142"},"_hasShrinkwrap":false},"0.3.1-0-dev.20190215T095707Z.ebfe91d.develop":{"name":"trustlines-clientlib","version":"0.3.1-0-dev.20190215T095707Z.ebfe91d.develop","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"typedoc --options tdconfig.json","lint":"tslint -c tslint.json ./src/**/**.ts ./tests/**/**.ts","prettier":"prettier --write './{src,tests}/**/*.ts'","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","coverage":"nyc report --reporter=text-lcov > coverage.lcov && codecov","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump":"./bump.sh"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{ts,js,json,css,md}":["prettier --write","git add"]},"nyc":{"extension":[".ts"],"include":["src"],"reporter":["text"],"all":true},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.5.2","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","codecov":"^3.1.0","es6-promise":"^4.1.1","fetch-mock":"^7.2.5","fluid-publish":"^2.2.0","husky":"^1.1.4","isomorphic-fetch":"^2.2.1","lint-staged":"^8.0.4","mocha":"^5.2.0","nyc":"^13.1.0","prettier":"^1.15.2","reconnecting-websocket":"^3.0.7","ts-node":"^7.0.0","tslint":"^5.10.0","tslint-config-prettier":"^1.16.0","tslint-config-standard":"^7.1.0","typedoc":"^0.11.1","types-ethereumjs-util":"0.0.8","typescript":"^2.9.2","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"bignumber.js":"7.2.1","ethereumjs-util":"^5.2.0","ethers":"^4.0.23","html5-websocket":"^2.0.2","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","trustlines-contracts-abi":"dev"},"readme":"# trustlines-network clientlib\n\n[![npm](https://img.shields.io/npm/v/trustlines-clientlib.svg)](https://www.npmjs.com/package/trustlines-clientlib)\n[![Travis (.org) branch](https://img.shields.io/travis/trustlines-network/clientlib/develop.svg)](https://travis-ci.org/trustlines-network/clientlib)\n[![Codecov branch](https://img.shields.io/codecov/c/github/trustlines-network/clientlib/develop.svg)](https://codecov.io/gh/trustlines-network/clientlib)\n\nA TypeScript/Javascript library for interacting with the [trustlines-network protocol](https://trustlines.network/).\n\n## Read the [Documentation](https://trustlines-network.github.io/clientlib-docs/)\n\n## Installation\n\nInstall the library using `npm` or `yarn`\n\n```bash\n$ npm install trustlines-clientlib\n// OR\n$ yarn add trustlines-clientlib\n```\n\n#### Import ES6 module\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n```\n\nUse the following configuration to connect to the currently deployed test setup.\n\n**NOTE: The [trustlines-network contracts](https://github.com/trustlines-network/contracts) are deployed on the Kovan testnet. Some Kovan Test ETH is therefore required to interact with the contracts in this setup.**\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n\nconst config = {\n  protocol: 'https',\n  host: 'relay0.testnet.trustlines.network',\n  path: 'api/v1/'\n}\n\nconst tlNetwork = new TLNetwork(config)\n```\n\n## Example\n\nThis library is a promise-based library. So every asynchronous call will return a native Javascript promise. If an error occurs the library will throw it. The caller has to handle it appropriately.\n\n```javascript\ntry {\n  const networks = await tlNetwork.currencyNetwokr.getAll()\n} catch (error) {\n  console.log('Caught error:', error)\n}\n```\n","readmeFilename":"README.md","gitHead":"ebfe91d83642ef79b1f601c7c6e48bd159f6d5e4","_id":"trustlines-clientlib@0.3.1-0-dev.20190215T095707Z.ebfe91d.develop","_npmVersion":"6.4.1","_nodeVersion":"10.15.1","_npmUser":{"name":"trustlines-deploy","email":"bernd@brainbot.com"},"dist":{"integrity":"sha512-cbGqrjIbCj1pQ+aDL1xNcSVi3Coza79O/LKCL8oyLCRtfhM0AewIF1F5m56gn5c6gzatOnOq6b8n3tetRqkWag==","shasum":"dfd5ac3b0a75093771b9f4c41c6de6997986d6c7","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.3.1-0-dev.20190215T095707Z.ebfe91d.develop.tgz","fileCount":61,"unpackedSize":313073,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcZo7DCRA9TVsSAnZWagAAKsYQAKBoLJ3UWJNBL+yU6hEM\nxRTIJpvg2h24+FEGHir+KJ8m8G/KkXFbn6WPgH1Fp1bu0z1fXF4NBgqGy5Z4\nmh33BGU0fMR3UfcN8o4mdnNUw0zIsZ1W9K6kTBZbUgr1f2dwGlCIocJCcDzg\noozoj+ZuMr6Vqi+CEMAU4ZLVg3CDXxJ9cdfMGBxvS19gvwqa+CaS2zT5lxZq\nrUFaCAYPGsa/+7qHL9azjb0K4PCyNLfFVpgU6XLusBMdvc6tVjL1VspPcixU\nXBpDafFFRb+OFMIeK93W1/R+49Q/Oy/waabBQP89+bKGC7nXzV+fLMgvcwio\nLHS8Ae13h8Kdu40hlZLuNAEMwcoVfMJF1fwYMg8Lf4vCxGslMaKuHjj3gTVN\njvdCuoLR4DSohCY1uUkFuTm1EJaux9qHnG9pXZ/K88/48TSpLRIS/Stwogsg\nBfRvanfolcyuNQLQGzfXNdP0f8F7KvyrXp6shAWnmVCB+g7cjomx+/UXYwcK\nd2MeLnoSnasnKrOygy3EVxakj7D70vKc0afeCQ+VHvPYuy5236RQNTcc3ubB\n10L+LGHCvkI+sTJq+I/RMIdGDroE0KpAm+RJONR/9T4hwDD7dUNtq62l84LZ\nbWIdXKNNCyqHeoW+HSKf13vpdblMInrsusRdG2NPyfYL1a3UkzLMa6uB2QwC\ndvRP\r\n=XYGP\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCb7Q1M1qw+HQBdTpL3MUFgD51bZzwQrbYMFPbwHZWb/QIhALyG9hygsVWjtLTXdisfNyvcTQj/MS0PFt7Kwbp8RHvU"}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"},{"email":"bernd@brainbot.com","name":"trustlines-deploy"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.3.1-0-dev.20190215T095707Z.ebfe91d.develop_1550225090495_0.9666635859579362"},"_hasShrinkwrap":false},"0.3.1-0-dev.20190218T080704Z.fbbea39.develop":{"name":"trustlines-clientlib","version":"0.3.1-0-dev.20190218T080704Z.fbbea39.develop","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"typedoc --options tdconfig.json","lint":"tslint -c tslint.json ./src/**/**.ts ./tests/**/**.ts","prettier":"prettier --write './{src,tests}/**/*.ts'","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","coverage":"nyc report --reporter=text-lcov > coverage.lcov && codecov","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump":"./bump.sh"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{ts,js,json,css,md}":["prettier --write","git add"]},"nyc":{"extension":[".ts"],"include":["src"],"reporter":["text"],"all":true},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.5.2","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","codecov":"^3.1.0","es6-promise":"^4.1.1","fetch-mock":"^7.2.5","fluid-publish":"^2.2.0","husky":"^1.1.4","isomorphic-fetch":"^2.2.1","lint-staged":"^8.0.4","mocha":"^5.2.0","nyc":"^13.1.0","prettier":"^1.15.2","reconnecting-websocket":"^3.0.7","ts-node":"^7.0.0","tslint":"^5.10.0","tslint-config-prettier":"^1.16.0","tslint-config-standard":"^7.1.0","typedoc":"^0.11.1","types-ethereumjs-util":"0.0.8","typescript":"^2.9.2","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"bignumber.js":"7.2.1","ethereumjs-util":"^5.2.0","ethers":"^4.0.23","html5-websocket":"^2.0.2","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","trustlines-contracts-abi":"dev"},"readme":"# trustlines-network clientlib\n\n[![npm](https://img.shields.io/npm/v/trustlines-clientlib.svg)](https://www.npmjs.com/package/trustlines-clientlib)\n[![Travis (.org) branch](https://img.shields.io/travis/trustlines-network/clientlib/develop.svg)](https://travis-ci.org/trustlines-network/clientlib)\n[![Codecov branch](https://img.shields.io/codecov/c/github/trustlines-network/clientlib/develop.svg)](https://codecov.io/gh/trustlines-network/clientlib)\n\nA TypeScript/Javascript library for interacting with the [trustlines-network protocol](https://trustlines.network/).\n\n## Read the [Documentation](https://trustlines-network.github.io/clientlib-docs/)\n\n## Installation\n\nInstall the library using `npm` or `yarn`\n\n```bash\n$ npm install trustlines-clientlib\n// OR\n$ yarn add trustlines-clientlib\n```\n\n#### Import ES6 module\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n```\n\nUse the following configuration to connect to the currently deployed test setup.\n\n**NOTE: The [trustlines-network contracts](https://github.com/trustlines-network/contracts) are deployed on the Kovan testnet. Some Kovan Test ETH is therefore required to interact with the contracts in this setup.**\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n\nconst config = {\n  protocol: 'https',\n  host: 'relay0.testnet.trustlines.network',\n  path: 'api/v1/'\n}\n\nconst tlNetwork = new TLNetwork(config)\n```\n\n## Example\n\nThis library is a promise-based library. So every asynchronous call will return a native Javascript promise. If an error occurs the library will throw it. The caller has to handle it appropriately.\n\n```javascript\ntry {\n  const networks = await tlNetwork.currencyNetwokr.getAll()\n} catch (error) {\n  console.log('Caught error:', error)\n}\n```\n","readmeFilename":"README.md","gitHead":"fbbea39e0088d6b109852da9f0606de2a0487657","_id":"trustlines-clientlib@0.3.1-0-dev.20190218T080704Z.fbbea39.develop","_npmVersion":"6.4.1","_nodeVersion":"10.15.1","_npmUser":{"name":"trustlines-deploy","email":"bernd@brainbot.com"},"dist":{"integrity":"sha512-SINEPkdgxGlUp38pVtNJmZkMHkEJ7oia6Sxpmnq/FWbZ18iFP8Jd0PSpQ65rP9jrFSB7rMGPaPuso5nWBLpXUA==","shasum":"e0aba6f5bea836fb1f65ae345a36f9630483a13d","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.3.1-0-dev.20190218T080704Z.fbbea39.develop.tgz","fileCount":61,"unpackedSize":313114,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcamm3CRA9TVsSAnZWagAAc74P/034aWcM0Lo0ETidDrQ8\nlP3RB01ED8irgnrfPcpR0/RqOVKIV5JiDzGL19VNdhc0D5xtZ7EI7t43UbYM\nnaGlm95ZCzy9rXxMCPfvnGKY9g5+Z5NX65MUMkhw3ZZLYzrIfFoTYVdNoM/G\nCCM55ZzRHFUgST5zK+6ZxLyFZLPozvR7xs68UsOrMT/T1Dt22GftCH5g70cB\nMxYsJKBqcpgp2eTEjIuCw03wor6LlYqcmCM0vMExnT0st8ctBF9dP3hBbDDz\nX92lwWwiwxQttYMGpxl9q0iqX8SkSz1AzQiN4o6NDZKaVw4s4TX2YF+ACMDH\ng1HLPNTZ/Fq9ZkaJiGl2FjAu9UqKDWuPPpFxoIgjbRbNtDZAS66trVk5gk9i\nYEpXKTQwt6MFcPlnOp64dEJ/nIBF2TLmyI2dNIXgbMaLYtHd0bzqZRdSqTEG\nlGrcxK/Gs/w7SbO55Dbz3+Yy2AZwJwRRhuQwUueb/IsZUJKTUAhjQ9VMkfMp\ndvA25KGGuo3i50bb/u7vL/3k6sQJOdiFcDeZrmsb2uCyWenAYBFC3j8dxQCw\n0ZVxwc/8j+iGSFAW5KTzNdGmDMOz1GWnXWvkidtCWD2YZ+4lTmyYUfL7/VaY\nkj1coDJTmVowBgoV3EEFi1VBdyonOaBXW4zzhVW5dLwdZ6yLUTiA0x0mcrn/\n57iK\r\n=81In\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDcOIgTrgf2PctHZ4TBa+GF3sytk866XV4wkc4HyYE7CgIhAP+8QggcEDOL/8qqkEFLL8jBMFzusUYTem8nAJUlWvOM"}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"},{"email":"bernd@brainbot.com","name":"trustlines-deploy"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.3.1-0-dev.20190218T080704Z.fbbea39.develop_1550477750576_0.7973860706790632"},"_hasShrinkwrap":false},"0.3.1-0-dev.20190228T092245Z.38bbe25.develop":{"name":"trustlines-clientlib","version":"0.3.1-0-dev.20190228T092245Z.38bbe25.develop","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"typedoc --options tdconfig.json","lint":"tslint -c tslint.json ./src/**/**.ts ./tests/**/**.ts","prettier":"prettier --write './{src,tests}/**/*.ts'","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","coverage":"nyc report --reporter=text-lcov > coverage.lcov && codecov","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump":"./bump.sh"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{ts,js,json,css,md}":["prettier --write","git add"]},"nyc":{"extension":[".ts"],"include":["src"],"reporter":["text"],"all":true},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.5.2","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","codecov":"^3.1.0","es6-promise":"^4.1.1","fetch-mock":"^7.2.5","fluid-publish":"^2.2.0","husky":"^1.1.4","isomorphic-fetch":"^2.2.1","lint-staged":"^8.0.4","mocha":"^5.2.0","nyc":"^13.1.0","prettier":"^1.15.2","ts-node":"^7.0.0","tslint":"^5.10.0","tslint-config-prettier":"^1.16.0","tslint-config-standard":"^7.1.0","typedoc":"^0.11.1","types-ethereumjs-util":"0.0.8","typescript":"^2.9.2","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"bignumber.js":"7.2.1","ethereumjs-util":"^5.2.0","ethers":"^4.0.23","html5-websocket":"^2.0.2","reconnecting-websocket":"^3.0.7","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","trustlines-contracts-abi":"dev"},"readme":"# trustlines-network clientlib\n\n[![npm](https://img.shields.io/npm/v/trustlines-clientlib.svg)](https://www.npmjs.com/package/trustlines-clientlib)\n[![Travis (.org) branch](https://img.shields.io/travis/trustlines-network/clientlib/develop.svg)](https://travis-ci.org/trustlines-network/clientlib)\n[![Codecov branch](https://img.shields.io/codecov/c/github/trustlines-network/clientlib/develop.svg)](https://codecov.io/gh/trustlines-network/clientlib)\n\nA TypeScript/Javascript library for interacting with the [trustlines-network protocol](https://trustlines.network/).\n\n## Read the [Documentation](https://trustlines-network.github.io/clientlib-docs/)\n\n## Installation\n\nInstall the library using `npm` or `yarn`\n\n```bash\n$ npm install trustlines-clientlib\n// OR\n$ yarn add trustlines-clientlib\n```\n\n#### Import ES6 module\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n```\n\nUse the following configuration to connect to the currently deployed test setup.\n\n**NOTE: The [trustlines-network contracts](https://github.com/trustlines-network/contracts) are deployed on the Kovan testnet. Some Kovan Test ETH is therefore required to interact with the contracts in this setup.**\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n\nconst config = {\n  protocol: 'https',\n  host: 'relay0.testnet.trustlines.network',\n  path: 'api/v1/'\n}\n\nconst tlNetwork = new TLNetwork(config)\n```\n\n## Example\n\nThis library is a promise-based library. So every asynchronous call will return a native Javascript promise. If an error occurs the library will throw it. The caller has to handle it appropriately.\n\n```javascript\ntry {\n  const networks = await tlNetwork.currencyNetwokr.getAll()\n} catch (error) {\n  console.log('Caught error:', error)\n}\n```\n","readmeFilename":"README.md","gitHead":"38bbe25753cb274954b99a1c0074166f2496e7b2","_id":"trustlines-clientlib@0.3.1-0-dev.20190228T092245Z.38bbe25.develop","_npmVersion":"6.4.1","_nodeVersion":"10.15.1","_npmUser":{"name":"trustlines-deploy","email":"bernd@brainbot.com"},"dist":{"integrity":"sha512-glMGAKzh6qi02vTFSP95hj/d9myD/kjeizP+xQHx1mhFEGeCeOu1OiB2E9HnOdMkmn24FqPn+njD2ahtaxHpdA==","shasum":"ecdae22819e968dfce4ef78113a7f26e3c1a3ba3","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.3.1-0-dev.20190228T092245Z.38bbe25.develop.tgz","fileCount":61,"unpackedSize":313114,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcd93nCRA9TVsSAnZWagAAN/AP/je1rN5jsV7CW1Ck8qpI\nT9VzUB2oO+aHEqn/cJBbNfvru9CAItLE9I7uKaLTHFLjwkpuJshYDYrUTz4M\naiJGiTi9hbVHXKulK12Eu5Lqn/KCBQphn3xjHBOCefJHL0DbC4Tj+bJEOyvK\nRQ16qOq5TSkxiOqxNDCmxwuJQ+iiBvgFBUZhtOlBg2sA6m/J6rwC1YJQBAJk\nbcxjVbvxOo3zGVgu8VkoOM03l88SUMopIb9QvR/cVsPcCpZcKihjG9wqckrB\nQivj0qxhqXlDJw+QCEDa3mlwsebKBk8UrKNlaveSUNpoJH7iRhyfE8FUCFis\nZvnOkxwtDkfZveN6KXV9QgEkXh7m85jv7mmK5mc+1IkJDKBFobQ2xoZ1Tz1i\nCLX0LXvm0ZJeB/qwghAiGEmVAOM+pqhQnkU6KGUwjqFTily8kb6KhK52a4p8\nfbv0UHSRWzsLJanf4Y4LEGcSuGLi0XON1iWHs+OLwkH89AW+EKtDTyEEB2mm\nmNUEBiHTFh3qQyZOHYC82jUfqWDKKDmse5so3eWdMD2TUCRd1ol07KCwxI1j\nVWwNVeEktAZWeuKhvq9X2FGusBhwe6uxVgW4xVm6TlsAtfryXeVx5q6oBBQP\nOn5sUMxfZMTJ7JqgiNZnHMNUMiqwA/KyiFdQKOT+6xvXj+yX8en1BUOZTRZd\nxai+\r\n=PmmD\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC0KMsNXRe/4IoUH3vkLrnfzQdTqt0NToZ4fJtWYUPvfAIhAOzXbKCH6ETZoeAeonYWZRn4CKA08O7TaLrOEbnaV3uA"}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"},{"email":"bernd@brainbot.com","name":"trustlines-deploy"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.3.1-0-dev.20190228T092245Z.38bbe25.develop_1551359462794_0.3677077566919489"},"_hasShrinkwrap":false},"0.3.1-0-dev.20190308T095219Z.ce986d5.develop":{"name":"trustlines-clientlib","version":"0.3.1-0-dev.20190308T095219Z.ce986d5.develop","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"typedoc --options tdconfig.json","lint":"tslint -c tslint.json ./src/**/**.ts ./tests/**/**.ts","prettier":"prettier --write './{src,tests}/**/*.ts'","prettier:check":"prettier --check './{src,tests}/**/*.ts'","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","coverage":"nyc report --reporter=text-lcov > coverage.lcov && codecov","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump":"./bump.sh"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{ts,js,json,css,md}":["prettier --write","git add"]},"nyc":{"extension":[".ts"],"include":["src"],"reporter":["text"],"all":true},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.5.2","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","codecov":"^3.1.0","es6-promise":"^4.1.1","fetch-mock":"^7.2.5","fluid-publish":"^2.2.0","husky":"^1.1.4","isomorphic-fetch":"^2.2.1","lint-staged":"^8.0.4","mocha":"^5.2.0","nyc":"^13.1.0","prettier":"^1.15.2","ts-node":"^7.0.0","tslint":"^5.10.0","tslint-config-prettier":"^1.16.0","tslint-config-standard":"^7.1.0","typedoc":"^0.11.1","types-ethereumjs-util":"0.0.8","typescript":"^2.9.2","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"bignumber.js":"7.2.1","ethereumjs-util":"^5.2.0","ethers":"^4.0.23","html5-websocket":"^2.0.2","reconnecting-websocket":"^3.0.7","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","trustlines-contracts-abi":"dev"},"readme":"# trustlines-network clientlib\n\n[![npm](https://img.shields.io/npm/v/trustlines-clientlib.svg)](https://www.npmjs.com/package/trustlines-clientlib)\n[![Travis (.org) branch](https://img.shields.io/travis/trustlines-network/clientlib/develop.svg)](https://travis-ci.org/trustlines-network/clientlib)\n[![Codecov branch](https://img.shields.io/codecov/c/github/trustlines-network/clientlib/develop.svg)](https://codecov.io/gh/trustlines-network/clientlib)\n\nA TypeScript/Javascript library for interacting with the [trustlines-network protocol](https://trustlines.network/).\n\n## Read the [Documentation](https://trustlines-network.github.io/clientlib-docs/)\n\n## Installation\n\nInstall the library using `npm` or `yarn`\n\n```bash\n$ npm install trustlines-clientlib\n// OR\n$ yarn add trustlines-clientlib\n```\n\n#### Import ES6 module\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n```\n\nUse the following configuration to connect to the currently deployed test setup.\n\n**NOTE: The [trustlines-network contracts](https://github.com/trustlines-network/contracts) are deployed on the Kovan testnet. Some Kovan Test ETH is therefore required to interact with the contracts in this setup.**\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n\nconst config = {\n  protocol: 'https',\n  host: 'relay0.testnet.trustlines.network',\n  path: 'api/v1/'\n}\n\nconst tlNetwork = new TLNetwork(config)\n```\n\n## Example\n\nThis library is a promise-based library. So every asynchronous call will return a native Javascript promise. If an error occurs the library will throw it. The caller has to handle it appropriately.\n\n```javascript\ntry {\n  const networks = await tlNetwork.currencyNetwokr.getAll()\n} catch (error) {\n  console.log('Caught error:', error)\n}\n```\n","readmeFilename":"README.md","gitHead":"ce986d5f1cdad36869cdf53c2356106c6a195558","_id":"trustlines-clientlib@0.3.1-0-dev.20190308T095219Z.ce986d5.develop","_npmVersion":"6.4.1","_nodeVersion":"10.15.2","_npmUser":{"name":"trustlines-deploy","email":"bernd@brainbot.com"},"dist":{"integrity":"sha512-RtbvJQ8dzyc9HlDkhCShtTv9gYaOwaYRCAxNyaNfGedZiWkuatKSFcjIBORQmB+B2Rq4aLFpgqShwpwjZIfUqg==","shasum":"43e3d9caf0d73f62b503f1152200cfcaafc8856c","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.3.1-0-dev.20190308T095219Z.ce986d5.develop.tgz","fileCount":61,"unpackedSize":313250,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcgj16CRA9TVsSAnZWagAAG6kP/2zsW4s4J3QnXXEkXVaC\nfcYjByMq5grFjNJMytkaMVxqkwfV5wQ+OVhg0pwOhVJDCx4XciuhwukWkvOG\nGTEHDgIlRixEA3TpDyzMI3jvATvQP+fDk2UY5CRNgKrLxzoOFW2TCe/QGtbg\n7W6ysTjTNSzjYPvuhfQU8olV12Yk21ZY/Yl3GwErIQHD6iqDWL57I2csXKig\nsu7+IFSWqX2kE/3qiELvtfzKSxx6IMOVbmY2uYk8Jaz65hedkTdPmM67nrGD\n6TFP5AC7L9fuikC2lll2zdwGhBhOMvHf9bt5Yv5gzLRhnyq7oTrOom4xxbmd\nftfQQoDMin3Azx4pqFMF6LA4Crp+JbVTiVJ0SsbYY5vhGBE+88BFkJrhpEMZ\nRz/DV4jDUAi7VSsxEG8bdE78xAJLF4NmFuJtRDjtHxH4qe9OZcv3mZNYDQTL\nVNFX/XNgWdnzktPhGjIY02j4YheCyBskNBB0uUh4hr6YUokqXfuPykoJcRi6\npRekLxq/CENEJzm93PLaedBGY9aKsaPvoBCyqXRrZ05J6R1iIaxZ7bPGJbfW\ndZCOMEFccwYnXsxNbIKunAIupqOVhjxz4k4rcAdxJ1JmoEo9A80cvDcGDLvz\na7lnzoMxgXOckq0AJkcDTrGE3n3xvJ/p9rLJ/Fg2UQGoXCbGzXzU9cPYAqlO\nXfZe\r\n=WnHg\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAc/zF7NljlbxwwMwk1su1ro4XGmRiFO0InMliyd6M+8AiEA3MDSgf+uKayL9RHR6JIvxWEzff6o1TR+i66SussRjTs="}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"},{"email":"bernd@brainbot.com","name":"trustlines-deploy"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.3.1-0-dev.20190308T095219Z.ce986d5.develop_1552039290083_0.3961838157488682"},"_hasShrinkwrap":false},"0.3.1-0-dev.20190312T132411Z.585b7c9.develop":{"name":"trustlines-clientlib","version":"0.3.1-0-dev.20190312T132411Z.585b7c9.develop","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"typedoc --options tdconfig.json","lint":"tslint -c tslint.json ./src/**/**.ts ./tests/**/**.ts","prettier":"prettier --write './{src,tests}/**/*.ts'","prettier:check":"prettier --check './{src,tests}/**/*.ts'","prettier:big-tabs":"prettier --write --print-width 120 --no-semi --single-quote --tab-width 4  './{src,tests}/**/*.ts'","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","coverage":"nyc report --reporter=text-lcov > coverage.lcov && codecov","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump":"./bump.sh"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{ts,js,json,css,md}":["prettier --write","git add"]},"nyc":{"extension":[".ts"],"include":["src"],"reporter":["text"],"all":true},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.5.2","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","codecov":"^3.1.0","es6-promise":"^4.1.1","fetch-mock":"^7.2.5","fluid-publish":"^2.2.0","husky":"^1.1.4","isomorphic-fetch":"^2.2.1","lint-staged":"^8.0.4","mocha":"^5.2.0","nyc":"^13.1.0","prettier":"^1.15.2","ts-node":"^7.0.0","tslint":"^5.10.0","tslint-config-prettier":"^1.16.0","tslint-config-standard":"^7.1.0","typedoc":"^0.11.1","types-ethereumjs-util":"0.0.8","typescript":"^2.9.2","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"bignumber.js":"7.2.1","ethereumjs-util":"^5.2.0","ethers":"^4.0.23","html5-websocket":"^2.0.2","reconnecting-websocket":"^3.0.7","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","trustlines-contracts-abi":"dev"},"readme":"# trustlines-network clientlib\n\n[![npm](https://img.shields.io/npm/v/trustlines-clientlib.svg)](https://www.npmjs.com/package/trustlines-clientlib)\n[![Travis (.org) branch](https://img.shields.io/travis/trustlines-network/clientlib/develop.svg)](https://travis-ci.org/trustlines-network/clientlib)\n[![Codecov branch](https://img.shields.io/codecov/c/github/trustlines-network/clientlib/develop.svg)](https://codecov.io/gh/trustlines-network/clientlib)\n\nA TypeScript/Javascript library for interacting with the [trustlines-network protocol](https://trustlines.network/).\n\n## Read the [Documentation](https://trustlines-network.github.io/clientlib-docs/)\n\n## Installation\n\nInstall the library using `npm` or `yarn`\n\n```bash\n$ npm install trustlines-clientlib\n// OR\n$ yarn add trustlines-clientlib\n```\n\n#### Import ES6 module\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n```\n\nUse the following configuration to connect to the currently deployed test setup.\n\n**NOTE: The [trustlines-network contracts](https://github.com/trustlines-network/contracts) are deployed on the Kovan testnet. Some Kovan Test ETH is therefore required to interact with the contracts in this setup.**\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n\nconst config = {\n  protocol: 'https',\n  host: 'relay0.testnet.trustlines.network',\n  path: 'api/v1/'\n}\n\nconst tlNetwork = new TLNetwork(config)\n```\n\n## Example\n\nThis library is a promise-based library. So every asynchronous call will return a native Javascript promise. If an error occurs the library will throw it. The caller has to handle it appropriately.\n\n```javascript\ntry {\n  const networks = await tlNetwork.currencyNetwokr.getAll()\n} catch (error) {\n  console.log('Caught error:', error)\n}\n```\n","readmeFilename":"README.md","gitHead":"585b7c98101686e81f7f0329e3deb78969ad5c05","_id":"trustlines-clientlib@0.3.1-0-dev.20190312T132411Z.585b7c9.develop","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"trustlines-deploy","email":"bernd@brainbot.com"},"dist":{"integrity":"sha512-VZEsGYf4BGuMAtLjpQdJeYC/FQVhRTgNlvmTRSSPFt6wEakWvIF4vWFsGunxwYoG+wlszh44+Mde9tM0SwG+sA==","shasum":"8c1d2b8eb70eb68d91715d439dba020cc5cb98c4","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.3.1-0-dev.20190312T132411Z.585b7c9.develop.tgz","fileCount":61,"unpackedSize":316133,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJch7UyCRA9TVsSAnZWagAAvNQP/2+qDRJ/1TL8hPyfGzlM\n7NcnKvnlV8/g7Nw3zKCuhBGjOmVdeYz/K0x+we8y61KtT5ZRQ1OiS9eNMNuj\ni3s/LPTDPis96Ys4yxMhuWfy7JZnu/TDznfVYxAoLM7OR5sSwzCnSzqORljj\nnbIYAaxhLnC4+tMBiIWGWQZPsFikerBIgqq7bX33/gTAzla7v3A6vXzf+ysr\nxRwGMGOB+dBsjJWtn+6yihUrGMZEUGWTgY8aV98mC82aPGg2RLZlErSshnYS\n44fwhkBs0xJe4Faieg7XnvuKz27DsR1J7j3fM5GESfNYavA+90ztcePtYa1t\n2F+e0x1+PUB/Jj8k3yetHzEbxqZsCmHmZ08AdMjvY8pXi0NfkLldo+LitKw5\nZFMCRT6uniwzyCwgZXhZbXQKZ5EcgWFTbyQVxMcm5fsh/EiuvTTJUk9+RhmH\nXR/yh8TaEOqCEXQ8yCo6j82M8Lp1ngMSZ9fJ9JEpCYqmohEZMPk2J201+Eha\nNsQ3Aw4bM2ZFJnxwpcTRvwahYRVYy7DO67NEhvoGc4IZ/9jgStZAah0iAPae\n2FT/UemyznZwJR6r34Snbsp+iEpzXi+bm/SB7cN1xqo86XypgEQkFT/9Z1d3\nR1nthla/S8ne9XrL5/8MWYCumTFiLfJ349t9+141P98Ou/4eDsFdL+OWZXrO\nbXWu\r\n=l6kZ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBtFtQGZRZx6m8xY9zD7Gm34O8q1EfsiCxK7tUPNVqW2AiBDpXg9wEtVvU4DcUnqWU4xDflRdtoJOJWo2Agg/oNGbQ=="}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"},{"email":"bernd@brainbot.com","name":"trustlines-deploy"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.3.1-0-dev.20190312T132411Z.585b7c9.develop_1552397617717_0.3936641244022594"},"_hasShrinkwrap":false},"0.3.1-0-dev.20190320T134048Z.c3753de.develop":{"name":"trustlines-clientlib","version":"0.3.1-0-dev.20190320T134048Z.c3753de.develop","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"typedoc --options tdconfig.json","lint":"tslint -c tslint.json ./src/**/**.ts ./tests/**/**.ts","prettier":"prettier --write './{src,tests}/**/*.ts'","prettier:check":"prettier --check './{src,tests}/**/*.ts'","prettier:big-tabs":"prettier --write --print-width 120 --no-semi --single-quote --tab-width 4  './{src,tests}/**/*.ts'","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","coverage":"nyc report --reporter=text-lcov > coverage.lcov && codecov","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump":"./bump.sh"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{ts,js,json,css,md}":["prettier --write","git add"]},"nyc":{"extension":[".ts"],"include":["src"],"reporter":["text"],"all":true},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.5.2","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","codecov":"^3.1.0","es6-promise":"^4.1.1","fetch-mock":"^7.2.5","fluid-publish":"^2.2.0","husky":"^1.1.4","isomorphic-fetch":"^2.2.1","lint-staged":"^8.0.4","mocha":"^5.2.0","nyc":"^13.1.0","prettier":"^1.15.2","ts-node":"^7.0.0","tslint":"^5.10.0","tslint-config-prettier":"^1.16.0","tslint-config-standard":"^7.1.0","typedoc":"^0.11.1","types-ethereumjs-util":"0.0.8","typescript":"^2.9.2","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"bignumber.js":"7.2.1","ethereumjs-util":"^5.2.0","ethers":"^4.0.23","html5-websocket":"^2.0.2","reconnecting-websocket":"^3.0.7","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","trustlines-contracts-abi":"dev"},"readme":"# trustlines-network clientlib\n\n[![npm](https://img.shields.io/npm/v/trustlines-clientlib.svg)](https://www.npmjs.com/package/trustlines-clientlib)\n[![Travis (.org) branch](https://img.shields.io/travis/trustlines-network/clientlib/develop.svg)](https://travis-ci.org/trustlines-network/clientlib)\n[![Codecov branch](https://img.shields.io/codecov/c/github/trustlines-network/clientlib/develop.svg)](https://codecov.io/gh/trustlines-network/clientlib)\n\nA TypeScript/Javascript library for interacting with the [trustlines-network protocol](https://trustlines.network/).\n\n## Read the [Documentation](https://trustlines-network.github.io/clientlib-docs/)\n\n## Installation\n\nInstall the library using `npm` or `yarn`\n\n```bash\n$ npm install trustlines-clientlib\n// OR\n$ yarn add trustlines-clientlib\n```\n\n#### Import ES6 module\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n```\n\nUse the following configuration to connect to the currently deployed test setup.\n\n**NOTE: The [trustlines-network contracts](https://github.com/trustlines-network/contracts) are deployed on the Kovan testnet. Some Kovan Test ETH is therefore required to interact with the contracts in this setup.**\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n\nconst config = {\n  protocol: 'https',\n  host: 'relay0.testnet.trustlines.network',\n  path: 'api/v1/'\n}\n\nconst tlNetwork = new TLNetwork(config)\n```\n\n## Example\n\nThis library is a promise-based library. So every asynchronous call will return a native Javascript promise. If an error occurs the library will throw it. The caller has to handle it appropriately.\n\n```javascript\ntry {\n  const networks = await tlNetwork.currencyNetwokr.getAll()\n} catch (error) {\n  console.log('Caught error:', error)\n}\n```\n","readmeFilename":"README.md","gitHead":"c3753de62f8222f7d42c7db47ff19e0f17a8d47a","_id":"trustlines-clientlib@0.3.1-0-dev.20190320T134048Z.c3753de.develop","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"trustlines-deploy","email":"bernd@brainbot.com"},"dist":{"integrity":"sha512-uAhFw6pSgGUfd4kpW3ztqDC5Y2171jn5kJMY0ceLKpQK2NshTlIDErm78bKp2tQ4u5oauYv0cAttuQUV5774iQ==","shasum":"10f4bacf80ada09a9535ad79f1f6bfd88f82b152","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.3.1-0-dev.20190320T134048Z.c3753de.develop.tgz","fileCount":64,"unpackedSize":338553,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJckkTXCRA9TVsSAnZWagAAEn8P+walShSf9kYFFwvMsFvv\nrSqkiPJoVjlSV5O17A6Gjy/mVZIRYBNBo+5rXmb//daztJReIEftaWUEzg1k\nQiydmOLzyRsYGCvHuMXuFDpTPoAQFFeVP3TXdfbxTUTK2uVCdiq6QOi78xO8\nDz5e7SBCKUy5PjFxU2nhcZ16Q4V8R5iq8XggsYqmOfYDfXdBIDMsAqzFPMWh\nquUHGXndM0rdKxnMxZ6bdZfViGERQjH2YM5KsXopXuthyLBoUwFiYJjBKK/a\nZFaKwwUkMAGrujc++sSwFOVR051lygnxjRBtOXZtA2qGwfQIZ2wHcyW+yJet\nMcoz1q2UPaB2Vla9M1wqF6vOUZRPnlA+c8bN15vnnkLCFRSAJ7Mu74WHFv3r\nMkz3wHDrpbhRs21d+WusLSXQmBODnOukyUD8HHuRZEH7ak4YxzTBxkCIdQl/\nmZnI7y/DAIV3xIff9T1sM84kHbYmCTwiRgdvqLNFgYrVK07rWAO1c3z2bh4K\nJqZSGjcdTYFwXctAUqE/oE3zSyd1exH9H9YO0+Yy7T4Nktb6QyNVLwZRFYpE\negucCcRnxRj3iXq7fqrb1P3BhRd2VhYo5K0ingDMvGmLGmncq/NXwBoVXsQO\nYD71RntdaS8yQsNjzWov+88MDeeyYYUTg7L5z8eLZi5INgsrEybWQV+QAVu1\nb2sK\r\n=zQXb\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEKNDf9DzH5hi53JNAb6bUWxxhILmonMge8Fs8/r/HQ/AiBD0Hm6Pj4woWG/JkRkvT+zajKXaw73/zthlJs8nKIfjw=="}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"},{"email":"bernd@brainbot.com","name":"trustlines-deploy"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.3.1-0-dev.20190320T134048Z.c3753de.develop_1553089750379_0.1746417283462447"},"_hasShrinkwrap":false},"0.3.1-0-dev.20190322T140908Z.b45e062.develop":{"name":"trustlines-clientlib","version":"0.3.1-0-dev.20190322T140908Z.b45e062.develop","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"typedoc --options tdconfig.json","lint":"tslint -c tslint.json ./src/**/**.ts ./tests/**/**.ts","prettier":"prettier --write './{src,tests}/**/*.ts'","prettier:check":"prettier --check './{src,tests}/**/*.ts'","prettier:big-tabs":"prettier --write --print-width 120 --no-semi --single-quote --tab-width 4  './{src,tests}/**/*.ts'","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","coverage":"nyc report --reporter=text-lcov > coverage.lcov && codecov","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump":"./bump.sh"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{ts,js,json,css,md}":["prettier --write","git add"]},"nyc":{"extension":[".ts"],"include":["src"],"reporter":["text"],"all":true},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.5.2","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","codecov":"^3.1.0","es6-promise":"^4.1.1","fetch-mock":"^7.2.5","fluid-publish":"^2.2.0","husky":"^1.1.4","isomorphic-fetch":"^2.2.1","lint-staged":"^8.0.4","mocha":"^5.2.0","nyc":"^13.1.0","prettier":"^1.15.2","ts-node":"^7.0.0","tslint":"^5.10.0","tslint-config-prettier":"^1.16.0","tslint-config-standard":"^7.1.0","typedoc":"^0.11.1","types-ethereumjs-util":"0.0.8","typescript":"^2.9.2","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"bignumber.js":"7.2.1","ethereumjs-util":"^5.2.0","ethers":"^4.0.23","html5-websocket":"^2.0.2","reconnecting-websocket":"^3.0.7","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","trustlines-contracts-abi":"dev"},"readme":"# trustlines-network clientlib\n\n[![npm](https://img.shields.io/npm/v/trustlines-clientlib.svg)](https://www.npmjs.com/package/trustlines-clientlib)\n[![Travis (.org) branch](https://img.shields.io/travis/trustlines-network/clientlib/develop.svg)](https://travis-ci.org/trustlines-network/clientlib)\n[![Codecov branch](https://img.shields.io/codecov/c/github/trustlines-network/clientlib/develop.svg)](https://codecov.io/gh/trustlines-network/clientlib)\n\nA TypeScript/Javascript library for interacting with the [trustlines-network protocol](https://trustlines.network/).\n\n## Read the [Documentation](https://trustlines-network.github.io/clientlib-docs/)\n\n## Installation\n\nInstall the library using `npm` or `yarn`\n\n```bash\n$ npm install trustlines-clientlib\n// OR\n$ yarn add trustlines-clientlib\n```\n\n#### Import ES6 module\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n```\n\nUse the following configuration to connect to the currently deployed test setup.\n\n**NOTE: The [trustlines-network contracts](https://github.com/trustlines-network/contracts) are deployed on the Kovan testnet. Some Kovan Test ETH is therefore required to interact with the contracts in this setup.**\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n\nconst config = {\n  protocol: 'https',\n  host: 'relay0.testnet.trustlines.network',\n  path: 'api/v1/'\n}\n\nconst tlNetwork = new TLNetwork(config)\n```\n\n## Example\n\nThis library is a promise-based library. So every asynchronous call will return a native Javascript promise. If an error occurs the library will throw it. The caller has to handle it appropriately.\n\n```javascript\ntry {\n  const networks = await tlNetwork.currencyNetwokr.getAll()\n} catch (error) {\n  console.log('Caught error:', error)\n}\n```\n","readmeFilename":"README.md","gitHead":"b45e062fd5e083d373fdd825c5274d759edd0edc","_id":"trustlines-clientlib@0.3.1-0-dev.20190322T140908Z.b45e062.develop","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"trustlines-deploy","email":"bernd@brainbot.com"},"dist":{"integrity":"sha512-eD2IDXDFUT/XNtFq9anpmm+w4WvZh95eK7apH2429s8NMXOyTnjQMOGgoIQxlDrIwheiIViEpHux0ZyyTQFNRg==","shasum":"b83a011a79a06d41a827dfdd2d7e2f71449943a4","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.3.1-0-dev.20190322T140908Z.b45e062.develop.tgz","fileCount":64,"unpackedSize":348308,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJclO6oCRA9TVsSAnZWagAAHuEP/1+sab58yI3HKmVtk8Lr\nyAlytaag5J+n5z51hUMHN+OmQb8T8ZYtiAKL17G+9V0kwv9bjCSXCE3WClU+\nkqOwoknwPvkm5MUGPF6Cggru6G95yqHxny39QyCFMZ4da7ZhLP58XfZA8zgL\nTniGtJty0+97qkqOnCM5mJCaGNjMxZ5/Y1xTsPn+o5meGNu0/TEuyG3HdOhF\nAMzBSYaJmWqE8NZvH7sKr7W7CyQU2DPtvJbIhGLxgXnri2KGyefAOs0SkZOa\n9vMqrd2E/AppYV/HJX2sVkKN6nC32K5+D/1xB8jFzyyhUmtnMAvRG+YJ1Yk4\nQf/a0Ze7sUztOSlTDjEZcleNDha8wDaGyj2Zys2lWQQxV6LUqVnyu8PKYgGR\nLvwXssNyqY0xboUuJKg4NUeGWZu/19MBw/RSqI+TO+wANK7RJ7ywmRiHf1n9\n1ptpSQpX2/+bfho4TuZSe/bz6+GJD5Kw7NZBH/wTBJj1QrqjMXtpDINZb2t1\nAa8AJtkuAjefpssjYc4psbxnx7QvA6fQkRZmfiuxP+0YigXCLumuXPazUlc1\n9YdfWaxWvQAlrjp5m1Thng5RLZ6pm1BigRi7rNFPvz4268GR/0xG5g9Ka5Li\nxLnEz6ao08Ane+dG9iD+zrDVEB1kFEa4i1VPMRLbK+hkYWE+ety5+MlXX8Z1\n6fkM\r\n=VjIm\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIG3Yw6RKWmasSxKR/0Yb21jrUSgMMQU952QcvzvtVsewAiBnjpMjNtFp+NsJNV8KBx5/ZTdE86+AXNhwJoYNJdGLkw=="}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"},{"email":"bernd@brainbot.com","name":"trustlines-deploy"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.3.1-0-dev.20190322T140908Z.b45e062.develop_1553264295192_0.49108311025608087"},"_hasShrinkwrap":false},"0.3.1-0-dev.20190327T115420Z.e34adb5.develop":{"name":"trustlines-clientlib","version":"0.3.1-0-dev.20190327T115420Z.e34adb5.develop","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"typedoc --options tdconfig.json","lint":"tslint -c tslint.json ./src/**/**.ts ./tests/**/**.ts","prettier":"prettier --write './{src,tests}/**/*.ts'","prettier:check":"prettier --check './{src,tests}/**/*.ts'","prettier:big-tabs":"prettier --write --print-width 120 --no-semi --single-quote --tab-width 4  './{src,tests}/**/*.ts'","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","coverage":"nyc report --reporter=text-lcov > coverage.lcov && codecov","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump":"./bump.sh"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{ts,js,json,css,md}":["prettier --write","git add"]},"nyc":{"extension":[".ts"],"include":["src"],"reporter":["text"],"all":true},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.5.2","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","codecov":"^3.1.0","es6-promise":"^4.1.1","fetch-mock":"^7.2.5","fluid-publish":"^2.2.0","husky":"^1.1.4","isomorphic-fetch":"^2.2.1","lint-staged":"^8.0.4","mocha":"^5.2.0","nyc":"^13.1.0","prettier":"^1.15.2","ts-node":"^7.0.0","tslint":"^5.10.0","tslint-config-prettier":"^1.16.0","tslint-config-standard":"^7.1.0","typedoc":"^0.11.1","types-ethereumjs-util":"0.0.8","typescript":"^2.9.2","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"bignumber.js":"7.2.1","ethereumjs-util":"^5.2.0","ethers":"^4.0.23","html5-websocket":"^2.0.2","reconnecting-websocket":"^3.0.7","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","trustlines-contracts-abi":"dev"},"readme":"# trustlines-network clientlib\n\n[![npm](https://img.shields.io/npm/v/trustlines-clientlib.svg)](https://www.npmjs.com/package/trustlines-clientlib)\n[![Travis (.org) branch](https://img.shields.io/travis/trustlines-network/clientlib/develop.svg)](https://travis-ci.org/trustlines-network/clientlib)\n[![Codecov branch](https://img.shields.io/codecov/c/github/trustlines-network/clientlib/develop.svg)](https://codecov.io/gh/trustlines-network/clientlib)\n\nA TypeScript/Javascript library for interacting with the [trustlines-network protocol](https://trustlines.network/).\n\n## Read the [Documentation](https://trustlines-network.github.io/clientlib-docs/)\n\n## Installation\n\nInstall the library using `npm` or `yarn`\n\n```bash\n$ npm install trustlines-clientlib\n// OR\n$ yarn add trustlines-clientlib\n```\n\n#### Import ES6 module\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n```\n\nUse the following configuration to connect to the currently deployed test setup.\n\n**NOTE: The [trustlines-network contracts](https://github.com/trustlines-network/contracts) are deployed on the Kovan testnet. Some Kovan Test ETH is therefore required to interact with the contracts in this setup.**\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n\nconst config = {\n  protocol: 'https',\n  host: 'relay0.testnet.trustlines.network',\n  path: 'api/v1/'\n}\n\nconst tlNetwork = new TLNetwork(config)\n```\n\n## Example\n\nThis library is a promise-based library. So every asynchronous call will return a native Javascript promise. If an error occurs the library will throw it. The caller has to handle it appropriately.\n\n```javascript\ntry {\n  const networks = await tlNetwork.currencyNetwokr.getAll()\n} catch (error) {\n  console.log('Caught error:', error)\n}\n```\n","readmeFilename":"README.md","gitHead":"e34adb507e1e8a8917a0cadf0b57c4b7523331f0","_id":"trustlines-clientlib@0.3.1-0-dev.20190327T115420Z.e34adb5.develop","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"trustlines-deploy","email":"bernd@brainbot.com"},"dist":{"integrity":"sha512-llcqjXbt6FdfOzft42p70Grwp3T8r1GUT3Vw4Mhfay7/Fy7X8hGzHolFWORuGI+OhGcXBdHmEqMQua/agVFPPA==","shasum":"3fd9cf014e3a572c609aac32fbdfd9b835fdea6d","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.3.1-0-dev.20190327T115420Z.e34adb5.develop.tgz","fileCount":64,"unpackedSize":347387,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcm2ZECRA9TVsSAnZWagAA8REP/ApNXTzPh295AMXSWpnX\nsd5MowijlWwRhykKZHF5LdU8tyx/ymOxZJvxeoD17qqDNOhaetXEzScPDP+t\nnwpCnr1Q0c0VaMY6l1cr2UKwqT5Xt+VQ4045Pl+YuXgYzxFt18wIw5l33xBS\nLz1a0LAnFoka4dPcxtP0YDazIfAoLhPmeswJhq6aw+U3m/4NdSGrjgm2GCWZ\n2Aq7tk5KPoce0TkBCAiajEsYPwDzX/zDzngljijaBmuaVrjVfMqR+ZrtgfEZ\nHAfVA0Usw87V8DSHESMZV8rgWJtFXzpdBEKIm+TbjsMNjKcJ9RztoafFC+R9\n6E9jo46BcQhwspt5OjETBVkclh4NUVIs009D06uwvNQWsXhpErRoOYnVXO2f\niOOVMh5Sw8Xgr7mL2zsGlK6OuoDqCFJv0S8AMubeZdP0cfoLSoTUuGwDqX/g\n3c3x6XZ/y7mxNgR3BFKqoTDc5Wu4o/RM578bkQGDdKcyrOcAZBAGGC5/BOUY\n87r4MUcil3MwRhSm3QJvV9hyaEMJS4vvyhz6yr8wMToRsp/YEmAUNi43Q2JB\n5wE4MvfOVVhr/i//WEZtGov2On62oS5E/m2pKLHqUOAaeC71RiTiGBLF0que\nZJ/vMNcGORYJngnbgagEn6b3lfaYS/7D4ntu887VeiyZLavL7aNKRCGtBKOA\neB2u\r\n=zjJ8\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC+9IqRpK3+w0Ajwx15BWBGjsIp8EvOH9NRPBeW2qpYbwIhAL2ZMxw/Ei7C/s9UNGuaehbKlfLcCwAmkaxJ5zSf3ywg"}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"},{"email":"bernd@brainbot.com","name":"trustlines-deploy"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.3.1-0-dev.20190327T115420Z.e34adb5.develop_1553688132245_0.11701675818014778"},"_hasShrinkwrap":false},"0.3.1-0-dev.20190327T174347Z.98ce77e.develop":{"name":"trustlines-clientlib","version":"0.3.1-0-dev.20190327T174347Z.98ce77e.develop","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"typedoc --options tdconfig.json","lint":"tslint -c tslint.json './src/**/**.ts' './tests/**/**.ts'","prettier":"prettier --write './{src,tests}/**/*.ts'","prettier:check":"prettier --check './{src,tests}/**/*.ts'","prettier:big-tabs":"prettier --write --print-width 120 --no-semi --single-quote --tab-width 4  './{src,tests}/**/*.ts'","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","coverage":"nyc report --reporter=text-lcov > coverage.lcov && codecov","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump":"./bump.sh"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{ts,js,json,css,md}":["prettier --write","git add"]},"nyc":{"extension":[".ts"],"include":["src"],"reporter":["text"],"all":true},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.5.2","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","codecov":"^3.1.0","es6-promise":"^4.1.1","fetch-mock":"^7.2.5","fluid-publish":"^2.2.0","husky":"^1.1.4","isomorphic-fetch":"^2.2.1","lint-staged":"^8.0.4","mocha":"^5.2.0","nyc":"^13.1.0","prettier":"^1.15.2","ts-node":"^7.0.0","tslint":"^5.10.0","tslint-config-prettier":"^1.16.0","tslint-config-standard":"^7.1.0","typedoc":"^0.11.1","types-ethereumjs-util":"0.0.8","typescript":"^2.9.2","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"bignumber.js":"7.2.1","ethereumjs-util":"^5.2.0","ethers":"^4.0.23","html5-websocket":"^2.0.2","reconnecting-websocket":"^3.0.7","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","trustlines-contracts-abi":"dev"},"readme":"# trustlines-network clientlib\n\n[![npm](https://img.shields.io/npm/v/trustlines-clientlib.svg)](https://www.npmjs.com/package/trustlines-clientlib)\n[![Travis (.org) branch](https://img.shields.io/travis/trustlines-network/clientlib/develop.svg)](https://travis-ci.org/trustlines-network/clientlib)\n[![Codecov branch](https://img.shields.io/codecov/c/github/trustlines-network/clientlib/develop.svg)](https://codecov.io/gh/trustlines-network/clientlib)\n\nA TypeScript/Javascript library for interacting with the [trustlines-network protocol](https://trustlines.network/).\n\n## Read the [Documentation](https://trustlines-network.github.io/clientlib-docs/)\n\n## Installation\n\nInstall the library using `npm` or `yarn`\n\n```bash\n$ npm install trustlines-clientlib\n// OR\n$ yarn add trustlines-clientlib\n```\n\n#### Import ES6 module\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n```\n\nUse the following configuration to connect to the currently deployed test setup.\n\n**NOTE: The [trustlines-network contracts](https://github.com/trustlines-network/contracts) are deployed on the Kovan testnet. Some Kovan Test ETH is therefore required to interact with the contracts in this setup.**\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n\nconst config = {\n  protocol: 'https',\n  host: 'relay0.testnet.trustlines.network',\n  path: 'api/v1/'\n}\n\nconst tlNetwork = new TLNetwork(config)\n```\n\n## Example\n\nThis library is a promise-based library. So every asynchronous call will return a native Javascript promise. If an error occurs the library will throw it. The caller has to handle it appropriately.\n\n```javascript\ntry {\n  const networks = await tlNetwork.currencyNetwokr.getAll()\n} catch (error) {\n  console.log('Caught error:', error)\n}\n```\n","readmeFilename":"README.md","gitHead":"98ce77e3f08aa0cbc03f291d2ce8badab36ae942","_id":"trustlines-clientlib@0.3.1-0-dev.20190327T174347Z.98ce77e.develop","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"trustlines-deploy","email":"bernd@brainbot.com"},"dist":{"integrity":"sha512-/rXDRw2Py6N/HRLumJWnND45Mh3esONGYVAg2n3fR44E6ijaNnshgis1wtY9n/rKgmfGNgHkSlkTbDhC6s25IA==","shasum":"070a5ce5d6ec4d6b5d98010a57d39b30a2d83f8e","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.3.1-0-dev.20190327T174347Z.98ce77e.develop.tgz","fileCount":64,"unpackedSize":347391,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcm7hiCRA9TVsSAnZWagAA1IYP/3v86mAouqOH9rtPT+VD\n0TdnCdlA0UoQU6mkNDEc3a2Bjgc5cxq4WyFytJ4pL6ZB739SufwRuu7yzPkJ\nadltGbU8gnX6zbeHH38dHzpbK+mvzf+8ZisXnoz1uNi7IXYN1c9pgVNVFHwp\nn8seklFNs5Bh6/AJ9P2fSpup06cE6DNRtxwmFAeFkMYu8LtSrj+uew4/ZCC3\nDakKKyI5CBwdn6B7NHPYqH52r6Ui3e8sR/N4B+An7Ks5vRWvckZxmuJ+5xCl\n7Y+/7nLeWxOR7orBfWrxbrwF2bfGV/AcB3FUniRAOSPaEF4o1WULSMj9qF5i\nEqmFIF50b+UlbY3l+bGwskmEkQXH1zUpLLnLUgDzqT9t6vG/kMNWkYzhFgg0\nqB2OSJN/CJv4/TtPjpGX/MvMK45D5bM7dRfgNr6jMwX6DtzaXafChAIuzbo/\nR8Z+XJtfFmE9EiHhPDVxT4ue2XVUvRUYqJPGFYk6e2ByFKDEdEZ3/0+OnFDz\nk/J07BSYhjF/il6xR2ZY/R51TT4WyFl2T/5SEPiZAcWND91X6AXtaHivaVax\neQIgw7IVEFJSqQWLPTKatdOGCMEIoUN5ENV8hFIggrsXKnjGZV590fTOdg0K\nV5g60ejJLpo/LrIMY+LhSXfZRU+F/wJ3PKdfCPYPJIFHqA3ZZNjCZruVucNK\nlQiC\r\n=L3jB\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDdnpSOCImRAivVW33kTPRlQ4qmmuV51k9hazKqO2DJHQIhAOb5i3vCRmjSj7tNnJHHgbhPu423EJIP3ZVSXV0p4/3h"}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"},{"email":"bernd@brainbot.com","name":"trustlines-deploy"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.3.1-0-dev.20190327T174347Z.98ce77e.develop_1553709153446_0.7411637243689062"},"_hasShrinkwrap":false},"0.3.1-0-dev.20190329T154941Z.f1b6bfa.develop":{"name":"trustlines-clientlib","version":"0.3.1-0-dev.20190329T154941Z.f1b6bfa.develop","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"typedoc --options tdconfig.json","lint":"tslint -c tslint.json './src/**/**.ts' './tests/**/**.ts'","prettier":"prettier --write './{src,tests}/**/*.ts'","prettier:check":"prettier --check './{src,tests}/**/*.ts'","prettier:big-tabs":"prettier --write --print-width 120 --no-semi --single-quote --tab-width 4  './{src,tests}/**/*.ts'","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","coverage":"nyc report --reporter=text-lcov > coverage.lcov && codecov","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump":"./bump.sh"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{ts,js,json,css,md}":["prettier --write","git add"]},"nyc":{"extension":[".ts"],"include":["src"],"reporter":["text"],"all":true},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.5.2","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","codecov":"^3.1.0","es6-promise":"^4.1.1","fetch-mock":"^7.2.5","fluid-publish":"^2.2.0","husky":"^1.1.4","isomorphic-fetch":"^2.2.1","lint-staged":"^8.0.4","mocha":"^5.2.0","nyc":"^13.1.0","prettier":"^1.15.2","ts-node":"^7.0.0","tslint":"^5.10.0","tslint-config-prettier":"^1.16.0","tslint-config-standard":"^7.1.0","typedoc":"^0.11.1","types-ethereumjs-util":"0.0.8","typescript":"^2.9.2","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"bignumber.js":"7.2.1","ethereumjs-util":"^5.2.0","ethers":"^4.0.23","html5-websocket":"^2.0.2","reconnecting-websocket":"^3.0.7","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","trustlines-contracts-abi":"dev"},"readme":"# trustlines-network clientlib\n\n[![npm](https://img.shields.io/npm/v/trustlines-clientlib.svg)](https://www.npmjs.com/package/trustlines-clientlib)\n[![Travis (.org) branch](https://img.shields.io/travis/trustlines-network/clientlib/develop.svg)](https://travis-ci.org/trustlines-network/clientlib)\n[![Codecov branch](https://img.shields.io/codecov/c/github/trustlines-network/clientlib/develop.svg)](https://codecov.io/gh/trustlines-network/clientlib)\n\nA TypeScript/Javascript library for interacting with the [trustlines-network protocol](https://trustlines.network/).\n\n## Read the [Documentation](https://trustlines-network.github.io/clientlib-docs/)\n\n## Installation\n\nInstall the library using `npm` or `yarn`\n\n```bash\n$ npm install trustlines-clientlib\n// OR\n$ yarn add trustlines-clientlib\n```\n\n#### Import ES6 module\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n```\n\nUse the following configuration to connect to the currently deployed test setup.\n\n**NOTE: The [trustlines-network contracts](https://github.com/trustlines-network/contracts) are deployed on the Kovan testnet. Some Kovan Test ETH is therefore required to interact with the contracts in this setup.**\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n\nconst tlNetworkConfig = {\n  protocol: 'https',\n  host: 'relay0.testnet.trustlines.network',\n  path: 'api/v1/'\n}\n\nconst tlNetwork = new TLNetwork(tlNetworkConfig)\n```\n\n## Example\n\nThis library is a promise-based library. So every asynchronous call will return a native Javascript promise. If an error occurs the library will throw it. The caller has to handle it appropriately.\n\n```javascript\ntry {\n  const networks = await tlNetwork.currencyNetwokr.getAll()\n} catch (error) {\n  console.log('Caught error:', error)\n}\n```\n","readmeFilename":"README.md","gitHead":"f1b6bfad6cd9039cad1c7c7c403be08b86a9c272","_id":"trustlines-clientlib@0.3.1-0-dev.20190329T154941Z.f1b6bfa.develop","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"trustlines-deploy","email":"bernd@brainbot.com"},"dist":{"integrity":"sha512-yqOuZn2GHhZLyNhjcpiJKv8eSo6i/h7bUdECwVRRjAyZFIQFc93UFyEK8mBD2qx71DKT7q0aT+8H+dWQxKPWzw==","shasum":"bf140edf2cbab49c2f736f576af41027a2a53c5f","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.3.1-0-dev.20190329T154941Z.f1b6bfa.develop.tgz","fileCount":64,"unpackedSize":353662,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcnkE7CRA9TVsSAnZWagAAVSwP/3EEdXfnVWKisIRDu8XZ\nqP5x2jfbe4OJszbOV5HRGqTEMzXgtOFx63WgNkikEpeQiXm1taYZBlBjYsMZ\noqyvgvEbqpDGclESQbc+N26q/cRoDqSYu703ncJDQmPXs4/bnTnCVbBWCrbc\nFteFUWsVZKelo2bdnHrROoWHp6mqotFiJE4GXz+oTsiyFoyBa/Tp93mgDp3e\nbX7A0DtNaXKQI4RBZowZHeocQo7el6PXH1BcUXXkPTPTnY8L3NqeCLKejfcB\nkzWb0vg77FQeisaFobZAJqDpuLhhu1oWGL1JFSU7iGoSHoDe8FHop6V9ZOti\nt5nUglh4M72nGWuGdlg5oWZcIjTwP0iL3O9BW/uBiCyWkv6iN6rt1UVYfQEH\npokHKYKCpGTUi2WYs9GZ9Nadf6pf1ILMHI6nsA75o21ILyhc4RA0l0VUAR2I\n1xgXoYlJ+C+EfglHP5+RPGA423w5ExjvAVYEIWnfkHg3Ci/+MAqqdhqH3/sc\nQPAkNL+at6J1KfWyoIXO6gRsOz+8ABufP/B6C26MG4AjVJTFaHqxUcf/UQn/\nciiRREQ778Hp8th3k1Ar9douJWJyYujICZEOFWGXbVURVh5xrlzIbr8cUZf2\nEACsj/8SmNByYqLXUXxHscUXoJsiQYJBdTZXc6Ke6ceLtkt6ABdIlIF6b5sQ\nNqKw\r\n=YLts\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDQBwYMb2za8wDyV4M6Dl8KUINjmlZUKMSEvKQ0f0In2wIhAJeULUqn92abzKuZsDHJ/S+yd18ralg6pBiaU8MhxDdc"}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"},{"email":"bernd@brainbot.com","name":"trustlines-deploy"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.3.1-0-dev.20190329T154941Z.f1b6bfa.develop_1553875258735_0.5469366087209655"},"_hasShrinkwrap":false},"0.3.1-0-dev.20190401T152935Z.be0e3de.develop":{"name":"trustlines-clientlib","version":"0.3.1-0-dev.20190401T152935Z.be0e3de.develop","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"typedoc --options tdconfig.json","lint":"tslint -c tslint.json './src/**/**.ts' './tests/**/**.ts'","prettier":"prettier --write './{src,tests}/**/*.ts'","prettier:check":"prettier --check './{src,tests}/**/*.ts'","prettier:big-tabs":"prettier --write --print-width 120 --no-semi --single-quote --tab-width 4  './{src,tests}/**/*.ts'","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","coverage":"nyc report --reporter=text-lcov > coverage.lcov && codecov","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump":"./bump.sh"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{ts,js,json,css,md}":["prettier --write","git add"],"*.ts":["tslint -c tslint.json --fix","git add"]},"nyc":{"extension":[".ts"],"include":["src"],"reporter":["text"],"all":true},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.5.2","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","codecov":"^3.1.0","es6-promise":"^4.1.1","fetch-mock":"^7.2.5","fluid-publish":"^2.2.0","husky":"^1.1.4","isomorphic-fetch":"^2.2.1","lint-staged":"^8.0.4","mocha":"^5.2.0","nyc":"^13.1.0","prettier":"^1.15.2","ts-node":"^7.0.0","tslint":"^5.10.0","tslint-config-prettier":"^1.16.0","tslint-config-standard":"^7.1.0","typedoc":"^0.11.1","types-ethereumjs-util":"0.0.8","typescript":"^2.9.2","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"bignumber.js":"7.2.1","ethereumjs-util":"^5.2.0","ethers":"^4.0.23","html5-websocket":"^2.0.2","reconnecting-websocket":"^3.0.7","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","trustlines-contracts-abi":"dev"},"readme":"# trustlines-network clientlib\n\n[![npm](https://img.shields.io/npm/v/trustlines-clientlib.svg)](https://www.npmjs.com/package/trustlines-clientlib)\n[![Travis (.org) branch](https://img.shields.io/travis/trustlines-network/clientlib/develop.svg)](https://travis-ci.org/trustlines-network/clientlib)\n[![Codecov branch](https://img.shields.io/codecov/c/github/trustlines-network/clientlib/develop.svg)](https://codecov.io/gh/trustlines-network/clientlib)\n\nA TypeScript/Javascript library for interacting with the [trustlines-network protocol](https://trustlines.network/).\n\n## Read the [Documentation](https://trustlines-network.github.io/clientlib-docs/)\n\n## Installation\n\nInstall the library using `npm` or `yarn`\n\n```bash\n$ npm install trustlines-clientlib\n// OR\n$ yarn add trustlines-clientlib\n```\n\n#### Import ES6 module\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n```\n\nUse the following configuration to connect to the currently deployed test setup.\n\n**NOTE: The [trustlines-network contracts](https://github.com/trustlines-network/contracts) are deployed on the Kovan testnet. Some Kovan Test ETH is therefore required to interact with the contracts in this setup.**\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n\nconst tlNetworkConfig = {\n  protocol: 'https',\n  host: 'relay0.testnet.trustlines.network',\n  path: 'api/v1/'\n}\n\nconst tlNetwork = new TLNetwork(tlNetworkConfig)\n```\n\n## Example\n\nThis library is a promise-based library. So every asynchronous call will return a native Javascript promise. If an error occurs the library will throw it. The caller has to handle it appropriately.\n\n```javascript\ntry {\n  const networks = await tlNetwork.currencyNetwokr.getAll()\n} catch (error) {\n  console.log('Caught error:', error)\n}\n```\n","readmeFilename":"README.md","gitHead":"be0e3de00056babf7f50db64d2835199997795bf","_id":"trustlines-clientlib@0.3.1-0-dev.20190401T152935Z.be0e3de.develop","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"trustlines-deploy","email":"bernd@brainbot.com"},"dist":{"integrity":"sha512-kDJpLLrtj94qysI1jRcTylVQn8K7mqzLUlGMz2MKgHVWdCf6jA+VYDKTxL5E42VnVadR9Ip73d/MJ7rYv8CG3Q==","shasum":"066bbf02d7fcf33f6d5218a39f15a2fc8544971f","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.3.1-0-dev.20190401T152935Z.be0e3de.develop.tgz","fileCount":64,"unpackedSize":353691,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcojDcCRA9TVsSAnZWagAAResQAITkmWjsOWEwCnEury3u\n5z1I0vqhKzCMEMYIhqHwUL+5F7b5cRhG/x7NbRWbFAIP7+l1jY6lRxj0IiyN\nBXYX88avqaodIz9vW81FZme3p+RySLRD45AJLZDsdP8DABbmQbZ2RSMuOJyf\nyUIGhOrCTSMeZ1cO1pmWNmQ1IedD29VHfKt7TOR1GpGynYJj4KucrgcSOi1w\npJOq0/GI6oM4xwxyGYF+jrdZl3oZKWJ4gi705kvc6JzjXY7ND1kJGXX+Oqg4\nIVfsL5jHiE78+qTpABEKyHewwROhnvdSLKwkYY4+pHjO7wlL2u1Fuwn6uG0o\nqal32PCeV/U1VlaJuGBhSz16kDVnVAWfaFRkzgvwYLfhVECpTnp3mH4rw7/2\nlRe4IDJhNvP6EHg00T7VvoseDozjzSONLhPVe+kiJHqDYIAja42ERe/ir4zP\nqMfEkHlR1Ixd4olXdG4+Y6oS+4/Mas7Ir9X+3c7uXTGxt3HTyQtS/G188+Mo\nbVwGkGP1K15kXj5MoW3aPLuOkssKu05u1bIKWdLuFHuPRFkC8cD8S5JhiHVN\nSOSqsCQvcGbfc0MYnoJay+OGwz6ILvzUbQ+G5ysdNY7l7zdq9Crh+Kd76SD7\nQnd1FlKBhRVfjjPvSK0Wa5inl6vzzITlcAlbFLP8zbComDMWd7ptMJ0CuY0w\nEMyO\r\n=4D5h\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDlygQTCEL7R/vo/jzOXVqrmC97ZsMiJ3Xv5FX2Eu6+dQIgRzeDhvSi0KI4+jn4KhqZp1PD1MaxnKuIzCylY+g2R+0="}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"},{"email":"bernd@brainbot.com","name":"trustlines-deploy"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.3.1-0-dev.20190401T152935Z.be0e3de.develop_1554133211453_0.3882088264106056"},"_hasShrinkwrap":false},"0.3.1-0-dev.20190403T073929Z.4d933ad.develop":{"name":"trustlines-clientlib","version":"0.3.1-0-dev.20190403T073929Z.4d933ad.develop","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"typedoc --options tdconfig.json","lint":"tslint -c tslint.json './src/**/**.ts' './tests/**/**.ts'","prettier":"prettier --write './{src,tests}/**/*.ts'","prettier:check":"prettier --check './{src,tests}/**/*.ts'","prettier:big-tabs":"prettier --write --print-width 120 --no-semi --single-quote --tab-width 4  './{src,tests}/**/*.ts'","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","coverage":"nyc report --reporter=text-lcov > coverage.lcov && codecov","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump":"./bump.sh","serve":"webpack && cp -r ./_bundles ./examples/injected-web3 && http-server ./examples/injected-web3"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{ts,js,json,css,md}":["prettier --write","git add"],"*.ts":["tslint -c tslint.json --fix","git add"]},"nyc":{"extension":[".ts"],"include":["src"],"reporter":["text"],"all":true},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.5.2","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","codecov":"^3.1.0","es6-promise":"^4.1.1","fetch-mock":"^7.2.5","fluid-publish":"^2.2.0","http-server":"^0.11.1","husky":"^1.1.4","isomorphic-fetch":"^2.2.1","lint-staged":"^8.0.4","mocha":"^5.2.0","nyc":"^13.1.0","prettier":"^1.15.2","ts-node":"^7.0.0","tslint":"^5.10.0","tslint-config-prettier":"^1.16.0","tslint-config-standard":"^7.1.0","typedoc":"^0.11.1","types-ethereumjs-util":"0.0.8","typescript":"^2.9.2","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"bignumber.js":"7.2.1","ethereumjs-util":"^5.2.0","ethers":"^4.0.23","html5-websocket":"^2.0.2","reconnecting-websocket":"^3.0.7","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","trustlines-contracts-abi":"dev"},"readme":"# trustlines-network clientlib\n\n[![npm](https://img.shields.io/npm/v/trustlines-clientlib.svg)](https://www.npmjs.com/package/trustlines-clientlib)\n[![Travis (.org) branch](https://img.shields.io/travis/trustlines-network/clientlib/develop.svg)](https://travis-ci.org/trustlines-network/clientlib)\n[![Codecov branch](https://img.shields.io/codecov/c/github/trustlines-network/clientlib/develop.svg)](https://codecov.io/gh/trustlines-network/clientlib)\n\nA TypeScript/Javascript library for interacting with the [trustlines-network protocol](https://trustlines.network/).\n\n## Read the [Documentation](https://trustlines-network.github.io/clientlib-docs/)\n\n## Installation\n\nInstall the library using `npm` or `yarn`\n\n```bash\n$ npm install trustlines-clientlib\n// OR\n$ yarn add trustlines-clientlib\n```\n\n#### Import ES6 module\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n```\n\nUse the following configuration to connect to the currently deployed test setup.\n\n**NOTE: The [trustlines-network contracts](https://github.com/trustlines-network/contracts) are deployed on the Kovan testnet. Some Kovan Test ETH is therefore required to interact with the contracts in this setup.**\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n\nconst tlNetworkConfig = {\n  protocol: 'https',\n  host: 'relay0.testnet.trustlines.network',\n  path: 'api/v1/'\n}\n\nconst tlNetwork = new TLNetwork(tlNetworkConfig)\n```\n\n## Example\n\nThis library is a promise-based library. So every asynchronous call will return a native Javascript promise. If an error occurs the library will throw it. The caller has to handle it appropriately.\n\n```javascript\ntry {\n  const networks = await tlNetwork.currencyNetwokr.getAll()\n} catch (error) {\n  console.log('Caught error:', error)\n}\n```\n\n## Running injected web3 example\n\nTo run the example make sure to have [MetaMask](https://metamask.io/) installed and connected to a JSON RPC.\n\n```bash\nyarn serve\n```\n\nThis serves the injected web3 example app on `http://127.0.0.1:8080`. You can find the app under `./examples/injected-web3`.\n","readmeFilename":"README.md","gitHead":"4d933ad2ca21bae63d4441f435d275630a35b2bf","_id":"trustlines-clientlib@0.3.1-0-dev.20190403T073929Z.4d933ad.develop","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"trustlines-deploy","email":"bernd@brainbot.com"},"dist":{"integrity":"sha512-GgE/Y+JWv4uLtcOd5973EwEQU5LH+AqkJbU9Im5g+jQjw7swL6KlVZIHeOYIWQVzihWVSFl6ExZieUpjOgU5Qw==","shasum":"e0d71628061a19fa330cd9dc3b691c50b0f04ba2","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.3.1-0-dev.20190403T073929Z.4d933ad.develop.tgz","fileCount":65,"unpackedSize":370472,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcpGWCCRA9TVsSAnZWagAAQz0P/2BvWh241BnFe8g+aZzY\nsbmTbYDsejugWSvklaPv9ai3m4hZQyLM5/0oBSZe8LkVrQw/VXri8AHHTsSK\n+byWFlGs2WFdF3aWYf8XgOslauhppkkWjm+WpwPW+kN8jSkZHJCpqMKckAvR\nLqw9s1jQZtmhzAx4ktakQvqILI7Hv/5RLOD6/zT9Od8v4bpNDmUv9kXwZiub\n+1Bc/bXK7VYsEM5/2XrJy6ux8rmeQUY6a4BJhqHYhQ5O60MErsjbQ1OrSOcC\nknMCkOLa63V/PoFhXi8Mhzr0vyXnS46feSN8JJkMBOP4qPDpxksc2gf6fPQd\nnggfN47DkOLjesoqftpbqIx3iB+pFVonwZK7NkmtvcNo15cB7IsljVujy0RP\nX1boB5PqbDlfkcpMHF7xutvkv8hW+8T4rzlVHoOk5EIyLH4Nw9s0IcwRcmZ/\nPGs0EGHLGBgCg35+5mqdRbYPfxtMot7ADqg2wIVfEZeGBdpeCK7y55AJWfeG\nC7ec4loPg2w7K2vcWOCp92ov/Pwg0u77OctlgzLiFFJqxkUrFbKeDbuFpGSE\nGI09WW5vwfuaaR5S7cn14CN2AxvlleKFVyo3Ogyty6wpwGfwv18assDOhLu9\nc4cZ3o80xju3coXA+UB9IJS2HAyfeQMRwO+ciMjvf3w5Pv2yGeh0OvsHbklA\nheDe\r\n=vtTd\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFthiuwB2h9gyG/KwfAAGrOcksdVAgrEt/s71Q+d969VAiApAxpK2XLYO745wRwYZlbKw2EOMQHfwI52Ec2wvucNjg=="}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"},{"email":"bernd@brainbot.com","name":"trustlines-deploy"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.3.1-0-dev.20190403T073929Z.4d933ad.develop_1554277761614_0.08452225827002735"},"_hasShrinkwrap":false},"0.4.0":{"name":"trustlines-clientlib","version":"0.4.0","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"typedoc --options tdconfig.json","lint":"tslint -c tslint.json './src/**/**.ts' './tests/**/**.ts'","prettier":"prettier --write './{src,tests}/**/*.ts'","prettier:check":"prettier --check './{src,tests}/**/*.ts'","prettier:big-tabs":"prettier --write --print-width 120 --no-semi --single-quote --tab-width 4  './{src,tests}/**/*.ts'","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","coverage":"nyc report --reporter=text-lcov > coverage.lcov && codecov","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump":"./bump.sh","serve":"webpack && cp -r ./_bundles ./examples/injected-web3 && http-server ./examples/injected-web3"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{ts,js,json,css,md}":["prettier --write","git add"],"*.ts":["tslint -c tslint.json --fix","git add"]},"nyc":{"extension":[".ts"],"include":["src"],"reporter":["text"],"all":true},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.5.2","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","codecov":"^3.1.0","es6-promise":"^4.1.1","fetch-mock":"^7.2.5","fluid-publish":"^2.2.0","http-server":"^0.11.1","husky":"^1.1.4","isomorphic-fetch":"^2.2.1","lint-staged":"^8.0.4","mocha":"^5.2.0","nyc":"^13.1.0","prettier":"^1.15.2","ts-node":"^7.0.0","tslint":"^5.10.0","tslint-config-prettier":"^1.16.0","tslint-config-standard":"^7.1.0","typedoc":"^0.11.1","types-ethereumjs-util":"0.0.8","typescript":"^2.9.2","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"bignumber.js":"7.2.1","ethereumjs-util":"^5.2.0","ethers":"^4.0.23","html5-websocket":"^2.0.2","reconnecting-websocket":"^3.0.7","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","trustlines-contracts-abi":"dev"},"licenseText":"MIT License\n\nCopyright (c) 2017 Trustlines Network\nCopyright (c) 2019 Trustlines Foundation\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"trustlines-clientlib@0.4.0","dist":{"shasum":"321933a181155d0c71cc04d5b1bbd9042c8ff85c","integrity":"sha512-CewY3Ws07l4dEK/tTOzdv6KK07wOGVcSaGkLiTMjhVuns89dNCxYK/1+dv5Ey0GIDVYx0lQzLXVfsBAgvmlopw==","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.4.0.tgz","fileCount":72,"unpackedSize":371868,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcsFNGCRA9TVsSAnZWagAAh8QP/07lRIrFkYyUaCbqCeMH\n/KCbO692+WPJgf7ceO9sC5diPyiWHX+fE7zNM7KdoWPFBLKEx1IhJxRVaFCN\nMtfPYBXKZUhUQ5zkFcecUekaapPAXEJzDS7XEj/NKC9Jzy9vuNAGtsTY9ydy\nAnNrFbZoix6bxHZCzXid2c8W2mVPZDwgMuUaT5uwG3l5LsOzGpbRxRImXYNA\nZ8T4sEYZvwAKf57Z5S5lKVr/HQwIHp5uxj2lBPlWTut8mSqZrQmdRAL0Xju7\nPsd2A2y2LDNITBYXqGPbfbhjkEc1ipB+FnaMHczBtoIKaltQJrCNiRarg0ZZ\nBQej6QlDkj1irrhCgG7wbTn6EPCoV7yTP78wU19cMCDmxlBJ4/dPHgQi3bFm\nSJUplhUs8h4QZRIGHx4c/WPorsXW0QEhy6npZqrT9kiqXu6BjKsrQngQ+PdS\nflk3zo6qNWwrMPpGzQm9p3IJ82vy6xDmKLud6DmV8WA5uoZmbRr7f+uVKEnf\nm43L2CHfFf+eavI9479FBLbLIMLbW/Yy5Hi4quGeX3LM7bgAb/kOqWi3umk+\nJmjHya79AdRTqUqEpXNsED1onAWZma7DWr0cYSU1bXITmi10Qvz4ogzxNJYN\nGlO3CDydA5a/s4sZsUoP37Bw9ZfW3Y8V5Z9oEGfOERd8ToVb9mcJwDudeQ+R\nyfpk\r\n=KFcg\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIG9da0H4ysdgdAqUsNERKcy6kwU/BzSOa6qap4md3MQrAiEAlrrcMVBwY3txolpx9WuQqAOJoUABvgmqo8eHC1bjMfk="}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"},{"email":"bernd@brainbot.com","name":"trustlines-deploy"}],"_npmUser":{"name":"trustlines-deploy","email":"bernd@brainbot.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.4.0_1555059525267_0.4621257523600597"},"_hasShrinkwrap":false,"deprecated":"Package was moved to the @trustlines organisation. Intall latest version with npm install @trustlines/trustlines-clientlib"},"0.4.1-0-dev.20190417T143405Z.07adc8d":{"name":"trustlines-clientlib","version":"0.4.1-0-dev.20190417T143405Z.07adc8d","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"typedoc --options tdconfig.json","lint":"tslint -c tslint.json './src/**/**.ts' './tests/**/**.ts'","prettier":"prettier --write './{src,tests}/**/*.ts'","prettier:check":"prettier --check './{src,tests}/**/*.ts'","prettier:big-tabs":"prettier --write --print-width 120 --no-semi --single-quote --tab-width 4  './{src,tests}/**/*.ts'","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","coverage":"nyc report --reporter=text-lcov > coverage.lcov && codecov","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump":"./bump.sh","serve":"webpack && cp -r ./_bundles ./examples/injected-web3 && http-server ./examples/injected-web3"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{ts,js,json,css,md}":["prettier --write","git add"],"*.ts":["tslint -c tslint.json --fix","git add"]},"nyc":{"extension":[".ts"],"include":["src"],"reporter":["text"],"all":true},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.5.2","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","codecov":"^3.1.0","es6-promise":"^4.1.1","fetch-mock":"^7.2.5","fluid-publish":"^2.2.0","http-server":"^0.11.1","husky":"^1.1.4","isomorphic-fetch":"^2.2.1","lint-staged":"^8.0.4","mocha":"^5.2.0","nyc":"^13.1.0","prettier":"^1.15.2","ts-node":"^7.0.0","tslint":"^5.10.0","tslint-config-prettier":"^1.16.0","tslint-config-standard":"^7.1.0","typedoc":"^0.11.1","types-ethereumjs-util":"0.0.8","typescript":"^2.9.2","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"bignumber.js":"7.2.1","ethereumjs-util":"^5.2.0","ethers":"^4.0.23","html5-websocket":"^2.0.2","reconnecting-websocket":"^3.0.7","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","trustlines-contracts-abi":"dev"},"readme":"# trustlines-network clientlib\n\n[![npm](https://img.shields.io/npm/v/trustlines-clientlib.svg)](https://www.npmjs.com/package/trustlines-clientlib)\n[![CircleCI branch](https://img.shields.io/circleci/project/github/trustlines-protocol/clientlib/master.svg)](https://circleci.com/gh/trustlines-protocol/clientlib)\n[![Codecov branch](https://img.shields.io/codecov/c/github/trustlines-protocol/clientlib/master.svg)](https://codecov.io/gh/trustlines-protocol/clientlib)\n\nA TypeScript/Javascript library for interacting with the [trustlines-network protocol](https://trustlines.network/).\n\n## Read the [Documentation](https://trustlines-network.github.io/clientlib-docs/)\n\n## Installation\n\nInstall the library using `npm` or `yarn`\n\n```bash\n$ npm install trustlines-clientlib\n// OR\n$ yarn add trustlines-clientlib\n```\n\n#### Import ES6 module\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n```\n\nUse the following configuration to connect to the currently deployed test setup.\n\n**NOTE: The [trustlines-network contracts](https://github.com/trustlines-network/contracts) are deployed on the Kovan testnet. Some Kovan Test ETH is therefore required to interact with the contracts in this setup.**\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n\nconst tlNetworkConfig = {\n  protocol: 'https',\n  host: 'relay0.testnet.trustlines.network',\n  path: 'api/v1/'\n}\n\nconst tlNetwork = new TLNetwork(tlNetworkConfig)\n```\n\n## Example\n\nThis library is a promise-based library. So every asynchronous call will return a native Javascript promise. If an error occurs the library will throw it. The caller has to handle it appropriately.\n\n```javascript\ntry {\n  const networks = await tlNetwork.currencyNetwokr.getAll()\n} catch (error) {\n  console.log('Caught error:', error)\n}\n```\n\n## Running injected web3 example\n\nTo run the example make sure to have [MetaMask](https://metamask.io/) installed and connected to a JSON RPC.\n\n```bash\nyarn serve\n```\n\nThis serves the injected web3 example app on `http://127.0.0.1:8080`. You can find the app under `./examples/injected-web3`.\n","readmeFilename":"README.md","gitHead":"07adc8d7997a1b1266b358d84dda9410e83c30f0","_id":"trustlines-clientlib@0.4.1-0-dev.20190417T143405Z.07adc8d","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"trustlines-deploy","email":"bernd@brainbot.com"},"dist":{"integrity":"sha512-so/Zkdrn9tedU4Prmhpxg32BgxTfTwjCVxiRTJWubbeKPP24zbyOPM+Z00Cvdcb7OXeszJk6rz27zHBrMtknEA==","shasum":"977c786cacfde843cc3970637511e46f7f7266fa","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.4.1-0-dev.20190417T143405Z.07adc8d.tgz","fileCount":65,"unpackedSize":371899,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJctzvrCRA9TVsSAnZWagAA0QEP/iZGNw2V8rlLvqnZbqGF\n7q+smz1Lm7+vRIVpVl+8IbjhKO3Pp3EfsDPgp5UHBHroFd/bt5DLPNsCjwTb\n6sdK1FUMsWL+Gt3IJWDJOVRJfYGdTlUTdhYOncUrkkjP1rVr0LliaxqDWtBE\nQhaFUCemhy0lu0pxxH5z7h5/wXZYiQWhK9ueBxur1PE/EYYmXKCsCqW/TXrI\n4Y+fOKBZH99BJ2L3SScTu0mah+pvVoertP6Rn1BZMvuAz3eQbG5ezjHuhPUk\nVfUWpORxqezXHs1RkvcS6ZCVZKu8+NvjxNSheWImSzPKFIxaMl3xDcXpdOpM\nhE4YXFqRpT2wAoaJMRqrIkMBd1X/qDvBCMzL1PLQCGOGt6EOU1ALO/8O+CcB\nizuM0+uYBiaei2t3xyBTP23ELZq8CJBEyu3mi9GHKMMArh9HtQobIk1j1Blh\nea5h9ZHV5SUi6oGAn3XfHR8XNGrKidRXWx5mFxq4YQRFt1sJXxVihFIAqndd\nn8RIDV1IpZ5xUwXE4hrUiSTZnxhxYJe96sD2BJtaEoFhyTBuNrGdzdY5fnhi\nO/oZJkd3VipV/aMvbgHz1eDkjgDBb7BXo9Y4+YToJkQXfvikLwmk5/WWTd3H\nN+cA4m0ckwgGBjRm+EORd98xTK1r7QHR3IaSNsFLqhO3ppa8RjNhTjgy9lKp\nylxz\r\n=h/fg\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCatPpegwAHjLT7bSJn1SaJe4qwY9adc399gbHn6H9cVgIhAKN0WRcwPU1yY16P0UhSsQRIWlRaH86HvWHtDTVNadYV"}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"},{"email":"bernd@brainbot.com","name":"trustlines-deploy"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.4.1-0-dev.20190417T143405Z.07adc8d_1555512298749_0.44591753856734817"},"_hasShrinkwrap":false},"0.4.1":{"name":"trustlines-clientlib","version":"0.4.1","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"typedoc --options tdconfig.json","lint":"tslint -c tslint.json './src/**/**.ts' './tests/**/**.ts'","prettier":"prettier --write './{src,tests}/**/*.ts'","prettier:check":"prettier --check './{src,tests}/**/*.ts'","prettier:big-tabs":"prettier --write --print-width 120 --no-semi --single-quote --tab-width 4  './{src,tests}/**/*.ts'","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","coverage":"nyc report --reporter=text-lcov > coverage.lcov && codecov","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump":"./bump.sh","serve":"webpack && cp -r ./_bundles ./examples/injected-web3 && http-server ./examples/injected-web3"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{ts,js,json,css,md}":["prettier --write","git add"],"*.ts":["tslint -c tslint.json --fix","git add"]},"nyc":{"extension":[".ts"],"include":["src"],"reporter":["text"],"all":true},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.5.2","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","codecov":"^3.1.0","es6-promise":"^4.1.1","fetch-mock":"^7.2.5","fluid-publish":"^2.2.0","http-server":"^0.11.1","husky":"^1.1.4","isomorphic-fetch":"^2.2.1","lint-staged":"^8.0.4","mocha":"^5.2.0","nyc":"^13.1.0","prettier":"^1.15.2","ts-node":"^7.0.0","tslint":"^5.10.0","tslint-config-prettier":"^1.16.0","tslint-config-standard":"^7.1.0","typedoc":"^0.11.1","types-ethereumjs-util":"0.0.8","typescript":"^2.9.2","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"bignumber.js":"7.2.1","ethereumjs-util":"^5.2.0","ethers":"^4.0.23","html5-websocket":"^2.0.2","reconnecting-websocket":"^3.0.7","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","trustlines-contracts-abi":"dev"},"licenseText":"MIT License\n\nCopyright (c) 2017 Trustlines Network\nCopyright (c) 2019 Trustlines Foundation\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"trustlines-clientlib@0.4.1","dist":{"shasum":"fd15080f0088bebb1c5a8510b37b739b0eee1b9b","integrity":"sha512-fLzJ/k1inIrw4fqcRatTxG9tNGpVVxL7DO5jlv6cmFfY3zRLqRXVSgG1l5CJxItoO2CgRQr46pn7agjVXTzrsQ==","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.4.1.tgz","fileCount":72,"unpackedSize":371966,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJct0EiCRA9TVsSAnZWagAAgokQAJ9JrcnRsgdtl6SCSuVy\nTbIj0dP/RSiVNDD85AVQdJRvVcepqKQ7MvlgK/rdL6GGk2VBB/lmOxL8c22D\n8VOh4Y2ceUIZkWy70MpfOiHBzOeX4P41SvDGdBaPMQ6lKm1YFu8T6Riu7H+J\nFTDdPqBqGUZ5Qb2uZ4tQ0Cs1iivzxcjcRN1rKuVyP6vuPG6CQYC6UWG6kZ2C\nKS/BmZ0PRK6CRML1vKBlpQ7+EBZReGg4xII1lrPtiHaYKPZwM9elM//O38Qb\n8HDxomg8kwnFrOrkoUj7w92dMuTXDCdFHqxykPtjGLrZHSvdgiDFadUar2ko\nQOTpVTiMSN4a7tlvbSUCpjlXKzo38kK2N/Rq4GL7eJ7pJQxNZ7E6My9evZ02\ncweQ0be3PLEJUxRxdy35ZvUK3iOkKu7BcmC2xsvMsfXleANy7WFrJWw/+lH0\n4zZ1HfHku6HokWKgei6bWETPtXH2q2ABnOnnn+TutompLYOwdUQU+Q8Ivnsz\nmUmOjAPFovHesfoLHoN6oyVjrxAwyGf1Ya99sAvuxVyDApF7E9p5KG/B2yM0\nDSbZ2mOwjNlzbKpXPHtU7pCgThruhOl12ru8C+P4sw1hVpq8fC1wBlUTwIAu\n+xw9gHcG9Bsbsyr2cB2/2il61t1J54p75YaGJLofq0MffCkn58iDmdj42Su+\nxYh1\r\n=LEVM\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEGIrOTpztgy5L+ZDn8lE5233yVI2/hXrSSPoYZdT9oiAiEAoyMlHN7V+XW+gk4RP55MRSG0k2++/4omY2JUK8iahlk="}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"},{"email":"bernd@brainbot.com","name":"trustlines-deploy"}],"_npmUser":{"name":"trustlines-deploy","email":"bernd@brainbot.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.4.1_1555513633945_0.7198866387410294"},"_hasShrinkwrap":false,"deprecated":"Package was moved to the @trustlines organisation. Intall latest version with npm install @trustlines/trustlines-clientlib"},"0.4.2-0-dev.20190417T150508Z.eb601b3":{"name":"trustlines-clientlib","version":"0.4.2-0-dev.20190417T150508Z.eb601b3","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"typedoc --options tdconfig.json","lint":"tslint -c tslint.json './src/**/**.ts' './tests/**/**.ts'","prettier":"prettier --write './{src,tests}/**/*.ts'","prettier:check":"prettier --check './{src,tests}/**/*.ts'","prettier:big-tabs":"prettier --write --print-width 120 --no-semi --single-quote --tab-width 4  './{src,tests}/**/*.ts'","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","coverage":"nyc report --reporter=text-lcov > coverage.lcov && codecov","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump":"./bump.sh","serve":"webpack && cp -r ./_bundles ./examples/injected-web3 && http-server ./examples/injected-web3"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{ts,js,json,css,md}":["prettier --write","git add"],"*.ts":["tslint -c tslint.json --fix","git add"]},"nyc":{"extension":[".ts"],"include":["src"],"reporter":["text"],"all":true},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.5.2","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","codecov":"^3.1.0","es6-promise":"^4.1.1","fetch-mock":"^7.2.5","fluid-publish":"^2.2.0","http-server":"^0.11.1","husky":"^1.1.4","isomorphic-fetch":"^2.2.1","lint-staged":"^8.0.4","mocha":"^5.2.0","nyc":"^13.1.0","prettier":"^1.15.2","ts-node":"^7.0.0","tslint":"^5.10.0","tslint-config-prettier":"^1.16.0","tslint-config-standard":"^7.1.0","typedoc":"^0.11.1","types-ethereumjs-util":"0.0.8","typescript":"^2.9.2","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"bignumber.js":"7.2.1","ethereumjs-util":"^5.2.0","ethers":"^4.0.23","html5-websocket":"^2.0.2","reconnecting-websocket":"^3.0.7","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","trustlines-contracts-abi":"dev"},"readme":"# trustlines-network clientlib\n\n[![npm](https://img.shields.io/npm/v/trustlines-clientlib.svg)](https://www.npmjs.com/package/trustlines-clientlib)\n[![CircleCI branch](https://img.shields.io/circleci/project/github/trustlines-protocol/clientlib/master.svg)](https://circleci.com/gh/trustlines-protocol/clientlib)\n[![Codecov branch](https://img.shields.io/codecov/c/github/trustlines-protocol/clientlib/master.svg)](https://codecov.io/gh/trustlines-protocol/clientlib)\n\nA TypeScript/Javascript library for interacting with the [trustlines-network protocol](https://trustlines.network/).\n\n## Read the [Documentation](https://trustlines-network.github.io/clientlib-docs/)\n\n## Installation\n\nInstall the library using `npm` or `yarn`\n\n```bash\n$ npm install trustlines-clientlib\n// OR\n$ yarn add trustlines-clientlib\n```\n\n#### Import ES6 module\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n```\n\nUse the following configuration to connect to the currently deployed test setup.\n\n**NOTE: The [trustlines-network contracts](https://github.com/trustlines-network/contracts) are deployed on the Kovan testnet. Some Kovan Test ETH is therefore required to interact with the contracts in this setup.**\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n\nconst tlNetworkConfig = {\n  protocol: 'https',\n  host: 'relay0.testnet.trustlines.network',\n  path: 'api/v1/'\n}\n\nconst tlNetwork = new TLNetwork(tlNetworkConfig)\n```\n\n## Example\n\nThis library is a promise-based library. So every asynchronous call will return a native Javascript promise. If an error occurs the library will throw it. The caller has to handle it appropriately.\n\n```javascript\ntry {\n  const networks = await tlNetwork.currencyNetwokr.getAll()\n} catch (error) {\n  console.log('Caught error:', error)\n}\n```\n\n## Running injected web3 example\n\nTo run the example make sure to have [MetaMask](https://metamask.io/) installed and connected to a JSON RPC.\n\n```bash\nyarn serve\n```\n\nThis serves the injected web3 example app on `http://127.0.0.1:8080`. You can find the app under `./examples/injected-web3`.\n","readmeFilename":"README.md","gitHead":"eb601b30ea26e9adbfc97a6889a26f6c26f23547","_id":"trustlines-clientlib@0.4.2-0-dev.20190417T150508Z.eb601b3","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"trustlines-deploy","email":"bernd@brainbot.com"},"dist":{"integrity":"sha512-Xy7J8ZclRRbmZrBUKhbqy8l+Wsg/xZAIFYpKF1Al2N1QzbvwOaceguVo0L3eIhpb6BapAXe40zOwGVbs/ESJaw==","shasum":"15d4b3dd5a6af4652d58a00cf50db28d7784513e","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.4.2-0-dev.20190417T150508Z.eb601b3.tgz","fileCount":65,"unpackedSize":371997,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJct0NNCRA9TVsSAnZWagAAmn4P/0X21wm8Os/Ri6eZQ557\nmu417gorWVmoHCaWWJFG1t8jU8SCTksg1pAxtssYZg4FE5T6KMq4kCNTTOR+\n29hTaPrrcsbYmOAiQR7OBSQLxKp2OF2M1S4C0SSl4Qa2MtbqOG3LdZ4wC/Lt\n5v9KHXgI9fFk1+ui7aj+Qcd4AwjJvZJDBTGc+8PSnoQPfs++njIbHxpeLpfP\nr1hwpz6lLiHI3+1akBKK7/FR9hnC+Au8pKb+m1a5q3+EXIWrUD3nXLzbNDfa\n6AudnbBZyBKB/hARDaNUutwQIWVdd0TkD+Hr5+VcZiGKeaArEFVV5o3dVEbl\nK8azju0UUep6n57ljAC48pJOv2unNMDzsFkH942k0/Vm0JyNpfhDko4q56bf\n0Ihw75g/ykqGyTrKQhxQj0+yeoSmZa01HqIHPFHxGSnNeSTWMs1o5X6K00/I\nQZFr7ElRTY6P64ZAPYnW9c4+w+3ZR7NaBG5VmbUd/uKePuxkihEWjIiLMCba\n6D+rX+e6IQDouW4+zS3ZX0eOPnegax5zuASNfMGdW9t2xjM11UhJnzoUr745\nx4Cdh/2nj6wVR25YBF2OVnxViAAAajDlcn+U2A64DybD6OnUgEuydIcTNKvb\niWjLft9Sx4hQvPK0cQhO0JcRVbuz4mmIs/LJUkG1bhIj0Bf96twIcXTElVTx\n8HH9\r\n=pfMv\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDDlav9bs1cnCrCmZPuXBUZjcCj8c9U2JdHv5a5pHK8YQIhAOrGq+CadQaTKBdpoAKh0qLXBZAWtevahU8+ZOs1QTfJ"}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"},{"email":"bernd@brainbot.com","name":"trustlines-deploy"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.4.2-0-dev.20190417T150508Z.eb601b3_1555514189044_0.25005764952741716"},"_hasShrinkwrap":false},"0.4.2-0-dev.20190418T135212Z.62d9890":{"name":"trustlines-clientlib","version":"0.4.2-0-dev.20190418T135212Z.62d9890","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"typedoc --options tdconfig.json","lint":"tslint -c tslint.json './src/**/**.ts' './tests/**/**.ts'","prettier":"prettier --write './{src,tests}/**/*.ts'","prettier:check":"prettier --check './{src,tests}/**/*.ts'","prettier:big-tabs":"prettier --write --print-width 120 --no-semi --single-quote --tab-width 4  './{src,tests}/**/*.ts'","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","coverage":"nyc report --reporter=text-lcov > coverage.lcov && codecov","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump":"./bump.sh","serve":"webpack && cp -r ./_bundles ./examples/injected-web3 && http-server ./examples/injected-web3"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{ts,js,json,css,md}":["prettier --write","git add"],"*.ts":["tslint -c tslint.json --fix","git add"]},"nyc":{"extension":[".ts"],"include":["src"],"reporter":["text"],"all":true},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.5.2","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","codecov":"^3.1.0","es6-promise":"^4.1.1","fetch-mock":"^7.2.5","fluid-publish":"^2.2.0","http-server":"^0.11.1","husky":"^1.1.4","isomorphic-fetch":"^2.2.1","lint-staged":"^8.0.4","mocha":"^5.2.0","nyc":"^13.1.0","prettier":"^1.15.2","ts-node":"^7.0.0","tslint":"^5.10.0","tslint-config-prettier":"^1.16.0","tslint-config-standard":"^7.1.0","typedoc":"^0.11.1","types-ethereumjs-util":"0.0.8","typescript":"^2.9.2","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"bignumber.js":"7.2.1","ethereumjs-util":"^5.2.0","ethers":"^4.0.23","reconnecting-websocket":"^4.1.10","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","trustlines-contracts-abi":"dev","ws":"^6.2.1"},"readme":"# trustlines-network clientlib\n\n[![npm](https://img.shields.io/npm/v/trustlines-clientlib.svg)](https://www.npmjs.com/package/trustlines-clientlib)\n[![CircleCI branch](https://img.shields.io/circleci/project/github/trustlines-protocol/clientlib/master.svg)](https://circleci.com/gh/trustlines-protocol/clientlib)\n[![Codecov branch](https://img.shields.io/codecov/c/github/trustlines-protocol/clientlib/master.svg)](https://codecov.io/gh/trustlines-protocol/clientlib)\n\nA TypeScript/Javascript library for interacting with the [trustlines-network protocol](https://trustlines.network/).\n\n## Read the [Documentation](https://trustlines-network.github.io/clientlib-docs/)\n\n## Installation\n\nInstall the library using `npm` or `yarn`\n\n```bash\n$ npm install trustlines-clientlib\n// OR\n$ yarn add trustlines-clientlib\n```\n\n#### Import ES6 module\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n```\n\nUse the following configuration to connect to the currently deployed test setup.\n\n**NOTE: The [trustlines-network contracts](https://github.com/trustlines-network/contracts) are deployed on the Kovan testnet. Some Kovan Test ETH is therefore required to interact with the contracts in this setup.**\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n\nconst tlNetworkConfig = {\n  protocol: 'https',\n  host: 'relay0.testnet.trustlines.network',\n  path: 'api/v1/'\n}\n\nconst tlNetwork = new TLNetwork(tlNetworkConfig)\n```\n\n## Example\n\nThis library is a promise-based library. So every asynchronous call will return a native Javascript promise. If an error occurs the library will throw it. The caller has to handle it appropriately.\n\n```javascript\ntry {\n  const networks = await tlNetwork.currencyNetwokr.getAll()\n} catch (error) {\n  console.log('Caught error:', error)\n}\n```\n\n## Running injected web3 example\n\nTo run the example make sure to have [MetaMask](https://metamask.io/) installed and connected to a JSON RPC.\n\n```bash\nyarn serve\n```\n\nThis serves the injected web3 example app on `http://127.0.0.1:8080`. You can find the app under `./examples/injected-web3`.\n","readmeFilename":"README.md","gitHead":"62d98908f0b11a6dbf90c0908c1cc54c63791e5b","_id":"trustlines-clientlib@0.4.2-0-dev.20190418T135212Z.62d9890","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"trustlines-deploy","email":"bernd@brainbot.com"},"dist":{"integrity":"sha512-+KZx2QBJd6KNE3krG78taOEALLzTTGUpckzEmtK+CH/BWZ/Dh9XVvP/bKYHFJwG9CXGRgCXety5JLynNrCpvuQ==","shasum":"cb8284dac23863ee6957bbb4b5a577c2594c6d1b","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.4.2-0-dev.20190418T135212Z.62d9890.tgz","fileCount":65,"unpackedSize":372055,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcuIOWCRA9TVsSAnZWagAAHTYP/j4QSRmgTETsVvX9AdD4\na+WA7YbYs9FwEoTOemW6y4ze3moLfIl/ZFliKm7DZxe4VPI/RaDj00IegSSd\n92eYUy6JDTGnYU/t9USfNJd9aQu1p3JZHV9xairwD70ysFdmxv0jmNZ0I7A4\nUzWlkUbJ0XnKfZhxgl2+nG+DyWGk44iBy3fezeU90IczrUrLetm823Co47TA\nO160XsXFTyB39HbZRbZOqM+ehYt+0A+AGA3LIdRF8GQsH6Hhq0kPokjoVThS\nk/KQxX89zh+2ck2GfxJ3yfCQUYD3D137WLAxalpuyCeCyNwiiv7vXe+cQmQi\nyCgR1SYlFIqbc+thy1U7nvEmpYMu3vsLEN+aOeW4hyN6N8CUP2Y75mz69R5O\nqWpnOO66nZFPjddkcmjjM4XBuytT79cOuHFHVSX0CUNMz7o55MbRP/WyH2cj\nHIv3Yhzn9+8m3O1BgjPkd1sOMTdqPi+HF3tWPjZYYpkh8xjLfvc3A0wOZmJP\nZxfTeMBXUz/Tiz813v/zNpSqi4fW+5yz3whjlMEdJzfkProVmAGVgfzjFNgz\nNy1rTgMJfdNVNHBOJaVMKOnM3kQ1fS3+/73wbPwy3w5olXR6S7VXCD5GPPc5\n6wjdPzMAEozXrncGsxENCGNx01ixQbLDX2ZZ+jp8hpZI+9o+vh/7kjb0GXx7\nKf0/\r\n=s5x2\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFPhhv/9aVOP8V3g97wkzseo1bXVsK+2KhenI1uuFhp1AiEA2Cqp63ZgPuVOslYbBFQQ2y9QjKZQQAwjLDd07MyY/D0="}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"},{"email":"bernd@brainbot.com","name":"trustlines-deploy"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.4.2-0-dev.20190418T135212Z.62d9890_1555596181431_0.8198930305162695"},"_hasShrinkwrap":false},"0.4.2":{"name":"trustlines-clientlib","version":"0.4.2","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"typedoc --options tdconfig.json","lint":"tslint -c tslint.json './src/**/**.ts' './tests/**/**.ts'","prettier":"prettier --write './{src,tests}/**/*.ts'","prettier:check":"prettier --check './{src,tests}/**/*.ts'","prettier:big-tabs":"prettier --write --print-width 120 --no-semi --single-quote --tab-width 4  './{src,tests}/**/*.ts'","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","coverage":"nyc report --reporter=text-lcov > coverage.lcov && codecov","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump":"./bump.sh","serve":"webpack && cp -r ./_bundles ./examples/injected-web3 && http-server ./examples/injected-web3"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{ts,js,json,css,md}":["prettier --write","git add"],"*.ts":["tslint -c tslint.json --fix","git add"]},"nyc":{"extension":[".ts"],"include":["src"],"reporter":["text"],"all":true},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.5.2","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","codecov":"^3.1.0","es6-promise":"^4.1.1","fetch-mock":"^7.2.5","fluid-publish":"^2.2.0","http-server":"^0.11.1","husky":"^1.1.4","isomorphic-fetch":"^2.2.1","lint-staged":"^8.0.4","mocha":"^5.2.0","nyc":"^13.1.0","prettier":"^1.15.2","ts-node":"^7.0.0","tslint":"^5.10.0","tslint-config-prettier":"^1.16.0","tslint-config-standard":"^7.1.0","typedoc":"^0.11.1","types-ethereumjs-util":"0.0.8","typescript":"^2.9.2","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"bignumber.js":"7.2.1","ethereumjs-util":"^5.2.0","ethers":"^4.0.23","reconnecting-websocket":"^4.1.10","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","trustlines-contracts-abi":"dev","ws":"^6.2.1"},"licenseText":"MIT License\n\nCopyright (c) 2017 Trustlines Network\nCopyright (c) 2019 Trustlines Foundation\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"trustlines-clientlib@0.4.2","dist":{"shasum":"7b193a211c605afea93245a936490f1bb8a71a72","integrity":"sha512-RRntM3IPs2S7LBXkFHjOaJQDk9n3QT2NtzZ+d9KBdcMoO8a2XB81NMXA5pWeb99NxLjde2DbSNzIKS2bGliMvA==","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.4.2.tgz","fileCount":72,"unpackedSize":372203,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcuJPVCRA9TVsSAnZWagAAtfUP/26sm94fh4cFcPj7dT1a\n0rFovD4/63u2CQwg9LXDr77UcGXAf5vYYHbFb8gSyKZzapD3TN+PJAKVTvuy\n+R2Fkd+VupBfcPfKOYdqfo+H0W8xk9zXpRTh4/QfwQ3nmduy+sGvXbdO0a0i\ntQOa5zEW/ohBAVVpc3XZNmc396XL+o99C0KAa6Hi2AmNal2lNv1uZxFDebzU\nR9NEiT+q/4XywqJWt78jwaDPsm46kPIrd0+lnkrIaxYtYjFDub2ypILqrxt3\ntb+cL6PsoZ+JITtTySBflp+Ka4m1zHuZjwkJ/aNTw01VjTVIBHTvrVOgkvPt\nDe3kOqWcLhgEpixnnJ61zKn8I0pRr2wis0AU6XnywHujbemnih64W+cBinu7\nL5e+ADyaHKwT5k8qL1c4VQMMr4tWik5wbmtpzTN9SSwkiK37TTGYSe1jxMdD\n+9BLA9btUmMQcP8jRfVlnyjDHVIcY4o6ZRtt+smc48iDiXank74Zk1ixTI4s\nQqJjQ/+H5+OybJUWv9fl29FvWGwWLOGN2daFwLJTbxbCDUrumUdE1IqQ4v48\nGogDkM/ip48x8zZoPXTuf82jYG7/O6sKhVIW9wU7vW9tP1KKxtzN2hq2E+mJ\nfSZkbqrI3190k/03YnwDdmTvPThgvPS0UnWojAZ8GMI9zuCNICdcQpuhNfnz\nNv9v\r\n=I6X9\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEttTpL90gRjV8zOAgsg0p9l/zQblf3Z42xrCztmIJ+6AiEAkszmRusGqw9sHYVj2sWNkowEM+Fv7HjaWiAdbgzR4QQ="}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"},{"email":"bernd@brainbot.com","name":"trustlines-deploy"}],"_npmUser":{"name":"trustlines-deploy","email":"bernd@brainbot.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.4.2_1555600341245_0.6402918730014504"},"_hasShrinkwrap":false,"deprecated":"Package was moved to the @trustlines organisation. Intall latest version with npm install @trustlines/trustlines-clientlib"},"0.4.3-0-dev.20190418T151117Z.e4ec0fe":{"name":"trustlines-clientlib","version":"0.4.3-0-dev.20190418T151117Z.e4ec0fe","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"typedoc --options tdconfig.json","lint":"tslint -c tslint.json './src/**/**.ts' './tests/**/**.ts'","prettier":"prettier --write './{src,tests}/**/*.ts'","prettier:check":"prettier --check './{src,tests}/**/*.ts'","prettier:big-tabs":"prettier --write --print-width 120 --no-semi --single-quote --tab-width 4  './{src,tests}/**/*.ts'","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","coverage":"nyc report --reporter=text-lcov > coverage.lcov && codecov","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump":"./bump.sh","serve":"webpack && cp -r ./_bundles ./examples/injected-web3 && http-server ./examples/injected-web3"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{ts,js,json,css,md}":["prettier --write","git add"],"*.ts":["tslint -c tslint.json --fix","git add"]},"nyc":{"extension":[".ts"],"include":["src"],"reporter":["text"],"all":true},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.5.2","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","codecov":"^3.1.0","es6-promise":"^4.1.1","fetch-mock":"^7.2.5","fluid-publish":"^2.2.0","http-server":"^0.11.1","husky":"^1.1.4","isomorphic-fetch":"^2.2.1","lint-staged":"^8.0.4","mocha":"^5.2.0","nyc":"^13.1.0","prettier":"^1.15.2","ts-node":"^7.0.0","tslint":"^5.10.0","tslint-config-prettier":"^1.16.0","tslint-config-standard":"^7.1.0","typedoc":"^0.11.1","types-ethereumjs-util":"0.0.8","typescript":"^2.9.2","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"bignumber.js":"7.2.1","ethereumjs-util":"^5.2.0","ethers":"^4.0.23","reconnecting-websocket":"^4.1.10","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","trustlines-contracts-abi":"dev","ws":"^6.2.1"},"readme":"# trustlines-network clientlib\n\n[![npm](https://img.shields.io/npm/v/trustlines-clientlib.svg)](https://www.npmjs.com/package/trustlines-clientlib)\n[![CircleCI branch](https://img.shields.io/circleci/project/github/trustlines-protocol/clientlib/master.svg)](https://circleci.com/gh/trustlines-protocol/clientlib)\n[![Codecov branch](https://img.shields.io/codecov/c/github/trustlines-protocol/clientlib/master.svg)](https://codecov.io/gh/trustlines-protocol/clientlib)\n\nA TypeScript/Javascript library for interacting with the [trustlines-network protocol](https://trustlines.network/).\n\n## Read the [Documentation](https://trustlines-network.github.io/clientlib-docs/)\n\n## Installation\n\nInstall the library using `npm` or `yarn`\n\n```bash\n$ npm install trustlines-clientlib\n// OR\n$ yarn add trustlines-clientlib\n```\n\n#### Import ES6 module\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n```\n\nUse the following configuration to connect to the currently deployed test setup.\n\n**NOTE: The [trustlines-network contracts](https://github.com/trustlines-network/contracts) are deployed on the Kovan testnet. Some Kovan Test ETH is therefore required to interact with the contracts in this setup.**\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n\nconst tlNetworkConfig = {\n  protocol: 'https',\n  host: 'relay0.testnet.trustlines.network',\n  path: 'api/v1/'\n}\n\nconst tlNetwork = new TLNetwork(tlNetworkConfig)\n```\n\n## Example\n\nThis library is a promise-based library. So every asynchronous call will return a native Javascript promise. If an error occurs the library will throw it. The caller has to handle it appropriately.\n\n```javascript\ntry {\n  const networks = await tlNetwork.currencyNetwokr.getAll()\n} catch (error) {\n  console.log('Caught error:', error)\n}\n```\n\n## Running injected web3 example\n\nTo run the example make sure to have [MetaMask](https://metamask.io/) installed and connected to a JSON RPC.\n\n```bash\nyarn serve\n```\n\nThis serves the injected web3 example app on `http://127.0.0.1:8080`. You can find the app under `./examples/injected-web3`.\n","readmeFilename":"README.md","gitHead":"e4ec0fe80a74e9f7d32613c78ca7482565e17d1f","_id":"trustlines-clientlib@0.4.3-0-dev.20190418T151117Z.e4ec0fe","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"trustlines-deploy","email":"bernd@brainbot.com"},"dist":{"integrity":"sha512-ha+4aeqpF55R/NdS4bm7mm90anG4xC5EgHtsVhOr6Ri7/5JMiTyG/9zjOOrG8rHT1SU6SmRnxRknBF1G6pii6Q==","shasum":"e23a0cc1d1594334dc03935be346d7efaa806b0d","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.4.3-0-dev.20190418T151117Z.e4ec0fe.tgz","fileCount":65,"unpackedSize":372234,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcuJYWCRA9TVsSAnZWagAAYCYQAKFmdl27LuwJs19XwhTc\n620jH3qe7VnxuR9ZawyQqPSnUMQU07bcarF+jXd4NItJOrL5wc9F/bMZU5V3\nLYoaMz2YcITrwLQV7Q4Uz/WVUGUiQhU0x395qgQ5A3kTXP8w958zM1nJfMQC\nfNOzUHJcsTcUESt0qfPbtNcuRcuYPreK6fFHtsIbRFNu7A/yASRKbqPQlYRV\ntS2wSrE7ftyOIpVXA2pGgCkNhUoDGWqDpaMzykj3zuMEu/omRY7jgl0CrNEB\n8kKNORsQ/g/AnTBD4Cmf0odHNA5QVoD31xEoS9YOI6cLagnI3b3MVBQKbei2\nVVDUvdDXyvxTTQBxIZn27IgKExlQ34T9jCq0IeqCFzj9rox5F0MwcVU87A2L\nuqDD6rJSr7faXPnl1mykCR3Rab6SzXNeNh8l+mM1R4fokcy+onpPbzfwZO2k\nnWejoRweLQ+sWTly6wRziS4e6Ylvg0DSalbAuIN+tHWfqIaKF15dUtdTfBbw\nuTwaSevtXYRsh9AA6K2eZLwJ4myfAD39QGb8zJ8k11TeHrPf2nMZ3Ju1ERvU\ni/IOKoA5RbM+yNxPGY3q60De0JPe/zSkR49GMVoEViNoOrOgTaN0ZuDzmRFg\nAbrm/oCtyehO1lrYVa/E7r3XIuUrBcdS1HYkNgw9d7kfxayhQ1jmn4/aFw9H\nuMN/\r\n=61ck\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHUM1D8nFwfXKRaf2uekMLus6nj5yqzAAeYMRPjXWDj8AiEA+V778T72wsNjtMh7Hs2pdS8VlTGFMAxoDx469Fn7l28="}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"},{"email":"bernd@brainbot.com","name":"trustlines-deploy"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.4.3-0-dev.20190418T151117Z.e4ec0fe_1555600917915_0.7167384965324286"},"_hasShrinkwrap":false},"0.4.3-0-dev.20190528T135839Z.533abe6":{"name":"trustlines-clientlib","version":"0.4.3-0-dev.20190528T135839Z.533abe6","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"typedoc --options tdconfig.json","lint":"tslint -c tslint.json './src/**/**.ts' './tests/**/**.ts'","prettier":"prettier --write './{src,tests}/**/*.ts'","prettier:check":"prettier --check './{src,tests}/**/*.ts'","prettier:big-tabs":"prettier --write --print-width 120 --no-semi --single-quote --tab-width 4  './{src,tests}/**/*.ts'","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","coverage":"nyc report --reporter=text-lcov > coverage.lcov && codecov","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump":"./bump.sh","serve":"webpack && cp -r ./_bundles ./examples/injected-web3 && http-server ./examples/injected-web3"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{ts,js,json,css,md}":["prettier --write","git add"],"*.ts":["tslint -c tslint.json --fix","git add"]},"nyc":{"extension":[".ts"],"include":["src"],"reporter":["text"],"all":true},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.5.2","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","codecov":"^3.1.0","es6-promise":"^4.1.1","fetch-mock":"^7.2.5","fluid-publish":"^2.2.0","http-server":"^0.11.1","husky":"^1.1.4","isomorphic-fetch":"^2.2.1","lint-staged":"^8.0.4","mocha":"^5.2.0","nyc":"^13.1.0","prettier":"^1.15.2","ts-node":"^7.0.0","tslint":"^5.10.0","tslint-config-prettier":"^1.16.0","tslint-config-standard":"^7.1.0","typedoc":"^0.11.1","types-ethereumjs-util":"0.0.8","typescript":"^2.9.2","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"bignumber.js":"7.2.1","ethereumjs-util":"^5.2.0","ethers":"^4.0.23","reconnecting-websocket":"^4.1.10","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","trustlines-contracts-abi":"dev","ws":"^6.2.1"},"readme":"# trustlines-network clientlib\n\n[![npm](https://img.shields.io/npm/v/trustlines-clientlib.svg)](https://www.npmjs.com/package/trustlines-clientlib)\n[![CircleCI branch](https://img.shields.io/circleci/project/github/trustlines-protocol/clientlib/master.svg)](https://circleci.com/gh/trustlines-protocol/clientlib)\n[![Codecov branch](https://img.shields.io/codecov/c/github/trustlines-protocol/clientlib/master.svg)](https://codecov.io/gh/trustlines-protocol/clientlib)\n\nA TypeScript/Javascript library for interacting with the [trustlines-network protocol](https://trustlines.network/).\n\n## Read the [Documentation](https://trustlines-network.github.io/clientlib-docs/)\n\n## Installation\n\nInstall the library using `npm` or `yarn`\n\n```bash\n$ npm install trustlines-clientlib\n// OR\n$ yarn add trustlines-clientlib\n```\n\n#### Import ES6 module\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n```\n\nUse the following configuration to connect to the currently deployed test setup.\n\n**NOTE: The [trustlines-network contracts](https://github.com/trustlines-network/contracts) are deployed on the Kovan testnet. Some Kovan Test ETH is therefore required to interact with the contracts in this setup.**\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n\nconst tlNetworkConfig = {\n  protocol: 'https',\n  host: 'relay0.testnet.trustlines.network',\n  path: 'api/v1/'\n}\n\nconst tlNetwork = new TLNetwork(tlNetworkConfig)\n```\n\n## Example\n\nThis library is a promise-based library. So every asynchronous call will return a native Javascript promise. If an error occurs the library will throw it. The caller has to handle it appropriately.\n\n```javascript\ntry {\n  const networks = await tlNetwork.currencyNetwokr.getAll()\n} catch (error) {\n  console.log('Caught error:', error)\n}\n```\n\n## Running injected web3 example\n\nTo run the example make sure to have [MetaMask](https://metamask.io/) installed and connected to a JSON RPC.\n\n```bash\nyarn serve\n```\n\nThis serves the injected web3 example app on `http://127.0.0.1:8080`. You can find the app under `./examples/injected-web3`.\n","readmeFilename":"README.md","gitHead":"533abe688f6d357d4c1959e224d24f96d8323da8","_id":"trustlines-clientlib@0.4.3-0-dev.20190528T135839Z.533abe6","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"trustlines-deploy","email":"bernd@brainbot.com"},"dist":{"integrity":"sha512-b16tkbFHK0vYWC0xR6+Sc55L+a4lUklHZ4uIJtS3Pl5KyIHvssbVbQIa/HkmysoIK7gqJ0DA8nXZuifS0vIOCw==","shasum":"2393e8b3d7171bb3b31efd7c90405a528b382d1a","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.4.3-0-dev.20190528T135839Z.533abe6.tgz","fileCount":65,"unpackedSize":368304,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc7T/lCRA9TVsSAnZWagAAGYIP/2FuNObyij9i9qqL1XON\nUvY0T++8g+9HX8sBobwj2RPSDh65v+4Hqh/vyyRKnepdTUQzIrvLhx40MjHK\nzQ3bXXDjcir9KJ8wNhNEKf1rRc9SvmbkQqgP0lwI8FvYkqwDp55o85uXeD3Q\ntfbQ0mvID5c9IibvLlxr6K7dcgF2Pd05L3rKJ9/VjyVMw9IQCB21yZge7lw+\nPaPsSaAzk7KgarWWqmSLZA8wTWne6Nta/cMckZiodqaXHUV6fzfhm0n2tkEP\nJabZlnwuN0H5/iJE+s+ER5WdP1RKj5lBDSf1bLmECkyRL5rtuSzT+SMiJVGC\nJ2s+VBjP9/SgfJIC6CbcD8aVADpw4U153gh9pNM9VL5jozuzFrLcZib/cwHK\nuFVcBFRUeZA55VmrvR2kd/sW+gyCQQ6HKga7vTvQV5V+iS4z3JefzYpxu+k0\n3C8DWijfLZRs5tEP0H0e3P3/WCwEQ2wSsGpWAoOLp+ufX2xXL6CMSvsAslU/\nqEI5nmmhy9g421hGpw3jaKjxMK3xJrDfLnh6ZuciZ9r5WBMRcsRhFQeH5P5M\n1awwLuRBen+tQ93d+tUAC0yMaJbE9e64G+/03PUk2wtbG5VW6xWLVt03uBxk\n7xGiBzyYSfAj1T2A9/piW8gaH0jVxe6ok/UwRfAY1pxBbts2NVISu3MsXG39\nmCcO\r\n=seIU\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDajFCZ0vgA9sg1I6ub5IenGmS//2HBpbTcfxTvo3bnkAiB2RdwuGXK6snp2Dwxfp3ymVB+BRPkefUUkpAxIGLEkbQ=="}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"},{"email":"bernd@brainbot.com","name":"trustlines-deploy"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.4.3-0-dev.20190528T135839Z.533abe6_1559052260405_0.9696515602270659"},"_hasShrinkwrap":false},"0.4.3-0-dev.20190529T083135Z.94850b0":{"name":"trustlines-clientlib","version":"0.4.3-0-dev.20190529T083135Z.94850b0","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"typedoc --options tdconfig.json","lint":"tslint -c tslint.json './src/**/**.ts' './tests/**/**.ts'","prettier":"prettier --write './{src,tests}/**/*.ts'","prettier:check":"prettier --check './{src,tests}/**/*.ts'","prettier:big-tabs":"prettier --write --print-width 120 --no-semi --single-quote --tab-width 4  './{src,tests}/**/*.ts'","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","coverage":"nyc report --reporter=text-lcov > coverage.lcov && codecov","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump":"./bump.sh","serve":"webpack && cp -r ./_bundles ./examples/injected-web3 && http-server ./examples/injected-web3"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{ts,js,json,css,md}":["prettier --write","git add"],"*.ts":["tslint -c tslint.json --fix","git add"]},"nyc":{"extension":[".ts"],"include":["src"],"reporter":["text"],"all":true},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.5.2","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","codecov":"^3.1.0","es6-promise":"^4.1.1","fetch-mock":"^7.2.5","fluid-publish":"^2.2.0","http-server":"^0.11.1","husky":"^1.1.4","isomorphic-fetch":"^2.2.1","lint-staged":"^8.0.4","mocha":"^5.2.0","nyc":"^13.1.0","prettier":"^1.15.2","ts-node":"^7.0.0","tslint":"^5.10.0","tslint-config-prettier":"^1.16.0","tslint-config-standard":"^7.1.0","typedoc":"^0.11.1","types-ethereumjs-util":"0.0.8","typescript":"^2.9.2","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"bignumber.js":"7.2.1","ethereumjs-util":"^5.2.0","ethers":"^4.0.23","reconnecting-websocket":"^4.1.10","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","trustlines-contracts-abi":"dev","ws":"^6.2.1"},"readme":"# trustlines-network clientlib\n\n[![npm](https://img.shields.io/npm/v/trustlines-clientlib.svg)](https://www.npmjs.com/package/trustlines-clientlib)\n[![CircleCI branch](https://img.shields.io/circleci/project/github/trustlines-protocol/clientlib/master.svg)](https://circleci.com/gh/trustlines-protocol/clientlib)\n[![Codecov branch](https://img.shields.io/codecov/c/github/trustlines-protocol/clientlib/master.svg)](https://codecov.io/gh/trustlines-protocol/clientlib)\n\nA TypeScript/Javascript library for interacting with the [trustlines-network protocol](https://trustlines.network/).\n\n## Read the [Documentation](https://trustlines-network.github.io/clientlib-docs/)\n\n## Installation\n\nInstall the library using `npm` or `yarn`\n\n```bash\n$ npm install trustlines-clientlib\n// OR\n$ yarn add trustlines-clientlib\n```\n\n#### Import ES6 module\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n```\n\nUse the following configuration to connect to the currently deployed test setup.\n\n**NOTE: The [trustlines-network contracts](https://github.com/trustlines-network/contracts) are deployed on the Kovan testnet. Some Kovan Test ETH is therefore required to interact with the contracts in this setup.**\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n\nconst tlNetworkConfig = {\n  protocol: 'https',\n  host: 'relay0.testnet.trustlines.network',\n  path: 'api/v1/'\n}\n\nconst tlNetwork = new TLNetwork(tlNetworkConfig)\n```\n\n## Example\n\nThis library is a promise-based library. So every asynchronous call will return a native Javascript promise. If an error occurs the library will throw it. The caller has to handle it appropriately.\n\n```javascript\ntry {\n  const networks = await tlNetwork.currencyNetwokr.getAll()\n} catch (error) {\n  console.log('Caught error:', error)\n}\n```\n\n## Running injected web3 example\n\nTo run the example make sure to have [MetaMask](https://metamask.io/) installed and connected to a JSON RPC.\n\n```bash\nyarn serve\n```\n\nThis serves the injected web3 example app on `http://127.0.0.1:8080`. You can find the app under `./examples/injected-web3`.\n","readmeFilename":"README.md","gitHead":"94850b0923f4c4e93cb945466bc7942701518c26","_id":"trustlines-clientlib@0.4.3-0-dev.20190529T083135Z.94850b0","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"trustlines-deploy","email":"bernd@brainbot.com"},"dist":{"integrity":"sha512-3aXI5wtOa3qqo7QHEvGFTdtM0kOkZPwasFpktGODMMkH8Dz8RyjSCkRxV+Xdvl1mnsGelD6TDUi5ublZwhCZsQ==","shasum":"acfb3b473dd0aaa9cde9abf37997e5d9c00e4b05","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.4.3-0-dev.20190529T083135Z.94850b0.tgz","fileCount":65,"unpackedSize":370126,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc7kSFCRA9TVsSAnZWagAAzo8P/i1cdUBkzKGJg0t9u2Cn\nj1k2rnrMBLKBUbtZ4UyffqQO1S2mRbN0WcR2tcn4iYCIPNow5QsIoOcuxAtt\nuuljWnVJGdQ3V5qrbOl15EgQ3s5qG9g50rnzFDQiDB/bN8PUAmhSUMPeRqlg\nyKwI4/W5afRzK7Ka4fR3aWNGD4xPIFnyK+9rktgMsnLBV395584AR61FVO3j\n+fatoTm0KNDYrvb0/SgG+ShWDXhVHsroXQ5TPdwVefRDn3cIQ0jjklYQZsZO\nYyWwneEXQZdCnyrRtn/MzccyiVIoe+Z+4TGD0g2hHZxP4RtVUvqMWK0rP//e\n3s3xy27K2YjwrhlVlGd0fJJhWPqj7lB4eAJK95rvC2SKFC+4AmXeLQi+LPJu\nlR8zt3x1tJtYrLCabjqHLM7DGcMp+m0RLxxHSuPo8xhWeKTE20za+8PJiWKt\nTHxVlW2Vh635cMf4O6qohTBvT3Tl9e4vN5VkDxbdJ+mETc+ScwOChFMoXSZG\nx9jbREpsH6jUMaY/s/D4RhErySyT0eSbtqOG5LYm/4kqnUASouTAZytBK0c5\nPk3TNYfJkL4MJMPs1fXHDwqzp5D6/O/QewS/mK7ovUAuIhPEZpG6mDXp55cK\nygOn9iUoOC7bV9EMQlBRew/J7u4h2cqQ+kb9b0zOxbC+VnUJCqybUN7nRiE1\nU0iB\r\n=FL7p\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBotLE5DPJOFuHjVlCgRj2WMdWJwBPagcmE/XoTKusXnAiAd3Y0PCn96Ms3DAgB+ALep7iAFn7vaM/etiRuVkRZHDA=="}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"},{"email":"bernd@brainbot.com","name":"trustlines-deploy"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.4.3-0-dev.20190529T083135Z.94850b0_1559118980736_0.5247267861379126"},"_hasShrinkwrap":false},"0.4.3":{"name":"trustlines-clientlib","version":"0.4.3","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"typedoc --options tdconfig.json","lint":"tslint -c tslint.json './src/**/**.ts' './tests/**/**.ts'","prettier":"prettier --write './{src,tests}/**/*.ts'","prettier:check":"prettier --check './{src,tests}/**/*.ts'","prettier:big-tabs":"prettier --write --print-width 120 --no-semi --single-quote --tab-width 4  './{src,tests}/**/*.ts'","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","coverage":"nyc report --reporter=text-lcov > coverage.lcov && codecov","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump":"./bump.sh","serve":"webpack && cp -r ./_bundles ./examples/injected-web3 && http-server ./examples/injected-web3"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{ts,js,json,css,md}":["prettier --write","git add"],"*.ts":["tslint -c tslint.json --fix","git add"]},"nyc":{"extension":[".ts"],"include":["src"],"reporter":["text"],"all":true},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.5.2","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","codecov":"^3.1.0","es6-promise":"^4.1.1","fetch-mock":"^7.2.5","fluid-publish":"^2.2.0","http-server":"^0.11.1","husky":"^1.1.4","isomorphic-fetch":"^2.2.1","lint-staged":"^8.0.4","mocha":"^5.2.0","nyc":"^13.1.0","prettier":"^1.15.2","ts-node":"^7.0.0","tslint":"^5.10.0","tslint-config-prettier":"^1.16.0","tslint-config-standard":"^7.1.0","typedoc":"^0.11.1","types-ethereumjs-util":"0.0.8","typescript":"^2.9.2","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"bignumber.js":"7.2.1","ethereumjs-util":"^5.2.0","ethers":"^4.0.23","reconnecting-websocket":"^4.1.10","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","trustlines-contracts-abi":"dev","ws":"^6.2.1"},"licenseText":"MIT License\n\nCopyright (c) 2017 Trustlines Network\nCopyright (c) 2019 Trustlines Foundation\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"trustlines-clientlib@0.4.3","dist":{"shasum":"b5c6b513180f598b77c7094d144519d40a150641","integrity":"sha512-Yx13Q7y74Nk+P9p1/pPDbZBEEirf/JspzWw6dBUQjENkQHA6IBMWCLRfiFu11s/BRfQcFvHm11BzBbCHDdBr+A==","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.4.3.tgz","fileCount":72,"unpackedSize":370288,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc7kU0CRA9TVsSAnZWagAAK1QQAKDJjUNEU2kN2XAmJz+0\nkKySQVnMYZ/W14xPxUcEimCyvNOvW9AJkKtDhtr+CK7RHO77AS64BHG2dq59\nbnBhozfru78BmzWU7zXq9hg49FixdUvTXcSWqNIc4PYog9gzeI0QIiFhN+2r\nSjcrE4Nwn63biXe+j7/771yxfyJeFw3DnixzzqfbqDMMoTGxR5LpCNWPPn5M\nscr+ne6KqIEU1yQftf9Ptu4oXi6rWtzFe8I6P1/0r4eAFIABuRSGDA0ORL7t\nx0QXKZiQvRUbmCD2k/sz27FHnBsuzU6lGFM/wAw9Uh+QQUvSbEzwBe/4pFJW\n+3F9ldwxt/SqitssfBJdU+riNzQIKqjw4ZVXdLvNSIIcwx2C65pkLSd7Y/tQ\nKbJSPgjfZV2IucUlbZrs7XzFeks3ySSJXV97Iqz9PA848X36BVKJFldDajBi\nqqownTLz5bFBdUiLJHxd6Rhxm05vOh+NQy9NzjXNDH4wdBwthugd0QL4peb3\n9lwWmzSVNXAUEE4L39y5bJiNmFsYv8zpIXYKwR6kCQ5AmbyUsCe7g7ZJa0Gb\nLLLIzvcxSS8WobSpThFDSgW9hX5ONhFck4eFrfy3Na8RDaG7vgs67286MUu4\nNGdYkDnbVT9x2mjF32TgMJDABNd3Km2IYCwL8Ik0c7dVCUMYNA3Yy1SvA1wi\nKkSm\r\n=mx9z\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIE3PYzgaAMqGRev5IokG4Mo0Ur1vYXkG0xkGX1LPgD/OAiAdApOPXypsWdQHbI2A/CkRlZv1eqkuraXBB+/63HJeoQ=="}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"},{"email":"bernd@brainbot.com","name":"trustlines-deploy"}],"_npmUser":{"name":"trustlines-deploy","email":"bernd@brainbot.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.4.3_1559119155536_0.9987184762730124"},"_hasShrinkwrap":false,"deprecated":"Package was moved to the @trustlines organisation. Intall latest version with npm install @trustlines/trustlines-clientlib"},"0.4.4-0-dev.20190529T083751Z.b56a3a9":{"name":"trustlines-clientlib","version":"0.4.4-0-dev.20190529T083751Z.b56a3a9","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"typedoc --options tdconfig.json","lint":"tslint -c tslint.json './src/**/**.ts' './tests/**/**.ts'","prettier":"prettier --write './{src,tests}/**/*.ts'","prettier:check":"prettier --check './{src,tests}/**/*.ts'","prettier:big-tabs":"prettier --write --print-width 120 --no-semi --single-quote --tab-width 4  './{src,tests}/**/*.ts'","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","coverage":"nyc report --reporter=text-lcov > coverage.lcov && codecov","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump":"./bump.sh","serve":"webpack && cp -r ./_bundles ./examples/injected-web3 && http-server ./examples/injected-web3"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{ts,js,json,css,md}":["prettier --write","git add"],"*.ts":["tslint -c tslint.json --fix","git add"]},"nyc":{"extension":[".ts"],"include":["src"],"reporter":["text"],"all":true},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.5.2","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","codecov":"^3.1.0","es6-promise":"^4.1.1","fetch-mock":"^7.2.5","fluid-publish":"^2.2.0","http-server":"^0.11.1","husky":"^1.1.4","isomorphic-fetch":"^2.2.1","lint-staged":"^8.0.4","mocha":"^5.2.0","nyc":"^13.1.0","prettier":"^1.15.2","ts-node":"^7.0.0","tslint":"^5.10.0","tslint-config-prettier":"^1.16.0","tslint-config-standard":"^7.1.0","typedoc":"^0.11.1","types-ethereumjs-util":"0.0.8","typescript":"^2.9.2","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"bignumber.js":"7.2.1","ethereumjs-util":"^5.2.0","ethers":"^4.0.23","reconnecting-websocket":"^4.1.10","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","trustlines-contracts-abi":"dev","ws":"^6.2.1"},"readme":"# trustlines-network clientlib\n\n[![npm](https://img.shields.io/npm/v/trustlines-clientlib.svg)](https://www.npmjs.com/package/trustlines-clientlib)\n[![CircleCI branch](https://img.shields.io/circleci/project/github/trustlines-protocol/clientlib/master.svg)](https://circleci.com/gh/trustlines-protocol/clientlib)\n[![Codecov branch](https://img.shields.io/codecov/c/github/trustlines-protocol/clientlib/master.svg)](https://codecov.io/gh/trustlines-protocol/clientlib)\n\nA TypeScript/Javascript library for interacting with the [trustlines-network protocol](https://trustlines.network/).\n\n## Read the [Documentation](https://trustlines-network.github.io/clientlib-docs/)\n\n## Installation\n\nInstall the library using `npm` or `yarn`\n\n```bash\n$ npm install trustlines-clientlib\n// OR\n$ yarn add trustlines-clientlib\n```\n\n#### Import ES6 module\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n```\n\nUse the following configuration to connect to the currently deployed test setup.\n\n**NOTE: The [trustlines-network contracts](https://github.com/trustlines-network/contracts) are deployed on the Kovan testnet. Some Kovan Test ETH is therefore required to interact with the contracts in this setup.**\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n\nconst tlNetworkConfig = {\n  protocol: 'https',\n  host: 'relay0.testnet.trustlines.network',\n  path: 'api/v1/'\n}\n\nconst tlNetwork = new TLNetwork(tlNetworkConfig)\n```\n\n## Example\n\nThis library is a promise-based library. So every asynchronous call will return a native Javascript promise. If an error occurs the library will throw it. The caller has to handle it appropriately.\n\n```javascript\ntry {\n  const networks = await tlNetwork.currencyNetwokr.getAll()\n} catch (error) {\n  console.log('Caught error:', error)\n}\n```\n\n## Running injected web3 example\n\nTo run the example make sure to have [MetaMask](https://metamask.io/) installed and connected to a JSON RPC.\n\n```bash\nyarn serve\n```\n\nThis serves the injected web3 example app on `http://127.0.0.1:8080`. You can find the app under `./examples/injected-web3`.\n","readmeFilename":"README.md","gitHead":"b56a3a9432b566082dcf6dd9199ca172ac957dd8","_id":"trustlines-clientlib@0.4.4-0-dev.20190529T083751Z.b56a3a9","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"trustlines-deploy","email":"bernd@brainbot.com"},"dist":{"integrity":"sha512-uifQbZXo92R5jQpDu8ZW+Z2BUCbEdVAt+wd13x/8V7vqOqKzR78gnFTqMueNzXGgbB32fdlnDOpEoNoaeRirMg==","shasum":"bbeca4666b3476633e22e8e474c970eea6c79c1b","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.4.4-0-dev.20190529T083751Z.b56a3a9.tgz","fileCount":65,"unpackedSize":370319,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc7kXiCRA9TVsSAnZWagAA9EoP/itvfcsQlw1Lhtbidq1K\nkUpKs2W0hqNzyGPMpn69MKa5SDhTJo6L31LgVPBXMNZmUmmq9iUAus9ox0yh\n9uU8b0uKT5R3JInQi39KZzCJkIqSTiWYJA/Gd82FWLtrxtHLgWP1Bc0fXEZo\nX3xvFb8v5tWKuUYPIHBcns4hdwzED94wbrMquG9+nnpT/g4TIrLwx/DrrCHO\nyTLBCFTK9/S/iVsJUXGDpVfYPTNBG0wJr14CcsTSjpqXRvCt2qX6Vbvk9o+N\nszzmr392i7SIsUkmn0f9Hfz6cCEhZQjeW3a0qFwgXYoQxvH8aNAJbMrFr/9b\n3JAwdVEgAJwcanePRuoUZ8/DKR/qtXMxXdRM5NjfVHNhWUrWg2DSIrYcK8Uj\nFOVlzY4MwnKAWsw4/Afr/c071ZrYa46cj52XoEVieZtdgsSQIRkAlRnLtzya\nZytlc6vBkJhIfYtaeerKQtT5s/GfzBn46vJ8zkMkj7EfLgGIvpSLBl5hBDJW\n6r7/iXbHhHeOKGj6OKbvaAgrYqEVYEevD9mQ+yLI9z+4u0NeOKZWGdvHpegc\n434eTQ/hlcgjFAzE3ajdVGJ3BAPHKHOjkLHZijOtHrrYwx4M3BS3/IHL1zEz\nng2M4TNL+QXU1bhzrjhauwCdnhhJLEldwPM8xEM5el0CNWDRAcuU6uTJIFdU\nN0ZE\r\n=7pG2\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAz7Mtv81UxVHRsBiiHvEH91UmWbz7U7dPrAEvJUid1XAiEAvqJuiYxcc33Q4oQEVPor+q+R38bu8NEYTVbDvSVc1ZE="}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"},{"email":"bernd@brainbot.com","name":"trustlines-deploy"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.4.4-0-dev.20190529T083751Z.b56a3a9_1559119329392_0.09436447029239803"},"_hasShrinkwrap":false},"0.4.4-0-dev.20190606T213820Z.f819380":{"name":"trustlines-clientlib","version":"0.4.4-0-dev.20190606T213820Z.f819380","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"typedoc --options tdconfig.json","lint":"tslint -c tslint.json './src/**/**.ts' './tests/**/**.ts'","prettier":"prettier --write './{src,tests}/**/*.ts'","prettier:check":"prettier --check './{src,tests}/**/*.ts'","prettier:big-tabs":"prettier --write --print-width 120 --no-semi --single-quote --tab-width 4  './{src,tests}/**/*.ts'","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","coverage":"nyc report --reporter=text-lcov > coverage.lcov && codecov","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump":"./bump.sh","serve":"webpack && cp -r ./_bundles ./examples/injected-web3 && http-server ./examples/injected-web3"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{ts,js,json,css,md}":["prettier --write","git add"],"*.ts":["tslint -c tslint.json --fix","git add"]},"nyc":{"extension":[".ts"],"include":["src"],"reporter":["text"],"all":true},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.5.2","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","codecov":"^3.5.0","es6-promise":"^4.1.1","fetch-mock":"^7.2.5","fluid-publish":"^2.2.0","http-server":"^0.11.1","husky":"^2.4.0","isomorphic-fetch":"^2.2.1","lint-staged":"^8.2.0","mocha":"^5.2.0","nyc":"^14.1.0","prettier":"^1.15.2","ts-node":"^7.0.0","tslint":"^5.17.0","tslint-config-prettier":"^1.18.0","typedoc":"^0.14.2","types-ethereumjs-util":"0.0.8","typescript":"^2.9.2","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"bignumber.js":"7.2.1","ethereumjs-util":"^5.2.0","ethers":"^4.0.23","reconnecting-websocket":"^4.1.10","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","trustlines-contracts-abi":"dev","ws":"^6.2.1"},"readme":"# trustlines-network clientlib\n\n[![npm](https://img.shields.io/npm/v/trustlines-clientlib.svg)](https://www.npmjs.com/package/trustlines-clientlib)\n[![CircleCI branch](https://img.shields.io/circleci/project/github/trustlines-protocol/clientlib/master.svg)](https://circleci.com/gh/trustlines-protocol/clientlib)\n[![Codecov branch](https://img.shields.io/codecov/c/github/trustlines-protocol/clientlib/master.svg)](https://codecov.io/gh/trustlines-protocol/clientlib)\n\nA TypeScript/Javascript library for interacting with the [trustlines-network protocol](https://trustlines.network/).\n\n## Read the [Documentation](https://trustlines-network.github.io/clientlib-docs/)\n\n## Installation\n\nInstall the library using `npm` or `yarn`\n\n```bash\n$ npm install trustlines-clientlib\n// OR\n$ yarn add trustlines-clientlib\n```\n\n#### Import ES6 module\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n```\n\nUse the following configuration to connect to the currently deployed test setup.\n\n**NOTE: The [trustlines-network contracts](https://github.com/trustlines-network/contracts) are deployed on the Kovan testnet. Some Kovan Test ETH is therefore required to interact with the contracts in this setup.**\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n\nconst tlNetworkConfig = {\n  protocol: 'https',\n  host: 'relay0.testnet.trustlines.network',\n  path: 'api/v1/'\n}\n\nconst tlNetwork = new TLNetwork(tlNetworkConfig)\n```\n\n## Example\n\nThis library is a promise-based library. So every asynchronous call will return a native Javascript promise. If an error occurs the library will throw it. The caller has to handle it appropriately.\n\n```javascript\ntry {\n  const networks = await tlNetwork.currencyNetwokr.getAll()\n} catch (error) {\n  console.log('Caught error:', error)\n}\n```\n\n## Running injected web3 example\n\nTo run the example make sure to have [MetaMask](https://metamask.io/) installed and connected to a JSON RPC.\n\n```bash\nyarn serve\n```\n\nThis serves the injected web3 example app on `http://127.0.0.1:8080`. You can find the app under `./examples/injected-web3`.\n","readmeFilename":"README.md","gitHead":"f819380dc1e0b9fdb243e3d6b52e5e0ae0e89df3","_id":"trustlines-clientlib@0.4.4-0-dev.20190606T213820Z.f819380","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"trustlines-deploy","email":"bernd@brainbot.com"},"dist":{"integrity":"sha512-Ri7hd7y+j6eJFAKHxyy0EyP5j6xdB0LoCO5aAWEEA4AIRPd6VEeqCNHhbYx3TLM+Rxq45V0TARHlAaCy23iCxA==","shasum":"f42d3da86fe7fcf9ea87199974c0289cd5d79e39","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.4.4-0-dev.20190606T213820Z.f819380.tgz","fileCount":65,"unpackedSize":370279,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc+Yo6CRA9TVsSAnZWagAAihsQAJKyQCdHpKI55UcCUmvo\nPaxD8FuF6hk2P+BSF2aPwSSea9tJ7ExeFy9I41+l2YScUvANEDK3BhFMDNhn\noZg3BsgWTb7tymThMfq+VDd1QBnoeZ+9wa3zwcuqzykGrhzh1k4E0YQji8rl\nu85MOCqbYtsl5dsAxhsrzjdJgZwXdjsaWUPpoELAok1RACSzi3+NdXPU2ydI\nUy/PR0fBXZmYBvEHlTOnWDcJ9ubOWH/zfiocMPhswmtTrommzxHN6NKHXkvm\nCpCsHiUdxOsUsAusbWVE/7WS+fwlKNdKcEnxVtoTZmBz8jcXJnNMv/PpN/Qx\noWuxS6MOByOZf4XSOIdzf7pewJ1tdEXvCYvbaV4Zoa2+Vm71rX1Gtlku7LvI\nLFuSQgVKzyIATLEumF9P5xeY5bUeblObTVISBiuffb4XGY3/dilpZqyz5lrz\nz134C3aPPXG+I2wFA9IfuXDSgvCZRNQNpFMxCrDGNW+R+c8yAXMGjkCOpmrE\ntcrtgvaeZvsqStVezDMOCEBDfG3ve7aY0b1RicWNDGnl+bpYL4kQpjWO3ogQ\nrsGg47oxz+YM2SgTQ+Bpj8wfumLCu+NVrt/ne1C1hLnIkhBn8pMIbZ0ObjJb\niIZMYhEKZYeGKIU1J6lWXsCG8G00J+vfUvBsRja8lCovdgNy9/Xe6iwi09+I\nif5U\r\n=lw0C\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDw7hBvQ/GxurK1rmw9rnv3CIr52FxXpbDnTZnKTGHM1wIhAP93gxohJic2kaEEYrE3ycuAm4m9RQanEjEYSi2eWdQN"}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"},{"email":"bernd@brainbot.com","name":"trustlines-deploy"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.4.4-0-dev.20190606T213820Z.f819380_1559857722002_0.12112836043218356"},"_hasShrinkwrap":false},"0.4.4-0-dev.20190625T112449Z.5df7e43":{"name":"trustlines-clientlib","version":"0.4.4-0-dev.20190625T112449Z.5df7e43","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"typedoc --options tdconfig.json","lint":"tslint -c tslint.json './src/**/**.ts' './tests/**/**.ts'","prettier":"prettier --write './{src,tests}/**/*.ts'","prettier:check":"prettier --check './{src,tests}/**/*.ts'","prettier:big-tabs":"prettier --write --print-width 120 --no-semi --single-quote --tab-width 4  './{src,tests}/**/*.ts'","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","coverage":"nyc report --reporter=text-lcov > coverage.lcov && codecov","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump":"./bump.sh","serve":"webpack && cp -r ./_bundles ./examples/injected-web3 && http-server ./examples/injected-web3"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{ts,js,json,css,md}":["prettier --write","git add"],"*.ts":["tslint -c tslint.json --fix","git add"]},"nyc":{"extension":[".ts"],"include":["src"],"reporter":["text"],"all":true},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.5.2","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","codecov":"^3.5.0","es6-promise":"^4.1.1","fetch-mock":"^7.2.5","fluid-publish":"^2.2.0","http-server":"^0.11.1","husky":"^2.4.0","isomorphic-fetch":"^2.2.1","lint-staged":"^8.2.0","mocha":"^5.2.0","nyc":"^14.1.0","prettier":"^1.15.2","ts-node":"^7.0.0","tslint":"^5.17.0","tslint-config-prettier":"^1.18.0","typedoc":"^0.14.2","types-ethereumjs-util":"0.0.8","typescript":"^2.9.2","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"bignumber.js":"7.2.1","ethereumjs-util":"^5.2.0","ethers":"^4.0.23","reconnecting-websocket":"^4.1.10","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","trustlines-contracts-abi":"dev","ws":"^6.2.1"},"readme":"# trustlines-network clientlib\n\n[![npm](https://img.shields.io/npm/v/trustlines-clientlib.svg)](https://www.npmjs.com/package/trustlines-clientlib)\n[![CircleCI branch](https://img.shields.io/circleci/project/github/trustlines-protocol/clientlib/master.svg)](https://circleci.com/gh/trustlines-protocol/clientlib)\n[![Codecov branch](https://img.shields.io/codecov/c/github/trustlines-protocol/clientlib/master.svg)](https://codecov.io/gh/trustlines-protocol/clientlib)\n\nA TypeScript/Javascript library for interacting with the [trustlines-network protocol](https://trustlines.network/).\n\n## Read the [Documentation](https://trustlines-network.github.io/clientlib-docs/)\n\n## Installation\n\nInstall the library using `npm` or `yarn`\n\n```bash\n$ npm install trustlines-clientlib\n// OR\n$ yarn add trustlines-clientlib\n```\n\n#### Import ES6 module\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n```\n\nUse the following configuration to connect to the currently deployed test setup.\n\n**NOTE: The [trustlines-network contracts](https://github.com/trustlines-network/contracts) are deployed on the Kovan testnet. Some Kovan Test ETH is therefore required to interact with the contracts in this setup.**\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n\nconst tlNetworkConfig = {\n  protocol: 'https',\n  host: 'relay0.testnet.trustlines.network',\n  path: 'api/v1/'\n}\n\nconst tlNetwork = new TLNetwork(tlNetworkConfig)\n```\n\n## Example\n\nThis library is a promise-based library. So every asynchronous call will return a native Javascript promise. If an error occurs the library will throw it. The caller has to handle it appropriately.\n\n```javascript\ntry {\n  const networks = await tlNetwork.currencyNetwokr.getAll()\n} catch (error) {\n  console.log('Caught error:', error)\n}\n```\n\n## Running injected web3 example\n\nTo run the example make sure to have [MetaMask](https://metamask.io/) installed and connected to a JSON RPC.\n\n```bash\nyarn serve\n```\n\nThis serves the injected web3 example app on `http://127.0.0.1:8080`. You can find the app under `./examples/injected-web3`.\n","readmeFilename":"README.md","gitHead":"5df7e43cbd73cfc3fb7273cebed9ad05796bbd5f","_id":"trustlines-clientlib@0.4.4-0-dev.20190625T112449Z.5df7e43","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"trustlines-deploy","email":"bernd@brainbot.com"},"dist":{"integrity":"sha512-P8N/Nxh2G+TJ85OrwahCQKijEzrOOU83lUdR0KfWftuhFNoW28Q+IoZaxhzLlpTbWrjXWssqw3it4394Ob0omA==","shasum":"15ca056a346d4e1bee8567ed6007fadc3a194fc5","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.4.4-0-dev.20190625T112449Z.5df7e43.tgz","fileCount":65,"unpackedSize":371975,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdEgbSCRA9TVsSAnZWagAAzVIP/2ZtwQZdC/1SP6DmLbSE\nNCH0drwVhKB8EtkKTe0EXWTDDQM7+2QcwrTChyaMaV0SwiUX5zlqomOumqUg\n0Ism6ENT41WlWLEWJZQEPCzcAKtfDIxKjegVQX/rsdQvakvrzzGx+xw64yMa\ndqgLVvKePc4iyL/fWe5Fmis7obybYCTcMUAgqtKYNFaNkOAURCsp4e9NlZXr\n+BTDqbeUVjTtgd4G7cdhUvVSYl8I+uaJi8EgSlWwDFJLSCvbYqNfCzXgueKl\nAEaiwDM1mYZHyIXSLor7oW1ace8/VD+gDrJ5Szsp1cEs5GHpG7qE77V/CqxL\nbkGbW+BBMIOi80Jlyv+6jMOQ0irrvTg0fkrTQh/rEGoPgwWMgbbM0C75NC35\n/sy2BSaoJsyjXdPb8nuJj9oxnejTIqlrEfIy+IYxRV1ID3ro7Vc0ycUh7zyk\nUKG8ZiGM/TeLGT4XMmnc6q3QpKHGObBm2M2wf4dY9vMfVEUZlqyxUZ7DL4G0\nXGGHf+pXEv5zxmQkkQBU2LMecYxXURiS4LJO/244gHyYmZahnGhtb2LnVO5k\n9Ut3OWu+2WC/24jU8DQHLPY0aNYkvOsqBJbDBj1G2MMnt4J0y5OwQHrARZK1\nznRAp5I64FV+B59YdawIHBYuv5z44TK8FundkTlQEJ2EZvvO1cEiEZMrN56D\ngaYt\r\n=aQBv\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFssCD0Subq0lGcfCJr6MzL86VEyiCk8S/QRPngttPNbAiEA7aleESsf4Z2BudvdM8QINfxV+p4SCSdOJ59bGxGZGRE="}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"},{"email":"bernd@brainbot.com","name":"trustlines-deploy"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.4.4-0-dev.20190625T112449Z.5df7e43_1561462481225_0.7588033006094401"},"_hasShrinkwrap":false},"0.5.0":{"name":"trustlines-clientlib","version":"0.5.0","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"typedoc --options tdconfig.json","lint":"tslint -c tslint.json './src/**/**.ts' './tests/**/**.ts'","prettier":"prettier --write './{src,tests}/**/*.ts'","prettier:check":"prettier --check './{src,tests}/**/*.ts'","prettier:big-tabs":"prettier --write --print-width 120 --no-semi --single-quote --tab-width 4  './{src,tests}/**/*.ts'","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","coverage":"nyc report --reporter=text-lcov > coverage.lcov && codecov","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump":"./bump.sh","serve":"webpack && cp -r ./_bundles ./examples/injected-web3 && http-server ./examples/injected-web3"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{ts,js,json,css,md}":["prettier --write","git add"],"*.ts":["tslint -c tslint.json --fix","git add"]},"nyc":{"extension":[".ts"],"include":["src"],"reporter":["text"],"all":true},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.5.2","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","codecov":"^3.5.0","es6-promise":"^4.1.1","fetch-mock":"^7.2.5","fluid-publish":"^2.2.0","http-server":"^0.11.1","husky":"^2.4.0","isomorphic-fetch":"^2.2.1","lint-staged":"^8.2.0","mocha":"^5.2.0","nyc":"^14.1.0","prettier":"^1.15.2","ts-node":"^7.0.0","tslint":"^5.17.0","tslint-config-prettier":"^1.18.0","typedoc":"^0.14.2","types-ethereumjs-util":"0.0.8","typescript":"^2.9.2","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"bignumber.js":"7.2.1","ethereumjs-util":"^5.2.0","ethers":"^4.0.23","reconnecting-websocket":"^4.1.10","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","trustlines-contracts-abi":"dev","ws":"^6.2.1"},"licenseText":"MIT License\n\nCopyright (c) 2017 Trustlines Network\nCopyright (c) 2019 Trustlines Foundation\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"trustlines-clientlib@0.5.0","dist":{"shasum":"3d491677895c06dab3f741bcf58c443ea0e81edf","integrity":"sha512-aOv7UhcUhDxX3s0bOjPV77UOaGUAnpE8PApv++SWtzfId1BdyAvpZZ2aGVHMiHZuGK+D7vq1cwd2DF6w/kAQwQ==","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.5.0.tgz","fileCount":72,"unpackedSize":372090,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdEiThCRA9TVsSAnZWagAA7uAP/jnHsEucJh4X1HXKl+Nh\njmt272/Wx1p3hDeLiHHCtUeCOCr4lyveskngc8bYb1Q5eHRju16ytsGD5APi\nQ+H0ujqXXF+K//OLoCRUtrsTz8RUiSkNWO09kbC7Gu4gUdiiEWS4k5lhIRwo\nwTlbAnzs0ytZNQ9+urMq01pRycs4pvlOpy/PRl9QYrVELc6nooyUM2KoK+LQ\nYwgOAdTmffCzSBAuGoexi5peFXyAsyPVGA5rvp0dRHhU1G1O0URRqTGvK0ol\nul6KaBzhs7a4VArP7l459WwBSQGO/6T+M9CJgWXzLBLt5o6HKzhZVqSd264P\nkfQJvq5AWXo9CfpUSvI7qbkFRsCXDr0sNj4rVdUIc5qZr7olwqb5d8Q/6sb9\nKxMuLCCGDS7wKOUZwNiGeSBds4GZuRIToiM9z8PipExd1+5o7S/CkdLP8aZK\nYQ+U7zNFdig76M5NFnQ0hk9J14AWdRcG3g4XlboYwFnKEpKecaXBXi1EDNf2\nO7bCILmW2SGIqBKtXd2KIWiw+u4tBoyvW11QedownajC/rKbWeEfnZbVzX/1\nu1blNLlZjKid8OYIdFgrLUAyXcZm0R2UZJYf8y+RWMRUOgZa1NzaVDKd3Wj+\nd+yxkZpMU2SombdLnNJnh6XNTQKaR/NhXiKHK+L0xRYW/iIoIENJaqIlT5zk\n5IFB\r\n=1LkW\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDngeU4CQGwh8MUAC1PPV9c0ILED5XmaBXG5ByUPYrBXwIhAIPrdXcjBF1Mu2wc5noUve5GOnT9kcFnPOuXXDJmSEu/"}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"},{"email":"bernd@brainbot.com","name":"trustlines-deploy"}],"_npmUser":{"name":"trustlines-deploy","email":"bernd@brainbot.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.5.0_1561470176890_0.668888796376107"},"_hasShrinkwrap":false,"deprecated":"Package was moved to the @trustlines organisation. Intall latest version with npm install @trustlines/trustlines-clientlib"},"0.5.1-0-dev.20190625T134120Z.8628864":{"name":"trustlines-clientlib","version":"0.5.1-0-dev.20190625T134120Z.8628864","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"typedoc --options tdconfig.json","lint":"tslint -c tslint.json './src/**/**.ts' './tests/**/**.ts'","prettier":"prettier --write './{src,tests}/**/*.ts'","prettier:check":"prettier --check './{src,tests}/**/*.ts'","prettier:big-tabs":"prettier --write --print-width 120 --no-semi --single-quote --tab-width 4  './{src,tests}/**/*.ts'","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","coverage":"nyc report --reporter=text-lcov > coverage.lcov && codecov","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump":"./bump.sh","serve":"webpack && cp -r ./_bundles ./examples/injected-web3 && http-server ./examples/injected-web3"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{ts,js,json,css,md}":["prettier --write","git add"],"*.ts":["tslint -c tslint.json --fix","git add"]},"nyc":{"extension":[".ts"],"include":["src"],"reporter":["text"],"all":true},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.5.2","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","codecov":"^3.5.0","es6-promise":"^4.1.1","fetch-mock":"^7.2.5","fluid-publish":"^2.2.0","http-server":"^0.11.1","husky":"^2.4.0","isomorphic-fetch":"^2.2.1","lint-staged":"^8.2.0","mocha":"^5.2.0","nyc":"^14.1.0","prettier":"^1.15.2","ts-node":"^7.0.0","tslint":"^5.17.0","tslint-config-prettier":"^1.18.0","typedoc":"^0.14.2","types-ethereumjs-util":"0.0.8","typescript":"^2.9.2","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"bignumber.js":"7.2.1","ethereumjs-util":"^5.2.0","ethers":"^4.0.23","reconnecting-websocket":"^4.1.10","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","trustlines-contracts-abi":"dev","ws":"^6.2.1"},"readme":"# trustlines-network clientlib\n\n[![npm](https://img.shields.io/npm/v/trustlines-clientlib.svg)](https://www.npmjs.com/package/trustlines-clientlib)\n[![CircleCI branch](https://img.shields.io/circleci/project/github/trustlines-protocol/clientlib/master.svg)](https://circleci.com/gh/trustlines-protocol/clientlib)\n[![Codecov branch](https://img.shields.io/codecov/c/github/trustlines-protocol/clientlib/master.svg)](https://codecov.io/gh/trustlines-protocol/clientlib)\n\nA TypeScript/Javascript library for interacting with the [trustlines-network protocol](https://trustlines.network/).\n\n## Read the [Documentation](https://trustlines-network.github.io/clientlib-docs/)\n\n## Installation\n\nInstall the library using `npm` or `yarn`\n\n```bash\n$ npm install trustlines-clientlib\n// OR\n$ yarn add trustlines-clientlib\n```\n\n#### Import ES6 module\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n```\n\nUse the following configuration to connect to the currently deployed test setup.\n\n**NOTE: The [trustlines-network contracts](https://github.com/trustlines-network/contracts) are deployed on the Kovan testnet. Some Kovan Test ETH is therefore required to interact with the contracts in this setup.**\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n\nconst tlNetworkConfig = {\n  protocol: 'https',\n  host: 'relay0.testnet.trustlines.network',\n  path: 'api/v1/'\n}\n\nconst tlNetwork = new TLNetwork(tlNetworkConfig)\n```\n\n## Example\n\nThis library is a promise-based library. So every asynchronous call will return a native Javascript promise. If an error occurs the library will throw it. The caller has to handle it appropriately.\n\n```javascript\ntry {\n  const networks = await tlNetwork.currencyNetwokr.getAll()\n} catch (error) {\n  console.log('Caught error:', error)\n}\n```\n\n## Running injected web3 example\n\nTo run the example make sure to have [MetaMask](https://metamask.io/) installed and connected to a JSON RPC.\n\n```bash\nyarn serve\n```\n\nThis serves the injected web3 example app on `http://127.0.0.1:8080`. You can find the app under `./examples/injected-web3`.\n","readmeFilename":"README.md","gitHead":"8628864cfb8d464dd14428da6700df63fafed05d","_id":"trustlines-clientlib@0.5.1-0-dev.20190625T134120Z.8628864","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"trustlines-deploy","email":"bernd@brainbot.com"},"dist":{"integrity":"sha512-5Kcdb29galQL0JL/GP8z5D2dTaEA5pfPfdZ+udSEdCkKGTdycotnsIbnphortVlZmkznZMy/pf4n5pvCnSfAnA==","shasum":"7dc90cdc872f2f84a46068fb7c5eb8dc10e708d4","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.5.1-0-dev.20190625T134120Z.8628864.tgz","fileCount":65,"unpackedSize":372121,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdEibUCRA9TVsSAnZWagAAc4AQAJvtid1ysjdkMC+dEEOR\nE196LESuYw2LxLGiZNqGfKjYR4tqk6TRD1Fs1uuvR9pxcYv6rJ0EOcpP7jSs\n9csi4SVeadLg8AICss/7YdUJfIupNsDzmxTctyBhsyiYS1abUAXD6M5iefRM\nCQtpiN/u6fDGB6ltj5CMgFbwiPXXfXfkKB/zC9nkKmpjQdp2k/h37r5TQ0ya\nZ+bcP6QT21nSLf6EBwf8ww2XZnutvOcJz8YtnJjjWvyvZ/Vfp2OI1LWK5tct\nDKlJ+cSUZYftWaA+6OTMh9NTU0iwzx+qZy7FX4Bkt3qArgt/AbPP7rDw96Zi\nmYvhBsdyOcOucRtdACd9B9mtFG55SyJy5UEVqjOXzGjfsmOHd/P59w7sJ0nR\nzov/9yqPW/ZT6RJJWCOeVseTmCBx4sMZBc3UjCfuTowWSMqZlDoBWOOECuHC\nLMfen/IiHzrpS7nZrtilmfHQ75lCFmbEexfvvUOTKh1kwW8FLMaRncSkdoCA\nFvvhBnUyonOi2nQMTaNJEtjjwbpB+AW66czYpiK9UyqmJBSr7OFQpFjRUwg0\nDzEeNZ3A1pJG0yThZWktYcTd31Tt0KNhK/NrKkdkut5XB0p5y3OrsqreYYk1\nsDeRIMiyvhBCKXrXc4B6smoUSVfKecE6f4xxN8EpQ1/29h+K8fGBgT431wWU\nYc08\r\n=2Qjd\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCH6O2BqEQo7wMs0GEthZyivv1sKOJYs4cg1iiBm/VFFAIgb/tuVFtWal3TYFZv8H3Xs8Q12HM25FCJPdso82srIo8="}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"},{"email":"bernd@brainbot.com","name":"trustlines-deploy"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.5.1-0-dev.20190625T134120Z.8628864_1561470675844_0.19545949313398503"},"_hasShrinkwrap":false},"0.5.1-0-dev.20190808T145629Z.e245f68":{"name":"trustlines-clientlib","version":"0.5.1-0-dev.20190808T145629Z.e245f68","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"typedoc --options tdconfig.json","lint":"tslint -c tslint.json './src/**/**.ts' './tests/**/**.ts'","prettier":"prettier --write './{src,tests}/**/*.ts'","prettier:check":"prettier --check './{src,tests}/**/*.ts'","prettier:big-tabs":"prettier --write --print-width 120 --no-semi --single-quote --tab-width 4  './{src,tests}/**/*.ts'","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","coverage":"nyc report --reporter=text-lcov > coverage.lcov && codecov","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump":"./bump.sh","serve":"webpack && cp -r ./_bundles ./examples/injected-web3 && http-server ./examples/injected-web3"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{ts,js,json,css,md}":["prettier --write","git add"],"*.ts":["tslint -c tslint.json --fix","git add"]},"nyc":{"extension":[".ts"],"include":["src"],"reporter":["text"],"all":true},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.5.2","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","codecov":"^3.5.0","es6-promise":"^4.1.1","fetch-mock":"^7.2.5","fluid-publish":"^2.2.0","http-server":"^0.11.1","husky":"^2.4.0","isomorphic-fetch":"^2.2.1","lint-staged":"^8.2.0","mocha":"^5.2.0","nyc":"^14.1.0","prettier":"^1.15.2","ts-node":"^7.0.0","tslint":"^5.17.0","tslint-config-prettier":"^1.18.0","typedoc":"^0.14.2","types-ethereumjs-util":"0.0.8","typescript":"^2.9.2","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"bignumber.js":"7.2.1","ethereumjs-util":"^5.2.0","ethers":"^4.0.23","reconnecting-websocket":"^4.1.10","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","trustlines-contracts-abi":"dev","ws":"^6.2.1"},"readme":"# trustlines-network clientlib\n\n[![npm](https://img.shields.io/npm/v/trustlines-clientlib.svg)](https://www.npmjs.com/package/trustlines-clientlib)\n[![CircleCI branch](https://img.shields.io/circleci/project/github/trustlines-protocol/clientlib/master.svg)](https://circleci.com/gh/trustlines-protocol/clientlib)\n[![Codecov branch](https://img.shields.io/codecov/c/github/trustlines-protocol/clientlib/master.svg)](https://codecov.io/gh/trustlines-protocol/clientlib)\n\nA TypeScript/Javascript library for interacting with the [trustlines-network protocol](https://trustlines.network/).\n\n## Read the [Documentation](https://trustlines-network.github.io/clientlib-docs/)\n\n## Installation\n\nInstall the library using `npm` or `yarn`\n\n```bash\n$ npm install trustlines-clientlib\n// OR\n$ yarn add trustlines-clientlib\n```\n\n#### Import ES6 module\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n```\n\nUse the following configuration to connect to the currently deployed test setup.\n\n**NOTE: The [trustlines-network contracts](https://github.com/trustlines-network/contracts) are deployed on the Kovan testnet. Some Kovan Test ETH is therefore required to interact with the contracts in this setup.**\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n\nconst tlNetworkConfig = {\n  protocol: 'https',\n  host: 'relay0.testnet.trustlines.network',\n  path: 'api/v1/'\n}\n\nconst tlNetwork = new TLNetwork(tlNetworkConfig)\n```\n\n## Example\n\nThis library is a promise-based library. So every asynchronous call will return a native Javascript promise. If an error occurs the library will throw it. The caller has to handle it appropriately.\n\n```javascript\ntry {\n  const networks = await tlNetwork.currencyNetwokr.getAll()\n} catch (error) {\n  console.log('Caught error:', error)\n}\n```\n\n## Running injected web3 example\n\nTo run the example make sure to have [MetaMask](https://metamask.io/) installed and connected to a JSON RPC.\n\n```bash\nyarn serve\n```\n\nThis serves the injected web3 example app on `http://127.0.0.1:8080`. You can find the app under `./examples/injected-web3`.\n","readmeFilename":"README.md","gitHead":"e245f6841d2816b2cc3fe2e56edb1ae393ad20cc","_id":"trustlines-clientlib@0.5.1-0-dev.20190808T145629Z.e245f68","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"trustlines-deploy","email":"bernd@brainbot.com"},"dist":{"integrity":"sha512-YpbxylQkXgFeGZD1zmhPaztTKUTuLWok1LX5AIv/pNIQB09g5r4ZjfNUgH5q+GIdHSzu17YbEO8qPNQ/aMTvlQ==","shasum":"ad703dfbafebd3d1120b1678ab12a5dfd7a4ee2b","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.5.1-0-dev.20190808T145629Z.e245f68.tgz","fileCount":65,"unpackedSize":374397,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdTDqLCRA9TVsSAnZWagAABgsP/1sbifr/RQ0igk2x5mlQ\nsJdWH2+xz04ObLrk5PZcc6GF7euwte81hG9vhAzCdyWoolWqOYwKcAgadO3F\nS/zQs1FR9WssWLlzOlKjZ+3g/me0KZcjFmxrlENO52zUpng85DXsT2eH6G+X\n4B5VqbXWcbyUPnxI1YWR2j6WgyXdIhqZpccFsVUVNzg6BtBEnlJykJHKTNtE\nMSbWKnW7dR6XV0gm0rdaMycbs3dCXUoHfZybqYAXCXwgr562H5MsryD07YGo\nIf/68KLkSfWlQzubqU1X+MuuenD/arDrhyZREaudL1unyqGaGm0JNLKDDywP\nSVMOb708RRkX8Uh558eaEuzJbZUHuBF8M0h66dy36NP35jNTfqkqccScQjHb\nJtb6NjonvtQd1ZoFSWwkL/qyg4MrX/Lm17ufWAtS084prHFB41Sq2ZKJQmqN\nFVc7VlxmkR1BNWM6u3ab3gJ0ttJGoKZ1SQ9JkjUgNgqte2FNERgS3fpOjuVh\nk9uRgyc/ZcvbtbvHASS4eWRgYfyRW7vxrpm9ImBbQIioGl9k7KAhhuc/PNfE\ngxh9PXYn7JIiP3Gz901tL0Dn7tav/PCY2jrZ7QKNx+RQi7QAQyXSU8EbVatO\nOwy5Mfze95GYd/3F3Ebm6XKDBuL4QhTeUv7/2n7K4/bXO4voeZ02pcuDdtIe\n7sno\r\n=XscY\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDEbm2eRaGUZpPfugHYAHfeTdpMcCP4PW23W30tdYoUpwIgAwfdyVte8yshRJA/b0mvIPcOWl5Nd1oBEcbF/GKq/Xo="}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"},{"email":"bernd@brainbot.com","name":"trustlines-deploy"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.5.1-0-dev.20190808T145629Z.e245f68_1565276810426_0.5675675826232929"},"_hasShrinkwrap":false},"0.5.1-0":{"name":"trustlines-clientlib","version":"0.5.1-0","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"typedoc --options tdconfig.json","lint":"tslint -c tslint.json './src/**/**.ts' './tests/**/**.ts'","prettier":"prettier --write './{src,tests}/**/*.ts'","prettier:check":"prettier --check './{src,tests}/**/*.ts'","prettier:big-tabs":"prettier --write --print-width 120 --no-semi --single-quote --tab-width 4  './{src,tests}/**/*.ts'","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","coverage":"nyc report --reporter=text-lcov > coverage.lcov && codecov","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump":"./bump.sh","serve":"webpack && cp -r ./_bundles ./examples/injected-web3 && http-server ./examples/injected-web3"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{ts,js,json,css,md}":["prettier --write","git add"],"*.ts":["tslint -c tslint.json --fix","git add"]},"nyc":{"extension":[".ts"],"include":["src"],"reporter":["text"],"all":true},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.5.2","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","codecov":"^3.5.0","es6-promise":"^4.1.1","fetch-mock":"^7.2.5","fluid-publish":"^2.2.0","http-server":"^0.11.1","husky":"^2.4.0","isomorphic-fetch":"^2.2.1","lint-staged":"^8.2.0","mocha":"^5.2.0","nyc":"^14.1.0","prettier":"^1.15.2","ts-node":"^7.0.0","tslint":"^5.17.0","tslint-config-prettier":"^1.18.0","typedoc":"^0.14.2","types-ethereumjs-util":"0.0.8","typescript":"^2.9.2","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"bignumber.js":"7.2.1","ethereumjs-util":"^5.2.0","ethers":"^4.0.23","reconnecting-websocket":"^4.1.10","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","trustlines-contracts-abi":"dev","ws":"^6.2.1"},"licenseText":"MIT License\n\nCopyright (c) 2017 Trustlines Network\nCopyright (c) 2019 Trustlines Foundation\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"trustlines-clientlib@0.5.1-0","dist":{"shasum":"e600f23715cd73acbff56ed527fee5d71883da7a","integrity":"sha512-EzgLG2Nab+HXMtSVPU9uHJTtK96h6jeIC4Vjq1lVh7CgBcOmmXkQyOOMVdZbM0R/M5YuZlgbxAD+Cuw5M3jwtQ==","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.5.1-0.tgz","fileCount":72,"unpackedSize":373354,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdTD7fCRA9TVsSAnZWagAAoAUQAIHwCPFtaOYOk+ZohYbb\n7lJK842w/lqQdZACOTT34/LIRPdPyEwJGHW0qoeU2ctxnpBhpdRcyKNtDSk7\nU37ck2vzSaQHcL88GPcyiLYi+k2CGvsC3cCeA+Kbl4DsZfmJzJvZa3EbtFN2\nNIMzm6QQxaadQ3qhPwt/3HaPZbKSBVePudhrMKMBirxsCY9R0EeemX861Yq+\ndPEjQrC0+SzFsyR4h7TUs0/6DW2aH+9LLR/Lglw066dWVTz7h/ZGlBYVNzgv\nlYKMcYjtJsZWFoIKmRbUtc8e+kmWQXp+ND5GCFr0eLESjf0DNzsu9U5xbMM4\nc7LwmJKsAI7IZMmbnlY36ONU4KMH2H9p42RC5CjTjWbsJsCC/e/Vy5kTdYIZ\nzKPItJ01k6GLPzEBHJ81XH8pGIch/51p1oS4TiPsWGfiDIuw651vMzJ7KR2q\nsc2ro0quUo+9uIUCvWmXJFYK/Ds6pQRo7nJF8OrG5FoQP87d/JyEbTHaXJbF\nns53vS7GpCPas1YxEEtlTCoGcZTS0c4O1zH9PmkvcWOZO2ZzjI9/BLGTY9EZ\nKMYlYJszfprpk1ut9oHR3VSM5xM8uYDqbHEKvkN2cTPwR3OkcdGZ0VUozib6\nKVGc0KfAWvLrBmlz+a3sXw/g9M2VKmoEbHNQTk0cd88qR/DyRvg5yOxCZITK\nmvgA\r\n=5zlM\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHLWJT13TRAMAYSCfSErH5l4OZs47jXdgxRkeo7B5OXaAiEA71whOgnaq6eF0MvnSNa+X/sFUesNSBX/740+xzfDLuM="}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"},{"email":"bernd@brainbot.com","name":"trustlines-deploy"}],"_npmUser":{"name":"trustlines-deploy","email":"bernd@brainbot.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.5.1-0_1565277918895_0.26489239135767684"},"_hasShrinkwrap":false},"0.5.1-0-dev.20190808T151818Z.0abe49d":{"name":"trustlines-clientlib","version":"0.5.1-0-dev.20190808T151818Z.0abe49d","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"typedoc --options tdconfig.json","lint":"tslint -c tslint.json './src/**/**.ts' './tests/**/**.ts'","prettier":"prettier --write './{src,tests}/**/*.ts'","prettier:check":"prettier --check './{src,tests}/**/*.ts'","prettier:big-tabs":"prettier --write --print-width 120 --no-semi --single-quote --tab-width 4  './{src,tests}/**/*.ts'","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","coverage":"nyc report --reporter=text-lcov > coverage.lcov && codecov","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump":"./bump.sh","serve":"webpack && cp -r ./_bundles ./examples/injected-web3 && http-server ./examples/injected-web3"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{ts,js,json,css,md}":["prettier --write","git add"],"*.ts":["tslint -c tslint.json --fix","git add"]},"nyc":{"extension":[".ts"],"include":["src"],"reporter":["text"],"all":true},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.5.2","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","codecov":"^3.5.0","es6-promise":"^4.1.1","fetch-mock":"^7.2.5","fluid-publish":"^2.2.0","http-server":"^0.11.1","husky":"^2.4.0","isomorphic-fetch":"^2.2.1","lint-staged":"^8.2.0","mocha":"^5.2.0","nyc":"^14.1.0","prettier":"^1.15.2","ts-node":"^7.0.0","tslint":"^5.17.0","tslint-config-prettier":"^1.18.0","typedoc":"^0.14.2","types-ethereumjs-util":"0.0.8","typescript":"^2.9.2","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"bignumber.js":"7.2.1","ethereumjs-util":"^5.2.0","ethers":"^4.0.23","reconnecting-websocket":"^4.1.10","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","trustlines-contracts-abi":"dev","ws":"^6.2.1"},"readme":"# trustlines-network clientlib\n\n[![npm](https://img.shields.io/npm/v/trustlines-clientlib.svg)](https://www.npmjs.com/package/trustlines-clientlib)\n[![CircleCI branch](https://img.shields.io/circleci/project/github/trustlines-protocol/clientlib/master.svg)](https://circleci.com/gh/trustlines-protocol/clientlib)\n[![Codecov branch](https://img.shields.io/codecov/c/github/trustlines-protocol/clientlib/master.svg)](https://codecov.io/gh/trustlines-protocol/clientlib)\n\nA TypeScript/Javascript library for interacting with the [trustlines-network protocol](https://trustlines.network/).\n\n## Read the [Documentation](https://trustlines-network.github.io/clientlib-docs/)\n\n## Installation\n\nInstall the library using `npm` or `yarn`\n\n```bash\n$ npm install trustlines-clientlib\n// OR\n$ yarn add trustlines-clientlib\n```\n\n#### Import ES6 module\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n```\n\nUse the following configuration to connect to the currently deployed test setup.\n\n**NOTE: The [trustlines-network contracts](https://github.com/trustlines-network/contracts) are deployed on the Kovan testnet. Some Kovan Test ETH is therefore required to interact with the contracts in this setup.**\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n\nconst tlNetworkConfig = {\n  protocol: 'https',\n  host: 'relay0.testnet.trustlines.network',\n  path: 'api/v1/'\n}\n\nconst tlNetwork = new TLNetwork(tlNetworkConfig)\n```\n\n## Example\n\nThis library is a promise-based library. So every asynchronous call will return a native Javascript promise. If an error occurs the library will throw it. The caller has to handle it appropriately.\n\n```javascript\ntry {\n  const networks = await tlNetwork.currencyNetwokr.getAll()\n} catch (error) {\n  console.log('Caught error:', error)\n}\n```\n\n## Running injected web3 example\n\nTo run the example make sure to have [MetaMask](https://metamask.io/) installed and connected to a JSON RPC.\n\n```bash\nyarn serve\n```\n\nThis serves the injected web3 example app on `http://127.0.0.1:8080`. You can find the app under `./examples/injected-web3`.\n","readmeFilename":"README.md","gitHead":"0abe49df0c726e7cc9f82a0d76bacae0bc06bec8","_id":"trustlines-clientlib@0.5.1-0-dev.20190808T151818Z.0abe49d","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"trustlines-deploy","email":"bernd@brainbot.com"},"dist":{"integrity":"sha512-XC88AmCocYY3GIzJ4bDiZ96ZFX9tOqWT6Nbkq5pf+NJlVnZjApeWISDasqMVlorsXYaEM23z6lQyx8dvP4fD+A==","shasum":"cf55fc7c006836d4aea9de31d692844e00581064","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.5.1-0-dev.20190808T151818Z.0abe49d.tgz","fileCount":65,"unpackedSize":374715,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdTD+YCRA9TVsSAnZWagAAhg8P/j55DQLaYp7e9+3tUMGG\n8bIK7OlD0essC38owMBTTrWnBC4W2+KpJjn356zwFEofqNTqvSBxevnmAcVU\nYKolIoDzBFqIwgTTYi7g5GF1Ga8m+Bvsu70L66unpeLZ7iLp119qEMI1EEux\nBH9aBn/K0f+ySZpgjkQKWbN4Y6++c7d+IplGnNUiNze0OfywvEfylYsSg4r7\nHNKO1Rmm76McCSvF2u5nZzg2nwPHCVWZGa7Qz6ADIZi4BXO9O+OPnryPK2S8\nHRz3BkdqmpMP2hzUI6IP7KioP7xrriYkU0H1VxEkmWX+Pl+6PWWcfU5tmHX8\nob70xD2ZnFHh3j0OuM8mAlOKLbV7NZ76wu+Qey0Ssn0mP+vTmsBjcXFzeYhC\n1cuUXlQf0a2XuFRtIyqjZb4MHJHNZx0rcfPYQr+k7mTcUT5QOwt0zLNnr7k1\nxRd8Na2d8vMxfUdsUzNfyKo6A1cPnQ9LlL72Hqe7ksgIySMl80COURr/c+CS\noVb/fIwgqN8K+lMjjd7YbuX4lp3Q96NEH/Lu/kzf2Egrw8sLGuS4mTKSPHkY\nW8+Q0YYGnhrLZaD1sVOFnQYfQUwsvitqRTgoWUuA6nUtuywZmL3YS6aSZehz\nEBe+UZdSd2Oez0fMFwz9OIrIT5OZ702LvR4kUHDz2TyI4OJAuRK+r0EITWYg\n5Eri\r\n=iYtq\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDfODiiSmWwVFSD04yiYRf72TYEIB7G70lzfP0lVXPlvAiEAyx0s2e2CncrNxpKsvgevoHd1GJolbUDomVeaXabUSjw="}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"},{"email":"bernd@brainbot.com","name":"trustlines-deploy"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.5.1-0-dev.20190808T151818Z.0abe49d_1565278103399_0.3130416287416622"},"_hasShrinkwrap":false},"0.6.1-0-dev.20190808T154509Z.2e681da":{"name":"trustlines-clientlib","version":"0.6.1-0-dev.20190808T154509Z.2e681da","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"typedoc --options tdconfig.json","lint":"tslint -c tslint.json './src/**/**.ts' './tests/**/**.ts'","prettier":"prettier --write './{src,tests}/**/*.ts'","prettier:check":"prettier --check './{src,tests}/**/*.ts'","prettier:big-tabs":"prettier --write --print-width 120 --no-semi --single-quote --tab-width 4  './{src,tests}/**/*.ts'","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","coverage":"nyc report --reporter=text-lcov > coverage.lcov && codecov","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump":"./bump.sh","serve":"webpack && cp -r ./_bundles ./examples/injected-web3 && http-server ./examples/injected-web3"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{ts,js,json,css,md}":["prettier --write","git add"],"*.ts":["tslint -c tslint.json --fix","git add"]},"nyc":{"extension":[".ts"],"include":["src"],"reporter":["text"],"all":true},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.5.2","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","codecov":"^3.5.0","es6-promise":"^4.1.1","fetch-mock":"^7.2.5","fluid-publish":"^2.2.0","http-server":"^0.11.1","husky":"^2.4.0","isomorphic-fetch":"^2.2.1","lint-staged":"^8.2.0","mocha":"^5.2.0","nyc":"^14.1.0","prettier":"^1.15.2","ts-node":"^7.0.0","tslint":"^5.17.0","tslint-config-prettier":"^1.18.0","typedoc":"^0.14.2","types-ethereumjs-util":"0.0.8","typescript":"^2.9.2","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"bignumber.js":"7.2.1","ethereumjs-util":"^5.2.0","ethers":"^4.0.23","reconnecting-websocket":"^4.1.10","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","trustlines-contracts-abi":"dev","ws":"^6.2.1"},"readme":"# trustlines-network clientlib\n\n[![npm](https://img.shields.io/npm/v/trustlines-clientlib.svg)](https://www.npmjs.com/package/trustlines-clientlib)\n[![CircleCI branch](https://img.shields.io/circleci/project/github/trustlines-protocol/clientlib/master.svg)](https://circleci.com/gh/trustlines-protocol/clientlib)\n[![Codecov branch](https://img.shields.io/codecov/c/github/trustlines-protocol/clientlib/master.svg)](https://codecov.io/gh/trustlines-protocol/clientlib)\n\nA TypeScript/Javascript library for interacting with the [trustlines-network protocol](https://trustlines.network/).\n\n## Read the [Documentation](https://trustlines-network.github.io/clientlib-docs/)\n\n## Installation\n\nInstall the library using `npm` or `yarn`\n\n```bash\n$ npm install trustlines-clientlib\n// OR\n$ yarn add trustlines-clientlib\n```\n\n#### Import ES6 module\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n```\n\nUse the following configuration to connect to the currently deployed test setup.\n\n**NOTE: The [trustlines-network contracts](https://github.com/trustlines-network/contracts) are deployed on the Kovan testnet. Some Kovan Test ETH is therefore required to interact with the contracts in this setup.**\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n\nconst tlNetworkConfig = {\n  protocol: 'https',\n  host: 'relay0.testnet.trustlines.network',\n  path: 'api/v1/'\n}\n\nconst tlNetwork = new TLNetwork(tlNetworkConfig)\n```\n\n## Example\n\nThis library is a promise-based library. So every asynchronous call will return a native Javascript promise. If an error occurs the library will throw it. The caller has to handle it appropriately.\n\n```javascript\ntry {\n  const networks = await tlNetwork.currencyNetwokr.getAll()\n} catch (error) {\n  console.log('Caught error:', error)\n}\n```\n\n## Running injected web3 example\n\nTo run the example make sure to have [MetaMask](https://metamask.io/) installed and connected to a JSON RPC.\n\n```bash\nyarn serve\n```\n\nThis serves the injected web3 example app on `http://127.0.0.1:8080`. You can find the app under `./examples/injected-web3`.\n","readmeFilename":"README.md","gitHead":"2e681daf925ddfc25fe24088986fb8051e3d0cb4","_id":"trustlines-clientlib@0.6.1-0-dev.20190808T154509Z.2e681da","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"trustlines-deploy","email":"bernd@brainbot.com"},"dist":{"integrity":"sha512-J3ONkTRL8kCoGyLE6kjk8IHkZsn3nRvPR6ayCMKNkyJIpJE3vzOVqwHcd4+B3qcBmC0rYLp6i7riMeTu044CuQ==","shasum":"0dbad05e0b6882e8a6568d2275be1f91de399933","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.6.1-0-dev.20190808T154509Z.2e681da.tgz","fileCount":65,"unpackedSize":374715,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdTEZNCRA9TVsSAnZWagAAuDkP/2I88TuCqdH08qTRBON8\ncI7F2L6pXscpNyHPNTeCDWzS5Ouwy0MeliNBbdMSw9Cv79hCcc1i8maTgOCA\n+C9TPdpUlohz6QD60+nC/xosQtHDKnJnS58E7F2aTSBnJgZr2tytPlmDK2JE\nYzMnuJQo29xJ4aRh2aw5kNGPxZ4+kx64aIBSIplMrXRJhg25rP5PGu0WvBs+\nnA4LGQJwA3vwPS2icKJ+ldxv9deLMKTHvjV5FuQIWVzcRw3olezzaOOhaXQA\naZdKikxrY/kBF8VBd4DUSjeE51LNjbUAJNITSuZpnKDt+USAtuMFpu5i4NL1\n9/q3q9/cnMwXQ0tfQQ+LcJK6fPCUcNhJTgtdtVbYH99E9RnVjq+2FmooH207\nT2BbBRyn6mXSN8OecYT9gb6c7V2NjQaglXf7hxxttjTUK6jYYFl1FNnJ1wSb\nQKSCqbP+o5+FwGOw1nYQSMfazH2hJz85XSJxb8wBWP5/gPcbp/WqSEE6R9Pn\nd44BiQBIX9jnukF/sSUmMHMFS5MiWVS322CNTRU8LSOn2XHRD6dhGznHHevA\nCurjBxx0Ep7g3OZa1J18DbF+OOFDFYEM1nmi/XjzKwmEE32bW/BHRd3tPYmb\nys6S0YxaViTswyB0gdElXFvlOvwLqJEzfC0vDgH4zgGov7sXCW7Xv0HSj7un\n3LaE\r\n=FiOc\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDa/Z6LpRERldT+CpXnxLGkSVy8kfTM55g6p3kmJxJrOgIhAJ6k0dij7DRjS606LvXNN9qO2zPYZF0g8p73hmFayeDP"}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"},{"email":"bernd@brainbot.com","name":"trustlines-deploy"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.6.1-0-dev.20190808T154509Z.2e681da_1565279820907_0.5214973423535267"},"_hasShrinkwrap":false},"0.6.0":{"name":"trustlines-clientlib","version":"0.6.0","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"typedoc --options tdconfig.json","lint":"tslint -c tslint.json './src/**/**.ts' './tests/**/**.ts'","prettier":"prettier --write './{src,tests}/**/*.ts'","prettier:check":"prettier --check './{src,tests}/**/*.ts'","prettier:big-tabs":"prettier --write --print-width 120 --no-semi --single-quote --tab-width 4  './{src,tests}/**/*.ts'","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","coverage":"nyc report --reporter=text-lcov > coverage.lcov && codecov","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump":"./bump.sh","serve":"webpack && cp -r ./_bundles ./examples/injected-web3 && http-server ./examples/injected-web3"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{ts,js,json,css,md}":["prettier --write","git add"],"*.ts":["tslint -c tslint.json --fix","git add"]},"nyc":{"extension":[".ts"],"include":["src"],"reporter":["text"],"all":true},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.5.2","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","codecov":"^3.5.0","es6-promise":"^4.1.1","fetch-mock":"^7.2.5","fluid-publish":"^2.2.0","http-server":"^0.11.1","husky":"^2.4.0","isomorphic-fetch":"^2.2.1","lint-staged":"^8.2.0","mocha":"^5.2.0","nyc":"^14.1.0","prettier":"^1.15.2","ts-node":"^7.0.0","tslint":"^5.17.0","tslint-config-prettier":"^1.18.0","typedoc":"^0.14.2","types-ethereumjs-util":"0.0.8","typescript":"^2.9.2","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"bignumber.js":"7.2.1","ethereumjs-util":"^5.2.0","ethers":"^4.0.23","reconnecting-websocket":"^4.1.10","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","trustlines-contracts-abi":"dev","ws":"^6.2.1"},"licenseText":"MIT License\n\nCopyright (c) 2017 Trustlines Network\nCopyright (c) 2019 Trustlines Foundation\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"trustlines-clientlib@0.6.0","dist":{"shasum":"124554761f61e4d829cb4af03e9a00f76b8ffc0c","integrity":"sha512-4pySw3+dh6abWb1c00lQL2jWRohkoH3tPA04Tr9KAEX2lrTBHzRN59Ouf7qPhkyCvsX7NblbmNcovBgRHSHomw==","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.6.0.tgz","fileCount":72,"unpackedSize":374684,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdTEZSCRA9TVsSAnZWagAAIqkP/RzYQ9J+xRuJVCg/bNL1\n6B9ZxJ0jtoBwEq5NTdoNW8xotw4ohc7z4uJlSpXIelBHxLvh8xuIzHP9QAhG\n8WoC4iT9Moe79ugWXDmuOZ1NrigvATmcGKYTm0J2LYq6CrRgVIXWnT4Do6mO\nFgt2pAgXbj24mjJ9kELNsSfFV5xpA1MBYaWJgbqY3LB57xxaPbrvhwM+I5tU\n95A738/RORlzEcVFHovUmCTkkMIMIpSsz8OuV33pqRMkQctJUQCCVvdQauAV\n06x0L9DchFbLdR+byfe2cjhr+Ym5syyPrfhAEon75JG/NzuvwRnUZslKKmcu\n1kME3o30NWxi1/pI+QSgD5BZXTGFDIoRfUvimBBqp1ZPgwDPbJx9mcdGs/5n\nhSGEtHyGpebjp2jYs9jQ0el3TqNaEP6QcGricgwhJT/cDbj0sCKsMP6wCc1y\njWqmnlM6g/+eyksyEi2E9Ee4kt2VH5QC3r+dP6RYCFFd+outq8opmvJZNmVb\nXUNeOj27mhNEhK31wOZLADgvJ4DrEM8F8oU/eHDALSjVi8AUfP5OpImXYcQH\nb5lDzeWtYmMdCW3Ph+yM2q5rrqpkmlcT5oFXQNdcs5MFx+xiBmer6B8PyeXS\n3EDCecr1BdNyuRwOECiijUw6nPbkHsc+wOKfZWfqCJyrnC3Irmsmhi69+2iB\nRpYD\r\n=/XA+\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGFmx/uYwcr/O/3jk0JsIu4Z/PO50q4SHNvV9LDx1o0zAiBz2mCd1usfvky+T/yB1hZnSfFWf8SEV0UAYywpf0Y2pw=="}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"},{"email":"bernd@brainbot.com","name":"trustlines-deploy"}],"_npmUser":{"name":"trustlines-deploy","email":"bernd@brainbot.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.6.0_1565279825796_0.11262323087223614"},"_hasShrinkwrap":false,"deprecated":"Package was moved to the @trustlines organisation. Intall latest version with npm install @trustlines/trustlines-clientlib"},"0.6.1-0-dev.20190808T163517Z.ced105a":{"name":"trustlines-clientlib","version":"0.6.1-0-dev.20190808T163517Z.ced105a","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"typedoc --options tdconfig.json","lint":"tslint -c tslint.json './src/**/**.ts' './tests/**/**.ts'","prettier":"prettier --write './{src,tests}/**/*.ts'","prettier:check":"prettier --check './{src,tests}/**/*.ts'","prettier:big-tabs":"prettier --write --print-width 120 --no-semi --single-quote --tab-width 4  './{src,tests}/**/*.ts'","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","coverage":"nyc report --reporter=text-lcov > coverage.lcov && codecov","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump":"./bump.sh","serve":"webpack && cp -r ./_bundles ./examples/injected-web3 && http-server ./examples/injected-web3"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{ts,js,json,css,md}":["prettier --write","git add"],"*.ts":["tslint -c tslint.json --fix","git add"]},"nyc":{"extension":[".ts"],"include":["src"],"reporter":["text"],"all":true},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.5.2","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","codecov":"^3.5.0","es6-promise":"^4.1.1","fetch-mock":"^7.2.5","fluid-publish":"^2.2.0","http-server":"^0.11.1","husky":"^2.4.0","isomorphic-fetch":"^2.2.1","lint-staged":"^8.2.0","mocha":"^5.2.0","nyc":"^14.1.0","prettier":"^1.15.2","ts-node":"^7.0.0","tslint":"^5.17.0","tslint-config-prettier":"^1.18.0","typedoc":"^0.14.2","types-ethereumjs-util":"0.0.8","typescript":"^2.9.2","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"bignumber.js":"7.2.1","ethereumjs-util":"^5.2.0","ethers":"^4.0.23","reconnecting-websocket":"^4.1.10","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","trustlines-contracts-abi":"dev","ws":"^6.2.1"},"readme":"# trustlines-network clientlib\n\n[![npm](https://img.shields.io/npm/v/trustlines-clientlib.svg)](https://www.npmjs.com/package/trustlines-clientlib)\n[![CircleCI branch](https://img.shields.io/circleci/project/github/trustlines-protocol/clientlib/master.svg)](https://circleci.com/gh/trustlines-protocol/clientlib)\n[![Codecov branch](https://img.shields.io/codecov/c/github/trustlines-protocol/clientlib/master.svg)](https://codecov.io/gh/trustlines-protocol/clientlib)\n\nA TypeScript/Javascript library for interacting with the [trustlines-network protocol](https://trustlines.network/).\n\n## Read the [Documentation](https://trustlines-network.github.io/clientlib-docs/)\n\n## Installation\n\nInstall the library using `npm` or `yarn`\n\n```bash\n$ npm install trustlines-clientlib\n// OR\n$ yarn add trustlines-clientlib\n```\n\n#### Import ES6 module\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n```\n\nUse the following configuration to connect to the currently deployed test setup.\n\n**NOTE: The [trustlines-network contracts](https://github.com/trustlines-network/contracts) are deployed on the Kovan testnet. Some Kovan Test ETH is therefore required to interact with the contracts in this setup.**\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n\nconst tlNetworkConfig = {\n  protocol: 'https',\n  host: 'relay0.testnet.trustlines.network',\n  path: 'api/v1/'\n}\n\nconst tlNetwork = new TLNetwork(tlNetworkConfig)\n```\n\n## Example\n\nThis library is a promise-based library. So every asynchronous call will return a native Javascript promise. If an error occurs the library will throw it. The caller has to handle it appropriately.\n\n```javascript\ntry {\n  const networks = await tlNetwork.currencyNetwokr.getAll()\n} catch (error) {\n  console.log('Caught error:', error)\n}\n```\n\n## Running injected web3 example\n\nTo run the example make sure to have [MetaMask](https://metamask.io/) installed and connected to a JSON RPC.\n\n```bash\nyarn serve\n```\n\nThis serves the injected web3 example app on `http://127.0.0.1:8080`. You can find the app under `./examples/injected-web3`.\n","readmeFilename":"README.md","gitHead":"ced105a46145b40dc0858d92add8dcee37773804","_id":"trustlines-clientlib@0.6.1-0-dev.20190808T163517Z.ced105a","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"trustlines-deploy","email":"bernd@brainbot.com"},"dist":{"integrity":"sha512-lpXpTiJGtyFzXFF2nWXIeF9cEz2MfzIhpeg/YoGLsd4gliQMEVLRIIghbwLwg0zc5w/A/CLv/9K59QlkEcr29g==","shasum":"0af8d1b42f8fe0c5f762edccf85eff2fd7291ccc","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.6.1-0-dev.20190808T163517Z.ced105a.tgz","fileCount":65,"unpackedSize":374715,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdTFG3CRA9TVsSAnZWagAAd6AP/3qt+960j83eD/y9NQk8\nbv4Gz2R72hN5kM3MnUiY7eEI+LRz+yx9+/ZDj5ewtSJnH2bXzuJNdNtvsVt9\nqLrFaCDaFAIRgoi/vrd3etYmYAMStb4YQ+X1K+A0ardYJfonWGW8PLNEc/RV\n1ARt37ZyzVmwGNWGwM0azXl/LJ8O4Z1cu1LUYWpzaASz03W7hh12xPqCtBUs\nDhA1HMgQaB0OatXaD2pPAwibH7fl+dzB67rP2iNxHM6EOJzO3/VPjOgNik5O\nqZZOaIg3dcv+E5YQpui7ZUhJLOp8wgm27HF5Cz8Q+5bABlPyUIoQMt9z+Ue5\nrq0SowjZz/nhMAR/o85Wrtp7liW9uof+QqA7aLyLJJ1xQmLpjt2t4f2lV25q\n+oL3IyxT3mjjM0dbO6SXhcIEi8v2hUwCNp68zL3aFaxXXN29Wdhdi6eLUXaU\n4b4M957Li7ka6RCEZB2VizWMzRY3pD58ka++2yPvQVEpofeoZGd9GDrDMvVy\nRs1C3AvT3tp00XLKbLEYPhus1Kb+a9OwnWMmD9LZPUXsWfAs7ybh3Vr/okhh\nZxxoYRvNfsnBqVq+Qb+Bs07ZQ5ebGPsyCMdTcTPqmJS1iiooXY1qbCDj8PFN\nY0LD9+VeukGplj6mebhYa3axtn2Pg0i1uWtggF2L8zhEalVAT++jAYdG3Uh1\nKHuu\r\n=6mS0\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICuI3jfbY1Nt9w1Obk0B+gwqJMCpUUnlrobsQCXVjehkAiAwa8A+BylM2rbSFhs1n7V1uCq8g189rLqzeoK5U2Ekyw=="}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"},{"email":"bernd@brainbot.com","name":"trustlines-deploy"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.6.1-0-dev.20190808T163517Z.ced105a_1565282742790_0.6418829511500952"},"_hasShrinkwrap":false},"0.6.1-0-dev.20190814T103512Z.61ce35c":{"name":"trustlines-clientlib","version":"0.6.1-0-dev.20190814T103512Z.61ce35c","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"typedoc --options tdconfig.json","lint":"tslint -c tslint.json './src/**/**.ts' './tests/**/**.ts'","prettier":"prettier --write './{src,tests}/**/*.ts'","prettier:check":"prettier --check './{src,tests}/**/*.ts'","prettier:big-tabs":"prettier --write --print-width 120 --no-semi --single-quote --tab-width 4  './{src,tests}/**/*.ts'","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","coverage":"nyc report --reporter=text-lcov > coverage.lcov && codecov","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump":"./bump.sh","serve":"webpack && cp -r ./_bundles ./examples/injected-web3 && http-server ./examples/injected-web3"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{ts,js,json,css,md}":["prettier --write","git add"],"*.ts":["tslint -c tslint.json --fix","git add"]},"nyc":{"extension":[".ts"],"include":["src"],"reporter":["text"],"all":true},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.5.2","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","codecov":"^3.5.0","es6-promise":"^4.1.1","fetch-mock":"^7.2.5","fluid-publish":"^2.2.0","http-server":"^0.11.1","husky":"^2.4.0","isomorphic-fetch":"^2.2.1","lint-staged":"^8.2.0","mocha":"^5.2.0","nyc":"^14.1.0","prettier":"^1.15.2","ts-node":"^7.0.0","tslint":"^5.17.0","tslint-config-prettier":"^1.18.0","typedoc":"^0.14.2","types-ethereumjs-util":"0.0.8","typescript":"^2.9.2","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"bignumber.js":"7.2.1","ethereumjs-util":"^5.2.0","ethers":"^4.0.23","reconnecting-websocket":"^4.1.10","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","trustlines-contracts-abi":"dev","ws":"^6.2.1"},"readme":"# trustlines-network clientlib\n\n[![npm](https://img.shields.io/npm/v/trustlines-clientlib.svg)](https://www.npmjs.com/package/trustlines-clientlib)\n[![CircleCI branch](https://img.shields.io/circleci/project/github/trustlines-protocol/clientlib/master.svg)](https://circleci.com/gh/trustlines-protocol/clientlib)\n[![Codecov branch](https://img.shields.io/codecov/c/github/trustlines-protocol/clientlib/master.svg)](https://codecov.io/gh/trustlines-protocol/clientlib)\n\nA TypeScript/Javascript library for interacting with the [trustlines-network protocol](https://trustlines.network/).\n\n## Read the [Documentation](https://trustlines-network.github.io/clientlib-docs/)\n\n## Installation\n\nInstall the library using `npm` or `yarn`\n\n```bash\n$ npm install trustlines-clientlib\n// OR\n$ yarn add trustlines-clientlib\n```\n\n#### Import ES6 module\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n```\n\nUse the following configuration to connect to the currently deployed test setup.\n\n**NOTE: The [trustlines-network contracts](https://github.com/trustlines-network/contracts) are deployed on the Laika Testnet ([Laika Blockexplorer](https://explorelaika.trustlines.foundation/)), the test network of Trustlines. Some Laika test `TLC` is therefore required to interact with the contracts in this setup.**\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n\nconst tlNetworkConfig = {\n  protocol: 'https',\n  host: 'relay0.testnet.trustlines.network',\n  path: 'api/v1/'\n}\n\nconst tlNetwork = new TLNetwork(tlNetworkConfig)\n```\n\n## Example\n\nThis library is a promise-based library. So every asynchronous call will return a native Javascript promise. If an error occurs the library will throw it. The caller has to handle it appropriately.\n\n```javascript\ntry {\n  const networks = await tlNetwork.currencyNetwokr.getAll()\n} catch (error) {\n  console.log('Caught error:', error)\n}\n```\n\n## Running injected web3 example\n\nTo run the example make sure to have [MetaMask](https://metamask.io/) installed and connected to a JSON RPC.\n\n```bash\nyarn serve\n```\n\nThis serves the injected web3 example app on `http://127.0.0.1:8080`. You can find the app under `./examples/injected-web3`.\n","readmeFilename":"README.md","gitHead":"61ce35c1dd7f741cb062c0e73a4818a49abb5024","_id":"trustlines-clientlib@0.6.1-0-dev.20190814T103512Z.61ce35c","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"trustlines-deploy","email":"bernd@brainbot.com"},"dist":{"integrity":"sha512-0mqkdA4fl5s/uK0yHrp2y7ZisjI2wFMXkp3zxui3/W0ofrksUvViAXq37bc9nZnBLmo5uJaqyoZes89baU5mPw==","shasum":"f6f4dfaea0cf9d22a1ac44721f7f2188983d4f09","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.6.1-0-dev.20190814T103512Z.61ce35c.tgz","fileCount":65,"unpackedSize":374818,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdU+ZECRA9TVsSAnZWagAA3B8P/jJWxNg00qBykb/g/6MM\nGsMtk5LUBvqH9QfQQIqZOFnPC8T1Jd25UzhqIQCcslqnx53FcVspyUxTrJLF\nRSS9mN/NUsBfhkM0p/d82Z+NCSw5cykeGsQe83rs5NdzmXKc06FwRamEp0iL\nmyqeinFWbrBECsRQZoKaHmuTu6PkkVd7L8UcOHOQPOJqRg8T2+u7VmtileLQ\nVyQOnseXX6rFqCCxhOzZL+OpdAVnmppT7uNxVy0xyHsB1dCwCuZEStEIU5mQ\nUjSNe6vMvYyTVpvKBHLyR+HxGNEl/d6wYERDM2pU8fqHh83LMZ/Udd/f8Xfr\nDPeaxG/y1PlB3k3vXnov5d/IYb44Nv4PDWmLd3xEG9yfVA4u7BIeH5gHRtwu\nnp+gsZcTVA5EuF6LiMcQbyRo4TXCKb92F7C8FFpwO35zAi+6DCwn3cxzFGOk\nnIY5QQGDRuOzHeC+ywgvXEDr4UKm7IGrrAsWpmwPyX1G3xhX+6Gj7p9fj0xc\n/hRqlhOG+nqHBscn6yRx04j8DtaoZZrXY20ME5mlch4UCgVtyNkqPetIYUpO\nuQGJIqx/EUsXMcdrN4C71+LRcxi9cIOVC7coc6vghAA9EANs5iC/ydVe95mC\nkdoZeDZ32d4Txu3ZCUd2XD0ZJ5nn+1mQHBnbse+Kb2T3TNnGuLVBOjHWMlfV\nUFTE\r\n=ECEd\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCzgs/GI4hIAl2S1FjaVd+W01JIsmMbh5NdIfFmMuEYMgIhAIcDEn+vuWXDPhyF6ws7bYh5XoFxheV3N50QQ8go/6YP"}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"},{"email":"bernd@brainbot.com","name":"trustlines-deploy"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.6.1-0-dev.20190814T103512Z.61ce35c_1565779523997_0.39083802564566117"},"_hasShrinkwrap":false},"0.6.1-0-dev.20190814T115743Z.6e15e92":{"name":"trustlines-clientlib","version":"0.6.1-0-dev.20190814T115743Z.6e15e92","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"typedoc --options tdconfig.json","lint":"tslint -c tslint.json './src/**/**.ts' './tests/**/**.ts'","prettier":"prettier --write './{src,tests}/**/*.ts'","prettier:check":"prettier --check './{src,tests}/**/*.ts'","prettier:big-tabs":"prettier --write --print-width 120 --no-semi --single-quote --tab-width 4  './{src,tests}/**/*.ts'","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","coverage":"nyc report --reporter=text-lcov > coverage.lcov && codecov","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump":"./bump.sh","serve":"webpack && cp -r ./_bundles ./examples/injected-web3 && http-server ./examples/injected-web3"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{ts,js,json,css,md}":["prettier --write","git add"],"*.ts":["tslint -c tslint.json --fix","git add"]},"nyc":{"extension":[".ts"],"include":["src"],"reporter":["text"],"all":true},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.5.2","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","codecov":"^3.5.0","es6-promise":"^4.1.1","fetch-mock":"^7.2.5","fluid-publish":"^2.2.0","http-server":"^0.11.1","husky":"^2.4.0","isomorphic-fetch":"^2.2.1","lint-staged":"^8.2.0","mocha":"^5.2.0","nyc":"^14.1.0","prettier":"^1.15.2","ts-node":"^7.0.0","tslint":"^5.17.0","tslint-config-prettier":"^1.18.0","typedoc":"^0.14.2","types-ethereumjs-util":"0.0.8","typescript":"^2.9.2","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"bignumber.js":"7.2.1","ethereumjs-util":"^5.2.0","ethers":"^4.0.23","reconnecting-websocket":"^4.1.10","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","trustlines-contracts-abi":"dev","ws":"^6.2.1"},"readme":"# trustlines-network clientlib\n\n[![npm](https://img.shields.io/npm/v/trustlines-clientlib.svg)](https://www.npmjs.com/package/trustlines-clientlib)\n[![CircleCI branch](https://img.shields.io/circleci/project/github/trustlines-protocol/clientlib/master.svg)](https://circleci.com/gh/trustlines-protocol/clientlib)\n[![Codecov branch](https://img.shields.io/codecov/c/github/trustlines-protocol/clientlib/master.svg)](https://codecov.io/gh/trustlines-protocol/clientlib)\n\nA TypeScript/Javascript library for interacting with the [trustlines-network protocol](https://trustlines.network/).\n\n## Read the [Documentation](https://docs.trustlines.network/)\n\n## Installation\n\nInstall the library using `npm` or `yarn`\n\n```bash\n$ npm install trustlines-clientlib\n// OR\n$ yarn add trustlines-clientlib\n```\n\n#### Import ES6 module\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n```\n\nUse the following configuration to connect to the currently deployed test setup.\n\n**NOTE: The [trustlines-network contracts](https://github.com/trustlines-network/contracts) are deployed on the Laika Testnet ([Laika Blockexplorer](https://explorelaika.trustlines.foundation/)), the test network of Trustlines. Some Laika test `TLC` is therefore required to interact with the contracts in this setup.**\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n\nconst tlNetworkConfig = {\n  protocol: 'https',\n  host: 'relay0.testnet.trustlines.network',\n  path: 'api/v1/'\n}\n\nconst tlNetwork = new TLNetwork(tlNetworkConfig)\n```\n\n## Example\n\nThis library is a promise-based library. So every asynchronous call will return a native Javascript promise. If an error occurs the library will throw it. The caller has to handle it appropriately.\n\n```javascript\ntry {\n  const networks = await tlNetwork.currencyNetwokr.getAll()\n} catch (error) {\n  console.log('Caught error:', error)\n}\n```\n\n## Running injected web3 example\n\nTo run the example make sure to have [MetaMask](https://metamask.io/) installed and connected to a JSON RPC.\n\n```bash\nyarn serve\n```\n\nThis serves the injected web3 example app on `http://127.0.0.1:8080`. You can find the app under `./examples/injected-web3`.\n","readmeFilename":"README.md","gitHead":"6e15e92c54291e56593bc21b2ba1c96c1199334a","_id":"trustlines-clientlib@0.6.1-0-dev.20190814T115743Z.6e15e92","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"trustlines-deploy","email":"bernd@brainbot.com"},"dist":{"integrity":"sha512-AX0BxYJDngYC7YVLhS48+LF25rqc2cm2nYlO9TLgiyZWS2Dvc5VYRTNzjkiqo4tujgM6KbO96KwKerqqRRM7rg==","shasum":"3bb6592f3efaae6b7adf7bbf6edae754a9a265dc","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.6.1-0-dev.20190814T115743Z.6e15e92.tgz","fileCount":65,"unpackedSize":374798,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdU/nnCRA9TVsSAnZWagAA/lcP/0ozA4Thv4PHfwNuuyAt\nB427ZW0vclWEwCZCpCjOb/U01br2b+VIVBxpjOoPR5ksdylYHiEKgJZdMyq1\nzaADap3+Uwuz1fpg1gpd2t5ms/i5sDY7lzi6H7180L5uxvKnILZBPkfCwlLs\nDk3oKAkYs23DjcCEOcFQGXWoT8DhHqIACqF20uVuaZGyfYv2OA9M9/4qkzOB\nTyM9F9F7c0PEs1wX2MMl4NE7FNICpyGl9BB23QXdqsVwZ8atkkDDQzML+c74\nRmriV2sNdQiccOXCuTVXsUArXFLm5eJDdiiUaCVFuE9f+3EOrzb1fQgmQrbg\n2+9ACgrVZ72oRz5sJckUUkVK326ssxILfvk/U94gI+Q3suU82CDfFGiFcL6S\njeJ9wpXswT3I4/tKt7TQDe+qtF2ARFk+kygh9LK44tekAIQxC8CiCEV+nwqG\nr2smGUGbs8OIL5+ucU4iuvhyK3E4qPsHEyee5WaMgjXjtIMRJEcblBf2ffa4\nCaI/dowiVl411fcMxiQAYSf1RxpQVth9ylIP4jkdKeHgafgx8T/54DEvd9f2\n+DhU7IR2Bn3HDgKvrWfKKdsm/c/sdjy+S/+q0DLrWURYqv8JG2Du3+QUWikH\nI60dxHKjy1/YOIlSCDBAls27oY0Hzmza4BmESpxbljvC9swSUeGrbWeUyPPN\naIVt\r\n=wXkT\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDIvRk+6/bJyt9dq2MRBxrDy831Tqfgy+kSJpcPvInTTAIhALYBqGORoQYHNI84w6AcMFQpkyjgHfZvPewmXxrnmw2K"}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"},{"email":"bernd@brainbot.com","name":"trustlines-deploy"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.6.1-0-dev.20190814T115743Z.6e15e92_1565784550565_0.7681360490450913"},"_hasShrinkwrap":false},"0.6.1-0-dev.20190815T150616Z.340e50f":{"name":"trustlines-clientlib","version":"0.6.1-0-dev.20190815T150616Z.340e50f","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"typedoc --options tdconfig.json","lint":"tslint -c tslint.json './src/**/**.ts' './tests/**/**.ts'","prettier":"prettier --write './{src,tests}/**/*.ts'","prettier:check":"prettier --check './{src,tests}/**/*.ts'","prettier:big-tabs":"prettier --write --print-width 120 --no-semi --single-quote --tab-width 4  './{src,tests}/**/*.ts'","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","coverage":"nyc report --reporter=text-lcov > coverage.lcov && codecov","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump":"./bump.sh","serve":"webpack && cp -r ./_bundles ./examples/injected-web3 && http-server ./examples/injected-web3"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{ts,js,json,css,md}":["prettier --write","git add"],"*.ts":["tslint -c tslint.json --fix","git add"]},"nyc":{"extension":[".ts"],"include":["src"],"reporter":["text"],"all":true},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.5.2","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","codecov":"^3.5.0","es6-promise":"^4.1.1","fetch-mock":"^7.2.5","fluid-publish":"^2.2.0","http-server":"^0.11.1","husky":"^2.4.0","isomorphic-fetch":"^2.2.1","lint-staged":"^8.2.0","mocha":"^5.2.0","nyc":"^14.1.0","prettier":"^1.15.2","ts-node":"^7.0.0","tslint":"^5.17.0","tslint-config-prettier":"^1.18.0","typedoc":"^0.14.2","types-ethereumjs-util":"0.0.8","typescript":"^2.9.2","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"bignumber.js":"7.2.1","ethereumjs-util":"^5.2.0","ethers":"^4.0.23","reconnecting-websocket":"^4.1.10","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","trustlines-contracts-abi":"dev","ws":"^6.2.1"},"readme":"# trustlines-network clientlib\n\n[![npm](https://img.shields.io/npm/v/trustlines-clientlib.svg)](https://www.npmjs.com/package/trustlines-clientlib)\n[![CircleCI branch](https://img.shields.io/circleci/project/github/trustlines-protocol/clientlib/master.svg)](https://circleci.com/gh/trustlines-protocol/clientlib)\n[![Codecov branch](https://img.shields.io/codecov/c/github/trustlines-protocol/clientlib/master.svg)](https://codecov.io/gh/trustlines-protocol/clientlib)\n\nA TypeScript/Javascript library for interacting with the [trustlines-network protocol](https://trustlines.network/).\n\n## Read the [Documentation](https://docs.trustlines.network/)\n\n## Installation\n\nInstall the library using `npm` or `yarn`\n\n```bash\n$ npm install trustlines-clientlib\n// OR\n$ yarn add trustlines-clientlib\n```\n\n#### Import ES6 module\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n```\n\nUse the following configuration to connect to the currently deployed test setup.\n\n**NOTE: The [trustlines-network contracts](https://github.com/trustlines-network/contracts) are deployed on the Laika Testnet ([Laika Blockexplorer](https://explorelaika.trustlines.foundation/)), the test network of Trustlines. Some Laika test `TLC` is therefore required to interact with the contracts in this setup.**\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n\nconst tlNetworkConfig = {\n  protocol: 'https',\n  host: 'relay0.testnet.trustlines.network',\n  path: 'api/v1/'\n}\n\nconst tlNetwork = new TLNetwork(tlNetworkConfig)\n```\n\n## Example\n\nThis library is a promise-based library. So every asynchronous call will return a native Javascript promise. If an error occurs the library will throw it. The caller has to handle it appropriately.\n\n```javascript\ntry {\n  const networks = await tlNetwork.currencyNetwokr.getAll()\n} catch (error) {\n  console.log('Caught error:', error)\n}\n```\n\n## Running injected web3 example\n\nTo run the example make sure to have [MetaMask](https://metamask.io/) installed and connected to a JSON RPC.\n\n```bash\nyarn serve\n```\n\nThis serves the injected web3 example app on `http://127.0.0.1:8080`. You can find the app under `./examples/injected-web3`.\n","readmeFilename":"README.md","gitHead":"340e50f8213a814b2260e41775ee7ece39af5db6","_id":"trustlines-clientlib@0.6.1-0-dev.20190815T150616Z.340e50f","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"trustlines-deploy","email":"bernd@brainbot.com"},"dist":{"integrity":"sha512-3Trtd/nkFshRmcKiR6K3n8iu9ql56uA1/Y2LCYEtfY2zF1IDhyq2n6+vJfT7tWtTZM36TZUM2aa3A6q78ggA2Q==","shasum":"19a86f3b2745a06559019a59fa34975a7e283313","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.6.1-0-dev.20190815T150616Z.340e50f.tgz","fileCount":65,"unpackedSize":374700,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdVXdZCRA9TVsSAnZWagAA8qwP/ig8FiwizDdDwk1EAOvl\nWym7neKDI7ISY9ozXNdHaKyGzMxpViZXkEfQRisCECdToYar4KQzz8jjqrGk\nnHBzNPLB/dC43kN9b5tIuPPJs0bZzav8mepYwbdDxPkBs4Et+kNCvF2zcfCO\ntptQZkipysqmBeoqUbpf5c2Rbb8qMFf2i0WAnuVmYlv6iOdps4BMmcf/Sy5U\niCITFWU/zgsY+tWVAYqtS81NNuw432s7EPUHPftdt6fkGNU0qv1WfvVZO2VZ\n16yuhLkxmWJrMSqv5By9IZkVfPIVWY22inYkCioBmOTAxGd2s41O7FdQkSJ1\nmWu7qF7CxvRAV7hz1DOdFtKlJEaCTIPuKgQjA7rZQimjOlDoJ05SI88ViIkK\nAHsCvIOOzoAuUGXCzNF1qlwZwf0ALTtVUf8KnetEZBQBNnp11l8+sExS2Y0D\nehQGeXpcpPhDxXgYwPQ4liBqb8vtpuEzK9n1xw1Wf1Th3tyy0v82PSB6Hxdu\nMwe094IM39nOCA7wl6aL0NLSY6rloiEfaueiUhORS0NEU1YrSGZtJ3uvzUOW\njpSHB1cJn27UoifT4oRn2NiQotTA9WH1rOxuM/tMTvWPh1fr3oBj7Il87x+b\nwn0sJuwMaBhmQUMSQ2vAaFQvW2H0qfLEbNmA5vnR99vFfulx5SFCoEqOVPdo\nuUzl\r\n=3O13\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICWK3R4HDCA/B1TCdBPSIYHvkd/sbYaVGJ1oPhonXCvYAiEAiN3dmlKAppVIaNoBsWStrhwLvBc81bXNTP5SFi1O5vE="}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"},{"email":"bernd@brainbot.com","name":"trustlines-deploy"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.6.1-0-dev.20190815T150616Z.340e50f_1565882201099_0.4475587518217865"},"_hasShrinkwrap":false},"0.6.1-0-dev.20190902T144921Z.a5d0195":{"name":"trustlines-clientlib","version":"0.6.1-0-dev.20190902T144921Z.a5d0195","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"typedoc --options tdconfig.json","lint":"tslint -c tslint.json './src/**/**.ts' './tests/**/**.ts'","prettier":"prettier --write './{src,tests}/**/*.ts'","prettier:check":"prettier --check './{src,tests}/**/*.ts'","prettier:big-tabs":"prettier --write --print-width 120 --no-semi --single-quote --tab-width 4  './{src,tests}/**/*.ts'","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","coverage":"nyc report --reporter=text-lcov > coverage.lcov && codecov","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump":"./bump.sh","serve":"webpack && cp -r ./_bundles ./examples/injected-web3 && http-server ./examples/injected-web3"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{ts,js,json,css,md}":["prettier --write","git add"],"*.ts":["tslint -c tslint.json --fix","git add"]},"nyc":{"extension":[".ts"],"include":["src"],"reporter":["text"],"all":true},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.5.2","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","codecov":"^3.5.0","es6-promise":"^4.1.1","fetch-mock":"^7.2.5","fluid-publish":"^2.2.0","http-server":"^0.11.1","husky":"^2.4.0","isomorphic-fetch":"^2.2.1","lint-staged":"^8.2.0","mocha":"^5.2.0","nyc":"^14.1.0","prettier":"^1.15.2","ts-node":"^7.0.0","tslint":"^5.17.0","tslint-config-prettier":"^1.18.0","typedoc":"^0.14.2","types-ethereumjs-util":"0.0.8","typescript":"^2.9.2","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"bignumber.js":"7.2.1","ethereumjs-util":"^5.2.0","ethers":"^4.0.23","reconnecting-websocket":"^4.1.10","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","trustlines-contracts-abi":"dev","ws":"^6.2.1"},"readme":"# trustlines-network clientlib\n\n[![npm](https://img.shields.io/npm/v/trustlines-clientlib.svg)](https://www.npmjs.com/package/trustlines-clientlib)\n[![CircleCI branch](https://img.shields.io/circleci/project/github/trustlines-protocol/clientlib/master.svg)](https://circleci.com/gh/trustlines-protocol/clientlib)\n[![Codecov branch](https://img.shields.io/codecov/c/github/trustlines-protocol/clientlib/master.svg)](https://codecov.io/gh/trustlines-protocol/clientlib)\n\nA TypeScript/Javascript library for interacting with the [trustlines-network protocol](https://trustlines.network/).\n\n## Read the [Documentation](https://docs.trustlines.network/)\n\n## Installation\n\nInstall the library using `npm` or `yarn`\n\n```bash\n$ npm install trustlines-clientlib\n// OR\n$ yarn add trustlines-clientlib\n```\n\n#### Import ES6 module\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n```\n\nUse the following configuration to connect to the currently deployed test setup.\n\n**NOTE: The [trustlines-network contracts](https://github.com/trustlines-network/contracts) are deployed on the Laika Testnet ([Laika Blockexplorer](https://explorelaika.trustlines.foundation/)), the test network of Trustlines. Some Laika test `TLC` is therefore required to interact with the contracts in this setup.**\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n\nconst tlNetworkConfig = {\n  protocol: 'https',\n  host: 'relay0.testnet.trustlines.network',\n  path: 'api/v1/'\n}\n\nconst tlNetwork = new TLNetwork(tlNetworkConfig)\n```\n\n## Example\n\nThis library is a promise-based library. So every asynchronous call will return a native Javascript promise. If an error occurs the library will throw it. The caller has to handle it appropriately.\n\n```javascript\ntry {\n  const networks = await tlNetwork.currencyNetwokr.getAll()\n} catch (error) {\n  console.log('Caught error:', error)\n}\n```\n\n## Running injected web3 example\n\nTo run the example make sure to have [MetaMask](https://metamask.io/) installed and connected to a JSON RPC.\n\n```bash\nyarn serve\n```\n\nThis serves the injected web3 example app on `http://127.0.0.1:8080`. You can find the app under `./examples/injected-web3`.\n","readmeFilename":"README.md","gitHead":"a5d01950994d4cce3a70735e95b128c5ca8cfe03","_id":"trustlines-clientlib@0.6.1-0-dev.20190902T144921Z.a5d0195","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"trustlines-deploy","email":"bernd@brainbot.com"},"dist":{"integrity":"sha512-utMzSGyuXl2C0U18AfgIluh/VoaOiqhMcVGeMl2X6+JZmqWo1M/JoEV7T1u9FtFPCfERrHre57H7MGlIsDje+Q==","shasum":"b5f533bada76e489c5218ba2eb498ea1da6044ce","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.6.1-0-dev.20190902T144921Z.a5d0195.tgz","fileCount":65,"unpackedSize":376137,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdbS9VCRA9TVsSAnZWagAAMCMP/1XEzAhwZ2SBb+T5Ve85\nKvrOUS2+WqB9wR7yygncmuQqDPUtTA8c8J6N1u7fPv/2M4ejUqozszBSBooM\nZPul/dqmcAGOaD51crFP87B166ppdhH+VJNZHQ5Oxn6ypxIwlizqpa4PidUN\nhCCi+XRHVGYhhVeDZ6d6CHzmGKofQ5AQvlkwfsndZoEJWzMoVM7bw28nF1SU\nw9ZJEIIZ9KxwKiLhA9afY7EaumM/NdZFKA2FRqn4E51plKkQNUbV78LIb7m9\n6DGlOV8nVOq1+GzqxPo1rVWdaFq6hGGsnSqu7R7So92B0APhmtIsXblbW3dz\nHkbuVKYhGB5kngILAvD6qVxz10s+QuS3Yhj3UwLGDdh0j58EuNfBCLpKITcQ\n322RJBzHSapP/7VqYPT3OwlANNrehYkNdF5LPN2yHGAdDcrrp1IB9N1OCy8c\nLcwx9r6Q5ZNDwgMP+C8Mp++WqjuOgMRsT1D1U+Wath6TPQl38E/pVeH0+DQb\nvJAd4DSvnJYmkueADZVEJDQyXz28BQp2jdAkQfp/62zc0p4/4ne6DEEOx47C\n3/E3znNaAv7K2rbTfgs2Hw+LbXXt/hssDrS5cmdiWmaSiGERx1JcLfeWba2G\nTK4swoO4fcgXhrtvotLzaHqbdOs9Xr8fKWMVIlTLGgzdInPs3q+PMFt1LaQY\n7hxh\r\n=ywGG\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD763+lX2HUz4weLHAfYDf3IdH0BjEhyPyirO2ec/wlYgIhAIeQCMLRUfqH2ROERg6+avjiQSuKjlwM+xum0pgU6hxO"}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"},{"email":"bernd@brainbot.com","name":"trustlines-deploy"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.6.1-0-dev.20190902T144921Z.a5d0195_1567436628844_0.9332060780633047"},"_hasShrinkwrap":false},"0.7.0-dev.20190903T122838Z.3bb304b":{"name":"trustlines-clientlib","version":"0.7.0-dev.20190903T122838Z.3bb304b","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"typedoc --options tdconfig.json","lint":"tslint -c tslint.json './src/**/**.ts' './tests/**/**.ts'","prettier":"prettier --write './{src,tests}/**/*.ts'","prettier:check":"prettier --check './{src,tests}/**/*.ts'","prettier:big-tabs":"prettier --write --print-width 120 --no-semi --single-quote --tab-width 4  './{src,tests}/**/*.ts'","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","coverage":"nyc report --reporter=text-lcov > coverage.lcov && codecov","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump":"./bump.sh","serve":"webpack && cp -r ./_bundles ./examples/injected-web3 && http-server ./examples/injected-web3"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{ts,js,json,css,md}":["prettier --write","git add"],"*.ts":["tslint -c tslint.json --fix","git add"]},"nyc":{"extension":[".ts"],"include":["src"],"reporter":["text"],"all":true},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.5.2","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","codecov":"^3.5.0","es6-promise":"^4.1.1","fetch-mock":"^7.2.5","fluid-publish":"^2.2.0","http-server":"^0.11.1","husky":"^2.4.0","isomorphic-fetch":"^2.2.1","lint-staged":"^8.2.0","mocha":"^5.2.0","nyc":"^14.1.0","prettier":"^1.15.2","ts-node":"^7.0.0","tslint":"^5.17.0","tslint-config-prettier":"^1.18.0","typedoc":"^0.14.2","types-ethereumjs-util":"0.0.8","typescript":"^2.9.2","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"bignumber.js":"7.2.1","ethereumjs-util":"^5.2.0","ethers":"^4.0.23","reconnecting-websocket":"^4.1.10","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","trustlines-contracts-abi":"dev","ws":"^6.2.1"},"readme":"# trustlines-network clientlib\n\n[![npm](https://img.shields.io/npm/v/trustlines-clientlib.svg)](https://www.npmjs.com/package/trustlines-clientlib)\n[![CircleCI branch](https://img.shields.io/circleci/project/github/trustlines-protocol/clientlib/master.svg)](https://circleci.com/gh/trustlines-protocol/clientlib)\n[![Codecov branch](https://img.shields.io/codecov/c/github/trustlines-protocol/clientlib/master.svg)](https://codecov.io/gh/trustlines-protocol/clientlib)\n\nA TypeScript/Javascript library for interacting with the [trustlines-network protocol](https://trustlines.network/).\n\n## Read the [Documentation](https://docs.trustlines.network/)\n\n## Installation\n\nInstall the library using `npm` or `yarn`\n\n```bash\n$ npm install trustlines-clientlib\n// OR\n$ yarn add trustlines-clientlib\n```\n\n#### Import ES6 module\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n```\n\nUse the following configuration to connect to the currently deployed test setup.\n\n**NOTE: The [trustlines-network contracts](https://github.com/trustlines-network/contracts) are deployed on the Laika Testnet ([Laika Blockexplorer](https://explorelaika.trustlines.foundation/)), the test network of Trustlines. Some Laika test `TLC` is therefore required to interact with the contracts in this setup.**\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n\nconst tlNetworkConfig = {\n  protocol: 'https',\n  host: 'relay0.testnet.trustlines.network',\n  path: 'api/v1/'\n}\n\nconst tlNetwork = new TLNetwork(tlNetworkConfig)\n```\n\n## Example\n\nThis library is a promise-based library. So every asynchronous call will return a native Javascript promise. If an error occurs the library will throw it. The caller has to handle it appropriately.\n\n```javascript\ntry {\n  const networks = await tlNetwork.currencyNetwokr.getAll()\n} catch (error) {\n  console.log('Caught error:', error)\n}\n```\n\n## Running injected web3 example\n\nTo run the example make sure to have [MetaMask](https://metamask.io/) installed and connected to a JSON RPC.\n\n```bash\nyarn serve\n```\n\nThis serves the injected web3 example app on `http://127.0.0.1:8080`. You can find the app under `./examples/injected-web3`.\n","readmeFilename":"README.md","gitHead":"3bb304b812f3c9aa47b9e2c9149ad039e2c39ef4","_id":"trustlines-clientlib@0.7.0-dev.20190903T122838Z.3bb304b","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"trustlines-deploy","email":"bernd@brainbot.com"},"dist":{"integrity":"sha512-hsws6P/9EYTcjBs/bLL5/T8eBGymskIsq5q6+fZkcvV0tJz8rnffnvg9YMHclOEqz3XDPc7hm3Hg9ZQWaYG0MA==","shasum":"b1a454310eaa7867273d69cad4655fd234adacd1","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.7.0-dev.20190903T122838Z.3bb304b.tgz","fileCount":65,"unpackedSize":376424,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdbl7oCRA9TVsSAnZWagAAmWsP/R+Dbn3FQOuIghR71TJ0\naCuZ/DoZoBfpzCNBPqTDfP/PuE9NgdfHKL3AjlOCLLsvyXWJWMR/LsFtqdbE\nUJh2zE00os7K/MzRxwzckhuhg5EGaK+t0ZMiatvuhLC5T46XbZL0WjIitx0y\nE/VoL4Uo+HnJbDMam2ME0685enw7IH9yeKcIXi1Cyia24DG8X527ATIBAzV+\neVOaCsHIdDSJpHGcJElE04r+dkItcg/kG/RX+fgDug0/jww/iAu5H0KM8eju\n8D/saBEZhzsWzagN4rSsbyqnnpK6DfCHne9TIne+A3ciy1wAfY+DEu0EKii5\nIPWiiF4/Dz+tSHHHu42NZzCeoNDEaa13PKIBk8OFp+dJ4i94GZXmMgMUfuaY\nd5/oTzleg+VCh77PR9NuBm+Ap9hHgsd+CP6o9vZm+cDXLWURH5EF3BnIgrPw\nYc8xpCGgUUZN18khl/1qMqbIxrFWXKuRBOMevPnbC1FKpDQB1KknQ8usadGN\nQ4jU9JTHx+Cq5ukZWlNLoFiWAFAf3Q+xX94lXNNEe3bs+fbi5AI7xgWzh1ma\nhfIDtqUBlCsb5kQ0rkIdz9690YGho1+ras73vMIyIn8fc/gzUj92ySRq8XdW\nQYkkHFk31v+4pjtIjh5VSnFgUE2Y/e9IKYIclOrAhzBZFDILyRXgLSsgsrlk\nBkT5\r\n=IB9Z\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDW6lRZWbNGsdatFxwbzZZGFY1cmdnxLDT+cGrKbo7DqwIgZqwo/DzZtQ+EocCwTC+mciieo2lr5ZL31oUxo/dl+WQ="}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"},{"email":"bernd@brainbot.com","name":"trustlines-deploy"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.7.0-dev.20190903T122838Z.3bb304b_1567514342946_0.4350216922948109"},"_hasShrinkwrap":false},"0.7.0":{"name":"trustlines-clientlib","version":"0.7.0","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"typedoc --options tdconfig.json","lint":"tslint -c tslint.json './src/**/**.ts' './tests/**/**.ts'","prettier":"prettier --write './{src,tests}/**/*.ts'","prettier:check":"prettier --check './{src,tests}/**/*.ts'","prettier:big-tabs":"prettier --write --print-width 120 --no-semi --single-quote --tab-width 4  './{src,tests}/**/*.ts'","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","coverage":"nyc report --reporter=text-lcov > coverage.lcov && codecov","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump":"./bump.sh","serve":"webpack && cp -r ./_bundles ./examples/injected-web3 && http-server ./examples/injected-web3"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{ts,js,json,css,md}":["prettier --write","git add"],"*.ts":["tslint -c tslint.json --fix","git add"]},"nyc":{"extension":[".ts"],"include":["src"],"reporter":["text"],"all":true},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.5.2","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","codecov":"^3.5.0","es6-promise":"^4.1.1","fetch-mock":"^7.2.5","fluid-publish":"^2.2.0","http-server":"^0.11.1","husky":"^2.4.0","isomorphic-fetch":"^2.2.1","lint-staged":"^8.2.0","mocha":"^5.2.0","nyc":"^14.1.0","prettier":"^1.15.2","ts-node":"^7.0.0","tslint":"^5.17.0","tslint-config-prettier":"^1.18.0","typedoc":"^0.14.2","types-ethereumjs-util":"0.0.8","typescript":"^2.9.2","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"bignumber.js":"7.2.1","ethereumjs-util":"^5.2.0","ethers":"^4.0.23","reconnecting-websocket":"^4.1.10","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","trustlines-contracts-abi":"dev","ws":"^6.2.1"},"licenseText":"MIT License\n\nCopyright (c) 2017 Trustlines Network\nCopyright (c) 2019 Trustlines Foundation\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"trustlines-clientlib@0.7.0","dist":{"shasum":"b49e238a2c14d112b4741aafa500ce6c2a1509d6","integrity":"sha512-KKk4qz3Nf0/0bq06pYXnIGmx+o8kzwjjTUectVtZiMp+fTqxtLbyq964QAPBPZsy0FZtCWmRUOHhMWE1K/bDjg==","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.7.0.tgz","fileCount":72,"unpackedSize":376395,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdbmO7CRA9TVsSAnZWagAAsE4P/A8oH2oHmvEe4F1F5Je2\nIWbvxjwpgXRO2uBr5NU6dWlso638oAvK/0r1uTQpNJD45mapY1yojT+bnEWs\nlPKHJpqdj9tN/INNI76jXPlsn0UxGRsV1d1WDpJsYO3nDVc2STqAPqPESWCa\nm8okdYNpP37GIshBDl9lJ20O8agkDeiFJHfHCveF0v32574B8LOuKIZ6O1cr\n+Ux/+9Z7Rf24MND8R+C49z+mngNXIpcPOcxvQuVDZEROqg7yIPLGiY4MrTrO\n4HC+ACl6WiND9T+5cjTufyIbEW+9+78mrYuou2Bw+NYu7dscORWcP2yy0CN2\nDi6sfTXGtYcTThYiJ9RoPvFiFt4AHD0XtciCAigFtbegHxHPcnUq2WyqoO7j\nLQHPi0KJ1sIM2Ps9zIRBLPcZUlvbCanS5MsVTiPBKZRwq9Pm0GVKDey4BL3m\ngkUWjc3TA/qsYfElKtQRfgXeqphX/2muYsVoNMJEMoJRJKUQELNva/j4jlQU\nToxBtadVm9769hqdS0MOzgF1dBizj9wXytUad20mvfLsqADT8sizr2EJCxNB\noMWJ9TuXsXzsegTDV3cRNeLFtMxey9rrrhhI6u/aqekWriRcfa5w90X4Fy2A\nZi3TvKHeprk7YmsYLdpCBSRJRIrARvkKnucalUhjdV5y8QHWHwc2GxMzZ8Br\nc5OZ\r\n=sDfH\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCnClMSNR0Ff1uWllh1qqhyxGa0VazyL94fEyBjoiaN1QIhAO04yxDO1YyIYOUsPECJbKtkFRRSYwTnU9ydrLrB2ED9"}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"},{"email":"bernd@brainbot.com","name":"trustlines-deploy"}],"_npmUser":{"name":"trustlines-deploy","email":"bernd@brainbot.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.7.0_1567515578829_0.38459059764993775"},"_hasShrinkwrap":false,"deprecated":"Package was moved to the @trustlines organisation. Intall latest version with npm install @trustlines/trustlines-clientlib"},"0.7.0-dev.20190911T162559Z.48e006a":{"name":"trustlines-clientlib","version":"0.7.0-dev.20190911T162559Z.48e006a","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"typedoc --options tdconfig.json","lint":"tslint -c tslint.json './src/**/**.ts' './tests/**/**.ts'","prettier":"prettier --write './{src,tests}/**/*.ts'","prettier:check":"prettier --check './{src,tests}/**/*.ts'","prettier:big-tabs":"prettier --write --print-width 120 --no-semi --single-quote --tab-width 4  './{src,tests}/**/*.ts'","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","coverage":"nyc report --reporter=text-lcov > coverage.lcov && codecov","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump":"./bump.sh","serve":"webpack && cp -r ./_bundles ./examples/injected-web3 && http-server ./examples/injected-web3"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{ts,js,json,css,md}":["prettier --write","git add"],"*.ts":["tslint -c tslint.json --fix","git add"]},"nyc":{"extension":[".ts"],"include":["src"],"reporter":["text"],"all":true},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.5.2","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","codecov":"^3.5.0","es6-promise":"^4.1.1","fetch-mock":"^7.2.5","fluid-publish":"^2.2.0","http-server":"^0.11.1","husky":"^2.4.0","isomorphic-fetch":"^2.2.1","lint-staged":"^8.2.0","mocha":"^5.2.0","nyc":"^14.1.0","prettier":"^1.15.2","ts-node":"^7.0.0","tslint":"^5.17.0","tslint-config-prettier":"^1.18.0","typedoc":"^0.14.2","types-ethereumjs-util":"0.0.8","typescript":"^2.9.2","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"bignumber.js":"7.2.1","ethereumjs-util":"^5.2.0","ethers":"^4.0.23","reconnecting-websocket":"^4.1.10","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","trustlines-contracts-abi":"dev","ws":"^6.2.1"},"readme":"# trustlines-network clientlib\n\n[![npm](https://img.shields.io/npm/v/trustlines-clientlib.svg)](https://www.npmjs.com/package/trustlines-clientlib)\n[![CircleCI branch](https://img.shields.io/circleci/project/github/trustlines-protocol/clientlib/master.svg)](https://circleci.com/gh/trustlines-protocol/clientlib)\n[![Codecov branch](https://img.shields.io/codecov/c/github/trustlines-protocol/clientlib/master.svg)](https://codecov.io/gh/trustlines-protocol/clientlib)\n\nA TypeScript/Javascript library for interacting with the [trustlines-network protocol](https://trustlines.network/).\n\n## Read the [Documentation](https://docs.trustlines.network/)\n\n## Installation\n\nInstall the library using `npm` or `yarn`\n\n```bash\n$ npm install trustlines-clientlib\n// OR\n$ yarn add trustlines-clientlib\n```\n\n#### Import ES6 module\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n```\n\nUse the following configuration to connect to the currently deployed test setup.\n\n**NOTE: The [trustlines-network contracts](https://github.com/trustlines-network/contracts) are deployed on the Laika Testnet ([Laika Blockexplorer](https://explorelaika.trustlines.foundation/)), the test network of Trustlines. Some Laika test `TLC` is therefore required to interact with the contracts in this setup.**\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n\nconst tlNetworkConfig = {\n  protocol: 'https',\n  host: 'relay0.testnet.trustlines.network',\n  path: 'api/v1/'\n}\n\nconst tlNetwork = new TLNetwork(tlNetworkConfig)\n```\n\n## Example\n\nThis library is a promise-based library. So every asynchronous call will return a native Javascript promise. If an error occurs the library will throw it. The caller has to handle it appropriately.\n\n```javascript\ntry {\n  const networks = await tlNetwork.currencyNetwokr.getAll()\n} catch (error) {\n  console.log('Caught error:', error)\n}\n```\n\n## Running injected web3 example\n\nTo run the example make sure to have [MetaMask](https://metamask.io/) installed and connected to a JSON RPC.\n\n```bash\nyarn serve\n```\n\nThis serves the injected web3 example app on `http://127.0.0.1:8080`. You can find the app under `./examples/injected-web3`.\n","readmeFilename":"README.md","gitHead":"48e006aa45c5a1a2e77526e3fb3d0ca2cdf03037","_id":"trustlines-clientlib@0.7.0-dev.20190911T162559Z.48e006a","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"trustlines-deploy","email":"bernd@brainbot.com"},"dist":{"integrity":"sha512-cvhET1Vj8G93Avzz38yi6Py0geMb8xZoI5ZlmulNI+rE0SKjgfwvOLTAyGOMxAAvLC3w8m8RPAw6FXUmyhDhYA==","shasum":"577d0f49d87a286d194861826382fa572c0da1b3","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.7.0-dev.20190911T162559Z.48e006a.tgz","fileCount":65,"unpackedSize":377110,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdeSJ7CRA9TVsSAnZWagAAjcwP/RiWDPrlybB8LDc0o+IR\nCR/+QLeG3PCvCe2fiE+6vYzA4vMn4xqxPeex5Wfa82EmDSYeAB3mYUgOPJDs\njfDPM8/8j6zhxgwDTNJk8Hr3BvPDB1n9GyLpLesWrFFY7y/Jh/LG99GXKlcy\nxDvRwD6W23yWemol8cDd1+MgUA+2vL3v3Z7bWE4Fhrp9Kf2TGeBLpOGGjvlq\nUzFzXjhxH9mQigSl8yzxY7mS5QczU/i41XWsWPron1O20I7fHZEixlFeHIHW\njTpLcIxvcTNK/ImcG+kHTSOk0FQRwdeq9Nzb0r7DGeQIAvqAyvq62OvpAsfx\nn9bbcbgq1dr+9BKaydvlMtArlly2Y17upzEcUYwyMd2q7+wgDjXbNmGQbHeR\nzMptc2sJ5plVoKRN6z+3zCCV2vxsY+UZcd+fbKbFTI0aXEuicTjZpMQBZPAr\niUTK55RmXpaL5L8lSeIcYk/HgzpiGNQQxE8AUHXMjTz2fxfSP5aYaljOuBQF\n3UI7jSYDVEhUKibZdgLouMFAcIzggOU6+gRuXr7MVNZC/q22XiM5z+JxuSkn\n/eiQUONzk3Y5veNKQ/IyZCrFAXQfTZxhWqJOxsZ+Y+Lf6f/xOhI2R2PURG6L\nyhGF3t/mHxkvcEJSbbY2dgllQ68tjuaATK9K114F5d7AXFYG9jkcUZY6bucy\n7HAl\r\n=X4aG\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDeWHRlZlh5SsgfQ2uHB52u8bzVEZAYW0ioBHhcL+CvmQIhAMIfq3Qb4wrCCWGHoS/l8ZoCs/uOIwkJ7wIZgtU0QdFv"}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"},{"email":"bernd@brainbot.com","name":"trustlines-deploy"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.7.0-dev.20190911T162559Z.48e006a_1568219770835_0.24720517296455857"},"_hasShrinkwrap":false},"0.7.0-dev.20190924T101028Z.46a3ef3":{"name":"trustlines-clientlib","version":"0.7.0-dev.20190924T101028Z.46a3ef3","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"typedoc --options tdconfig.json","lint":"tslint -c tslint.json './src/**/**.ts' './tests/**/**.ts'","prettier":"prettier --write './{src,tests}/**/*.ts'","prettier:check":"prettier --check './{src,tests}/**/*.ts'","prettier:big-tabs":"prettier --write --print-width 120 --no-semi --single-quote --tab-width 4  './{src,tests}/**/*.ts'","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","coverage":"nyc report --reporter=text-lcov > coverage.lcov && codecov","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump":"./bump.sh","serve":"webpack && cp -r ./_bundles ./examples/injected-web3 && http-server ./examples/injected-web3"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{ts,js,json,css,md}":["prettier --write","git add"],"*.ts":["tslint -c tslint.json --fix","git add"]},"nyc":{"extension":[".ts"],"include":["src"],"reporter":["text"],"all":true},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.5.2","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","codecov":"^3.5.0","es6-promise":"^4.1.1","fetch-mock":"^7.2.5","fluid-publish":"^2.2.0","http-server":"^0.11.1","husky":"^2.4.0","isomorphic-fetch":"^2.2.1","lint-staged":"^8.2.0","mocha":"^5.2.0","nyc":"^14.1.0","prettier":"^1.15.2","ts-node":"^7.0.0","tslint":"^5.17.0","tslint-config-prettier":"^1.18.0","typedoc":"^0.14.2","types-ethereumjs-util":"0.0.8","typescript":"^2.9.2","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"bignumber.js":"7.2.1","ethereumjs-util":"^5.2.0","ethers":"^4.0.23","reconnecting-websocket":"^4.1.10","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","trustlines-contracts-abi":"dev","ws":"^6.2.1"},"readme":"# trustlines-network clientlib\n\n[![npm](https://img.shields.io/npm/v/trustlines-clientlib.svg)](https://www.npmjs.com/package/trustlines-clientlib)\n[![CircleCI branch](https://img.shields.io/circleci/project/github/trustlines-protocol/clientlib/master.svg)](https://circleci.com/gh/trustlines-protocol/clientlib)\n[![Codecov branch](https://img.shields.io/codecov/c/github/trustlines-protocol/clientlib/master.svg)](https://codecov.io/gh/trustlines-protocol/clientlib)\n\nA TypeScript/Javascript library for interacting with the [trustlines-network protocol](https://trustlines.network/).\n\n## Read the [Documentation](https://docs.trustlines.network/)\n\n## Installation\n\nInstall the library using `npm` or `yarn`\n\n```bash\n$ npm install trustlines-clientlib\n// OR\n$ yarn add trustlines-clientlib\n```\n\n#### Import ES6 module\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n```\n\nUse the following configuration to connect to the currently deployed test setup.\n\n**NOTE: The [trustlines-network contracts](https://github.com/trustlines-network/contracts) are deployed on the Laika Testnet ([Laika Blockexplorer](https://explorelaika.trustlines.foundation/)), the test network of Trustlines. Some Laika test `TLC` is therefore required to interact with the contracts in this setup.**\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n\nconst tlNetworkConfig = {\n  protocol: 'https',\n  host: 'relay0.testnet.trustlines.network',\n  path: 'api/v1/'\n}\n\nconst tlNetwork = new TLNetwork(tlNetworkConfig)\n```\n\n## Example\n\nThis library is a promise-based library. So every asynchronous call will return a native Javascript promise. If an error occurs the library will throw it. The caller has to handle it appropriately.\n\n```javascript\ntry {\n  const networks = await tlNetwork.currencyNetwokr.getAll()\n} catch (error) {\n  console.log('Caught error:', error)\n}\n```\n\n## Running injected web3 example\n\nTo run the example make sure to have [MetaMask](https://metamask.io/) installed and connected to a JSON RPC.\n\n```bash\nyarn serve\n```\n\nThis serves the injected web3 example app on `http://127.0.0.1:8080`. You can find the app under `./examples/injected-web3`.\n","readmeFilename":"README.md","gitHead":"46a3ef345884f3583d7b1e72d632ca2955cd0417","_id":"trustlines-clientlib@0.7.0-dev.20190924T101028Z.46a3ef3","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"trustlines-deploy","email":"bernd@brainbot.com"},"dist":{"integrity":"sha512-46A0ACJJOgIhEuOmlyNpPhXyWQNeTeUgjXC7cuwbrksQh1iSeh4GRU1fEqgpTmQ5mBoyXhSIHyF8hFiorNmknQ==","shasum":"4917f2221c1fcbadee83720c9a406c37429b07b7","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.7.0-dev.20190924T101028Z.46a3ef3.tgz","fileCount":65,"unpackedSize":377898,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdie5MCRA9TVsSAnZWagAAoyUQAIA4A8U3BQMlKosPS4+o\nRbyfc+mFrZ4Gb0ZkHAM5TsoohEzmTykmomgSORBIqeXPZbnshSfMSbY9/nP/\nYCb0EL+Ow8MqIH4J3vHN18tPR9H1K0pNdOOq8pListBtE2dYkX9pVWveybl5\nTQCxibZaVsfRAZ5F3SS3tx9LCNP5soGXjeRY+gjjt6kIhVz3ktL3L1GdXMFv\nf6CSK1jJx7NH4FMA5Xsmz9NwXMIqM0368TtNBwtWJr/exgeE/qadfmhsVdwv\njljeXmiC8i+3TU/0MLOU7C3753grs3Ryjefc5Qw1MPGu/XUr6yZ7v0VR8kgs\nH2AB86FDTUbA8qypgFYwVujKVdI8oHTIFRqRAeUQ2p5SNOEsQ7qj5qqboHP4\nqv/WqAUZQmQ0arv3ujfqSViwhkp3aAuAPg7LEXfS9ljCpxVE6WlgUIH8muPS\nxj33ab1Z1BRaVSvi+OtLV3fe61XgGW2Bx+4dUvAnsqMWFwciNpbpjNsEYUOI\nc7NLwVDcyDatBBF3fE1dHgerL6bdsa+5n5I+qVF5ccx/NOjVb62db/QOoWCo\nyA4diensfBpTLSz3k7pruRwgVmZXl+B40BHML0Qm0UX11+C4piR/WLQKkV8L\nrkkkZklA2rXCFyZTqAKCZAzk/qFHuWXIryJG5vG1RZbBJaxG1HVXiWO2g2+p\nd2sU\r\n=u7tQ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDWubsKkI3EwQ3uKWvuDTzFFxrH/+LXtP5HirlvGDFBpgIgYRWt4PiPiiajmRvIyZJwuWX1gKcnS9up/6alk7gMbRc="}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"},{"email":"bernd@brainbot.com","name":"trustlines-deploy"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.7.0-dev.20190924T101028Z.46a3ef3_1569320523320_0.8715415155732991"},"_hasShrinkwrap":false},"0.7.0-dev.20190924T101243Z.5a33b6d":{"name":"trustlines-clientlib","version":"0.7.0-dev.20190924T101243Z.5a33b6d","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"typedoc --options tdconfig.json","lint":"tslint -c tslint.json './src/**/**.ts' './tests/**/**.ts'","prettier":"prettier --write './{src,tests}/**/*.ts'","prettier:check":"prettier --check './{src,tests}/**/*.ts'","prettier:big-tabs":"prettier --write --print-width 120 --no-semi --single-quote --tab-width 4  './{src,tests}/**/*.ts'","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","coverage":"nyc report --reporter=text-lcov > coverage.lcov && codecov","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump":"./bump.sh","serve":"webpack && cp -r ./_bundles ./examples/injected-web3 && http-server ./examples/injected-web3"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{ts,js,json,css,md}":["prettier --write","git add"],"*.ts":["tslint -c tslint.json --fix","git add"]},"nyc":{"extension":[".ts"],"include":["src"],"reporter":["text"],"all":true},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.5.2","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","codecov":"^3.5.0","es6-promise":"^4.1.1","fetch-mock":"^7.2.5","fluid-publish":"^2.2.0","http-server":"^0.11.1","husky":"^2.4.0","isomorphic-fetch":"^2.2.1","lint-staged":"^8.2.0","mocha":"^5.2.0","nyc":"^14.1.0","prettier":"^1.15.2","ts-node":"^7.0.0","tslint":"^5.17.0","tslint-config-prettier":"^1.18.0","typedoc":"^0.14.2","types-ethereumjs-util":"0.0.8","typescript":"^2.9.2","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"bignumber.js":"7.2.1","ethereumjs-util":"^5.2.0","ethers":"^4.0.23","reconnecting-websocket":"^4.1.10","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","trustlines-contracts-abi":"^0.9.0","ws":"^6.2.1"},"readme":"# trustlines-network clientlib\n\n[![npm](https://img.shields.io/npm/v/trustlines-clientlib.svg)](https://www.npmjs.com/package/trustlines-clientlib)\n[![CircleCI branch](https://img.shields.io/circleci/project/github/trustlines-protocol/clientlib/master.svg)](https://circleci.com/gh/trustlines-protocol/clientlib)\n[![Codecov branch](https://img.shields.io/codecov/c/github/trustlines-protocol/clientlib/master.svg)](https://codecov.io/gh/trustlines-protocol/clientlib)\n\nA TypeScript/Javascript library for interacting with the [trustlines-network protocol](https://trustlines.network/).\n\n## Read the [Documentation](https://docs.trustlines.network/)\n\n## Installation\n\nInstall the library using `npm` or `yarn`\n\n```bash\n$ npm install trustlines-clientlib\n// OR\n$ yarn add trustlines-clientlib\n```\n\n#### Import ES6 module\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n```\n\nUse the following configuration to connect to the currently deployed test setup.\n\n**NOTE: The [trustlines-network contracts](https://github.com/trustlines-network/contracts) are deployed on the Laika Testnet ([Laika Blockexplorer](https://explorelaika.trustlines.foundation/)), the test network of Trustlines. Some Laika test `TLC` is therefore required to interact with the contracts in this setup.**\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n\nconst tlNetworkConfig = {\n  protocol: 'https',\n  host: 'relay0.testnet.trustlines.network',\n  path: 'api/v1/'\n}\n\nconst tlNetwork = new TLNetwork(tlNetworkConfig)\n```\n\n## Example\n\nThis library is a promise-based library. So every asynchronous call will return a native Javascript promise. If an error occurs the library will throw it. The caller has to handle it appropriately.\n\n```javascript\ntry {\n  const networks = await tlNetwork.currencyNetwokr.getAll()\n} catch (error) {\n  console.log('Caught error:', error)\n}\n```\n\n## Running injected web3 example\n\nTo run the example make sure to have [MetaMask](https://metamask.io/) installed and connected to a JSON RPC.\n\n```bash\nyarn serve\n```\n\nThis serves the injected web3 example app on `http://127.0.0.1:8080`. You can find the app under `./examples/injected-web3`.\n","readmeFilename":"README.md","gitHead":"5a33b6de2bd442145d47f01140e37e6ccc367df8","_id":"trustlines-clientlib@0.7.0-dev.20190924T101243Z.5a33b6d","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"trustlines-deploy","email":"bernd@brainbot.com"},"dist":{"integrity":"sha512-MazylsvZlEo9YFUzO3uF2lVLUiQQMXE4pRKY4sLSDIsANBt70sip5Pmnqm18OYqUZe9EX3Hf0LynWKAMpH3LDg==","shasum":"df9074a7e6512b1be8ae497ff75a327011b32267","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.7.0-dev.20190924T101243Z.5a33b6d.tgz","fileCount":65,"unpackedSize":377901,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdie5tCRA9TVsSAnZWagAADeEQAInKnh60gsLkB9s/JKvf\nsO8EYUIRZhRrvTtFv1Aj/HWeBclnl6cdYYNvKnyFcaFMSaCnQyFsz4YCGRwj\nOm90vyQPn0BY8l8fRFq68rDeCa7FglnRZ2/GQ2BuOsVFY81ZlEXJr/vCArpB\nuKgQZKB/jqIs1iZYH8v/XQVlBUpfqw3RbpbwR8o2aHzZpfxNvSdVIEo+BbHT\n0bMhKs5lazPpg06Zoy9z2CL5kYXzDiGW6H7uS3ux5DLzbFKIoxtzSx/NrFMZ\nz51tzvBH2VJ5PaHDlEIu2PXNqTOHuTM760VK98rbZrhRr0U/HoJJaib4Y2HQ\n9F7YO0bO/ycgiWcGwXICmKv/hMBULJNuG6NdoIjFJFEfUO8pB4HISJ+vW8HC\n5l77Kn1w7iGzrKTNuJSwhPiV9acZuCXKjXTHr3rkM/Rca1nNihB/aavCl8hq\nRIGofvcoVM38+JJVZCabeh/VsE1BOeGedCJnmbQd7KeudONpp0ZWelJ1ogco\nOfvOXuypPDGr5xmPM78sutfDDYtA1rwmO6Z9Z9k/tu9Jud+xFCHU90ZVXpUp\nuLqoxT9ZQe6Y1/C4r7FuxfYM6La/ixsm7Dh2PXaqLtd7qV6NNZASlezy/3Xs\nnFLehzo39PEmQaaN7TDzMWpm1ilUdlrbgsw1omRWN/3fCQUYatZ88rw5Zt53\n4S34\r\n=shFd\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCki+0j24xAVE1VpS0JoQN8u82PQXLOIRtTPEA34On1CgIhAJFdUzBbl5vtTZYkgsyiyk0b3MQyxGNi0GgpR81rLwdX"}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"},{"email":"bernd@brainbot.com","name":"trustlines-deploy"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.7.0-dev.20190924T101243Z.5a33b6d_1569320556441_0.504878535859006"},"_hasShrinkwrap":false},"0.7.0-dev.20190924T170958Z.fe01ebd":{"name":"trustlines-clientlib","version":"0.7.0-dev.20190924T170958Z.fe01ebd","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"typedoc --options tdconfig.json","lint":"tslint -c tslint.json './src/**/**.ts' './tests/**/**.ts'","prettier":"prettier --write './{src,tests}/**/*.ts'","prettier:check":"prettier --check './{src,tests}/**/*.ts'","prettier:big-tabs":"prettier --write --print-width 120 --no-semi --single-quote --tab-width 4  './{src,tests}/**/*.ts'","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","coverage":"nyc report --reporter=text-lcov > coverage.lcov && codecov","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump":"./bump.sh","serve":"webpack && cp -r ./_bundles ./examples/injected-web3 && http-server ./examples/injected-web3"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{ts,js,json,css,md}":["prettier --write","git add"],"*.ts":["tslint -c tslint.json --fix","git add"]},"nyc":{"extension":[".ts"],"include":["src"],"reporter":["text"],"all":true},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.5.2","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","codecov":"^3.5.0","es6-promise":"^4.1.1","fetch-mock":"^7.2.5","fluid-publish":"^2.2.0","http-server":"^0.11.1","husky":"^2.4.0","isomorphic-fetch":"^2.2.1","lint-staged":"^8.2.0","mocha":"^5.2.0","nyc":"^14.1.0","prettier":"^1.15.2","ts-node":"^7.0.0","tslint":"^5.17.0","tslint-config-prettier":"^1.18.0","typedoc":"^0.14.2","types-ethereumjs-util":"0.0.8","typescript":"^2.9.2","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"bignumber.js":"7.2.1","ethereumjs-util":"^5.2.0","ethers":"^4.0.23","reconnecting-websocket":"^4.1.10","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","trustlines-contracts-abi":"^0.9.0","ws":"^6.2.1"},"readme":"# trustlines-network clientlib\n\n[![npm](https://img.shields.io/npm/v/trustlines-clientlib.svg)](https://www.npmjs.com/package/trustlines-clientlib)\n[![CircleCI branch](https://img.shields.io/circleci/project/github/trustlines-protocol/clientlib/master.svg)](https://circleci.com/gh/trustlines-protocol/clientlib)\n[![Codecov branch](https://img.shields.io/codecov/c/github/trustlines-protocol/clientlib/master.svg)](https://codecov.io/gh/trustlines-protocol/clientlib)\n\nA TypeScript/Javascript library for interacting with the [trustlines-network protocol](https://trustlines.network/).\n\n## Read the [Documentation](https://docs.trustlines.network/)\n\n## Installation\n\nInstall the library using `npm` or `yarn`\n\n```bash\n$ npm install trustlines-clientlib\n// OR\n$ yarn add trustlines-clientlib\n```\n\n#### Import ES6 module\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n```\n\nUse the following configuration to connect to the currently deployed test setup.\n\n**NOTE: The [trustlines-network contracts](https://github.com/trustlines-network/contracts) are deployed on the Laika Testnet ([Laika Blockexplorer](https://explorelaika.trustlines.foundation/)), the test network of Trustlines. Some Laika test `TLC` is therefore required to interact with the contracts in this setup.**\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n\nconst tlNetworkConfig = {\n  protocol: 'https',\n  host: 'relay0.testnet.trustlines.network',\n  path: 'api/v1/'\n}\n\nconst tlNetwork = new TLNetwork(tlNetworkConfig)\n```\n\n## Example\n\nThis library is a promise-based library. So every asynchronous call will return a native Javascript promise. If an error occurs the library will throw it. The caller has to handle it appropriately.\n\n```javascript\ntry {\n  const networks = await tlNetwork.currencyNetwokr.getAll()\n} catch (error) {\n  console.log('Caught error:', error)\n}\n```\n\n## Running injected web3 example\n\nTo run the example make sure to have [MetaMask](https://metamask.io/) installed and connected to a JSON RPC.\n\n```bash\nyarn serve\n```\n\nThis serves the injected web3 example app on `http://127.0.0.1:8080`. You can find the app under `./examples/injected-web3`.\n","readmeFilename":"README.md","gitHead":"fe01ebd9306a7da5c1c22f26643db14d1fb5a9bb","_id":"trustlines-clientlib@0.7.0-dev.20190924T170958Z.fe01ebd","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"trustlines-deploy","email":"bernd@brainbot.com"},"dist":{"integrity":"sha512-WGX2lA+h+JT0J+BnNbAREH6/ST4IlKmRTQsJV46xhkky9rTmEGTKy7XwdHnMHL4xut+dcz5QAP2l0qaO4KCmpQ==","shasum":"2596ea75047a271a20c3f3c9ba5de12d35c04d3b","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.7.0-dev.20190924T170958Z.fe01ebd.tgz","fileCount":65,"unpackedSize":377901,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdilFICRA9TVsSAnZWagAAWPQP/1Udhd6L7PCvpUKq1VRu\nsPfisa0qXIz7IMiAjNSCANX4Doqzjb1teUeTn0AQN8+Zq2duVXBA+ThpLSNR\nfHEri/D7nBAAr6WdNU6OiRTwNWQS0G51fGGtEA7h60pxo4TSAaiSZMw22JBT\ndO8F5biuItsbO0x51+S9/Ut+0WNsIYlwOPDVR8h44kDPbNFAeTjtENNqyxyw\n296M+TFwZIECPvrUV35XnFAdQPHaTo5HyUmxhcui3W6Tic16fH9AppBWg2AO\ndjTdNy8FWRKp6SfwJ8kJDEt+w+H7M5TX8kccLNllxHJuj0ZU+KZm3g1RUYeq\nt45m9hh1e5i8rMFubECZOjMupelTLqvZq4J+6HLvNSF/n4KGaT+agTfT6V9D\nRJJF9sWGlcNIMJaU7qR+sCCfWnG15h37tiVDSC1dacoP/zfwA6edQouR4iHn\ngZqsYvZ6TDWCzg5AreSHJqnnI+XY/ZvxSHbWtE690ZUw2vCWxgiYP8S6ymkN\n6dPxVS5bqCys4+X7wPgCKlqLc74h1f779K387lTNbJ8rSlUL+si/NnhMp2lh\nEPg26EDtxAoORvJTZubzZOCUQ1SKBlkaPOWwtVXMcnIqZKsnPpQYD5q2Z6kj\nkixOJJnR9EXL0uBjbMK1ggAzAh3ffNxi4T6K1LZW4jFeN5a+9PCFIxlNKQH2\nIct3\r\n=UJU5\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHhP2nrFxM/p8kHfM18tC67WGB/WWgyWfLvp04IBoN5JAiEA8jywHFVL9xQvu1jaSEeyEYCXkGwHNOfi3CLy4Ae9bUQ="}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"},{"email":"bernd@brainbot.com","name":"trustlines-deploy"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.7.0-dev.20190924T170958Z.fe01ebd_1569345864123_0.2233107789778257"},"_hasShrinkwrap":false},"0.8.0":{"name":"trustlines-clientlib","version":"0.8.0","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"typedoc --options tdconfig.json","lint":"tslint -c tslint.json './src/**/**.ts' './tests/**/**.ts'","prettier":"prettier --write './{src,tests}/**/*.ts'","prettier:check":"prettier --check './{src,tests}/**/*.ts'","prettier:big-tabs":"prettier --write --print-width 120 --no-semi --single-quote --tab-width 4  './{src,tests}/**/*.ts'","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","coverage":"nyc report --reporter=text-lcov > coverage.lcov && codecov","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump":"./bump.sh","serve":"webpack && cp -r ./_bundles ./examples/injected-web3 && http-server ./examples/injected-web3"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{ts,js,json,css,md}":["prettier --write","git add"],"*.ts":["tslint -c tslint.json --fix","git add"]},"nyc":{"extension":[".ts"],"include":["src"],"reporter":["text"],"all":true},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.5.2","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","codecov":"^3.5.0","es6-promise":"^4.1.1","fetch-mock":"^7.2.5","fluid-publish":"^2.2.0","http-server":"^0.11.1","husky":"^2.4.0","isomorphic-fetch":"^2.2.1","lint-staged":"^8.2.0","mocha":"^5.2.0","nyc":"^14.1.0","prettier":"^1.15.2","ts-node":"^7.0.0","tslint":"^5.17.0","tslint-config-prettier":"^1.18.0","typedoc":"^0.14.2","types-ethereumjs-util":"0.0.8","typescript":"^2.9.2","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"bignumber.js":"7.2.1","ethereumjs-util":"^5.2.0","ethers":"^4.0.23","reconnecting-websocket":"^4.1.10","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","trustlines-contracts-abi":"^0.9.0","ws":"^6.2.1"},"licenseText":"MIT License\n\nCopyright (c) 2017 Trustlines Network\nCopyright (c) 2019 Trustlines Foundation\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"trustlines-clientlib@0.8.0","dist":{"shasum":"c1d92a10f959ea025d18f44675881c13fff438d0","integrity":"sha512-ADT4Tf4KJXl4SftAyn3MSkfqzaTkkyeBPOCXWCiJbCtHboe+Yhu+z3tIBdIANvs88ai0WgE/OhQitOzNEWfvbA==","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.8.0.tgz","fileCount":72,"unpackedSize":378075,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdk0e3CRA9TVsSAnZWagAAXCwP/3r++T2H1fwCJhRxEWAi\n1dVHtdLDo+88FzmV1Ci1CPO8GJRrFAGK8UhkBTXzdIg8JWAO3ItQVZAAfxl/\ncjms/wteEytkbWrgzp1DrEcefYII72/6/xl31F2up+KXB96P4F17h8FRJo64\n2M/DQ1EgzpxW8l4lK9PSSXMV71JoDSZ6Apj7h2yyaeKTM88UkoA3GbLJbk9f\nzMRtz4OVtoF447Tjz+swgoR62rPEaWui7EiVuxXaUMMgfXsUQjy45SuFiGQQ\ndiY67/AUO/XgslMEac7mmLmJIsjbgh6b8tVWEQioa63weAobk4mlvw6EvBKf\nW7mjaNeqz4shIdAFySN7lNDfiU1hFNYXgZ2gNj7sFbtC7onKcejQj6IItwXY\nHBx6GHrxv5505CnmkUYvUTbOSJdVTDBWnAiCN7tJ+X6TS1MR2A2HfqOef+ou\noldJG3EaOnaWmuA8OUrlCVKlf1D+0r5JFNCo+x00eD6ahu05F7oWGY3YvsFS\nmxINEv/ZWrMvr0K64m0CBqD4r3TgBjCy4GGk2PZj2bGtRthPkjpHf9INjrGn\nLMn+y7hVeKZEmkZHEq1NQY43f1M3mMzhoLLzwfT/T4gEhm42eCM4USL/T+wo\nlg2CUIES20IYRcn8GrBTbrHYk2lIS4/4Pz743V/S74sHAeDmZAP5W8tlWclW\ny80Z\r\n=l3qA\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDhYPygh0JKOzM7gTOtULsdjVCns/utNmbJ9ZqMTdvSjwIgadpyGxhPWcHc71o5LfbP/WtxCpFN/YCkGEPOBAqQ19g="}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"},{"email":"bernd@brainbot.com","name":"trustlines-deploy"}],"_npmUser":{"name":"trustlines-deploy","email":"bernd@brainbot.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.8.0_1569933238966_0.18642912842039205"},"_hasShrinkwrap":false,"deprecated":"Package was moved to the @trustlines organisation. Intall latest version with npm install @trustlines/trustlines-clientlib"},"0.7.0-dev.20191001T122713Z.b943341":{"name":"trustlines-clientlib","version":"0.7.0-dev.20191001T122713Z.b943341","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"typedoc --options tdconfig.json","lint":"tslint -c tslint.json './src/**/**.ts' './tests/**/**.ts'","prettier":"prettier --write './{src,tests}/**/*.ts'","prettier:check":"prettier --check './{src,tests}/**/*.ts'","prettier:big-tabs":"prettier --write --print-width 120 --no-semi --single-quote --tab-width 4  './{src,tests}/**/*.ts'","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","coverage":"nyc report --reporter=text-lcov > coverage.lcov && codecov","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump":"./bump.sh","serve":"webpack && cp -r ./_bundles ./examples/injected-web3 && http-server ./examples/injected-web3"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{ts,js,json,css,md}":["prettier --write","git add"],"*.ts":["tslint -c tslint.json --fix","git add"]},"nyc":{"extension":[".ts"],"include":["src"],"reporter":["text"],"all":true},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.5.2","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","codecov":"^3.5.0","es6-promise":"^4.1.1","fetch-mock":"^7.2.5","fluid-publish":"^2.2.0","http-server":"^0.11.1","husky":"^2.4.0","isomorphic-fetch":"^2.2.1","lint-staged":"^8.2.0","mocha":"^5.2.0","nyc":"^14.1.0","prettier":"^1.15.2","ts-node":"^7.0.0","tslint":"^5.17.0","tslint-config-prettier":"^1.18.0","typedoc":"^0.14.2","types-ethereumjs-util":"0.0.8","typescript":"^2.9.2","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"bignumber.js":"7.2.1","ethereumjs-util":"^5.2.0","ethers":"^4.0.23","reconnecting-websocket":"^4.1.10","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","trustlines-contracts-abi":"^0.9.0","ws":"^6.2.1"},"readme":"# trustlines-network clientlib\n\n[![npm](https://img.shields.io/npm/v/trustlines-clientlib.svg)](https://www.npmjs.com/package/trustlines-clientlib)\n[![CircleCI branch](https://img.shields.io/circleci/project/github/trustlines-protocol/clientlib/master.svg)](https://circleci.com/gh/trustlines-protocol/clientlib)\n[![Codecov branch](https://img.shields.io/codecov/c/github/trustlines-protocol/clientlib/master.svg)](https://codecov.io/gh/trustlines-protocol/clientlib)\n\nA TypeScript/Javascript library for interacting with the [trustlines-network protocol](https://trustlines.network/).\n\n## Read the [Documentation](https://docs.trustlines.network/)\n\n## Installation\n\nInstall the library using `npm` or `yarn`\n\n```bash\n$ npm install trustlines-clientlib\n// OR\n$ yarn add trustlines-clientlib\n```\n\n#### Import ES6 module\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n```\n\nUse the following configuration to connect to the currently deployed test setup.\n\n**NOTE: The [trustlines-network contracts](https://github.com/trustlines-network/contracts) are deployed on the Laika Testnet ([Laika Blockexplorer](https://explorelaika.trustlines.foundation/)), the test network of Trustlines. Some Laika test `TLC` is therefore required to interact with the contracts in this setup.**\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n\nconst tlNetworkConfig = {\n  protocol: 'https',\n  host: 'relay0.testnet.trustlines.network',\n  path: 'api/v1/'\n}\n\nconst tlNetwork = new TLNetwork(tlNetworkConfig)\n```\n\n## Example\n\nThis library is a promise-based library. So every asynchronous call will return a native Javascript promise. If an error occurs the library will throw it. The caller has to handle it appropriately.\n\n```javascript\ntry {\n  const networks = await tlNetwork.currencyNetwokr.getAll()\n} catch (error) {\n  console.log('Caught error:', error)\n}\n```\n\n## Running injected web3 example\n\nTo run the example make sure to have [MetaMask](https://metamask.io/) installed and connected to a JSON RPC.\n\n```bash\nyarn serve\n```\n\nThis serves the injected web3 example app on `http://127.0.0.1:8080`. You can find the app under `./examples/injected-web3`.\n","readmeFilename":"README.md","gitHead":"b943341f9df7e1515c6b7d03f80640bbfda8a360","_id":"trustlines-clientlib@0.7.0-dev.20191001T122713Z.b943341","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"trustlines-deploy","email":"bernd@brainbot.com"},"dist":{"integrity":"sha512-gKlFGRKTbRxWEnzuofinwW5W6sQ1uWSiZnUdViFVa0OEYhoFmteg/vbFYdii8oXc6RT0tJFC/L8VWmxaA49eMg==","shasum":"464359ece5dd303a19ab9203af0a35c654b34c74","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.7.0-dev.20191001T122713Z.b943341.tgz","fileCount":65,"unpackedSize":378104,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdk0iGCRA9TVsSAnZWagAAex4P/j1EU4ONYhfQhD0+Khu+\nTiLMJ4CMm07cWKOGztK137LxgyNSsoHI82ko9fT6XK/aVxYXzrqzUMCvt4RF\nZ9eXmUHNJleLLIbZYAcmBB/FxqWOgqoLBTQUAHgnki0B/jLZFxOc1ney7eQ/\nZ4XBoj2bQX/A1gVoSjjxOQji9+iMIJHG0C9LlblPFQlgxkTsaD70jTHTTfIP\npRbG4WqChvfuXyl/L8QtmJijjsEcEn3cJQkSSz9wQEJxcTX+IyUr3S+QcDYB\nWi6HmvJWbjNBOvB82rhLzj5H+Pf9K1CQA64vH462yeOMZWFAbBQi/sHB0BTX\ndrhbWM8iw+/ieerlMnc7AqV+nE5I4JTgZfw9LbGlkaaQF0d6Ct+thDR8hOSx\n8oBq0HIllWEUDtkRwnStz0rBtoltlJdQxndUe5mpD374MnYS59LsZ3p70G3I\nUVJLvmY8/zv9aS/L/wmLBHoW5zPfWnvnub+0RL/LtPDo9awJk2PKz0qNLV0f\nsn53q7tapacL/anXvUzMG9+Mragv8HsiMMATH4B6No6kgWxoud6dJzTpz63R\nT0gxW0k5Rd+vQOd+oeWeV2IQ0ufZEGzAqMv1rKMqfw/pPjpNjWPnQPGAPt95\n+hbLKyBujgx76U1JOwX3HmG1mu1ztwJmt6bRA2jdVAtVTcvDaRMsyh5W4IR8\nDWHS\r\n=nNtQ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC2LxetbmH5V72xxfXPiakEhpvnZD7LL3ysYlRINw7NmgIgNfSu59TWHG+DvLt1s8ntUrHLWpZOloCX5OrHH+z3/vw="}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"},{"email":"bernd@brainbot.com","name":"trustlines-deploy"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.7.0-dev.20191001T122713Z.b943341_1569933446237_0.8286574992807574"},"_hasShrinkwrap":false},"0.7.1-0-dev.20191001T123015Z.f693f61":{"name":"trustlines-clientlib","version":"0.7.1-0-dev.20191001T123015Z.f693f61","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"typedoc --options tdconfig.json","lint":"tslint -c tslint.json './src/**/**.ts' './tests/**/**.ts'","prettier":"prettier --write './{src,tests}/**/*.ts'","prettier:check":"prettier --check './{src,tests}/**/*.ts'","prettier:big-tabs":"prettier --write --print-width 120 --no-semi --single-quote --tab-width 4  './{src,tests}/**/*.ts'","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","coverage":"nyc report --reporter=text-lcov > coverage.lcov && codecov","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump":"./bump.sh","serve":"webpack && cp -r ./_bundles ./examples/injected-web3 && http-server ./examples/injected-web3"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{ts,js,json,css,md}":["prettier --write","git add"],"*.ts":["tslint -c tslint.json --fix","git add"]},"nyc":{"extension":[".ts"],"include":["src"],"reporter":["text"],"all":true},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.5.2","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","codecov":"^3.5.0","es6-promise":"^4.1.1","fetch-mock":"^7.2.5","fluid-publish":"^2.2.0","http-server":"^0.11.1","husky":"^2.4.0","isomorphic-fetch":"^2.2.1","lint-staged":"^8.2.0","mocha":"^5.2.0","nyc":"^14.1.0","prettier":"^1.15.2","ts-node":"^7.0.0","tslint":"^5.17.0","tslint-config-prettier":"^1.18.0","typedoc":"^0.14.2","types-ethereumjs-util":"0.0.8","typescript":"^2.9.2","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"bignumber.js":"7.2.1","ethereumjs-util":"^5.2.0","ethers":"^4.0.23","reconnecting-websocket":"^4.1.10","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","trustlines-contracts-abi":"^0.9.0","ws":"^6.2.1"},"readme":"# trustlines-network clientlib\n\n[![npm](https://img.shields.io/npm/v/trustlines-clientlib.svg)](https://www.npmjs.com/package/trustlines-clientlib)\n[![CircleCI branch](https://img.shields.io/circleci/project/github/trustlines-protocol/clientlib/master.svg)](https://circleci.com/gh/trustlines-protocol/clientlib)\n[![Codecov branch](https://img.shields.io/codecov/c/github/trustlines-protocol/clientlib/master.svg)](https://codecov.io/gh/trustlines-protocol/clientlib)\n\nA TypeScript/Javascript library for interacting with the [trustlines-network protocol](https://trustlines.network/).\n\n## Read the [Documentation](https://docs.trustlines.network/)\n\n## Installation\n\nInstall the library using `npm` or `yarn`\n\n```bash\n$ npm install trustlines-clientlib\n// OR\n$ yarn add trustlines-clientlib\n```\n\n#### Import ES6 module\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n```\n\nUse the following configuration to connect to the currently deployed test setup.\n\n**NOTE: The [trustlines-network contracts](https://github.com/trustlines-network/contracts) are deployed on the Laika Testnet ([Laika Blockexplorer](https://explorelaika.trustlines.foundation/)), the test network of Trustlines. Some Laika test `TLC` is therefore required to interact with the contracts in this setup.**\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n\nconst tlNetworkConfig = {\n  protocol: 'https',\n  host: 'relay0.testnet.trustlines.network',\n  path: 'api/v1/'\n}\n\nconst tlNetwork = new TLNetwork(tlNetworkConfig)\n```\n\n## Example\n\nThis library is a promise-based library. So every asynchronous call will return a native Javascript promise. If an error occurs the library will throw it. The caller has to handle it appropriately.\n\n```javascript\ntry {\n  const networks = await tlNetwork.currencyNetwokr.getAll()\n} catch (error) {\n  console.log('Caught error:', error)\n}\n```\n\n## Running injected web3 example\n\nTo run the example make sure to have [MetaMask](https://metamask.io/) installed and connected to a JSON RPC.\n\n```bash\nyarn serve\n```\n\nThis serves the injected web3 example app on `http://127.0.0.1:8080`. You can find the app under `./examples/injected-web3`.\n","readmeFilename":"README.md","gitHead":"f693f61885ce1597a5bc8b2d545a5533c1cb7757","_id":"trustlines-clientlib@0.7.1-0-dev.20191001T123015Z.f693f61","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"trustlines-deploy","email":"bernd@brainbot.com"},"dist":{"integrity":"sha512-4KSQRoe3AMB83UAH3/PG7v1p7XQOhz1nRTXzWYOIjJgGKBY0fhTQGFU+can+Pujj3CctezYfj31mmLauooYLNQ==","shasum":"8020a16b99d81ed519aeb751e41706b1c4aa1e77","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.7.1-0-dev.20191001T123015Z.f693f61.tgz","fileCount":65,"unpackedSize":378106,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdk0k+CRA9TVsSAnZWagAA7ucP/RPTsjOfbS3R86Mcr3SH\nO/1hNi7Oo4tnOJr7+ZOXwHJN70yrQ8+JjBYVoGQ3i3kRiUw0LYHyMnbJ4nzE\nT+hw8zJKxUzsEw6Hhc6SIXagdQzyfBuS/Fh9OiG9AbCwhMQeVpCDYLfz7T+B\nGmb6rVq61idtNv23D+3v7TuFocnKy6jzdD3Sgi2PVjkBMmbE2p0dMylM5DHZ\nk98BdAsRbEEZf87qQGiYfS0WVm0FWv0jrkm5PzL4m6gKhJBTTwYCrzEyvyNh\nqxZlfMEUAqvK1NxPOizgiFBusKSbYAS7fun8OVgu2z/NtT29gws66yfwBnzz\nR1p7NHQ+IFMjZOUqcVw8+esJiy/LtLMnEpyeUmhZWoMu9oFBs++YVfLIjOE7\n/64tAc8NjqoGNNT1nqZfZ1bjkp0BVfD+UcfIvB/cch3GyhkTOqau3RIC9JU3\nXOGQO7AagJQ7SyHvyfBD7eDnODfLxcqOl2pP3cY0hB3rI6XiJXhAYEUVahoH\nchWqQRGVjKi5vUB0N2sUSbAHP0LKhAyBOgmyQ4G+zzUBiGunihJYpblV8HMt\nTzA6l4oFMEYOzWjaFeh0O/DjYGIn97GfHLPCS1I1GrG7XtSNCQ558Q9Edu0u\nMEKi8BaWZVeVEij8dhIR6wRiARTJsl8aOhxVl3r3gFe699EYFIGvvRmrfDBG\nvuDR\r\n=Xuy+\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCJwz742UZMdX1KgNIo61FVIHr3xGXhLRXKFz2x+WWE1AIgBmL0UObn8nbVLbM2+hc7J83IugJFAu+oWBCQUDI0A4o="}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"},{"email":"bernd@brainbot.com","name":"trustlines-deploy"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.7.1-0-dev.20191001T123015Z.f693f61_1569933629434_0.6195420814353783"},"_hasShrinkwrap":false},"0.8.1-0-dev.20191001T123223Z.adaa263":{"name":"trustlines-clientlib","version":"0.8.1-0-dev.20191001T123223Z.adaa263","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"typedoc --options tdconfig.json","lint":"tslint -c tslint.json './src/**/**.ts' './tests/**/**.ts'","prettier":"prettier --write './{src,tests}/**/*.ts'","prettier:check":"prettier --check './{src,tests}/**/*.ts'","prettier:big-tabs":"prettier --write --print-width 120 --no-semi --single-quote --tab-width 4  './{src,tests}/**/*.ts'","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","coverage":"nyc report --reporter=text-lcov > coverage.lcov && codecov","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump":"./bump.sh","serve":"webpack && cp -r ./_bundles ./examples/injected-web3 && http-server ./examples/injected-web3"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{ts,js,json,css,md}":["prettier --write","git add"],"*.ts":["tslint -c tslint.json --fix","git add"]},"nyc":{"extension":[".ts"],"include":["src"],"reporter":["text"],"all":true},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.5.2","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","codecov":"^3.5.0","es6-promise":"^4.1.1","fetch-mock":"^7.2.5","fluid-publish":"^2.2.0","http-server":"^0.11.1","husky":"^2.4.0","isomorphic-fetch":"^2.2.1","lint-staged":"^8.2.0","mocha":"^5.2.0","nyc":"^14.1.0","prettier":"^1.15.2","ts-node":"^7.0.0","tslint":"^5.17.0","tslint-config-prettier":"^1.18.0","typedoc":"^0.14.2","types-ethereumjs-util":"0.0.8","typescript":"^2.9.2","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"bignumber.js":"7.2.1","ethereumjs-util":"^5.2.0","ethers":"^4.0.23","reconnecting-websocket":"^4.1.10","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","trustlines-contracts-abi":"^0.9.0","ws":"^6.2.1"},"readme":"# trustlines-network clientlib\n\n[![npm](https://img.shields.io/npm/v/trustlines-clientlib.svg)](https://www.npmjs.com/package/trustlines-clientlib)\n[![CircleCI branch](https://img.shields.io/circleci/project/github/trustlines-protocol/clientlib/master.svg)](https://circleci.com/gh/trustlines-protocol/clientlib)\n[![Codecov branch](https://img.shields.io/codecov/c/github/trustlines-protocol/clientlib/master.svg)](https://codecov.io/gh/trustlines-protocol/clientlib)\n\nA TypeScript/Javascript library for interacting with the [trustlines-network protocol](https://trustlines.network/).\n\n## Read the [Documentation](https://docs.trustlines.network/)\n\n## Installation\n\nInstall the library using `npm` or `yarn`\n\n```bash\n$ npm install trustlines-clientlib\n// OR\n$ yarn add trustlines-clientlib\n```\n\n#### Import ES6 module\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n```\n\nUse the following configuration to connect to the currently deployed test setup.\n\n**NOTE: The [trustlines-network contracts](https://github.com/trustlines-network/contracts) are deployed on the Laika Testnet ([Laika Blockexplorer](https://explorelaika.trustlines.foundation/)), the test network of Trustlines. Some Laika test `TLC` is therefore required to interact with the contracts in this setup.**\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n\nconst tlNetworkConfig = {\n  protocol: 'https',\n  host: 'relay0.testnet.trustlines.network',\n  path: 'api/v1/'\n}\n\nconst tlNetwork = new TLNetwork(tlNetworkConfig)\n```\n\n## Example\n\nThis library is a promise-based library. So every asynchronous call will return a native Javascript promise. If an error occurs the library will throw it. The caller has to handle it appropriately.\n\n```javascript\ntry {\n  const networks = await tlNetwork.currencyNetwokr.getAll()\n} catch (error) {\n  console.log('Caught error:', error)\n}\n```\n\n## Running injected web3 example\n\nTo run the example make sure to have [MetaMask](https://metamask.io/) installed and connected to a JSON RPC.\n\n```bash\nyarn serve\n```\n\nThis serves the injected web3 example app on `http://127.0.0.1:8080`. You can find the app under `./examples/injected-web3`.\n","readmeFilename":"README.md","gitHead":"adaa2637676a96cded373c60b3d21afec4fc8174","_id":"trustlines-clientlib@0.8.1-0-dev.20191001T123223Z.adaa263","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"trustlines-deploy","email":"bernd@brainbot.com"},"dist":{"integrity":"sha512-W/DQqPhTDcFRLFEl0HCvhvOGEKjkJpiVfs6e6+vCAETnS0T4EL80ODpOQH450CWYhaLMq1Gct9P+zJGA4CykEg==","shasum":"edd8465aa5e0a7baa62204a1ed6c4debd75af005","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.8.1-0-dev.20191001T123223Z.adaa263.tgz","fileCount":65,"unpackedSize":378106,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdk0muCRA9TVsSAnZWagAAGqAP/0+UmYEtJO0EZHj8FuCH\nYwAOZDfWd/7KNenqBWC7VTjR8tSB8U05EjGlUzldMKGgChutW+5O6mP/L/0Q\nCcKCwCbq6naWh2F+dQlztecUN0dhLUdVPQOlLBrmr2NiJGu+/KCUVskiWipL\nBxdOlngmWiOYff2NxyaW7WQUx+1pIz+MAx1BOwK8QD9ZqpURiumE62KwselZ\n5A+UnXBbbwwm68A3JsYZI4wZtLONf5btkczf8V0guedbxJ7AzPV88VcC1qLJ\nek22r+RN2kjaNC9iv64a6oG9PCiDKYo7o77zRhAJchY542tHe5gAwgUvAL6z\n5zSVC/ruCaGouGhoFPFR+PsDl23MqjoHNIma6ZHiBBWBPmLPBASBK1A9uPog\nUyVQvCDmXGywiAxH/RnhQEsrReBbfZpFK6aEBEfxc3s7t9mW35nJN+WLP4nm\nfs7f9fSJAPdDTicHcryHeivyCrYv6cZl9SaTTQZ0MND+yS1mQ9IARaLYb9jD\nusQJelB6yxeni8/Qt9tlHGKIqdEXvs0QCrr9lvzMTPo9bSxCBZjFuBTyNefG\n+Km2EvM5B7JdxgPQpDgyHJfGXxOVC+T4QylEy4mHPtjLsWUmBkdTlaen5tGb\nWUCUTiZqKQmRyBW693n9Y5CCc09AGu1EFKdY0n2aXXRSjT7JkJ86737WNKi1\nqfLC\r\n=TUwt\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDotRjnLA3toWxYx1880z6DpvgwLehnchxlFepDqRFPNwIgSGCyLjRQ+LPhWiFasv1QvPDD2YCdiWUS6Lm8qXwKTwA="}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"},{"email":"bernd@brainbot.com","name":"trustlines-deploy"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.8.1-0-dev.20191001T123223Z.adaa263_1569933741390_0.0016423878337192832"},"_hasShrinkwrap":false},"0.9.0":{"name":"trustlines-clientlib","version":"0.9.0","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"typedoc --options tdconfig.json","lint":"tslint -c tslint.json './src/**/**.ts' './tests/**/**.ts'","prettier":"prettier --write './{src,tests}/**/*.ts'","prettier:check":"prettier --check './{src,tests}/**/*.ts'","prettier:big-tabs":"prettier --write --print-width 120 --no-semi --single-quote --tab-width 4  './{src,tests}/**/*.ts'","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","coverage":"nyc report --reporter=text-lcov > coverage.lcov && codecov","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump":"./bump.sh","serve":"webpack && cp -r ./_bundles ./examples/injected-web3 && http-server ./examples/injected-web3"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{ts,js,json,css,md}":["prettier --write","git add"],"*.ts":["tslint -c tslint.json --fix","git add"]},"nyc":{"extension":[".ts"],"include":["src"],"reporter":["text"],"all":true},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.5.2","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","codecov":"^3.5.0","es6-promise":"^4.1.1","fetch-mock":"^7.2.5","fluid-publish":"^2.2.0","http-server":"^0.11.1","husky":"^2.4.0","isomorphic-fetch":"^2.2.1","lint-staged":"^8.2.0","mocha":"^5.2.0","nyc":"^14.1.0","prettier":"^1.15.2","ts-node":"^7.0.0","tslint":"^5.17.0","tslint-config-prettier":"^1.18.0","typedoc":"^0.14.2","types-ethereumjs-util":"0.0.8","typescript":"^2.9.2","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"bignumber.js":"7.2.1","ethereumjs-util":"^5.2.0","ethers":"^4.0.23","reconnecting-websocket":"^4.1.10","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","trustlines-contracts-abi":"^0.9.0","ws":"^6.2.1"},"licenseText":"MIT License\n\nCopyright (c) 2017 Trustlines Network\nCopyright (c) 2019 Trustlines Foundation\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"trustlines-clientlib@0.9.0","dist":{"shasum":"9ee0e78037aeda1a1a8195c1ac731e8c215c833f","integrity":"sha512-YHiNdUlscKoUEUuT0gS3YkhyvDVouwUguV0wdhRV9NFp8tyAT9t0oqsVgrQ3b30SVlB+ub/qaikA+/ZQJ6u4pg==","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.9.0.tgz","fileCount":72,"unpackedSize":390311,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdmKDSCRA9TVsSAnZWagAAM0wP/jgHUnmkMZifaUQLAln6\nslg8lKNxxi2ejHP3BjPa4ehps1cwWouL0PrgXrkBQY+IXLVgCIY/78e7lujb\nissON8hL40t4niKrdfNxgwHad/zgbHSXEJWLD+wDFDtxDEwckEdJGQQsj0tx\nmozUJ5G+J2f6YYs9PIyFWncyr2nEAzcX+QFVKtu6sABe3zQU8ceXCmQtAgjj\nxT5Q/VBSKvzQ54CZqT3hyDXQo4kdkwsJ5J+TAtPYHdSo+yNzHKo0lnxecYPl\nGuxHqdwLwRU6kDWCugvgzAFqA3I56o9PCabRDtOLcKLApdcN2hPtk8N4MpBl\nlJB5EGu4V8RPnGsLHxUNiXlL4j3/0R4rj1V21C8TApz9VDfpIjQg2ddan9K0\nkmlzJt3y4/nyhnNmbZJdPxBR4SJK+IG9VBOK/r2diTR2KTiRK/EBawnt6sst\nUzvdyjGYif2ro5U/BIQ6iIgfb2mhPw6Gzvfk9VmcsJXreC3jzkuXMuq3Zv8o\nNeypaH7DZWFZ/NrT/vltQkMiNoG1FSndCtsC/ficGViXC7Aka4Tslt1tS9EI\nQIx6BMpIsXafhfVI3b5So0OcsLE0pobqTVbzVVpwp8C6X7kqnyGE5af2cDHU\nzWOG3ZQo4lcsWpwhwG8xhuXGGDpQOjSooUY3H5YNHGDc/IiTJK+zEv26hzJo\nH+aW\r\n=8tm8\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDQqz1bdL/pSRpqYsIolkuVkLJGue+vCekFNXIuMejd8QIhAIbEIeSTeRAnTIMrgKzgAsmoi1bP75bqRSrbxyB8z6W+"}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"},{"email":"bernd@brainbot.com","name":"trustlines-deploy"}],"_npmUser":{"name":"trustlines-deploy","email":"bernd@brainbot.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.9.0_1570283729489_0.9477200626648186"},"_hasShrinkwrap":false,"deprecated":"Package was moved to the @trustlines organisation. Intall latest version with npm install @trustlines/trustlines-clientlib"},"0.9.1-0-dev.20191005T134914Z.baf25fe":{"name":"trustlines-clientlib","version":"0.9.1-0-dev.20191005T134914Z.baf25fe","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"typedoc --options tdconfig.json","lint":"tslint -c tslint.json './src/**/**.ts' './tests/**/**.ts'","prettier":"prettier --write './{src,tests}/**/*.ts'","prettier:check":"prettier --check './{src,tests}/**/*.ts'","prettier:big-tabs":"prettier --write --print-width 120 --no-semi --single-quote --tab-width 4  './{src,tests}/**/*.ts'","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","coverage":"nyc report --reporter=text-lcov > coverage.lcov && codecov","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump":"./bump.sh","serve":"webpack && cp -r ./_bundles ./examples/injected-web3 && http-server ./examples/injected-web3"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{ts,js,json,css,md}":["prettier --write","git add"],"*.ts":["tslint -c tslint.json --fix","git add"]},"nyc":{"extension":[".ts"],"include":["src"],"reporter":["text"],"all":true},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.5.2","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","codecov":"^3.5.0","es6-promise":"^4.1.1","fetch-mock":"^7.2.5","fluid-publish":"^2.2.0","http-server":"^0.11.1","husky":"^2.4.0","isomorphic-fetch":"^2.2.1","lint-staged":"^8.2.0","mocha":"^5.2.0","nyc":"^14.1.0","prettier":"^1.15.2","ts-node":"^7.0.0","tslint":"^5.17.0","tslint-config-prettier":"^1.18.0","typedoc":"^0.14.2","types-ethereumjs-util":"0.0.8","typescript":"^2.9.2","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"bignumber.js":"7.2.1","ethereumjs-util":"^5.2.0","ethers":"^4.0.23","reconnecting-websocket":"^4.1.10","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","trustlines-contracts-abi":"^0.9.0","ws":"^6.2.1"},"readme":"# trustlines-network clientlib\n\n[![npm](https://img.shields.io/npm/v/trustlines-clientlib.svg)](https://www.npmjs.com/package/trustlines-clientlib)\n[![CircleCI branch](https://img.shields.io/circleci/project/github/trustlines-protocol/clientlib/master.svg)](https://circleci.com/gh/trustlines-protocol/clientlib)\n[![Codecov branch](https://img.shields.io/codecov/c/github/trustlines-protocol/clientlib/master.svg)](https://codecov.io/gh/trustlines-protocol/clientlib)\n\nA TypeScript/Javascript library for interacting with the [trustlines-network protocol](https://trustlines.network/).\n\n## Read the [Documentation](https://docs.trustlines.network/)\n\n## Installation\n\nInstall the library using `npm` or `yarn`\n\n```bash\n$ npm install trustlines-clientlib\n// OR\n$ yarn add trustlines-clientlib\n```\n\n#### Import ES6 module\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n```\n\nUse the following configuration to connect to the currently deployed test setup.\n\n**NOTE: The [trustlines-network contracts](https://github.com/trustlines-network/contracts) are deployed on the Laika Testnet ([Laika Blockexplorer](https://explorelaika.trustlines.foundation/)), the test network of Trustlines. Some Laika test `TLC` is therefore required to interact with the contracts in this setup.**\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n\nconst tlNetworkConfig = {\n  protocol: 'https',\n  host: 'relay0.testnet.trustlines.network',\n  path: 'api/v1/'\n}\n\nconst tlNetwork = new TLNetwork(tlNetworkConfig)\n```\n\n## Example\n\nThis library is a promise-based library. So every asynchronous call will return a native Javascript promise. If an error occurs the library will throw it. The caller has to handle it appropriately.\n\n```javascript\ntry {\n  const networks = await tlNetwork.currencyNetwokr.getAll()\n} catch (error) {\n  console.log('Caught error:', error)\n}\n```\n\n## Running injected web3 example\n\nTo run the example make sure to have [MetaMask](https://metamask.io/) installed and connected to a JSON RPC.\n\n```bash\nyarn serve\n```\n\nThis serves the injected web3 example app on `http://127.0.0.1:8080`. You can find the app under `./examples/injected-web3`.\n","readmeFilename":"README.md","gitHead":"baf25fe989b1670fdd5644653a825db500c8ee65","_id":"trustlines-clientlib@0.9.1-0-dev.20191005T134914Z.baf25fe","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"trustlines-deploy","email":"bernd@brainbot.com"},"dist":{"integrity":"sha512-m0qos7lzbC+YpaRA1zD7Va5ouHe0lwXenYgttVQtv0jVFCB40s3sDu0GZ5jX5y7F6uMSrJdb4u231TdwhM6qfw==","shasum":"4926f8c72c94e425d6fafa593a2ace8b18e8318e","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.9.1-0-dev.20191005T134914Z.baf25fe.tgz","fileCount":65,"unpackedSize":390342,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdmKMrCRA9TVsSAnZWagAA5rkP/0XBoE9/AwqlCZH4c5fP\nfPlY+AgKgZKC6tq01RYm+hFDOYCHdBjt6PCepFAekDaZlp2Z+JqqBtUOvDOX\nW8Qb9DEXhaKSknwZovQHq/sgRFSMw78FihVtBhv1WYP2j/HWlcNfrq11tuSq\nlpl1+4FDz9cvUTWi8A1OWI2QYeWA7coHO59quZn0smNXdjJSyzrckfHOONPk\neiU4kzSbei0BUKPKC6WsRCj2kOAtMLPsEPUV2r/ewD0xRTUGaIMRxmkCyTpU\nBuik3TcXMyXdDKPanlMaNFsV5vn3x4uMG3ZfZOf8QuEh/Wxugt6k0y4pJ1dL\nH1/aJk70ISbN45K/mPTjpC/9vVimAdhfoEo1kWUoy0PqCpv/A7qhsypX17XI\nzY7895VvSU0xwTcfuGfbjvtWQ1C7nroUob/j5FOV0dd8013x88JRHx9ln6hV\nr6nKlubnZwqfMCrSOtMa9X1uVoUOHL8M7qZxUUTHi1JEijMyBSO0z++LM3hc\nXqctDqHt9lHJ4vzEv4PKcnrc+BwIisECBzNDruVVNQ+T5Jk2vYcuI8EwlpRa\nRvSV1nxIphOBsehBY3/JtADRKsFY6sYlYkTcOc/z2Pu8cxnN8kGCPasyWt97\nqd4rfb5jWWdljKe95OiZu3LDFiGQPTg6ivHM3wFQoWwz73bp65jaCNutGdz6\nQNrJ\r\n=rnwT\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIADg0SYH7PomjssZw9G0ayZf4ze2NDpbz+KzG23bNsBFAiEAydyhRXCaXNNId4FeyfKAxiq5YwzRofJSEk2/34w0wR8="}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"},{"email":"bernd@brainbot.com","name":"trustlines-deploy"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.9.1-0-dev.20191005T134914Z.baf25fe_1570284330663_0.6688632859946706"},"_hasShrinkwrap":false},"0.9.1-0-dev.20191010T135917Z.4d1e3b7":{"name":"trustlines-clientlib","version":"0.9.1-0-dev.20191010T135917Z.4d1e3b7","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"typedoc --options tdconfig.json","lint":"tslint -c tslint.json './src/**/**.ts' './tests/**/**.ts'","prettier":"prettier --write './{src,tests}/**/*.ts'","prettier:check":"prettier --check './{src,tests}/**/*.ts'","prettier:big-tabs":"prettier --write --print-width 120 --no-semi --single-quote --tab-width 4  './{src,tests}/**/*.ts'","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","coverage":"nyc report --reporter=text-lcov > coverage.lcov && codecov","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump":"./bump.sh","serve":"webpack && cp -r ./_bundles ./examples/injected-web3 && http-server ./examples/injected-web3"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{ts,js,json,css,md}":["prettier --write","git add"],"*.ts":["tslint -c tslint.json --fix","git add"]},"nyc":{"extension":[".ts"],"include":["src"],"reporter":["text"],"all":true},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.5.2","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","codecov":"^3.5.0","es6-promise":"^4.1.1","fetch-mock":"^7.2.5","fluid-publish":"^2.2.0","http-server":"^0.11.1","husky":"^2.4.0","isomorphic-fetch":"^2.2.1","lint-staged":"^8.2.0","mocha":"^5.2.0","nyc":"^14.1.0","prettier":"^1.15.2","ts-node":"^7.0.0","tslint":"^5.17.0","tslint-config-prettier":"^1.18.0","typedoc":"^0.14.2","types-ethereumjs-util":"0.0.8","typescript":"^2.9.2","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"bignumber.js":"7.2.1","ethereumjs-util":"^5.2.0","ethers":"^4.0.23","reconnecting-websocket":"^4.1.10","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","trustlines-contracts-abi":"^0.9.0","ws":"^6.2.1"},"readme":"# trustlines-network clientlib\n\n[![npm](https://img.shields.io/npm/v/trustlines-clientlib.svg)](https://www.npmjs.com/package/trustlines-clientlib)\n[![CircleCI branch](https://img.shields.io/circleci/project/github/trustlines-protocol/clientlib/master.svg)](https://circleci.com/gh/trustlines-protocol/clientlib)\n[![Codecov branch](https://img.shields.io/codecov/c/github/trustlines-protocol/clientlib/master.svg)](https://codecov.io/gh/trustlines-protocol/clientlib)\n\nA TypeScript/Javascript library for interacting with the [trustlines-network protocol](https://trustlines.network/).\n\n## Read the [Documentation](https://docs.trustlines.network/)\n\n## Installation\n\nInstall the library using `npm` or `yarn`\n\n```bash\n$ npm install trustlines-clientlib\n// OR\n$ yarn add trustlines-clientlib\n```\n\n#### Import ES6 module\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n```\n\nUse the following configuration to connect to the currently deployed test setup.\n\n**NOTE: The [trustlines-network contracts](https://github.com/trustlines-network/contracts) are deployed on the Laika Testnet ([Laika Blockexplorer](https://explorelaika.trustlines.foundation/)), the test network of Trustlines. Some Laika test `TLC` is therefore required to interact with the contracts in this setup.**\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n\nconst tlNetworkConfig = {\n  protocol: 'https',\n  host: 'relay0.testnet.trustlines.network',\n  path: 'api/v1/'\n}\n\nconst tlNetwork = new TLNetwork(tlNetworkConfig)\n```\n\n## Example\n\nThis library is a promise-based library. So every asynchronous call will return a native Javascript promise. If an error occurs the library will throw it. The caller has to handle it appropriately.\n\n```javascript\ntry {\n  const networks = await tlNetwork.currencyNetwokr.getAll()\n} catch (error) {\n  console.log('Caught error:', error)\n}\n```\n\n## Running injected web3 example\n\nTo run the example make sure to have [MetaMask](https://metamask.io/) installed and connected to a JSON RPC.\n\n```bash\nyarn serve\n```\n\nThis serves the injected web3 example app on `http://127.0.0.1:8080`. You can find the app under `./examples/injected-web3`.\n","readmeFilename":"README.md","gitHead":"4d1e3b7cefcdb5fdd0b61c1c278ce846fe67c377","_id":"trustlines-clientlib@0.9.1-0-dev.20191010T135917Z.4d1e3b7","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"trustlines-deploy","email":"bernd@brainbot.com"},"dist":{"integrity":"sha512-7O8BWtmRJ/lt4h/Ol+co6aUPC5MgNcvfFIqsWLbypiXs0DjEvwc2i506v99+7TzRqnnF6GOUYfWsLPcp8b7gyg==","shasum":"b3b9519e22672b24df682451b9fcf76cddd6de5a","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.9.1-0-dev.20191010T135917Z.4d1e3b7.tgz","fileCount":65,"unpackedSize":390342,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdnzvLCRA9TVsSAnZWagAA1sgP/2CYVeX+t0KW/JxBsgVw\nbefGrklQHAr3lexq9kxZp1K5b2STDyWMch90/Sxnnbxy4ebSxSa2jgpW7tiO\nQeIO4dVTg7TN4ppR1oTnRFh//y+xiQUpces/RhqltuwGDazoI8+TFSLJp+sm\nPxrqLwFKMTe9OnFCeLFIecF/Tu5PlucdKHQKkCs0LJBmLcvcVwAlN4YnxGRW\nUkx9vUycHd/UvqRVzylrD8XxcVbetortHb7wsEKEUnf5dkOQOfJ0cOBln7hs\nX9eacp0pZU32lLazA3yalEAVuWqQthWsn6zQl1QXWuqKPmOUIXVPj1XhKA39\nxAtyjv2nqFG+yHzjvMsry13Alx71v3z6zmswEk5se8vaLFnGyihspwudCcP8\n0hmiLDIZchKLoFrrZna8ijUBeEGSfQcpluFrHYhQmsr+yDsqJYydPJqatHOS\nJ2K2Nl7tDbzGdHaOz655zo6lITwsAQS/g1CUk2zNL/YN8xjc4jqNv5KG/CKx\nwlf9rEXbkVlCOI6l6cZeYOPdfeXsPPM24Cdxb8XOugDyZXfwlXunnnOjIAvj\n/OXlHF8YEXKfGXouQTIGtUfWZtTrsclHDcp2OYIEVqr3DqA3YuU0OOoLu473\nBlEgpQDgWIGyCf721ApzItIuGN+HsOwYwbxaZ3VU1WOzJdbiSWLtUoRGzGxZ\n6sGj\r\n=2teF\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCtW8TlxwgODLXTCIBZzD6xdZQwNbjYYMH896AoTH8BvwIgJ3iI/S9XkybGg1H/hcRhMhrCXyIsMXTeD5pKtEPlklQ="}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"},{"email":"bernd@brainbot.com","name":"trustlines-deploy"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.9.1-0-dev.20191010T135917Z.4d1e3b7_1570716618475_0.33769387666028683"},"_hasShrinkwrap":false},"0.9.1-0-dev.20191016T102900Z.9c85e3c":{"name":"trustlines-clientlib","version":"0.9.1-0-dev.20191016T102900Z.9c85e3c","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"typedoc --options tdconfig.json","lint":"tslint -c tslint.json './src/**/**.ts' './tests/**/**.ts'","prettier":"prettier --write './{src,tests}/**/*.ts'","prettier:check":"prettier --check './{src,tests}/**/*.ts'","prettier:big-tabs":"prettier --write --print-width 120 --no-semi --single-quote --tab-width 4  './{src,tests}/**/*.ts'","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","coverage":"nyc report --reporter=text-lcov > coverage.lcov && codecov","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump":"./bump.sh","serve":"webpack && cp -r ./_bundles ./examples/injected-web3 && http-server ./examples/injected-web3"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{ts,js,json,css,md}":["prettier --write","git add"],"*.ts":["tslint -c tslint.json --fix","git add"]},"nyc":{"extension":[".ts"],"include":["src"],"reporter":["text"],"all":true},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.5.2","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","codecov":"^3.5.0","es6-promise":"^4.1.1","fetch-mock":"^7.2.5","fluid-publish":"^2.2.0","http-server":"^0.11.1","husky":"^2.4.0","isomorphic-fetch":"^2.2.1","lint-staged":"^8.2.0","mocha":"^5.2.0","nyc":"^14.1.0","prettier":"^1.15.2","ts-node":"^7.0.0","tslint":"^5.17.0","tslint-config-prettier":"^1.18.0","typedoc":"^0.14.2","types-ethereumjs-util":"0.0.8","typescript":"^2.9.2","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"bignumber.js":"7.2.1","ethereumjs-util":"^5.2.0","ethers":"^4.0.23","reconnecting-websocket":"^4.1.10","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","trustlines-contracts-abi":"^0.9.0","ws":"^6.2.1"},"readme":"# trustlines-network clientlib\n\n[![npm](https://img.shields.io/npm/v/trustlines-clientlib.svg)](https://www.npmjs.com/package/trustlines-clientlib)\n[![CircleCI branch](https://img.shields.io/circleci/project/github/trustlines-protocol/clientlib/master.svg)](https://circleci.com/gh/trustlines-protocol/clientlib)\n[![Codecov branch](https://img.shields.io/codecov/c/github/trustlines-protocol/clientlib/master.svg)](https://codecov.io/gh/trustlines-protocol/clientlib)\n\nA TypeScript/Javascript library for interacting with the [trustlines-network protocol](https://trustlines.network/).\n\n## Read the [Documentation](https://docs.trustlines.network/)\n\n## Installation\n\nInstall the library using `npm` or `yarn`\n\n```bash\n$ npm install trustlines-clientlib\n// OR\n$ yarn add trustlines-clientlib\n```\n\n#### Import ES6 module\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n```\n\nUse the following configuration to connect to the currently deployed test setup.\n\n**NOTE: The [trustlines-network contracts](https://github.com/trustlines-network/contracts) are deployed on the Laika Testnet ([Laika Blockexplorer](https://explorelaika.trustlines.foundation/)), the test network of Trustlines. Some Laika test `TLC` is therefore required to interact with the contracts in this setup.**\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n\nconst tlNetworkConfig = {\n  protocol: 'https',\n  host: 'relay0.testnet.trustlines.network',\n  path: 'api/v1/'\n}\n\nconst tlNetwork = new TLNetwork(tlNetworkConfig)\n```\n\n## Example\n\nThis library is a promise-based library. So every asynchronous call will return a native Javascript promise. If an error occurs the library will throw it. The caller has to handle it appropriately.\n\n```javascript\ntry {\n  const networks = await tlNetwork.currencyNetwokr.getAll()\n} catch (error) {\n  console.log('Caught error:', error)\n}\n```\n\n## Running injected web3 example\n\nTo run the example make sure to have [MetaMask](https://metamask.io/) installed and connected to a JSON RPC.\n\n```bash\nyarn serve\n```\n\nThis serves the injected web3 example app on `http://127.0.0.1:8080`. You can find the app under `./examples/injected-web3`.\n","readmeFilename":"README.md","gitHead":"9c85e3c978e9844b8d37391e84bc24647b0d9b69","_id":"trustlines-clientlib@0.9.1-0-dev.20191016T102900Z.9c85e3c","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"trustlines-deploy","email":"bernd@brainbot.com"},"dist":{"integrity":"sha512-67Ppj3+bbvcSWfp1Ek2KTMk9PJ7dhxmyJki45vFlmx+zfNHgMV/oxTtV9ypZGCWSVUUpGWcrTFPN7guW2h2v2g==","shasum":"5f10d3d77eb811214e9d0e5d9fc581ab59f48e8d","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.9.1-0-dev.20191016T102900Z.9c85e3c.tgz","fileCount":65,"unpackedSize":389640,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdpvNdCRA9TVsSAnZWagAAPdsQAJEsXpUZm7/TW1kkUo3Q\nJuoGgq9KbQbjxYLR/G01FrW+1hzRCfPmoUrXeywgFTNR/9XaaIvGq7wvd380\nwVxBfyUZSE7xzKV3fzXKRyqWYYAL5DiKR/XwcrbDPxvadtee0Lubs0URE7HC\nKFU1Y5+Wn/ELuH/L1M3bZ+PYAXxNgucp65wbZYVlXYTtdgTUSbsR6mHuqlSB\n6o1ihJ261k7mk6X6HC0YfWH1Th2b30ldjD3rycu/QV4cKV7yioLm4wQvr6HA\nzw1tp8rg4ZezdNzpt0BSnEmkOXGkoEsCZp3OhzcdAhjKB053p4p0cTtVCS9t\nPPOKRzVprR3bLptkRG8lXNeNp45SZoYOncGoKHxEq3sftLtW2g+thP482Egz\npvHOm+LGj9/XQIthZwOPAPnGUWJnxcRgszBd2gkf8w4ytRDRgEHsXtbbVLNd\nPjHO4dYB+iM69It5ckin8alzHazRXGMzW3lKeXFjDlYYWg/c/TxlH0AuUHm7\nctznCuiHBTQe/BFHxSfQK7/PhoJIGY6WzTHPYbq3SE7gvrxGbGTLwWpAtq3m\nytuYl2gjtwGi00Yrl/iIOPZipZoZu3LU3Lx50uIRbAPx6VR+RUzijNFCpNgC\nf0C6hahxy7m1xq7hoh2e5dIKQ33ASB37iMh3p+8qVzBtvYZ6O/hs+ZJ3xny/\n+/az\r\n=4G9l\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDn/+TTK8WzGhD1tu4WWECNH2cQtRBo6e3equPcbMqCxwIgSpo7PLxWlYzQld3qE+k08sgDYmu89Eq0CgmssvGg3Uc="}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"},{"email":"bernd@brainbot.com","name":"trustlines-deploy"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.9.1-0-dev.20191016T102900Z.9c85e3c_1571222364454_0.27510382445225323"},"_hasShrinkwrap":false},"0.9.1-0-dev.20191028T145854Z.cc7dfa4":{"name":"trustlines-clientlib","version":"0.9.1-0-dev.20191028T145854Z.cc7dfa4","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"typedoc --options tdconfig.json","lint":"tslint -c tslint.json './src/**/**.ts' './tests/**/**.ts'","prettier":"prettier --write './{src,tests}/**/*.ts'","prettier:check":"prettier --check './{src,tests}/**/*.ts'","prettier:big-tabs":"prettier --write --print-width 120 --no-semi --single-quote --tab-width 4  './{src,tests}/**/*.ts'","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","coverage":"nyc report --reporter=text-lcov > coverage.lcov && codecov","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump":"./bump.sh","serve":"webpack && cp -r ./_bundles ./examples/injected-web3 && http-server ./examples/injected-web3"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{ts,js,json,css,md}":["prettier --write","git add"],"*.ts":["tslint -c tslint.json --fix","git add"]},"nyc":{"extension":[".ts"],"include":["src"],"reporter":["text"],"all":true},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.5.2","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","codecov":"^3.5.0","es6-promise":"^4.1.1","fetch-mock":"^7.2.5","fluid-publish":"^2.2.0","http-server":"^0.11.1","husky":"^2.4.0","isomorphic-fetch":"^2.2.1","lint-staged":"^8.2.0","mocha":"^5.2.0","nyc":"^14.1.0","prettier":"^1.15.2","ts-node":"^7.0.0","tslint":"^5.17.0","tslint-config-prettier":"^1.18.0","typedoc":"^0.14.2","types-ethereumjs-util":"0.0.8","typescript":"^2.9.2","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"bignumber.js":"7.2.1","ethereumjs-util":"^5.2.0","ethers":"^4.0.23","reconnecting-websocket":"^4.1.10","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","trustlines-contracts-abi":"^0.9.0","ws":"^6.2.1"},"readme":"# trustlines-network clientlib\n\n[![npm](https://img.shields.io/npm/v/trustlines-clientlib.svg)](https://www.npmjs.com/package/trustlines-clientlib)\n[![CircleCI branch](https://img.shields.io/circleci/project/github/trustlines-protocol/clientlib/master.svg)](https://circleci.com/gh/trustlines-protocol/clientlib)\n[![Codecov branch](https://img.shields.io/codecov/c/github/trustlines-protocol/clientlib/master.svg)](https://codecov.io/gh/trustlines-protocol/clientlib)\n\nA TypeScript/Javascript library for interacting with the [trustlines-network protocol](https://trustlines.network/).\n\n## Read the [Documentation](https://docs.trustlines.network/)\n\n## Installation\n\nInstall the library using `npm` or `yarn`\n\n```bash\n$ npm install trustlines-clientlib\n// OR\n$ yarn add trustlines-clientlib\n```\n\n#### Import ES6 module\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n```\n\nUse the following configuration to connect to the currently deployed test setup.\n\n**NOTE: The [trustlines-network contracts](https://github.com/trustlines-network/contracts) are deployed on the Laika Testnet ([Laika Blockexplorer](https://explorelaika.trustlines.foundation/)), the test network of Trustlines. Some Laika test `TLC` is therefore required to interact with the contracts in this setup.**\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n\nconst tlNetworkConfig = {\n  protocol: 'https',\n  host: 'relay0.testnet.trustlines.network',\n  path: 'api/v1/'\n}\n\nconst tlNetwork = new TLNetwork(tlNetworkConfig)\n```\n\n## Example\n\nThis library is a promise-based library. So every asynchronous call will return a native Javascript promise. If an error occurs the library will throw it. The caller has to handle it appropriately.\n\n```javascript\ntry {\n  const networks = await tlNetwork.currencyNetwokr.getAll()\n} catch (error) {\n  console.log('Caught error:', error)\n}\n```\n\n## Running injected web3 example\n\nTo run the example make sure to have [MetaMask](https://metamask.io/) installed and connected to a JSON RPC.\n\n```bash\nyarn serve\n```\n\nThis serves the injected web3 example app on `http://127.0.0.1:8080`. You can find the app under `./examples/injected-web3`.\n","readmeFilename":"README.md","gitHead":"cc7dfa4efa5b0c7a8d6d3668a8e77f17d3443a23","_id":"trustlines-clientlib@0.9.1-0-dev.20191028T145854Z.cc7dfa4","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"trustlines-deploy","email":"bernd@brainbot.com"},"dist":{"integrity":"sha512-MyVsQCh3q3AyajT4mhdTtqSFJj1NcN9iin3q+Tuy3fzxtJJ4AiZybQFUomwywxmzZXrGiF63icBFnPuIPHD9Dw==","shasum":"b00790e6949e46e004fca97f7e4123cae4378d01","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.9.1-0-dev.20191028T145854Z.cc7dfa4.tgz","fileCount":65,"unpackedSize":388537,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdtwTOCRA9TVsSAnZWagAAMRYP/1+jSdKtaKSjLQcM9hkH\no/ZbxrNebczJTIi++wk40AU/LxTv/fXj3pqfMgdolQZF+DlQFPQZIssac53F\nwpgtIY8iziy40kyATPEgMhJH9ThcwRBCoM70sBmHJbf4SbsIOUxtt87uvV+v\nNYRT1NzFYQz3TWVkkEQm2ZMpU8IEVZ5RzrHsEpZ3zJG5nNc3nYCBIG4rw83U\nVTFhpMkpiqpQDaimmYSt7vIqtCZnly/ITTZRXnVxyHjDbhjC3pTr+sAGBlfN\nBspW4GXyA40iDB6eTO1YS6bQ0m+iX+RuclbSJPGhth3Na58dKaLsmLmjbYXY\nn2PGkZZIZ9AKiSRXEGW8AIYdWGHwdVSd7fraGnYWPRFZPRIEOV0SxufNT2cl\nRLsfcaQiEXhTuQhBaYveNMq/4+BPEjya8MTgeD4z0foNeVCwQstqeqkssv9C\nsMPf4uTrm2oVcTA5oKMEEpz1d/eUtRjy9MStd9yX0Z+GpFViJQ6fQEehgnUl\n2nS33utmWYH6AvasAK45PDQs19ds1huOswOIN4YgrlF4m4V6FXaNsLFUGJYe\nbDZA0L1QwY4CtShRSs4J1/OF5GZ0iXxFfwTg3i/J4YBNxaM7Zd8c+g6F45DU\nv2ZvtFNwZ0QDgX7o5o4seKOd3DuyW19gfWN7ZQ9E7I19N9ffKzqnErKr1RVT\nhGW8\r\n=NEFE\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHT5FR79awPWHsL+ogBfVS5I3m3MlmUlwDsv67Q4IsLrAiAG7rSfbqZ4g7U06QrS0LbT9XCRbLvPfbBgDmivAfj0Pg=="}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"},{"email":"bernd@brainbot.com","name":"trustlines-deploy"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.9.1-0-dev.20191028T145854Z.cc7dfa4_1572275406324_0.693756930855727"},"_hasShrinkwrap":false},"0.9.1-0-dev.20191031T095503Z.2793a74":{"name":"trustlines-clientlib","version":"0.9.1-0-dev.20191031T095503Z.2793a74","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"typedoc --options tdconfig.json","lint":"tslint -c tslint.json './src/**/**.ts' './tests/**/**.ts'","prettier":"prettier --write './{src,tests}/**/*.ts'","prettier:check":"prettier --check './{src,tests}/**/*.ts'","prettier:big-tabs":"prettier --write --print-width 120 --no-semi --single-quote --tab-width 4  './{src,tests}/**/*.ts'","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","coverage":"nyc report --reporter=text-lcov > coverage.lcov && codecov","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump":"./bump.sh","serve":"webpack && cp -r ./_bundles ./examples/injected-web3 && http-server ./examples/injected-web3"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{ts,js,json,css,md}":["prettier --write","git add"],"*.ts":["tslint -c tslint.json --fix","git add"]},"nyc":{"extension":[".ts"],"include":["src"],"reporter":["text"],"all":true},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.5.2","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","codecov":"^3.5.0","es6-promise":"^4.1.1","fetch-mock":"^7.2.5","fluid-publish":"^2.2.0","http-server":"^0.11.1","husky":"^2.4.0","isomorphic-fetch":"^2.2.1","lint-staged":"^8.2.0","mocha":"^5.2.0","nyc":"^14.1.0","prettier":"^1.15.2","ts-node":"^7.0.0","tslint":"^5.17.0","tslint-config-prettier":"^1.18.0","typedoc":"^0.14.2","types-ethereumjs-util":"0.0.8","typescript":"^2.9.2","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"bignumber.js":"7.2.1","ethereumjs-util":"^5.2.0","ethers":"^4.0.23","reconnecting-websocket":"^4.1.10","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","trustlines-contracts-abi":"^0.9.0","ws":"^6.2.1"},"readme":"# trustlines-network clientlib\n\n[![npm](https://img.shields.io/npm/v/trustlines-clientlib.svg)](https://www.npmjs.com/package/trustlines-clientlib)\n[![CircleCI branch](https://img.shields.io/circleci/project/github/trustlines-protocol/clientlib/master.svg)](https://circleci.com/gh/trustlines-protocol/clientlib)\n[![Codecov branch](https://img.shields.io/codecov/c/github/trustlines-protocol/clientlib/master.svg)](https://codecov.io/gh/trustlines-protocol/clientlib)\n\nA TypeScript/Javascript library for interacting with the [trustlines-network protocol](https://trustlines.network/).\n\n## Read the [Documentation](https://docs.trustlines.network/)\n\n## Installation\n\nInstall the library using `npm` or `yarn`\n\n```bash\n$ npm install trustlines-clientlib\n// OR\n$ yarn add trustlines-clientlib\n```\n\n#### Import ES6 module\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n```\n\nUse the following configuration to connect to the currently deployed test setup.\n\n**NOTE: The [trustlines-network contracts](https://github.com/trustlines-network/contracts) are deployed on the Laika Testnet ([Laika Blockexplorer](https://explorelaika.trustlines.foundation/)), the test network of Trustlines. Some Laika test `TLC` is therefore required to interact with the contracts in this setup.**\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n\nconst tlNetworkConfig = {\n  protocol: 'https',\n  host: 'relay0.testnet.trustlines.network',\n  path: 'api/v1/'\n}\n\nconst tlNetwork = new TLNetwork(tlNetworkConfig)\n```\n\n## Example\n\nThis library is a promise-based library. So every asynchronous call will return a native Javascript promise. If an error occurs the library will throw it. The caller has to handle it appropriately.\n\n```javascript\ntry {\n  const networks = await tlNetwork.currencyNetwokr.getAll()\n} catch (error) {\n  console.log('Caught error:', error)\n}\n```\n\n## Running injected web3 example\n\nTo run the example make sure to have [MetaMask](https://metamask.io/) installed and connected to a JSON RPC.\n\n```bash\nyarn serve\n```\n\nThis serves the injected web3 example app on `http://127.0.0.1:8080`. You can find the app under `./examples/injected-web3`.\n","readmeFilename":"README.md","gitHead":"2793a74dfad5892e19b82f3c13075f450e86f7b1","_id":"trustlines-clientlib@0.9.1-0-dev.20191031T095503Z.2793a74","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"trustlines-deploy","email":"bernd@brainbot.com"},"dist":{"integrity":"sha512-i5b7BYPl4jPWeVyCup0w2Sxcv4pq+a3hSoxceF3PJcV138s2rmVqghygfzKMDeA6np65l8ZMVu/xgC9Lzukl3A==","shasum":"60db4b69b325754c42555fbadc83ba0de9066bb8","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.9.1-0-dev.20191031T095503Z.2793a74.tgz","fileCount":68,"unpackedSize":395713,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdurIGCRA9TVsSAnZWagAA+/kQAJzW28ji50ja1UQO56Z1\ngUOk8W6DrwOWvUnCMHPFPyOxmN9N/Y5HRDMyydrRiE7Q/CWcv0XNH8WF9wh7\nzRpoQcB2z1ebYSkXcO+OT1PyXGBL2GVD1zglrRYQ+a2Wx7Rdbki9bOTVaeep\n9rKQgtqHRJtRu2YlqP4P3SEgHvCHj1pnNe7jJ7vUCktHndAS/YO00A4MTWUZ\nxHHQ+c3z0zIok73XqcAMBj0Q9NTMM7DC1aGQm4ByECMq4BE/95Y2/rSjx+jF\nHPlWPYphBVad/zM3qnfslbDOt233n8SuQdwAaMQmom4X+ty4fzCAb8hhHfzf\nw6JuUV4i+F2IM81tOFZQs4y3euSXR+ZscMcipniYxEL1JTr4ATpWEeGqaZ+H\ndN6agIgenfYPGma1WWxL+kRJfs3orZfBp4ZFJk6jGw7DmCKv0cW4x+8JQmqE\nONAwFoPaj+ghb3Ba9P0nXBoSX/gtW7Fpf/uAa5MxK8WB7PrWyX69Bq9g6jLN\nFAVda85FyxvwMWIb/CkXX3zA00k1Oj9ZSN2vR5dLT7I7j5iA4tixFDpO4Yfz\nukaQt5r/kHcrZLfO+bWXVaaxqt8+0Ff5Z5GIyL4doLMRgR6mR05DZhnXcn1N\nPT0U/F10ai3aSlgu8XOpskvEsCd0XPvfriJO1yNcqQIceYa/v/7RXpDsIg2s\nsoA5\r\n=NkIK\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDFABoO1pYQAv+gUbwd6gn4YLXtkzcl8hbNnYLwbt9IIgIgZp9p+Xpzi2VQXevdntEHfTpyjLFTKT9XqImd/dHfEJc="}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"},{"email":"bernd@brainbot.com","name":"trustlines-deploy"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.9.1-0-dev.20191031T095503Z.2793a74_1572516357465_0.46719620004963147"},"_hasShrinkwrap":false},"0.9.1-0-dev.20191104T212549Z.9cb54b6":{"name":"trustlines-clientlib","version":"0.9.1-0-dev.20191104T212549Z.9cb54b6","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"typedoc --options tdconfig.json","lint":"tslint -c tslint.json './src/**/**.ts' './tests/**/**.ts'","prettier":"prettier --write './{src,tests}/**/*.ts'","prettier:check":"prettier --check './{src,tests}/**/*.ts'","prettier:big-tabs":"prettier --write --print-width 120 --no-semi --single-quote --tab-width 4  './{src,tests}/**/*.ts'","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","coverage":"nyc report --reporter=text-lcov > coverage.lcov && codecov","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump":"./bump.sh","serve":"webpack && cp -r ./_bundles ./examples/injected-web3 && http-server ./examples/injected-web3"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{ts,js,json,css,md}":["prettier --write","git add"],"*.ts":["tslint -c tslint.json --fix","git add"]},"nyc":{"extension":[".ts"],"include":["src"],"reporter":["text"],"all":true},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.5.2","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","codecov":"^3.5.0","es6-promise":"^4.1.1","fetch-mock":"^7.2.5","fluid-publish":"^2.2.0","http-server":"^0.11.1","husky":"^2.4.0","isomorphic-fetch":"^2.2.1","lint-staged":"^8.2.0","mocha":"^5.2.0","nyc":"^14.1.0","prettier":"^1.15.2","ts-node":"^7.0.0","tslint":"^5.17.0","tslint-config-prettier":"^1.18.0","typedoc":"^0.14.2","types-ethereumjs-util":"0.0.8","typescript":"^2.9.2","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"bignumber.js":"7.2.1","ethereumjs-util":"^5.2.0","ethers":"^4.0.23","reconnecting-websocket":"^4.1.10","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","trustlines-contracts-abi":"^0.9.0","ws":"^6.2.1"},"readme":"# trustlines-network clientlib\n\n[![npm](https://img.shields.io/npm/v/trustlines-clientlib.svg)](https://www.npmjs.com/package/trustlines-clientlib)\n[![CircleCI branch](https://img.shields.io/circleci/project/github/trustlines-protocol/clientlib/master.svg)](https://circleci.com/gh/trustlines-protocol/clientlib)\n[![Codecov branch](https://img.shields.io/codecov/c/github/trustlines-protocol/clientlib/master.svg)](https://codecov.io/gh/trustlines-protocol/clientlib)\n\nA TypeScript/Javascript library for interacting with the [trustlines-network protocol](https://trustlines.network/).\n\n## Read the [Documentation](https://docs.trustlines.network/)\n\n## Installation\n\nInstall the library using `npm` or `yarn`\n\n```bash\n$ npm install trustlines-clientlib\n// OR\n$ yarn add trustlines-clientlib\n```\n\n#### Import ES6 module\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n```\n\nUse the following configuration to connect to the currently deployed test setup.\n\n**NOTE: The [trustlines-network contracts](https://github.com/trustlines-network/contracts) are deployed on the Laika Testnet ([Laika Blockexplorer](https://explorelaika.trustlines.foundation/)), the test network of Trustlines. Some Laika test `TLC` is therefore required to interact with the contracts in this setup.**\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n\nconst tlNetworkConfig = {\n  protocol: 'https',\n  host: 'relay0.testnet.trustlines.network',\n  path: 'api/v1/'\n}\n\nconst tlNetwork = new TLNetwork(tlNetworkConfig)\n```\n\n## Example\n\nThis library is a promise-based library. So every asynchronous call will return a native Javascript promise. If an error occurs the library will throw it. The caller has to handle it appropriately.\n\n```javascript\ntry {\n  const networks = await tlNetwork.currencyNetwokr.getAll()\n} catch (error) {\n  console.log('Caught error:', error)\n}\n```\n\n## Running injected web3 example\n\nTo run the example make sure to have [MetaMask](https://metamask.io/) installed and connected to a JSON RPC.\n\n```bash\nyarn serve\n```\n\nThis serves the injected web3 example app on `http://127.0.0.1:8080`. You can find the app under `./examples/injected-web3`.\n","readmeFilename":"README.md","gitHead":"9cb54b6c09a6eb4ef04d67dac73a8a49b0301211","_id":"trustlines-clientlib@0.9.1-0-dev.20191104T212549Z.9cb54b6","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"trustlines-deploy","email":"bernd@brainbot.com"},"dist":{"integrity":"sha512-nYEcb9cO/F9yLI/xrHDNxd8eFwSy5AswhdQPWNIhZVL4HI8wnZO08BKZNz+e7N8jajLfLH5XrNq5L1jQzM5xTg==","shasum":"b1a3541c75cbc80153f893b593f49dba1ef1aa0a","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.9.1-0-dev.20191104T212549Z.9cb54b6.tgz","fileCount":68,"unpackedSize":395713,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdwJl6CRA9TVsSAnZWagAAEnsP/3AxGcqGnf0tVNJhKrjv\nYgP5vJmMq7+5xL1f6zqYrpK09FyrT5qCBLsCZeb2YW9Nj12L3O78WKG7GoHy\n4PDgv0Fjm/bJRt2u5bZOJ2jmNws1rGlwp2fFsRkdz+TyPwCH8DIOe3d2s889\nGnYbDNaETuQwMYecKr+zTXnmwhyYSOGXnqcAtuRQpX3QvZ3ctmMBil8UOkYH\nHFLyqu4KQDfAk/vrliAkZCWqjlRlosiYMHJoh2TNfzyFUzC4lzcBMHRqrggh\na04M5jK5812uIJP9+UgvaqvEauJ5l4Sy/Rn7Yb/KIHr6s2k63UqwhaOV5Ab4\nSexYg6vgMkcySJG5/suzIjKmHUaYWHrbYjbrUwGqmLh/GcptnzSue5ClnbZr\nt9+mmsRt2kcmJgkBDtT3NTA6lBnIc7U2GnbS9awnjc9UVRlz3Z81QomTx2Us\n97z/bEE1EL9xL/2AWmlQmqDoAmEjG4fLhbcdRi7Z37jNiQEKYRNMcOY286ab\n6ZHjB4zm/4RuUSt8TnpdSurmKeNnVGaponi1RHbNDykbzGMrLo6mWM3i5Ymp\no3YoCl8eVG6ggoU9lyse+IP7u7NDK/o5HrEAdintRrssUHyPWrUGUBeEbWIc\nB1H+rLz/TCY1lkArAB3LgF/s/vsXzjfzWTpGosjakZvjszbICVi9a2f7O7BW\ntUZO\r\n=2Ha0\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAequu/mNnzl7lRRoJQd1A4vZyBhXTcqexj41wAoBNW7AiEAloFVycdHwltVBYxpuLfptu4jK6a7u5ol+TaKTe9NpZw="}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"},{"email":"bernd@brainbot.com","name":"trustlines-deploy"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.9.1-0-dev.20191104T212549Z.9cb54b6_1572903290174_0.1636837266565494"},"_hasShrinkwrap":false},"0.9.1-0-dev.20191104T212736Z.0bbfb68":{"name":"trustlines-clientlib","version":"0.9.1-0-dev.20191104T212736Z.0bbfb68","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"typedoc --options tdconfig.json","lint":"tslint -c tslint.json './src/**/**.ts' './tests/**/**.ts'","prettier":"prettier --write './{src,tests}/**/*.ts'","prettier:check":"prettier --check './{src,tests}/**/*.ts'","prettier:big-tabs":"prettier --write --print-width 120 --no-semi --single-quote --tab-width 4  './{src,tests}/**/*.ts'","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","coverage":"nyc report --reporter=text-lcov > coverage.lcov && codecov","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump":"./bump.sh","serve":"webpack && cp -r ./_bundles ./examples/injected-web3 && http-server ./examples/injected-web3"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{ts,js,json,css,md}":["prettier --write","git add"],"*.ts":["tslint -c tslint.json --fix","git add"]},"nyc":{"extension":[".ts"],"include":["src"],"reporter":["text"],"all":true},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.5.2","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","codecov":"^3.5.0","es6-promise":"^4.1.1","fetch-mock":"^7.2.5","fluid-publish":"^2.2.0","http-server":"^0.11.1","husky":"^2.4.0","isomorphic-fetch":"^2.2.1","lint-staged":"^8.2.0","mocha":"^5.2.0","nyc":"^14.1.0","prettier":"^1.15.2","ts-node":"^7.0.0","tslint":"^5.17.0","tslint-config-prettier":"^1.18.0","typedoc":"^0.14.2","types-ethereumjs-util":"0.0.8","typescript":"^2.9.2","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"bignumber.js":"7.2.1","ethereumjs-util":"^5.2.0","ethers":"^4.0.23","reconnecting-websocket":"^4.1.10","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","trustlines-contracts-abi":"^0.9.0","ws":"^6.2.1"},"readme":"# trustlines-network clientlib\n\n[![npm](https://img.shields.io/npm/v/trustlines-clientlib.svg)](https://www.npmjs.com/package/trustlines-clientlib)\n[![CircleCI branch](https://img.shields.io/circleci/project/github/trustlines-protocol/clientlib/master.svg)](https://circleci.com/gh/trustlines-protocol/clientlib)\n[![Codecov branch](https://img.shields.io/codecov/c/github/trustlines-protocol/clientlib/master.svg)](https://codecov.io/gh/trustlines-protocol/clientlib)\n\nA TypeScript/Javascript library for interacting with the [trustlines-network protocol](https://trustlines.network/).\n\n## Read the [Documentation](https://docs.trustlines.network/)\n\n## Installation\n\nInstall the library using `npm` or `yarn`\n\n```bash\n$ npm install trustlines-clientlib\n// OR\n$ yarn add trustlines-clientlib\n```\n\n#### Import ES6 module\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n```\n\nUse the following configuration to connect to the currently deployed test setup.\n\n**NOTE: The [trustlines-network contracts](https://github.com/trustlines-network/contracts) are deployed on the Laika Testnet ([Laika Blockexplorer](https://explorelaika.trustlines.foundation/)), the test network of Trustlines. Some Laika test `TLC` is therefore required to interact with the contracts in this setup.**\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n\nconst tlNetworkConfig = {\n  protocol: 'https',\n  host: 'relay0.testnet.trustlines.network',\n  path: 'api/v1/'\n}\n\nconst tlNetwork = new TLNetwork(tlNetworkConfig)\n```\n\n## Example\n\nThis library is a promise-based library. So every asynchronous call will return a native Javascript promise. If an error occurs the library will throw it. The caller has to handle it appropriately.\n\n```javascript\ntry {\n  const networks = await tlNetwork.currencyNetwokr.getAll()\n} catch (error) {\n  console.log('Caught error:', error)\n}\n```\n\n## Running injected web3 example\n\nTo run the example make sure to have [MetaMask](https://metamask.io/) installed and connected to a JSON RPC.\n\n```bash\nyarn serve\n```\n\nThis serves the injected web3 example app on `http://127.0.0.1:8080`. You can find the app under `./examples/injected-web3`.\n","readmeFilename":"README.md","gitHead":"0bbfb68765a779b3af744e990ef308323d1b764c","_id":"trustlines-clientlib@0.9.1-0-dev.20191104T212736Z.0bbfb68","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"trustlines-deploy","email":"bernd@brainbot.com"},"dist":{"integrity":"sha512-l8PIm+67mdrafAm6CuLYmIJDZ47QxAqhcFfIrmwXk72CQwYM2qsfbbqp8EEgB7Rbokz2J+ldJPWQVadVYyz6gg==","shasum":"1068b050489190edff96e97e02f660128b5a7534","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.9.1-0-dev.20191104T212736Z.0bbfb68.tgz","fileCount":68,"unpackedSize":395713,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdwJnqCRA9TVsSAnZWagAAEC8P/ilEQVtaBQ8w+Bd3d9Jf\nsX39yRRwDfPmg8k83+DSpnrw0WhQAHstR2GgkfYvNvvHhVyNPiSZXZjjjpCw\nolEK3lEs+JAYMPsTBfU3WsMBUpwyBDtdvjQbwSbPuzjNygPug5iQ30kVMp9I\n4sUauQ84rAxQGO7O5gzABX8LUtaOhZBI0xgH+nidLhbHG6D+T5Qt45V1Ua5v\n9vsRsEy7vAY9LLu2fEte+0zCyNjfhxcvBAZzYt9LbUfXVz4KLE0ZnUw43Q3P\n3J1e2f3E8hTlETlvqs7L6/xeBW8bWIkyCCoreh4inZ+VUbfYAvoen1/hQSJ8\nni6OxmA03toWxeYfY7DU8fkK0B5zoVOTyphkjArHrClRroNkhqTEX/x34+/C\nfCx/7R5lg1PjRI2Xh2o1Y54DLPZWTYxUKTlTD56Rtm2E6/IzrYKotr3WmPKn\nV1PdFmgMevxTFqNJLdaEJgNI/++6EecXCagg95PZDeDreht3YCRiFvZw/ZMq\neKPmVJnTzB+iYnzgNKjwsB7JUHgjqjEWag1evJiCFlL34fafj9bWbYAplLCl\n3BxMuf2pSSN2l70kRKav9RNjbPRMoFTOV/nxSehr6zDyhYmnNQj2c+PgGXik\nHV3Wv16EHCPiLyfXqwP7KyD0dwLIfYfCrGEKGTNnCZzy5kebH5zeIeRmv+fw\njUaU\r\n=SpjW\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDzw9aE9vmzDHNRoaLmEvfArK2tex2JHKwblfZtkt2oLwIgDRm7hBPxogzZIPU2uMIaCSY7jrZ+ZX/PporaMGLWu4U="}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"},{"email":"bernd@brainbot.com","name":"trustlines-deploy"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.9.1-0-dev.20191104T212736Z.0bbfb68_1572903401876_0.16699366993987264"},"_hasShrinkwrap":false},"0.9.1-0-dev.20191104T214447Z.d76511f":{"name":"trustlines-clientlib","version":"0.9.1-0-dev.20191104T214447Z.d76511f","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"typedoc --options tdconfig.json","lint":"tslint -c tslint.json './src/**/**.ts' './tests/**/**.ts'","prettier":"prettier --write './{src,tests}/**/*.ts'","prettier:check":"prettier --check './{src,tests}/**/*.ts'","prettier:big-tabs":"prettier --write --print-width 120 --no-semi --single-quote --tab-width 4  './{src,tests}/**/*.ts'","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","coverage":"nyc report --reporter=text-lcov > coverage.lcov && codecov","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump":"./bump.sh","serve":"webpack && cp -r ./_bundles ./examples/injected-web3 && http-server ./examples/injected-web3"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{ts,js,json,css,md}":["prettier --write","git add"],"*.ts":["tslint -c tslint.json --fix","git add"]},"nyc":{"extension":[".ts"],"include":["src"],"reporter":["text"],"all":true},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.5.2","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","codecov":"^3.5.0","es6-promise":"^4.1.1","fetch-mock":"^7.2.5","fluid-publish":"^2.2.0","http-server":"^0.11.1","husky":"^2.4.0","isomorphic-fetch":"^2.2.1","lint-staged":"^8.2.0","mocha":"^5.2.0","nyc":"^14.1.0","prettier":"^1.15.2","ts-node":"^7.0.0","tslint":"^5.17.0","tslint-config-prettier":"^1.18.0","typedoc":"^0.14.2","types-ethereumjs-util":"0.0.8","typescript":"^2.9.2","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"bignumber.js":"7.2.1","ethereumjs-util":"^5.2.0","ethers":"^4.0.23","reconnecting-websocket":"^4.1.10","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","trustlines-contracts-abi":"^0.9.0","ws":"^6.2.1"},"readme":"# trustlines-network clientlib\n\n[![npm](https://img.shields.io/npm/v/trustlines-clientlib.svg)](https://www.npmjs.com/package/trustlines-clientlib)\n[![CircleCI branch](https://img.shields.io/circleci/project/github/trustlines-protocol/clientlib/master.svg)](https://circleci.com/gh/trustlines-protocol/clientlib)\n[![Codecov branch](https://img.shields.io/codecov/c/github/trustlines-protocol/clientlib/master.svg)](https://codecov.io/gh/trustlines-protocol/clientlib)\n\nA TypeScript/Javascript library for interacting with the [trustlines-network protocol](https://trustlines.network/).\n\n## Read the [Documentation](https://docs.trustlines.network/)\n\n## Installation\n\nInstall the library using `npm` or `yarn`\n\n```bash\n$ npm install trustlines-clientlib\n// OR\n$ yarn add trustlines-clientlib\n```\n\n#### Import ES6 module\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n```\n\nUse the following configuration to connect to the currently deployed test setup.\n\n**NOTE: The [trustlines-network contracts](https://github.com/trustlines-network/contracts) are deployed on the Laika Testnet ([Laika Blockexplorer](https://explorelaika.trustlines.foundation/)), the test network of Trustlines. Some Laika test `TLC` is therefore required to interact with the contracts in this setup.**\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n\nconst tlNetworkConfig = {\n  protocol: 'https',\n  host: 'relay0.testnet.trustlines.network',\n  path: 'api/v1/'\n}\n\nconst tlNetwork = new TLNetwork(tlNetworkConfig)\n```\n\n## Example\n\nThis library is a promise-based library. So every asynchronous call will return a native Javascript promise. If an error occurs the library will throw it. The caller has to handle it appropriately.\n\n```javascript\ntry {\n  const networks = await tlNetwork.currencyNetwokr.getAll()\n} catch (error) {\n  console.log('Caught error:', error)\n}\n```\n\n## Running injected web3 example\n\nTo run the example make sure to have [MetaMask](https://metamask.io/) installed and connected to a JSON RPC.\n\n```bash\nyarn serve\n```\n\nThis serves the injected web3 example app on `http://127.0.0.1:8080`. You can find the app under `./examples/injected-web3`.\n","readmeFilename":"README.md","gitHead":"d76511fa6860985ad0e6707664505e7205f9b2fd","_id":"trustlines-clientlib@0.9.1-0-dev.20191104T214447Z.d76511f","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"trustlines-deploy","email":"bernd@brainbot.com"},"dist":{"integrity":"sha512-pWY890RlFzVMqgZOfyNVgtf4XUIEj134jxfEMbCsUtTRVjF24rMVRVBIEfi1KlR7K7OfcNplgGr7DFcJJZ0bzQ==","shasum":"d6027ada657ab0b27108c2abdb8d2ec9b5a0bbc9","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.9.1-0-dev.20191104T214447Z.d76511f.tgz","fileCount":68,"unpackedSize":395713,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdwJ3fCRA9TVsSAnZWagAA5h4P/RrI53GiofbIQJCv6kRF\n3OAGjpJTwZ4cKSe9Cqjir52tuUdsJyFqLf8tn1d/b9PHEQvj/NNNCL5Jqq5G\ntIDDNo/s3Lk00GK6FAUpzPLkpsy919Ze/GERZR5XaRQCSpyNBoh7qkCaOT76\n2gA5+RNz7Kf1gXE1n3SPPxFXYUOeTET5Cz/5DdkR2SLXeSWDJj0oJfRTSIpI\nXL4dzIqLt7Nusj3QXFgTM2GCreskaR5lEDodCQRSkuOQlpE3XJl8Yy00Oyr/\neBW+AgAgvwGVrPK/hUQxxrFkwltXVLsetGkfLSE7YJIxPSCecmIHFvPNE5Ie\nexWKUWBqsFwPHgw8XApmy9Pf7TEV5Iq/OB734YVL45woP16qaeSP+o4Y+b5w\ni3pVBf9B24HgOoVlUQO6SyHIBSbc5K0sqI4yXNzcs7wwhX+dhMEejnJ4VtCv\ng0+WC6k+r4N3JXj/n4G2PcRhwjCKOrAHYa32Fr3eNcrCGCCwRZoRnQBzhRVa\ne61x2wf0G809myZOskgBHKXPai//pzQAGKLJVqT4uAHjpQGWQq6Z2X6j2plu\nKubRwBmJbM9YjeMvXF6FSGquVIqCydUeO2Xl3vl7GA6wCRTYTNp5vnjhtTis\nCL6+cRfN0PSXk0P8VsikTusgRULsBRd7E9GAApX2EeiErgiEXl7nLGft8WKY\nVLu1\r\n=n1QI\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDGpjVQ7KQEj8gwrjSJ+8XULQTVgHhpLArmfPkZ4NKyYAIgDLQ3XFoe2S6Oq5oYjxTb9Y3Wsh2NMD6bjYPNsJ3Rf4Y="}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"},{"email":"bernd@brainbot.com","name":"trustlines-deploy"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.9.1-0-dev.20191104T214447Z.d76511f_1572904415024_0.4576691164911475"},"_hasShrinkwrap":false},"0.9.1-0-dev.20191104T214507Z.dcb2a6e":{"name":"trustlines-clientlib","version":"0.9.1-0-dev.20191104T214507Z.dcb2a6e","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"typedoc --options tdconfig.json","lint":"tslint -c tslint.json './src/**/**.ts' './tests/**/**.ts'","prettier":"prettier --write './{src,tests}/**/*.ts'","prettier:check":"prettier --check './{src,tests}/**/*.ts'","prettier:big-tabs":"prettier --write --print-width 120 --no-semi --single-quote --tab-width 4  './{src,tests}/**/*.ts'","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","coverage":"nyc report --reporter=text-lcov > coverage.lcov && codecov","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump":"./bump.sh","serve":"webpack && cp -r ./_bundles ./examples/injected-web3 && http-server ./examples/injected-web3"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{ts,js,json,css,md}":["prettier --write","git add"],"*.ts":["tslint -c tslint.json --fix","git add"]},"nyc":{"extension":[".ts"],"include":["src"],"reporter":["text"],"all":true},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.5.2","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","codecov":"^3.5.0","es6-promise":"^4.1.1","fetch-mock":"^7.2.5","fluid-publish":"^2.2.0","http-server":"^0.11.1","husky":"^2.4.0","isomorphic-fetch":"^2.2.1","lint-staged":"^8.2.0","mocha":"^5.2.0","nyc":"^14.1.0","prettier":"^1.15.2","ts-node":"^7.0.0","tslint":"^5.17.0","tslint-config-prettier":"^1.18.0","typedoc":"^0.14.2","types-ethereumjs-util":"0.0.8","typescript":"^2.9.2","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"bignumber.js":"7.2.1","ethereumjs-util":"^5.2.0","ethers":"^4.0.23","reconnecting-websocket":"^4.1.10","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","trustlines-contracts-abi":"^0.9.0","ws":"^6.2.1"},"readme":"# trustlines-network clientlib\n\n[![npm](https://img.shields.io/npm/v/trustlines-clientlib.svg)](https://www.npmjs.com/package/trustlines-clientlib)\n[![CircleCI branch](https://img.shields.io/circleci/project/github/trustlines-protocol/clientlib/master.svg)](https://circleci.com/gh/trustlines-protocol/clientlib)\n[![Codecov branch](https://img.shields.io/codecov/c/github/trustlines-protocol/clientlib/master.svg)](https://codecov.io/gh/trustlines-protocol/clientlib)\n\nA TypeScript/Javascript library for interacting with the [trustlines-network protocol](https://trustlines.network/).\n\n## Read the [Documentation](https://docs.trustlines.network/)\n\n## Installation\n\nInstall the library using `npm` or `yarn`\n\n```bash\n$ npm install trustlines-clientlib\n// OR\n$ yarn add trustlines-clientlib\n```\n\n#### Import ES6 module\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n```\n\nUse the following configuration to connect to the currently deployed test setup.\n\n**NOTE: The [trustlines-network contracts](https://github.com/trustlines-network/contracts) are deployed on the Laika Testnet ([Laika Blockexplorer](https://explorelaika.trustlines.foundation/)), the test network of Trustlines. Some Laika test `TLC` is therefore required to interact with the contracts in this setup.**\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n\nconst tlNetworkConfig = {\n  protocol: 'https',\n  host: 'relay0.testnet.trustlines.network',\n  path: 'api/v1/'\n}\n\nconst tlNetwork = new TLNetwork(tlNetworkConfig)\n```\n\n## Example\n\nThis library is a promise-based library. So every asynchronous call will return a native Javascript promise. If an error occurs the library will throw it. The caller has to handle it appropriately.\n\n```javascript\ntry {\n  const networks = await tlNetwork.currencyNetwokr.getAll()\n} catch (error) {\n  console.log('Caught error:', error)\n}\n```\n\n## Running injected web3 example\n\nTo run the example make sure to have [MetaMask](https://metamask.io/) installed and connected to a JSON RPC.\n\n```bash\nyarn serve\n```\n\nThis serves the injected web3 example app on `http://127.0.0.1:8080`. You can find the app under `./examples/injected-web3`.\n","readmeFilename":"README.md","gitHead":"dcb2a6e74e3b1e048724807671161f8bf7d5df35","_id":"trustlines-clientlib@0.9.1-0-dev.20191104T214507Z.dcb2a6e","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"trustlines-deploy","email":"bernd@brainbot.com"},"dist":{"integrity":"sha512-HMlzhNFE6o/vW605x5Edf4WAOIvi9dalYDvPvtuksobLu1Dseri5nEl++ppWVV543R/05Y2sNyC/zSgUv9h0Jg==","shasum":"7cb82b1680d38fb28da819f641f84af42e4d966f","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.9.1-0-dev.20191104T214507Z.dcb2a6e.tgz","fileCount":68,"unpackedSize":395713,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdwJ4PCRA9TVsSAnZWagAAoP4P/AmQev9jCv2NDiqr7D2T\nWraVZ6BxJxiuhAYBGhorkPu6f9rn56RqMGLvSFVTtBzXY5aP48az8zx6Iw0M\nFJ/1/mbMpVaZCRuFI38Mp7eZU/ydmNalXli2PLj1oM2OBKSCYfgUYhaQjF5b\nDkU0qj8jLGS1np5/lQ49khCnpOmPiC6mvQH13GNRtnuClVua4YA/5HUh0f2z\nXe5Csw15Wj3CD23KIZmZBSy1YI6eWey7kd/rJ2MdiKFRFbMuQAvwC1MZGa6z\n/0uVgp3klMkG5QqCU3rjlQo+BJhuJHGj0Wrc5yEaIRzvfk/RqOTKWLCSdgkk\nWg8YWzxXd6aRKYPbKKl1dce/QD3hcYzcPGPZ17aCvXVENq2aXv9IoOroM8ns\nvuKo9nzJGGKNP43aTdF8xFD3Axg3u6jrDV7+dtBJhBk0yyF34HFr8XrJHb7F\nnAhaqZmMhX4wWsIDNyXmdz9lkaaTras6FTsW/FTkOPx9V1uKUz5pqAvvd5+k\nq1rodCva4q+nxCHA8pZ3E3ey1K0hLB+JV4WZcRvjVQH1p93CdasYi0ZrfVfv\n+E81gZ4huRXLfoSI2IXkCCcW2MFaJxhEzJKNInMMhsKUlVJ27WkbiJ3dmvp8\ninuCPiIhDlFtB2/wJXyc7GvpqSsMK7qUm+5OIiIBb+3X+Ic5MdiRygFSAEJX\n/95B\r\n=Ce43\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAwQkA3bHOpnmxuXggqFkjLu2RnjtBqmaCdnWFcA9LBxAiEA/oGtDTo+ltLSvfpPrSehTkhaUA5U/eeJOT40a1Vpkiw="}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"},{"email":"bernd@brainbot.com","name":"trustlines-deploy"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.9.1-0-dev.20191104T214507Z.dcb2a6e_1572904463287_0.04653110071733013"},"_hasShrinkwrap":false},"0.10.0":{"name":"trustlines-clientlib","version":"0.10.0","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"typedoc --options tdconfig.json","lint":"tslint -c tslint.json './src/**/**.ts' './tests/**/**.ts'","prettier":"prettier --write './{src,tests}/**/*.ts'","prettier:check":"prettier --check './{src,tests}/**/*.ts'","prettier:big-tabs":"prettier --write --print-width 120 --no-semi --single-quote --tab-width 4  './{src,tests}/**/*.ts'","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","coverage":"nyc report --reporter=text-lcov > coverage.lcov && codecov","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump":"./bump.sh","serve":"webpack && cp -r ./_bundles ./examples/injected-web3 && http-server ./examples/injected-web3"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{ts,js,json,css,md}":["prettier --write","git add"],"*.ts":["tslint -c tslint.json --fix","git add"]},"nyc":{"extension":[".ts"],"include":["src"],"reporter":["text"],"all":true},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.5.2","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","codecov":"^3.5.0","es6-promise":"^4.1.1","fetch-mock":"^7.2.5","fluid-publish":"^2.2.0","http-server":"^0.11.1","husky":"^2.4.0","isomorphic-fetch":"^2.2.1","lint-staged":"^8.2.0","mocha":"^5.2.0","nyc":"^14.1.0","prettier":"^1.15.2","ts-node":"^7.0.0","tslint":"^5.17.0","tslint-config-prettier":"^1.18.0","typedoc":"^0.14.2","types-ethereumjs-util":"0.0.8","typescript":"^2.9.2","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"bignumber.js":"7.2.1","ethereumjs-util":"^5.2.0","ethers":"^4.0.23","reconnecting-websocket":"^4.1.10","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","trustlines-contracts-abi":"^0.9.0","ws":"^6.2.1"},"licenseText":"MIT License\n\nCopyright (c) 2017 Trustlines Network\nCopyright (c) 2019 Trustlines Foundation\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"trustlines-clientlib@0.10.0","dist":{"shasum":"fb917e83a6c9dd9ff564b6046cb2f897f025f1fe","integrity":"sha512-fwPYaaddre3M6ErnN4RdXh+RjbP5fDHAg9LaUeUKTs0k3mHtJB5Q0OvPavDeZQAEUhONJQLEauUfghTSMH4Wmw==","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.10.0.tgz","fileCount":75,"unpackedSize":395936,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdwa4iCRA9TVsSAnZWagAAszsP/0pLIW8F8ujmQ7r3IhFg\n919JJ1/C5qLjnLYi2seoXklho6SI/bG4S7Ruoh0EWai+KaSbtQzDPA3ETNE0\n8yZmfDZ+p1hSPn0cqgiDXvcGOGcgmpwUU3LyTW1l9lMqMCxuJvacvd/2w2Cw\nBClySKoiXh8BKGhkgYbIPgHpritx6WiaxFfNZiVf3vR685yGYq+KKiFFiko0\ntUBbr1u2na+dmj7/z6fVN2MPcEGRAa50wKq8lwrnwV/kAJrtpixsAv7f9Fuz\nqY+cvjeP4mtFPESJqxhJAXQVG8tNpWved1O7Zf+8KF0QU4BpSkZU8yVtEN2r\nJTSbm/KEnMArlm0XZQhgLucz8aIj+HEzc2IR3oWW7TpCLb9uOSsVOgV4U1JV\nslaW66BB86N46gj4hLjnJ5hHSN5jTcwMqF8itNBoIwzl6wDspYVindRe0CDZ\neu9+8mIulNqpl3hwfh5FDB7ml0dHFOHscMk+gz87F2R/Ql47R8L1/BWVV5pF\njIDKsFmQx2jo5AiGQ6M5a7QofNiXACw4YDP4TS6iacPlOCATK0FrwXhySSkW\nId3KnpmWx4BOBTU1DhdJUXMUbHAq4skDLBvOLcfav2h6qZtjHWcHNC1244n9\nk3gohYGLc3XEoY8Ux7lqGUV9yH1yiQMFM5/jfIYtTTJQpsdUXlhHLcAFK2Wm\nVuDS\r\n=ywC/\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHuG7R9ZC4EsmNK3JBIwqzkSovllq3loKm7exKdpZQQHAiEA72lPY7xBRFEZX81bD5F9LJj/d8tnCdvN6DhP59UHpH0="}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"},{"email":"bernd@brainbot.com","name":"trustlines-deploy"}],"_npmUser":{"name":"trustlines-deploy","email":"bernd@brainbot.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.10.0_1572974113477_0.40006993887047115"},"_hasShrinkwrap":false,"deprecated":"Package was moved to the @trustlines organisation. Intall latest version with npm install @trustlines/trustlines-clientlib"},"0.9.1-0-dev.20191105T171044Z.a090e63":{"name":"trustlines-clientlib","version":"0.9.1-0-dev.20191105T171044Z.a090e63","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"typedoc --options tdconfig.json","lint":"tslint -c tslint.json './src/**/**.ts' './tests/**/**.ts'","prettier":"prettier --write './{src,tests}/**/*.ts'","prettier:check":"prettier --check './{src,tests}/**/*.ts'","prettier:big-tabs":"prettier --write --print-width 120 --no-semi --single-quote --tab-width 4  './{src,tests}/**/*.ts'","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","coverage":"nyc report --reporter=text-lcov > coverage.lcov && codecov","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump":"./bump.sh","serve":"webpack && cp -r ./_bundles ./examples/injected-web3 && http-server ./examples/injected-web3"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{ts,js,json,css,md}":["prettier --write","git add"],"*.ts":["tslint -c tslint.json --fix","git add"]},"nyc":{"extension":[".ts"],"include":["src"],"reporter":["text"],"all":true},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.5.2","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","codecov":"^3.5.0","es6-promise":"^4.1.1","fetch-mock":"^7.2.5","fluid-publish":"^2.2.0","http-server":"^0.11.1","husky":"^2.4.0","isomorphic-fetch":"^2.2.1","lint-staged":"^8.2.0","mocha":"^5.2.0","nyc":"^14.1.0","prettier":"^1.15.2","ts-node":"^7.0.0","tslint":"^5.17.0","tslint-config-prettier":"^1.18.0","typedoc":"^0.14.2","types-ethereumjs-util":"0.0.8","typescript":"^2.9.2","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"bignumber.js":"7.2.1","ethereumjs-util":"^5.2.0","ethers":"^4.0.23","reconnecting-websocket":"^4.1.10","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","trustlines-contracts-abi":"^0.9.0","ws":"^6.2.1"},"readme":"# trustlines-network clientlib\n\n[![npm](https://img.shields.io/npm/v/trustlines-clientlib.svg)](https://www.npmjs.com/package/trustlines-clientlib)\n[![CircleCI branch](https://img.shields.io/circleci/project/github/trustlines-protocol/clientlib/master.svg)](https://circleci.com/gh/trustlines-protocol/clientlib)\n[![Codecov branch](https://img.shields.io/codecov/c/github/trustlines-protocol/clientlib/master.svg)](https://codecov.io/gh/trustlines-protocol/clientlib)\n\nA TypeScript/Javascript library for interacting with the [trustlines-network protocol](https://trustlines.network/).\n\n## Read the [Documentation](https://docs.trustlines.network/)\n\n## Installation\n\nInstall the library using `npm` or `yarn`\n\n```bash\n$ npm install trustlines-clientlib\n// OR\n$ yarn add trustlines-clientlib\n```\n\n#### Import ES6 module\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n```\n\nUse the following configuration to connect to the currently deployed test setup.\n\n**NOTE: The [trustlines-network contracts](https://github.com/trustlines-network/contracts) are deployed on the Laika Testnet ([Laika Blockexplorer](https://explorelaika.trustlines.foundation/)), the test network of Trustlines. Some Laika test `TLC` is therefore required to interact with the contracts in this setup.**\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n\nconst tlNetworkConfig = {\n  protocol: 'https',\n  host: 'relay0.testnet.trustlines.network',\n  path: 'api/v1/'\n}\n\nconst tlNetwork = new TLNetwork(tlNetworkConfig)\n```\n\n## Example\n\nThis library is a promise-based library. So every asynchronous call will return a native Javascript promise. If an error occurs the library will throw it. The caller has to handle it appropriately.\n\n```javascript\ntry {\n  const networks = await tlNetwork.currencyNetwokr.getAll()\n} catch (error) {\n  console.log('Caught error:', error)\n}\n```\n\n## Running injected web3 example\n\nTo run the example make sure to have [MetaMask](https://metamask.io/) installed and connected to a JSON RPC.\n\n```bash\nyarn serve\n```\n\nThis serves the injected web3 example app on `http://127.0.0.1:8080`. You can find the app under `./examples/injected-web3`.\n","readmeFilename":"README.md","gitHead":"a090e638e0bc8e6207e290c0463c080b66ad1234","_id":"trustlines-clientlib@0.9.1-0-dev.20191105T171044Z.a090e63","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"trustlines-deploy","email":"bernd@brainbot.com"},"dist":{"integrity":"sha512-M7HaW+ORNYFLFTcKUJn9W6ux/nOpvVLfaEapot0GN4wL+X+zYpHoPleMVzi/yhXIFmPtu3s1afFjS8+Y0awTgA==","shasum":"342ae6aaaad5de67d9fe289c8cf8cd7ff2cdfa7d","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.9.1-0-dev.20191105T171044Z.a090e63.tgz","fileCount":68,"unpackedSize":395966,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdwa9SCRA9TVsSAnZWagAA+a0QAKPMKYtG58lC6yTIsAb3\nqf9NzcZt/ys5qNb09iGkeMDqlV8mlhhJFJf9Y7N2KPfxLhL9r5TdIraOfe2y\naij6jCWmrTD6VtJ0Xdp3k2QPYKRR9Im7867QCwojhciNaUeeRpellSkWefov\nm3lHmQo0HxHakWSYO09SnyW9B+J+Cf0bXjofNAmiYvwI76xcZlVxdo9XeiCV\nVN9Bj7Oon+f/+l3GR9hwF9f3vJQQv4x/N9ZtLCyRltfWXmMQ5gYqmQ7rlCjG\nvOCpGm5DEy+lv2sBdEBvXwAHhy8VBBU3eY8AMZJ325PHb93QKTpACITluDZm\njcYOHDysYFj//QBC88Vb/4puQNJfGb8WjjbFYKHMrZ7d6AwNa1GQedBcsNGt\nA18OXrbr2/0yqYKmQITIP127gKbXkDUgm8foqliCG+0glvmiSPh+hbEZqhqz\nuA3dp0oVy3xK75qXy7/w5MBfjlU8C/MKEtevrEi7PbYw+U9/QxfD3Z0C20MB\nScXHNPuK/weYkc68iVPNo1sa+t42StUyA73ddW6yVv+s2reDG+Whgy2YDo2r\nPSAHJ4LIo1nIm0GtgOh8LJ0irqYN9V+34geqJ8rg4KHbY8lxfsmdsCiOBkDQ\nisHcDD2X3lpVjCyvVCKoWNYaFHYCAlR3hHYzUO2WdadiZowLVzYw+fMIpjpT\nvOMc\r\n=om2A\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIClIH/cS4FKZKab0tAJtJnClpGFDmXMLaTonnQcqwXmIAiBBBFhcP8t0TIgw6yJh1eDVflUo6YBP1VwwhjyAM8uBrQ=="}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"},{"email":"bernd@brainbot.com","name":"trustlines-deploy"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.9.1-0-dev.20191105T171044Z.a090e63_1572974418354_0.13546325135104986"},"_hasShrinkwrap":false},"0.10.1-0-dev.20191105T171355Z.d43bcf2":{"name":"trustlines-clientlib","version":"0.10.1-0-dev.20191105T171355Z.d43bcf2","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"typedoc --options tdconfig.json","lint":"tslint -c tslint.json './src/**/**.ts' './tests/**/**.ts'","prettier":"prettier --write './{src,tests}/**/*.ts'","prettier:check":"prettier --check './{src,tests}/**/*.ts'","prettier:big-tabs":"prettier --write --print-width 120 --no-semi --single-quote --tab-width 4  './{src,tests}/**/*.ts'","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","coverage":"nyc report --reporter=text-lcov > coverage.lcov && codecov","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump":"./bump.sh","serve":"webpack && cp -r ./_bundles ./examples/injected-web3 && http-server ./examples/injected-web3"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{ts,js,json,css,md}":["prettier --write","git add"],"*.ts":["tslint -c tslint.json --fix","git add"]},"nyc":{"extension":[".ts"],"include":["src"],"reporter":["text"],"all":true},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.5.2","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","codecov":"^3.5.0","es6-promise":"^4.1.1","fetch-mock":"^7.2.5","fluid-publish":"^2.2.0","http-server":"^0.11.1","husky":"^2.4.0","isomorphic-fetch":"^2.2.1","lint-staged":"^8.2.0","mocha":"^5.2.0","nyc":"^14.1.0","prettier":"^1.15.2","ts-node":"^7.0.0","tslint":"^5.17.0","tslint-config-prettier":"^1.18.0","typedoc":"^0.14.2","types-ethereumjs-util":"0.0.8","typescript":"^2.9.2","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"bignumber.js":"7.2.1","ethereumjs-util":"^5.2.0","ethers":"^4.0.23","reconnecting-websocket":"^4.1.10","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","trustlines-contracts-abi":"^0.9.0","ws":"^6.2.1"},"readme":"# trustlines-network clientlib\n\n[![npm](https://img.shields.io/npm/v/trustlines-clientlib.svg)](https://www.npmjs.com/package/trustlines-clientlib)\n[![CircleCI branch](https://img.shields.io/circleci/project/github/trustlines-protocol/clientlib/master.svg)](https://circleci.com/gh/trustlines-protocol/clientlib)\n[![Codecov branch](https://img.shields.io/codecov/c/github/trustlines-protocol/clientlib/master.svg)](https://codecov.io/gh/trustlines-protocol/clientlib)\n\nA TypeScript/Javascript library for interacting with the [trustlines-network protocol](https://trustlines.network/).\n\n## Read the [Documentation](https://docs.trustlines.network/)\n\n## Installation\n\nInstall the library using `npm` or `yarn`\n\n```bash\n$ npm install trustlines-clientlib\n// OR\n$ yarn add trustlines-clientlib\n```\n\n#### Import ES6 module\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n```\n\nUse the following configuration to connect to the currently deployed test setup.\n\n**NOTE: The [trustlines-network contracts](https://github.com/trustlines-network/contracts) are deployed on the Laika Testnet ([Laika Blockexplorer](https://explorelaika.trustlines.foundation/)), the test network of Trustlines. Some Laika test `TLC` is therefore required to interact with the contracts in this setup.**\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n\nconst tlNetworkConfig = {\n  protocol: 'https',\n  host: 'relay0.testnet.trustlines.network',\n  path: 'api/v1/'\n}\n\nconst tlNetwork = new TLNetwork(tlNetworkConfig)\n```\n\n## Example\n\nThis library is a promise-based library. So every asynchronous call will return a native Javascript promise. If an error occurs the library will throw it. The caller has to handle it appropriately.\n\n```javascript\ntry {\n  const networks = await tlNetwork.currencyNetwokr.getAll()\n} catch (error) {\n  console.log('Caught error:', error)\n}\n```\n\n## Running injected web3 example\n\nTo run the example make sure to have [MetaMask](https://metamask.io/) installed and connected to a JSON RPC.\n\n```bash\nyarn serve\n```\n\nThis serves the injected web3 example app on `http://127.0.0.1:8080`. You can find the app under `./examples/injected-web3`.\n","readmeFilename":"README.md","gitHead":"d43bcf276cf6e251b1a0a53442b1a76f349c9b8b","_id":"trustlines-clientlib@0.10.1-0-dev.20191105T171355Z.d43bcf2","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"trustlines-deploy","email":"bernd@brainbot.com"},"dist":{"integrity":"sha512-Eoi/73+VApd8xZ3R66TO3bUNQHdighPRbwr/ahU8v0m5Bmtl+kGgQSgEWo0/LWcfTJI8hx7TPxjpA8UMaHC1PQ==","shasum":"fc5c0f7abf60a5e95b8c7c8e415f0c6f35c381dd","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.10.1-0-dev.20191105T171355Z.d43bcf2.tgz","fileCount":68,"unpackedSize":395967,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdwcHtCRA9TVsSAnZWagAA5fYP/RzSlARRtMJGguuHB75K\nt9LN77aQ3y92cfdsZb/lUzIlj2LgK2tddPnk402m/UHdzEEPCmXwnXrHGfYY\ngQgVvIaS0eW9lB3++UfkucF8y0cjKtCGAPpEbSZBZ/s1pKTHzdmILSYo7WOG\n/gbLSQoMb6flzaVIEIpovUbwlrJfA10EeF9TuHFeqh2jPlJceFrmFmRVbf2u\nr+ifG8bhdNQzz0cSF71hbpjU45h5P4ynA/PsT7VX2jtEudyb3Blf19gQsgXU\nMioGXIdA9jl+vFOK3K9BB4cQ1SOwQYa0Fx+joPVZ76ziEP7mSDFj86X4uEF6\n2CWR+6TdvxV2ip4qr5ZOGs/4DwQDyRS01+WWGZ1z587uWK5VxPGGt4XxujdY\nYmZJibPMVChcmrmA2Md4814P/DQyuyyZoucqKf0OqM6lTST5SVzDTqmanJIO\nin1RGhgJfRAGu481PMgmvm4Tn5KJBPjjwfqLbDZM+tYPh5aKnrsil3MhIXRg\nhVuTjTXr9EoscjKlPNojRLD6qzOYSiGNbZ9AH8aMz0FUhe/UPy0Oapszg+Dj\nuR09A7SvywCaD+6YO8EwspTmocAqWK/ofcdTelWpjFXKCwzbTnC3D129HYBi\nNb8byGmmkzQYxm0ZQ3ym5e1wM20368iZNZN1rUYBG6o6Qil5QYPyRQTymHpm\nXifn\r\n=ApqS\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCLR/MKQjKNjLhkVh4SQgpR6oMl3QLuv8YPDje5d7m2GAIhAPPiCdLLcR6JmQdP6YjS8wjXNIVRAPZXHylL796vBWPB"}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"},{"email":"bernd@brainbot.com","name":"trustlines-deploy"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.10.1-0-dev.20191105T171355Z.d43bcf2_1572979181224_0.20624890743690782"},"_hasShrinkwrap":false},"0.10.1-0-dev.20191113T152453Z.f31ede4":{"name":"trustlines-clientlib","version":"0.10.1-0-dev.20191113T152453Z.f31ede4","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"typedoc --options tdconfig.json","lint":"tslint -c tslint.json './src/**/**.ts' './tests/**/**.ts'","prettier":"prettier --write './{src,tests}/**/*.ts'","prettier:check":"prettier --check './{src,tests}/**/*.ts'","prettier:big-tabs":"prettier --write --print-width 120 --no-semi --single-quote --tab-width 4  './{src,tests}/**/*.ts'","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","coverage":"nyc report --reporter=text-lcov > coverage.lcov && codecov","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump":"./bump.sh","serve":"webpack && cp -r ./_bundles ./examples/injected-web3 && http-server ./examples/injected-web3"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{ts,js,json,css,md}":["prettier --write","git add"],"*.ts":["tslint -c tslint.json --fix","git add"]},"nyc":{"extension":[".ts"],"include":["src"],"reporter":["text"],"all":true},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.5.2","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","codecov":"^3.5.0","es6-promise":"^4.1.1","fetch-mock":"^7.2.5","fluid-publish":"^2.2.0","http-server":"^0.11.1","husky":"^2.4.0","isomorphic-fetch":"^2.2.1","lint-staged":"^8.2.0","mocha":"^5.2.0","nyc":"^14.1.0","prettier":"^1.15.2","ts-node":"^7.0.0","tslint":"^5.17.0","tslint-config-prettier":"^1.18.0","typedoc":"^0.14.2","types-ethereumjs-util":"0.0.8","typescript":"^2.9.2","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"bignumber.js":"7.2.1","ethereumjs-util":"^5.2.0","ethers":"^4.0.23","reconnecting-websocket":"^4.1.10","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","trustlines-contracts-abi":"^0.9.0","ws":"^6.2.1"},"readme":"# trustlines-network clientlib\n\n[![npm](https://img.shields.io/npm/v/trustlines-clientlib.svg)](https://www.npmjs.com/package/trustlines-clientlib)\n[![CircleCI branch](https://img.shields.io/circleci/project/github/trustlines-protocol/clientlib/master.svg)](https://circleci.com/gh/trustlines-protocol/clientlib)\n[![Codecov branch](https://img.shields.io/codecov/c/github/trustlines-protocol/clientlib/master.svg)](https://codecov.io/gh/trustlines-protocol/clientlib)\n\nA TypeScript/Javascript library for interacting with the [trustlines-network protocol](https://trustlines.network/).\n\n## Read the [Documentation](https://docs.trustlines.network/)\n\n## Installation\n\nInstall the library using `npm` or `yarn`\n\n```bash\n$ npm install trustlines-clientlib\n// OR\n$ yarn add trustlines-clientlib\n```\n\n#### Import ES6 module\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n```\n\nUse the following configuration to connect to the currently deployed test setup.\n\n**NOTE: The [trustlines-network contracts](https://github.com/trustlines-network/contracts) are deployed on the Laika Testnet ([Laika Blockexplorer](https://explorelaika.trustlines.foundation/)), the test network of Trustlines. Some Laika test `TLC` is therefore required to interact with the contracts in this setup.**\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n\nconst tlNetworkConfig = {\n  protocol: 'https',\n  host: 'relay0.testnet.trustlines.network',\n  path: 'api/v1/'\n}\n\nconst tlNetwork = new TLNetwork(tlNetworkConfig)\n```\n\n## Example\n\nThis library is a promise-based library. So every asynchronous call will return a native Javascript promise. If an error occurs the library will throw it. The caller has to handle it appropriately.\n\n```javascript\ntry {\n  const networks = await tlNetwork.currencyNetwokr.getAll()\n} catch (error) {\n  console.log('Caught error:', error)\n}\n```\n\n## Running injected web3 example\n\nTo run the example make sure to have [MetaMask](https://metamask.io/) installed and connected to a JSON RPC.\n\n```bash\nyarn serve\n```\n\nThis serves the injected web3 example app on `http://127.0.0.1:8080`. You can find the app under `./examples/injected-web3`.\n","readmeFilename":"README.md","gitHead":"f31ede4ead4eca4f97158936677c970096810bc1","_id":"trustlines-clientlib@0.10.1-0-dev.20191113T152453Z.f31ede4","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"trustlines-deploy","email":"bernd@brainbot.com"},"dist":{"integrity":"sha512-bdv0VWSqMZYfVoa40O2U470rZA689OoSVMNptOQDBpbiqQL7Qr0gx7TD6cLJhaiaS5dxFbT5HvfQRtEtpERm8g==","shasum":"7906c3750c7d769841585e81d366d7564ef2188f","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.10.1-0-dev.20191113T152453Z.f31ede4.tgz","fileCount":68,"unpackedSize":396710,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdzCMJCRA9TVsSAnZWagAAUYoQAJkpfmtmHbUuLsLrN0zJ\naLVMb7WwdiUwdbGHbG6vgMU26DNM/ciJwNqdyoqDxfT+K5W6RWX5Si6t8bsF\nIUZmufBWAwtdH9LY5pSUH5kCHTq2EKeHfub012l4Gz/bpA7BOXDVszhTI27i\nVkZ1174L/xPXqFGTZHSmKVbJF+IsyEkCm60PcBQpWwFCJ7kuGT6/zjIMcSR+\nmVsFcgRk1PTzUxGguFpoZ4K0MHWy8cPMDQA96mC89YwVRvFOq8d2HEmudctS\nrbBhoeY0wr0hclg4ZoU8phCgZdGJeW8kxKI350qRNxgNuHU1dkXkzjrfq1pa\nXUPbYOzty/vHWYdcjUeWSvGZF/DvJUhMa3JLVvIg3b0FxHdV8Vy8LOE+pwZi\nqxrX6ApkU8Gh+OBbBDqqme9bkuf3MkhSbdzmNc+fNSrQuWWM5HKRltlVvGWf\nAQDU1f02v+FpLAOE2MTO7JzZ4ygcqHjVN7D4MdkC+zGS0UVoubuyYtlXPu+L\nyqVK0zr1XA5hE5q1DsE++4eUrwpw5/DjgK4b0SqWTQQ/E3+xu8KtCHLb+Db5\nvk5uHtB/yjra0yaeye7aj8ioyRS92+iJ8QNYbxfW6iugYk/aLKTuzGwrTi1h\nUkdFuGQ/HJbQsAHadKbt1DaigbUx4GM0kUPlhd2WLf0moF266fgdVYUWgVfX\n7Z6y\r\n=jstz\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCQfXGVIg1ULqZwwgaf0TGocLio6oxlvO8bpNerkyQu7AIgWWcYteII31ETQ5WV9q8lwer12rtNvgJaND8utkvemdI="}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"},{"email":"bernd@brainbot.com","name":"trustlines-deploy"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.10.1-0-dev.20191113T152453Z.f31ede4_1573659401114_0.4889458050410309"},"_hasShrinkwrap":false},"0.10.1-0-dev.20191119T111631Z.bb35612":{"name":"trustlines-clientlib","version":"0.10.1-0-dev.20191119T111631Z.bb35612","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"typedoc --options tdconfig.json","lint":"tslint -c tslint.json './src/**/**.ts' './tests/**/**.ts'","prettier":"prettier --write './{src,tests}/**/*.ts'","prettier:check":"prettier --check './{src,tests}/**/*.ts'","prettier:big-tabs":"prettier --write --print-width 120 --no-semi --single-quote --tab-width 4  './{src,tests}/**/*.ts'","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","coverage":"nyc report --reporter=text-lcov > coverage.lcov && codecov","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump":"./bump.sh","serve":"webpack && cp -r ./_bundles ./examples/injected-web3 && http-server ./examples/injected-web3"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{ts,js,json,css,md}":["prettier --write","git add"],"*.ts":["tslint -c tslint.json --fix","git add"]},"nyc":{"extension":[".ts"],"include":["src"],"reporter":["text"],"all":true},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.5.2","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","codecov":"^3.5.0","es6-promise":"^4.1.1","fetch-mock":"^7.2.5","fluid-publish":"^2.2.0","http-server":"^0.11.1","husky":"^2.4.0","isomorphic-fetch":"^2.2.1","lint-staged":"^8.2.0","mocha":"^5.2.0","nyc":"^14.1.0","prettier":"^1.15.2","ts-node":"^7.0.0","tslint":"^5.17.0","tslint-config-prettier":"^1.18.0","typedoc":"^0.14.2","types-ethereumjs-util":"0.0.8","typescript":"^2.9.2","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"bignumber.js":"7.2.1","ethereumjs-util":"^5.2.0","ethers":"^4.0.23","reconnecting-websocket":"^4.1.10","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","trustlines-contracts-abi":"^0.9.0","ws":"^6.2.1"},"readme":"# trustlines-network clientlib\n\n[![npm](https://img.shields.io/npm/v/trustlines-clientlib.svg)](https://www.npmjs.com/package/trustlines-clientlib)\n[![CircleCI branch](https://img.shields.io/circleci/project/github/trustlines-protocol/clientlib/master.svg)](https://circleci.com/gh/trustlines-protocol/clientlib)\n[![Codecov branch](https://img.shields.io/codecov/c/github/trustlines-protocol/clientlib/master.svg)](https://codecov.io/gh/trustlines-protocol/clientlib)\n\nA TypeScript/Javascript library for interacting with the [trustlines-network protocol](https://trustlines.network/).\n\n## Read the [Documentation](https://docs.trustlines.network/)\n\n## Installation\n\nInstall the library using `npm` or `yarn`\n\n```bash\n$ npm install trustlines-clientlib\n// OR\n$ yarn add trustlines-clientlib\n```\n\n#### Import ES6 module\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n```\n\nUse the following configuration to connect to the currently deployed test setup.\n\n**NOTE: The [trustlines-network contracts](https://github.com/trustlines-network/contracts) are deployed on the Laika Testnet ([Laika Blockexplorer](https://explorelaika.trustlines.foundation/)), the test network of Trustlines. Some Laika test `TLC` is therefore required to interact with the contracts in this setup.**\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n\nconst tlNetworkConfig = {\n  protocol: 'https',\n  host: 'relay0.testnet.trustlines.network',\n  path: 'api/v1/'\n}\n\nconst tlNetwork = new TLNetwork(tlNetworkConfig)\n```\n\n## Example\n\nThis library is a promise-based library. So every asynchronous call will return a native Javascript promise. If an error occurs the library will throw it. The caller has to handle it appropriately.\n\n```javascript\ntry {\n  const networks = await tlNetwork.currencyNetwokr.getAll()\n} catch (error) {\n  console.log('Caught error:', error)\n}\n```\n\n## Running injected web3 example\n\nTo run the example make sure to have [MetaMask](https://metamask.io/) installed and connected to a JSON RPC.\n\n```bash\nyarn serve\n```\n\nThis serves the injected web3 example app on `http://127.0.0.1:8080`. You can find the app under `./examples/injected-web3`.\n","readmeFilename":"README.md","gitHead":"bb35612332ef2accda5f7c4ba0eec2707e2453eb","_id":"trustlines-clientlib@0.10.1-0-dev.20191119T111631Z.bb35612","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"trustlines-deploy","email":"bernd@brainbot.com"},"dist":{"integrity":"sha512-2TOIbQOo9F52XrrFSMR2l4Xy6Qdt3AQCxnV9+MdS3249rIQZyUaOKe5talnpy9MdSQf3PPS7cb1KbMDLVPDCfA==","shasum":"1a3d59f8d78f73c32efd3e5bd00f2ceb42ceb6d4","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.10.1-0-dev.20191119T111631Z.bb35612.tgz","fileCount":68,"unpackedSize":396756,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd09F9CRA9TVsSAnZWagAAMP8P/0ElF5sX4XroIajZ567f\n39vFeziMlT+GIJlEAAmn3hyE6TZ9tC0rdEJsHEdQlyuVRWRK/XvMMCyVEASi\nfDaE2ZojgBfo5bKmhSdBaua5yIxJO7lJnLLsS9H79xhe02GRBLiPgdvnYVuu\nk5HMPXGIllqXGcK2vzbAmJJ2JOpKJqcDYtBPmxpjj1ry5oQOEsq6fypPAx8X\njhu9kEc5bHCgRe4VDxKOhjtZADfEKAeH3ZGfcxozJEGqf0qPNHwycAEYD4Dz\n1LdUQuo8fsbd4+Wd49mqQUTXapGSuoHjLEIthY7skf8EuNB9z4VFckD19FnA\nZHILTgQeHY1aQo3ItL7SWYxOsdtWojm9xh0sBULL2CAzA+WV6kIlGKkQr3+5\ngWRWR3FLyrKd7mjAMaYlULWFWW2hDPxw2RJtwuLTyeoysEgEcb0H+Ic6D4TA\nRnAPXnBQZJ40aYObqt8GhOcEORNJbh++r1qUEeSrg12UnWWXo/AN+DZllcG0\nMBVwkvD7WJygtEqNvVwiLlCI4TFLLQd3S+/jaGCLb6Zzpt5ONkTANFD7VD5x\n3Q4BQYg4Dv1+Ac8Xb9/bNYkICrY51R3wZdZVS5C47YmN8i3tn8zD5Fa/GgcM\n1zgcpSQlHnYw/o5lq1KphsrfNzftigRox4GFQ1PB05ojVSobSJWFZLrnqOhF\nxvsJ\r\n=vZ5Q\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCFyfGSUlq6eUIzN3HXM20q9aRMP6Ibt9clnDrIdWTu3QIgSYTsfw6P9Z+4waQuouVYB+JxRNibaX0uzkTR9mPx4ic="}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"},{"email":"bernd@brainbot.com","name":"trustlines-deploy"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.10.1-0-dev.20191119T111631Z.bb35612_1574162813390_0.5849986837334511"},"_hasShrinkwrap":false},"0.10.1-0-dev.20191120T103440Z.568fe78":{"name":"trustlines-clientlib","version":"0.10.1-0-dev.20191120T103440Z.568fe78","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"typedoc --options tdconfig.json","lint":"tslint -c tslint.json './src/**/**.ts' './tests/**/**.ts'","prettier":"prettier --write './{src,tests}/**/*.ts'","prettier:check":"prettier --check './{src,tests}/**/*.ts'","prettier:big-tabs":"prettier --write --print-width 120 --no-semi --single-quote --tab-width 4  './{src,tests}/**/*.ts'","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","coverage":"nyc report --reporter=text-lcov > coverage.lcov && codecov","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump":"./bump.sh","serve":"webpack && cp -r ./_bundles ./examples/injected-web3 && http-server ./examples/injected-web3"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{ts,js,json,css,md}":["prettier --write","git add"],"*.ts":["tslint -c tslint.json --fix","git add"]},"nyc":{"extension":[".ts"],"include":["src"],"reporter":["text"],"all":true},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.5.2","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","codecov":"^3.5.0","es6-promise":"^4.1.1","fetch-mock":"^7.2.5","fluid-publish":"^2.2.0","http-server":"^0.11.1","husky":"^2.4.0","isomorphic-fetch":"^2.2.1","lint-staged":"^8.2.0","mocha":"^5.2.0","nyc":"^14.1.0","prettier":"^1.15.2","ts-node":"^7.0.0","tslint":"^5.17.0","tslint-config-prettier":"^1.18.0","typedoc":"^0.14.2","types-ethereumjs-util":"0.0.8","typescript":"^2.9.2","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"bignumber.js":"7.2.1","ethereumjs-util":"^5.2.0","ethers":"^4.0.23","reconnecting-websocket":"^4.1.10","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","trustlines-contracts-abi":"^0.9.0","ws":"^6.2.1"},"readme":"# trustlines-network clientlib\n\n[![npm](https://img.shields.io/npm/v/trustlines-clientlib.svg)](https://www.npmjs.com/package/trustlines-clientlib)\n[![CircleCI branch](https://img.shields.io/circleci/project/github/trustlines-protocol/clientlib/master.svg)](https://circleci.com/gh/trustlines-protocol/clientlib)\n[![Codecov branch](https://img.shields.io/codecov/c/github/trustlines-protocol/clientlib/master.svg)](https://codecov.io/gh/trustlines-protocol/clientlib)\n\nA TypeScript/Javascript library for interacting with the [trustlines-network protocol](https://trustlines.network/).\n\n## Read the [Documentation](https://docs.trustlines.network/)\n\n## Installation\n\nInstall the library using `npm` or `yarn`\n\n```bash\n$ npm install trustlines-clientlib\n// OR\n$ yarn add trustlines-clientlib\n```\n\n#### Import ES6 module\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n```\n\nUse the following configuration to connect to the currently deployed test setup.\n\n**NOTE: The [trustlines-network contracts](https://github.com/trustlines-network/contracts) are deployed on the Laika Testnet ([Laika Blockexplorer](https://explorelaika.trustlines.foundation/)), the test network of Trustlines. Some Laika test `TLC` is therefore required to interact with the contracts in this setup.**\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n\nconst tlNetworkConfig = {\n  protocol: 'https',\n  host: 'relay0.testnet.trustlines.network',\n  path: 'api/v1/'\n}\n\nconst tlNetwork = new TLNetwork(tlNetworkConfig)\n```\n\n## Example\n\nThis library is a promise-based library. So every asynchronous call will return a native Javascript promise. If an error occurs the library will throw it. The caller has to handle it appropriately.\n\n```javascript\ntry {\n  const networks = await tlNetwork.currencyNetwokr.getAll()\n} catch (error) {\n  console.log('Caught error:', error)\n}\n```\n\n## Running injected web3 example\n\nTo run the example make sure to have [MetaMask](https://metamask.io/) installed and connected to a JSON RPC.\n\n```bash\nyarn serve\n```\n\nThis serves the injected web3 example app on `http://127.0.0.1:8080`. You can find the app under `./examples/injected-web3`.\n","readmeFilename":"README.md","gitHead":"568fe78a4e083642eae6508eec5bbd1195b7d5cb","_id":"trustlines-clientlib@0.10.1-0-dev.20191120T103440Z.568fe78","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"trustlines-deploy","email":"bernd@brainbot.com"},"dist":{"integrity":"sha512-ZAVZntEnjKGRAZInJlnAhRr80gK+SDLwA9meraazuJ2jFh3YjzQdC/eww/+y7pYn/uCkLLd1dO3/6JD6mKu0Hg==","shasum":"05ffa741002fb9a5de5cc3bdf5ca585f1f4e5f84","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.10.1-0-dev.20191120T103440Z.568fe78.tgz","fileCount":68,"unpackedSize":399143,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd1RjnCRA9TVsSAnZWagAAMOsQAJQizEoSmJ7Bv3QuvB8y\nEZ90iNIJBXDVPm2R8svddfPt/p7QXzTcp0bznXgBsyKb4NaEJkvdjb1iR3Dh\nK02Ltjy7J+7/CkrAF7yGAALCH56PAxM8hu64uVcmfDfTzUPQ36gGXnX53zHx\nfy+XQXD8doVv13+2O3Aq7vMcELaMHE1Qy3cZ73pMlklV9iGVqurpoL9IePQe\nc9uO0OP+iHFZjh7d8sRfX21pe08tufMP/J3L/XfvhGxdTUxEWc1+Z2/eZn0l\nfjFV29AF7djdB1t7t3psUzxi5oMTKZ0IjjoaZwJkaV8e2p4l/QYJKO9dD93O\nZ3OijOeLGXqoei3iA3k7ksQdeZdWMmDMnj2vZfeOsGMBvCyz/HWr1bN/Uhat\nRIt69PaMirywJwOlQ+vUKuiyVLQwNLBHR6Gs/4anEQf5uYbcyUWHbMiwcFz9\nKkylbhk/CZlSUm7X6aybmUi2xtLJbP6Vfc7vCcoFBMkJwfWejo4noUG+TFFZ\n/TiSqRo1NISIs4C0cLihCHbd5H2c7bLkb2nlEkw1RekbOVrOf3ZxeD4ceZx6\nOikVShQ8gNpage5W4EZSFFTAQaNsWXHlYj9bzmx7ypNrqAHhtqtHvco4/iSB\n0KLM+043aj+8nUH3C/xjJWAxh415N0SofWGsmwX3Sf2zCSP53VR36LRkRI0C\nBJ2V\r\n=EtaL\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEPyRgtLKrr3ywBGr0T4MXohMMdc9DDvXqudNWPcVWAVAiEA8R82R0tpJy1n2XyXO2PYHswUeNd5OerteV7Vy6bIeWk="}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"},{"email":"bernd@brainbot.com","name":"trustlines-deploy"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.10.1-0-dev.20191120T103440Z.568fe78_1574246631305_0.035563049353245946"},"_hasShrinkwrap":false},"0.10.1-0-dev.20191209T092751Z.07dfdd0":{"name":"trustlines-clientlib","version":"0.10.1-0-dev.20191209T092751Z.07dfdd0","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"typedoc --options tdconfig.json","lint":"tslint -c tslint.json './src/**/**.ts' './tests/**/**.ts'","prettier":"prettier --write './{src,tests}/**/*.ts'","prettier:check":"prettier --check './{src,tests}/**/*.ts'","prettier:big-tabs":"prettier --write --print-width 120 --no-semi --single-quote --tab-width 4  './{src,tests}/**/*.ts'","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","coverage":"nyc report --reporter=text-lcov > coverage.lcov && codecov","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump":"./bump.sh","serve":"webpack && cp -r ./_bundles ./examples/injected-web3 && http-server ./examples/injected-web3"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{ts,js,json,css,md}":["prettier --write","git add"],"*.ts":["tslint -c tslint.json --fix","git add"]},"nyc":{"extension":[".ts"],"include":["src"],"reporter":["text"],"all":true},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.5.2","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","codecov":"^3.5.0","es6-promise":"^4.1.1","fetch-mock":"^7.2.5","fluid-publish":"^2.2.0","http-server":"^0.11.1","husky":"^2.4.0","isomorphic-fetch":"^2.2.1","lint-staged":"^8.2.0","mocha":"^5.2.0","nyc":"^14.1.0","prettier":"^1.15.2","ts-node":"^7.0.0","tslint":"^5.17.0","tslint-config-prettier":"^1.18.0","typedoc":"^0.14.2","types-ethereumjs-util":"0.0.8","typescript":"^2.9.2","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"bignumber.js":"7.2.1","ethereumjs-util":"^5.2.0","ethers":"^4.0.23","reconnecting-websocket":"^4.1.10","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","trustlines-contracts-abi":"^0.9.0","ws":"^6.2.1"},"readme":"# trustlines-network clientlib\n\n[![npm](https://img.shields.io/npm/v/trustlines-clientlib.svg)](https://www.npmjs.com/package/trustlines-clientlib)\n[![CircleCI branch](https://img.shields.io/circleci/project/github/trustlines-protocol/clientlib/master.svg)](https://circleci.com/gh/trustlines-protocol/clientlib)\n[![Codecov branch](https://img.shields.io/codecov/c/github/trustlines-protocol/clientlib/master.svg)](https://codecov.io/gh/trustlines-protocol/clientlib)\n\nA TypeScript/Javascript library for interacting with the [trustlines-network protocol](https://trustlines.network/).\n\n## Read the [Documentation](https://docs.trustlines.network/)\n\n## Installation\n\nInstall the library using `npm` or `yarn`\n\n```bash\n$ npm install trustlines-clientlib\n// OR\n$ yarn add trustlines-clientlib\n```\n\n#### Import ES6 module\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n```\n\nUse the following configuration to connect to the currently deployed test setup.\n\n**NOTE: The [trustlines-network contracts](https://github.com/trustlines-network/contracts) are deployed on the Laika Testnet ([Laika Blockexplorer](https://explore.laika.trustlines.foundation/)), the test network of Trustlines. Some Laika test `TLC` is therefore required to interact with the contracts in this setup.**\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n\nconst tlNetworkConfig = {\n  protocol: 'https',\n  host: 'relay0.testnet.trustlines.network',\n  path: 'api/v1/'\n}\n\nconst tlNetwork = new TLNetwork(tlNetworkConfig)\n```\n\n## Example\n\nThis library is a promise-based library. So every asynchronous call will return a native Javascript promise. If an error occurs the library will throw it. The caller has to handle it appropriately.\n\n```javascript\ntry {\n  const networks = await tlNetwork.currencyNetwokr.getAll()\n} catch (error) {\n  console.log('Caught error:', error)\n}\n```\n\n## Running injected web3 example\n\nTo run the example make sure to have [MetaMask](https://metamask.io/) installed and connected to a JSON RPC.\n\n```bash\nyarn serve\n```\n\nThis serves the injected web3 example app on `http://127.0.0.1:8080`. You can find the app under `./examples/injected-web3`.\n","readmeFilename":"README.md","gitHead":"07dfdd004889c824934462826081285b01517ca9","_id":"trustlines-clientlib@0.10.1-0-dev.20191209T092751Z.07dfdd0","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"trustlines-deploy","email":"bernd@brainbot.com"},"dist":{"integrity":"sha512-SwnDVGcu/8IN04IZxEM71eGps+jWrCfB6lgkuAHcUu18SE3uReYvdlFNbW3Bw1cLP8BpRkyShQD48By7H3Rzlw==","shasum":"7c5d01a3903abf6a4c106182560db2c79f35259e","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.10.1-0-dev.20191209T092751Z.07dfdd0.tgz","fileCount":68,"unpackedSize":399144,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd7kZqCRA9TVsSAnZWagAASd4P/23K8auvUNjf9QaS3lcX\nAoLlE5+NV1sp07wLtD4XOfNr0hSHI85sEAEiNSBfNG5HlhRRoYMMuTquo8T5\nj+dxK/uDgmZ/h5ee96BWKk/GYOzj+1STMl9PuJ0kkAltnNNHeSMWoqvGL45x\n6uKDofH7OZagHN3Yqola1dHuOc2Av0GV0iNsupo/0RtMFWhh3WLaRuep+mtM\nZCmCUscAkIBXxHJltbWaRFRKP+4Lw5ePF1E/OE0KHLXxpGWoUX/CqLQB295a\naFDq0lhcl68yq5JOMXW9UvhMC9L+rFdVkROJTqf64jp69mJEL4WYa66fHcgU\nZWaX3EffHtkmOoRXTfthTPKm9vgyZnKqgm54PRqKB1IXefTmHFQuxxB1qahb\n/lUt2PxtkYfdSrA3T+AWbMm98IM9gqdRjhGXyX46JU1Noe4OpAo/umF8akxY\nA05zggwrkqqCO7SyYawullbjBnYlOqvlqCxa0PC7NnJKdGATHVMUqRTmDMwq\nt6598QF0xe299EczngM/tQobGgJthghVlG0sHHg5M7fGlj6rLS2T4un9axmT\njx93W32IXZ5ThVljh23zTPcFuTkUAx/glKEvhtVQX35YrsEj7pUAjomgsLaq\nxd+kDWI2SWxlKOtK64+OUeuJKD5IkqFasdV2wrbBXzmcSvr5Xy/DYzl7Z0Po\nBUab\r\n=/rCv\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIA7Jth/2gN5X946q7yXZFwlmb4PiaF8rg+fO+3kfXJxgAiBbv0Jn8Gkjlzdu/o3Qi5lHeBbZNXm6tObmndVmaJOCuQ=="}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"},{"email":"bernd@brainbot.com","name":"trustlines-deploy"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.10.1-0-dev.20191209T092751Z.07dfdd0_1575896681876_0.04608381546763196"},"_hasShrinkwrap":false},"0.10.1-0-dev.20191216T135336Z.fafab5e":{"name":"trustlines-clientlib","version":"0.10.1-0-dev.20191216T135336Z.fafab5e","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"typedoc --options tdconfig.json","lint":"tslint -c tslint.json './src/**/**.ts' './tests/**/**.ts'","prettier":"prettier --write './{src,tests}/**/*.ts'","prettier:check":"prettier --check './{src,tests}/**/*.ts'","prettier:big-tabs":"prettier --write --print-width 120 --no-semi --single-quote --tab-width 4  './{src,tests}/**/*.ts'","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","coverage":"nyc report --reporter=text-lcov > coverage.lcov && codecov","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump":"./bump.sh","serve":"webpack && cp -r ./_bundles ./examples/injected-web3 && http-server ./examples/injected-web3"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{ts,js,json,css,md}":["prettier --write","git add"],"*.ts":["tslint -c tslint.json --fix","git add"]},"nyc":{"extension":[".ts"],"include":["src"],"reporter":["text"],"all":true},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.5.2","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","codecov":"^3.5.0","es6-promise":"^4.1.1","fetch-mock":"^7.2.5","fluid-publish":"^2.2.0","http-server":"^0.11.1","husky":"^2.4.0","isomorphic-fetch":"^2.2.1","lint-staged":"^8.2.0","mocha":"^5.2.0","nyc":"^14.1.0","prettier":"^1.15.2","ts-node":"^7.0.0","tslint":"^5.17.0","tslint-config-prettier":"^1.18.0","typedoc":"^0.14.2","types-ethereumjs-util":"0.0.8","typescript":"^2.9.2","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"bignumber.js":"7.2.1","ethereumjs-util":"^5.2.0","ethers":"^4.0.23","reconnecting-websocket":"^4.1.10","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","trustlines-contracts-abi":"^0.9.0","ws":"^6.2.1"},"readme":"# trustlines-network clientlib\n\n[![npm](https://img.shields.io/npm/v/trustlines-clientlib.svg)](https://www.npmjs.com/package/trustlines-clientlib)\n[![CircleCI branch](https://img.shields.io/circleci/project/github/trustlines-protocol/clientlib/master.svg)](https://circleci.com/gh/trustlines-protocol/clientlib)\n[![Codecov branch](https://img.shields.io/codecov/c/github/trustlines-protocol/clientlib/master.svg)](https://codecov.io/gh/trustlines-protocol/clientlib)\n\nA TypeScript/Javascript library for interacting with the [trustlines-network protocol](https://trustlines.network/).\n\n## Read the [Documentation](https://docs.trustlines.network/)\n\n## Installation\n\nInstall the library using `npm` or `yarn`\n\n```bash\n$ npm install trustlines-clientlib\n// OR\n$ yarn add trustlines-clientlib\n```\n\n#### Import ES6 module\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n```\n\nUse the following configuration to connect to the currently deployed test setup.\n\n**NOTE: The [trustlines-network contracts](https://github.com/trustlines-network/contracts) are deployed on the Laika Testnet ([Laika Blockexplorer](https://explore.laika.trustlines.foundation/)), the test network of Trustlines. Some Laika test `TLC` is therefore required to interact with the contracts in this setup.**\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n\nconst tlNetworkConfig = {\n  protocol: 'https',\n  host: 'relay0.testnet.trustlines.network',\n  path: 'api/v1/'\n}\n\nconst tlNetwork = new TLNetwork(tlNetworkConfig)\n```\n\n## Example\n\nThis library is a promise-based library. So every asynchronous call will return a native Javascript promise. If an error occurs the library will throw it. The caller has to handle it appropriately.\n\n```javascript\ntry {\n  const networks = await tlNetwork.currencyNetwokr.getAll()\n} catch (error) {\n  console.log('Caught error:', error)\n}\n```\n\n## Running injected web3 example\n\nTo run the example make sure to have [MetaMask](https://metamask.io/) installed and connected to a JSON RPC.\n\n```bash\nyarn serve\n```\n\nThis serves the injected web3 example app on `http://127.0.0.1:8080`. You can find the app under `./examples/injected-web3`.\n","readmeFilename":"README.md","gitHead":"fafab5e3133be94b18b539f3414b0bb82c411bfd","_id":"trustlines-clientlib@0.10.1-0-dev.20191216T135336Z.fafab5e","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"trustlines-deploy","email":"bernd@brainbot.com"},"dist":{"integrity":"sha512-oSezcNn8ev3KvW6UoJAdJQvM4Szoo6w9+V7nDI7nTL63eWpkCIbQME1up8Eq/XBUZuP2YzxxxHGs4FYpKulXqw==","shasum":"4ff595cec5755a71fb0eed86b1af6f5ab1e7f984","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.10.1-0-dev.20191216T135336Z.fafab5e.tgz","fileCount":68,"unpackedSize":413279,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd947PCRA9TVsSAnZWagAAvokP/3J3pxoWntu2Ty+R+Cyi\nQxQ17vDeFHLMphG7jHjnySwxWqhyyAbI0velniDDB5YMeQY4jjG42FfF05cg\nou+qF3i2+cTC9ypHhrHukXf3DtZUP8/dgzYm2XqMhak06RF3hbALaNOEAgdP\nDD1vyHpVwKSWU2yh+6dUHPFtPj5riI1IoveZdquY78qI4xbW7HxdARZP7Z3v\npsgoCxQnUwXMA80r62a7yQDBuw41c5kl0TCImQvkt6dCjnDF7b2n90yTBnT9\nnOeTzOJu8QHQCcUQ7PZ/03gBldxjT6be4N/YKWIOEMKKuKvavIj79m2TlF65\nsmAg0JHAr1Fx1f+HhOaw0bsJqDEEd1VefwgHan4Nbq34Ze3qmeG4Zl9u1DLd\nkwDZFiXUNqE5OEkjUCgC5E0XGfyNk9mAeNeodTxel585reK/dhYdK+qqx2Yr\nHcuxrmT07Kjcx1J9/10UlU6+nsCyCYVrG9f4xqHuNDCbtpOTbMNYaLUMfU4R\nf+GWt0+mk87Pn4eouu7Qq2EhTTBWRaNjvNHsDMhXjEiYiyrBAFpOcpeDoITP\nZDbNP/6IM86rcANToz6SaDJd38F8E7cSE5hCCaKtk63yPe24XnweeJD1WN4A\nabrG8QJNR5waShQj80M/yXOryzvryKtolO+nx3MRRb+8akYE1MgN8jPP7b6x\nBYJ7\r\n=PiOx\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGwBbqxYB+/+qtzjjMgOJ927AsV2J+tzrxc5yoBYUUjUAiEA+OSzamycarPHVeLmCPWVBqDBoMpf6/AcVcbmBasB2ag="}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"},{"email":"bernd@brainbot.com","name":"trustlines-deploy"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.10.1-0-dev.20191216T135336Z.fafab5e_1576505038454_0.7945035929077431"},"_hasShrinkwrap":false},"0.10.1-0-dev.20191218T142402Z.46014a2":{"name":"trustlines-clientlib","version":"0.10.1-0-dev.20191218T142402Z.46014a2","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"typedoc --options tdconfig.json","lint":"tslint -c tslint.json './src/**/**.ts' './tests/**/**.ts'","prettier":"prettier --write './{src,tests}/**/*.ts'","prettier:check":"prettier --check './{src,tests}/**/*.ts'","prettier:big-tabs":"prettier --write --print-width 120 --no-semi --single-quote --tab-width 4  './{src,tests}/**/*.ts'","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","coverage":"nyc report --reporter=text-lcov > coverage.lcov && codecov","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump":"./bump.sh","serve":"webpack && cp -r ./_bundles ./examples/injected-web3 && http-server ./examples/injected-web3"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{ts,js,json,css,md}":["prettier --write","git add"],"*.ts":["tslint -c tslint.json --fix","git add"]},"nyc":{"extension":[".ts"],"include":["src"],"reporter":["text"],"all":true},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.5.2","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","codecov":"^3.5.0","es6-promise":"^4.1.1","fetch-mock":"^7.2.5","fluid-publish":"^2.2.0","http-server":"^0.11.1","husky":"^2.4.0","isomorphic-fetch":"^2.2.1","lint-staged":"^8.2.0","mocha":"^5.2.0","nyc":"^14.1.0","prettier":"^1.15.2","ts-node":"^7.0.0","tslint":"^5.17.0","tslint-config-prettier":"^1.18.0","typedoc":"^0.14.2","types-ethereumjs-util":"0.0.8","typescript":"^2.9.2","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"bignumber.js":"7.2.1","ethereumjs-util":"^5.2.0","ethers":"^4.0.23","reconnecting-websocket":"^4.1.10","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","trustlines-contracts-abi":"dev","ws":"^6.2.1"},"readme":"# trustlines-network clientlib\n\n[![npm](https://img.shields.io/npm/v/trustlines-clientlib.svg)](https://www.npmjs.com/package/trustlines-clientlib)\n[![CircleCI branch](https://img.shields.io/circleci/project/github/trustlines-protocol/clientlib/master.svg)](https://circleci.com/gh/trustlines-protocol/clientlib)\n[![Codecov branch](https://img.shields.io/codecov/c/github/trustlines-protocol/clientlib/master.svg)](https://codecov.io/gh/trustlines-protocol/clientlib)\n\nA TypeScript/Javascript library for interacting with the [trustlines-network protocol](https://trustlines.network/).\n\n## Read the [Documentation](https://docs.trustlines.network/)\n\n## Installation\n\nInstall the library using `npm` or `yarn`\n\n```bash\n$ npm install trustlines-clientlib\n// OR\n$ yarn add trustlines-clientlib\n```\n\n#### Import ES6 module\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n```\n\nUse the following configuration to connect to the currently deployed test setup.\n\n**NOTE: The [trustlines-network contracts](https://github.com/trustlines-network/contracts) are deployed on the Laika Testnet ([Laika Blockexplorer](https://explore.laika.trustlines.foundation/)), the test network of Trustlines. Some Laika test `TLC` is therefore required to interact with the contracts in this setup.**\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n\nconst tlNetworkConfig = {\n  protocol: 'https',\n  host: 'relay0.testnet.trustlines.network',\n  path: 'api/v1/'\n}\n\nconst tlNetwork = new TLNetwork(tlNetworkConfig)\n```\n\n## Example\n\nThis library is a promise-based library. So every asynchronous call will return a native Javascript promise. If an error occurs the library will throw it. The caller has to handle it appropriately.\n\n```javascript\ntry {\n  const networks = await tlNetwork.currencyNetwokr.getAll()\n} catch (error) {\n  console.log('Caught error:', error)\n}\n```\n\n## Running injected web3 example\n\nTo run the example make sure to have [MetaMask](https://metamask.io/) installed and connected to a JSON RPC.\n\n```bash\nyarn serve\n```\n\nThis serves the injected web3 example app on `http://127.0.0.1:8080`. You can find the app under `./examples/injected-web3`.\n","readmeFilename":"README.md","gitHead":"46014a2f19968d6cbdadc8d1b8d6554f00e49354","_id":"trustlines-clientlib@0.10.1-0-dev.20191218T142402Z.46014a2","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"trustlines-deploy","email":"bernd@brainbot.com"},"dist":{"integrity":"sha512-81yAa/sHExtpEzI/Y2hmVmMCvgO05lHznkcxoT6UFzzpkPzMwS5lV15bVdwcI2s6ZlbIA3B/QDwvAWb28SEtLw==","shasum":"4c853b4826b220a8da2542ee05dfd6d7f4bc8a8f","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.10.1-0-dev.20191218T142402Z.46014a2.tgz","fileCount":68,"unpackedSize":412662,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd+jitCRA9TVsSAnZWagAA2+8P/jPzgRylk5JHBdn7JI0A\np4GUhqqD/1RuRAqCet4AycZT6PxttFHl1FFBLdc2L3mBxIfbsFZa1cu1Dmbc\ntMON7YR3H1qkWigY79BYZulwmtlxZFa7oIrpD0w7+1pUi8BreXN1SLQgrDfm\nhXaizlVjZ3RV+4wK8Np5k2QWPD6Y0anKt/eFjWNPwIo1cmpNn0/etwjFjgyN\n5zl222cHoVXsJHwbWiCs2B7QbrejMiTtJo1fNzJpApw86aRVFaCljFB5ke7i\njxhfD7Ks7E7u7jvqXq5nKslvVL4BGRPSEhhMQYnxWbjm9yRluUE4Sv+KbvWe\nzYC88PyVxa7y8FPa3mL4f0fcEeP09HN86n8mqnp10ZO9HYa4uWyC5zg40j0M\nrgIn3RYzNbZBwUwDPVlYHNcMB0qddDD08UmUwNFk5p3ilhIjncSbq9MxNE3I\nSYTAxle4oq4TLqjUav1Jc3KNEoyKUja2/cAKVGS6o47xTLvYX5rL0cj3TX4P\nYUiKD+t8Hhx9j1jxrvfFI/Vg3ZfElzcxmTdun789x4rcFdp2Z8rFzCrTOsob\ncHsXXVacgbFsZjzhIwGN4aB9hVDyYt7dUvg3kHadJQln3dnphfc4LKlhAMHy\nncsH6micLegEm3zJKFQQx+0HPH+yssnP2a6NIpHyrgVrEJgLD104nVpPllUu\nJeml\r\n=FpO1\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDNKrQxSj2aCMHge7vI5HGpbecLpBWyaYenAAnnMdvVGQIhAJSRpaLuGnZrvou0AuKOq4eMiHgt4wR1vgMh4djNrhnm"}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"},{"email":"bernd@brainbot.com","name":"trustlines-deploy"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.10.1-0-dev.20191218T142402Z.46014a2_1576679596735_0.26913424566755806"},"_hasShrinkwrap":false},"0.10.1-0-dev.20200103T102554Z.03097b8":{"name":"trustlines-clientlib","version":"0.10.1-0-dev.20200103T102554Z.03097b8","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"typedoc --options tdconfig.json","lint":"tslint -c tslint.json './src/**/**.ts' './tests/**/**.ts'","prettier":"prettier --write './{src,tests}/**/*.ts'","prettier:check":"prettier --check './{src,tests}/**/*.ts'","prettier:big-tabs":"prettier --write --print-width 120 --no-semi --single-quote --tab-width 4  './{src,tests}/**/*.ts'","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","coverage":"nyc report --reporter=text-lcov > coverage.lcov && codecov","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump":"./bump.sh","serve":"webpack && cp -r ./_bundles ./examples/injected-web3 && http-server ./examples/injected-web3"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{ts,js,json,css,md}":["prettier --write","git add"],"*.ts":["tslint -c tslint.json --fix","git add"]},"nyc":{"extension":[".ts"],"include":["src"],"reporter":["text"],"all":true},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.5.2","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","codecov":"^3.5.0","es6-promise":"^4.1.1","fetch-mock":"^7.2.5","fluid-publish":"^2.2.0","http-server":"^0.11.1","husky":"^2.4.0","isomorphic-fetch":"^2.2.1","lint-staged":"^8.2.0","mocha":"^5.2.0","nyc":"^14.1.0","prettier":"^1.15.2","ts-node":"^7.0.0","tslint":"^5.17.0","tslint-config-prettier":"^1.18.0","typedoc":"^0.14.2","types-ethereumjs-util":"0.0.8","typescript":"^2.9.2","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"bignumber.js":"7.2.1","ethereumjs-util":"^5.2.0","ethers":"^4.0.23","reconnecting-websocket":"^4.1.10","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","trustlines-contracts-abi":"dev","ws":"^6.2.1"},"readme":"# trustlines-network clientlib\n\n[![npm](https://img.shields.io/npm/v/trustlines-clientlib.svg)](https://www.npmjs.com/package/trustlines-clientlib)\n[![CircleCI branch](https://img.shields.io/circleci/project/github/trustlines-protocol/clientlib/master.svg)](https://circleci.com/gh/trustlines-protocol/clientlib)\n[![Codecov branch](https://img.shields.io/codecov/c/github/trustlines-protocol/clientlib/master.svg)](https://codecov.io/gh/trustlines-protocol/clientlib)\n\nA TypeScript/Javascript library for interacting with the [trustlines-network protocol](https://trustlines.network/).\n\n## Read the [Documentation](https://docs.trustlines.network/)\n\n## Installation\n\nInstall the library using `npm` or `yarn`\n\n```bash\n$ npm install trustlines-clientlib\n// OR\n$ yarn add trustlines-clientlib\n```\n\n#### Import ES6 module\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n```\n\nUse the following configuration to connect to the currently deployed test setup.\n\n**NOTE: The [trustlines-network contracts](https://github.com/trustlines-network/contracts) are deployed on the Laika Testnet ([Laika Blockexplorer](https://explore.laika.trustlines.foundation/)), the test network of Trustlines. Some Laika test `TLC` is therefore required to interact with the contracts in this setup.**\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n\nconst tlNetworkConfig = {\n  protocol: 'https',\n  host: 'relay0.testnet.trustlines.network',\n  path: 'api/v1/'\n}\n\nconst tlNetwork = new TLNetwork(tlNetworkConfig)\n```\n\n## Example\n\nThis library is a promise-based library. So every asynchronous call will return a native Javascript promise. If an error occurs the library will throw it. The caller has to handle it appropriately.\n\n```javascript\ntry {\n  const networks = await tlNetwork.currencyNetwokr.getAll()\n} catch (error) {\n  console.log('Caught error:', error)\n}\n```\n\n## Running injected web3 example\n\nTo run the example make sure to have [MetaMask](https://metamask.io/) installed and connected to a JSON RPC.\n\n```bash\nyarn serve\n```\n\nThis serves the injected web3 example app on `http://127.0.0.1:8080`. You can find the app under `./examples/injected-web3`.\n","readmeFilename":"README.md","gitHead":"03097b828aa791f01cba336ef337555ef206ab93","_id":"trustlines-clientlib@0.10.1-0-dev.20200103T102554Z.03097b8","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"trustlines-deploy","email":"bernd@brainbot.com"},"dist":{"integrity":"sha512-vW0oAA/RnAh2Er3Vn3/zriFwE9tJ80aKogA4VbDZ8YBbR16jjlalU8hhfWofkQUYTMIxrEP9gr46KbEdU4cx2g==","shasum":"5656408c37a6bd9758f4420da8db05d7dd93ba89","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.10.1-0-dev.20200103T102554Z.03097b8.tgz","fileCount":68,"unpackedSize":412662,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeDxj9CRA9TVsSAnZWagAA3hQP/2Gn+79S5ysoJIIsU+CK\ndm8MwU3njaaWRA0e+xLECrameLUWKg56cvxyZA8QzciP1ituBg5dNaFQ+FM0\npTyc6TFLrBNLPzBlggAd7gIJiTU5VuslBUdnWVGjbM83Eqh3RZN3pyONMIQC\nRJyInTi+ORB6HSPWGt4sSJmJZH5n9+mwspzip9nIsLhem0buT16h45anI3o/\n80L6p0dlV40EPYSIrruNBZhLjVVRQQ6svMFn2CPAhdP1J0O8NMUb5i8s3Xpx\n4+YoMjg16js4NygFHvNZH4NDruf7Q+U5HrF0mdB4yteNpx/6kIG49q7UlMMf\nrZKJ1+Rs2GuNNal+WOdU5zY1wvc5sAJXrqwrKaUk07C7LqXafwaYkWgmiWxH\nDrNoqsxuPVNWehDFPFN5vKiAPgggT/EqEs0LG0pIudlURVBRxOv0YON+kWSd\nelcNm/k/ams5UMbzuVSDjx69sCrzcKP/z87hmA1iyseA/NcOXCn4zfkTrsJf\nb6vAqYjZavrmEFd/R1zypLYhVIupfP6gnNON7EZQlMq4QqAKL6jGFCeXMqtU\npi1nQT5ErxTanuEtmcds6gj4YiFWxR1M+XwAcA0bdm+enrpzaeUFg8Ve9LdC\nYxvXmAMnIGamD9MoCPdzQqxiSlDg5n1oQfXCGG5II6DqVwuCHQdwZTL3oGGl\nT2wm\r\n=sc6/\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCW/Ml4dAR15OhMCc+NoIz8JoaQIH1t9QhRt5mR3+3b+gIgOYOM6u5mad/8hwrk0z0Re4Lws3/ELCfAvaYKN38VOOE="}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"},{"email":"bernd@brainbot.com","name":"trustlines-deploy"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.10.1-0-dev.20200103T102554Z.03097b8_1578047740847_0.5496636273877231"},"_hasShrinkwrap":false},"0.10.1-0-dev.20200103T142216Z.769b995":{"name":"trustlines-clientlib","version":"0.10.1-0-dev.20200103T142216Z.769b995","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"typedoc --options tdconfig.json","lint":"tslint -c tslint.json './src/**/**.ts' './tests/**/**.ts'","prettier":"prettier --write './{src,tests}/**/*.ts'","prettier:check":"prettier --check './{src,tests}/**/*.ts'","prettier:big-tabs":"prettier --write --print-width 120 --no-semi --single-quote --tab-width 4  './{src,tests}/**/*.ts'","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","coverage":"nyc report --reporter=text-lcov > coverage.lcov && codecov","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump":"./bump.sh","serve":"webpack && cp -r ./_bundles ./examples/injected-web3 && http-server ./examples/injected-web3"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{ts,js,json,css,md}":["prettier --write","git add"],"*.ts":["tslint -c tslint.json --fix","git add"]},"nyc":{"extension":[".ts"],"include":["src"],"reporter":["text"],"all":true},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.5.2","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","codecov":"^3.5.0","es6-promise":"^4.1.1","fetch-mock":"^7.2.5","fluid-publish":"^2.2.0","http-server":"^0.11.1","husky":"^2.4.0","isomorphic-fetch":"^2.2.1","lint-staged":"^8.2.0","mocha":"^5.2.0","nyc":"^14.1.0","prettier":"^1.15.2","ts-node":"^7.0.0","tslint":"^5.17.0","tslint-config-prettier":"^1.18.0","typedoc":"^0.14.2","types-ethereumjs-util":"0.0.8","typescript":"^2.9.2","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"bignumber.js":"7.2.1","ethereumjs-util":"^5.2.0","ethers":"^4.0.23","reconnecting-websocket":"^4.1.10","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","trustlines-contracts-abi":"dev","ws":"^6.2.1"},"readme":"# trustlines-network clientlib\n\n[![npm](https://img.shields.io/npm/v/trustlines-clientlib.svg)](https://www.npmjs.com/package/trustlines-clientlib)\n[![CircleCI branch](https://img.shields.io/circleci/project/github/trustlines-protocol/clientlib/master.svg)](https://circleci.com/gh/trustlines-protocol/clientlib)\n[![Codecov branch](https://img.shields.io/codecov/c/github/trustlines-protocol/clientlib/master.svg)](https://codecov.io/gh/trustlines-protocol/clientlib)\n\nA TypeScript/Javascript library for interacting with the [trustlines-network protocol](https://trustlines.network/).\n\n## Read the [Documentation](https://docs.trustlines.network/)\n\n## Installation\n\nInstall the library using `npm` or `yarn`\n\n```bash\n$ npm install trustlines-clientlib\n// OR\n$ yarn add trustlines-clientlib\n```\n\n#### Import ES6 module\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n```\n\nUse the following configuration to connect to the currently deployed test setup.\n\n**NOTE: The [trustlines-network contracts](https://github.com/trustlines-network/contracts) are deployed on the Laika Testnet ([Laika Blockexplorer](https://explore.laika.trustlines.foundation/)), the test network of Trustlines. Some Laika test `TLC` is therefore required to interact with the contracts in this setup.**\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n\nconst tlNetworkConfig = {\n  protocol: 'https',\n  host: 'relay0.testnet.trustlines.network',\n  path: 'api/v1/'\n}\n\nconst tlNetwork = new TLNetwork(tlNetworkConfig)\n```\n\n## Example\n\nThis library is a promise-based library. So every asynchronous call will return a native Javascript promise. If an error occurs the library will throw it. The caller has to handle it appropriately.\n\n```javascript\ntry {\n  const networks = await tlNetwork.currencyNetwokr.getAll()\n} catch (error) {\n  console.log('Caught error:', error)\n}\n```\n\n## Running injected web3 example\n\nTo run the example make sure to have [MetaMask](https://metamask.io/) installed and connected to a JSON RPC.\n\n```bash\nyarn serve\n```\n\nThis serves the injected web3 example app on `http://127.0.0.1:8080`. You can find the app under `./examples/injected-web3`.\n","readmeFilename":"README.md","gitHead":"769b9955d7a3b01ad269535bc8ee4c376f98df29","_id":"trustlines-clientlib@0.10.1-0-dev.20200103T142216Z.769b995","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"trustlines-deploy","email":"bernd@brainbot.com"},"dist":{"integrity":"sha512-5j97Js+/4YaRuD5idkWVxe/BiQuLSTQBHQztDEKwjhEzYdTRQsQfdUhP6PRR2xVwOPvxlJzbi1TPn1BlaIyecg==","shasum":"62df1ebae44f59fca56c960a423bd008e8fdbbb9","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.10.1-0-dev.20200103T142216Z.769b995.tgz","fileCount":68,"unpackedSize":412662,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeD1A2CRA9TVsSAnZWagAAgI8P/3MmbHRwo+KAdiBfUmfC\nossPzCkD50zmWbLd+d8Y/3ZvndINqSf8/A3WtVPm3IwEmG7EIRcDT6Oe84GH\nIm+IXRt6bPxkKBzHVmIo39Gg0VEi9qGK3MnNcI3njAPdb721yYq2bSi5lzFx\ndhjaqN9ftJThwx1z1tdH7uCemwb1Isxsj4dElIZt5ayqpnU1Ziq6eGqn3RXx\nnvrzPMCQ5SJRU/u+fZXYVoxD88qTPWGyWglKtK4Ue/YhpseuxlC16PcwZ+5z\nfOQcLr+0m5PycL/2rWNpcP1QHsWsH2WT4mnarHfDs7iA50/Er6j5yAfD0n4Y\nigm1TbI0nl/ifXYTRtHLTPY3O+3IZ7LqsmssoTFu3SKGjKL0jfEAK48MVfC1\nwFdbO61YwJ1IQ18lZM2IHp1b5QQfurWEIhCT/FZOt8KqSTeoAA/Hj9hrAWZ8\nVeEIIemIn8x+4pCC+N6w+WamHB2C8ANEcjf62mjXGbcwif9EujMN7/BYLc3X\nVdPKTNJYyn1Jvotrsz4e8buBGvNOh5OJdhRoZr8VxGDjf1yatwH8wL5gxa0c\nTmsuc4xJJl/RCWz2xQ6CeV/pfevVXh/0Hy+vUbk9/3oai4JSkM4p+nfQjoSQ\nJwHE8bm7iVgs+WNmttqx/D2HFyNxHP+ila3x4eqKZ2UEOG1h2jaZKlRvMpC5\nUHfG\r\n=b1Od\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCRQcTOw+HQbOm7VZNSVJU8NMXxZQPzgDRKrOFcolamZwIgMjAQJ/ktMiZYKnzG0rj6jf5eQAXWA1YNOxDB8roD1eU="}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"},{"email":"bernd@brainbot.com","name":"trustlines-deploy"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.10.1-0-dev.20200103T142216Z.769b995_1578061878455_0.4996205308440991"},"_hasShrinkwrap":false},"0.10.1-0-dev.20200106T163702Z.19679d8":{"name":"trustlines-clientlib","version":"0.10.1-0-dev.20200106T163702Z.19679d8","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"typedoc --options tdconfig.json","lint":"tslint -c tslint.json './src/**/**.ts' './tests/**/**.ts'","prettier":"prettier --write './{src,tests}/**/*.ts'","prettier:check":"prettier --check './{src,tests}/**/*.ts'","prettier:big-tabs":"prettier --write --print-width 120 --no-semi --single-quote --tab-width 4  './{src,tests}/**/*.ts'","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","coverage":"nyc report --reporter=text-lcov > coverage.lcov && codecov","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump":"./bump.sh","serve":"webpack && cp -r ./_bundles ./examples/injected-web3 && http-server ./examples/injected-web3"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{ts,js,json,css,md}":["prettier --write","git add"],"*.ts":["tslint -c tslint.json --fix","git add"]},"nyc":{"extension":[".ts"],"include":["src"],"reporter":["text"],"all":true},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.5.2","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","codecov":"^3.5.0","es6-promise":"^4.1.1","fetch-mock":"^7.2.5","fluid-publish":"^2.2.0","http-server":"^0.11.1","husky":"^2.4.0","isomorphic-fetch":"^2.2.1","lint-staged":"^8.2.0","mocha":"^5.2.0","nyc":"^14.1.0","prettier":"^1.15.2","ts-node":"^7.0.0","tslint":"^5.17.0","tslint-config-prettier":"^1.18.0","typedoc":"^0.14.2","types-ethereumjs-util":"0.0.8","typescript":"^2.9.2","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"bignumber.js":"7.2.1","ethereumjs-util":"^5.2.0","ethers":"^4.0.23","reconnecting-websocket":"^4.1.10","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","trustlines-contracts-abi":"dev","ws":"^6.2.1"},"readme":"# trustlines-network clientlib\n\n[![npm](https://img.shields.io/npm/v/trustlines-clientlib.svg)](https://www.npmjs.com/package/trustlines-clientlib)\n[![CircleCI branch](https://img.shields.io/circleci/project/github/trustlines-protocol/clientlib/master.svg)](https://circleci.com/gh/trustlines-protocol/clientlib)\n[![Codecov branch](https://img.shields.io/codecov/c/github/trustlines-protocol/clientlib/master.svg)](https://codecov.io/gh/trustlines-protocol/clientlib)\n\nA TypeScript/Javascript library for interacting with the [trustlines-network protocol](https://trustlines.network/).\n\n## Read the [Documentation](https://docs.trustlines.network/)\n\n## Installation\n\nInstall the library using `npm` or `yarn`\n\n```bash\n$ npm install trustlines-clientlib\n// OR\n$ yarn add trustlines-clientlib\n```\n\n#### Import ES6 module\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n```\n\nUse the following configuration to connect to the currently deployed test setup.\n\n**NOTE: The [trustlines-network contracts](https://github.com/trustlines-network/contracts) are deployed on the Laika Testnet ([Laika Blockexplorer](https://explore.laika.trustlines.foundation/)), the test network of Trustlines. Some Laika test `TLC` is therefore required to interact with the contracts in this setup.**\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n\nconst tlNetworkConfig = {\n  protocol: 'https',\n  host: 'relay0.testnet.trustlines.network',\n  path: 'api/v1/'\n}\n\nconst tlNetwork = new TLNetwork(tlNetworkConfig)\n```\n\n## Example\n\nThis library is a promise-based library. So every asynchronous call will return a native Javascript promise. If an error occurs the library will throw it. The caller has to handle it appropriately.\n\n```javascript\ntry {\n  const networks = await tlNetwork.currencyNetwokr.getAll()\n} catch (error) {\n  console.log('Caught error:', error)\n}\n```\n\n## Running injected web3 example\n\nTo run the example make sure to have [MetaMask](https://metamask.io/) installed and connected to a JSON RPC.\n\n```bash\nyarn serve\n```\n\nThis serves the injected web3 example app on `http://127.0.0.1:8080`. You can find the app under `./examples/injected-web3`.\n","readmeFilename":"README.md","gitHead":"19679d82eb4367778bb2f12699005b0f00b4e16d","_id":"trustlines-clientlib@0.10.1-0-dev.20200106T163702Z.19679d8","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"trustlines-deploy","email":"bernd@brainbot.com"},"dist":{"integrity":"sha512-SqClIaquCpbM5viRMNKc0xbn51aG3wwD1jT8v6fgex0V1RTdDrKBb7F+We6YdnQY8vNxvubeQS/4U/gv09ywPA==","shasum":"3aa47fb4cf917f72862d95fb2da3000bb2a240cd","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.10.1-0-dev.20200106T163702Z.19679d8.tgz","fileCount":68,"unpackedSize":412662,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeFDipCRA9TVsSAnZWagAAD0cP/ArEr8wizj7Jn53shrWb\nnBD+wTlxPLeW+24+v0/W8mYi3i3PXLH0ZfRwDMMzO6D7L19SRAw/JVQiCd9P\n0/JHpU/SKPCArp/pkrnPGT3x/7IYbYaldlFSDLoj86fW3rmePHA8pcoLs/F0\nsCmpGnlnJ4W1Y2/FfrtAYurh2VNWScznQuCYvdfI0QgD2gMx2YodRP/Tklmw\nPBRvNBHAeU72WeS4duQSR2aT/kVdQMAUfzSAiNxhTCp6it85QwNitEDQsvOT\nFuPl5oX/gNgRrQoevfisiUiH7MvhPhwOw3VPV1oZsbTtdnXxsddYaMIOUjvt\nKdAhSjIxQY+28yAcx6H42Vngvkuu1xJGQzivyifiaYTPxyF1iClGgkENC4t1\nNBfzodblcdXaj+GVRuJhBRjJRATaiL3CCyO5S+YBot4cFEn0/Ht+bW/JvmMO\nWEm+WPCJ5ce3M4eO7zNEG4ujjS2nOyTEIVV11BLR/ucQjrsPXPwFf8oi1KBS\nwDq4Osodi3fvlU4dUW2hll7kE85wGySlsGlJYd70V5rdUQEPHbAH14jXwcl4\nJJHgPVOGedb6R/KEMinmWkjvd4/QLs2O2Un4YKpZ0g4z7LM94HRhveLQoMsQ\n8O7ILrY8neNscdU4XXsWY3kZPaTw5JTf++dkb66RUyYyiLdPgn586s13/Fu5\n0RVU\r\n=r01E\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDsM8wEuEZWbcx9MtGwINM2pf75zIrfLnmHKgOavcIb8AIgQoMU+af/C7OaKdNTGNPlPjW0BFb2F7dqIHa5SM1c4xM="}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"},{"email":"bernd@brainbot.com","name":"trustlines-deploy"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.10.1-0-dev.20200106T163702Z.19679d8_1578383528423_0.48450750981669466"},"_hasShrinkwrap":false},"0.10.1-0-dev.20200107T095028Z.d2e7308":{"name":"trustlines-clientlib","version":"0.10.1-0-dev.20200107T095028Z.d2e7308","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"typedoc --options tdconfig.json","lint":"tslint -c tslint.json './src/**/**.ts' './tests/**/**.ts'","prettier":"prettier --write './{src,tests}/**/*.ts'","prettier:check":"prettier --check './{src,tests}/**/*.ts'","prettier:big-tabs":"prettier --write --print-width 120 --no-semi --single-quote --tab-width 4  './{src,tests}/**/*.ts'","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","coverage":"nyc report --reporter=text-lcov > coverage.lcov && codecov","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump":"./bump.sh","serve":"webpack && cp -r ./_bundles ./examples/injected-web3 && http-server ./examples/injected-web3"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{ts,js,json,css,md}":["prettier --write","git add"],"*.ts":["tslint -c tslint.json --fix","git add"]},"nyc":{"extension":[".ts"],"include":["src"],"reporter":["text"],"all":true},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.5.2","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","codecov":"^3.5.0","es6-promise":"^4.1.1","fetch-mock":"^7.2.5","fluid-publish":"^2.2.0","http-server":"^0.11.1","husky":"^2.4.0","isomorphic-fetch":"^2.2.1","lint-staged":"^8.2.0","mocha":"^5.2.0","nyc":"^14.1.0","prettier":"^1.15.2","ts-node":"^7.0.0","tslint":"^5.17.0","tslint-config-prettier":"^1.18.0","typedoc":"^0.14.2","types-ethereumjs-util":"0.0.8","typescript":"^2.9.2","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"bignumber.js":"7.2.1","ethereumjs-util":"^5.2.0","ethers":"^4.0.23","reconnecting-websocket":"^4.1.10","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","trustlines-contracts-abi":"dev","ws":"^6.2.1"},"readme":"# trustlines-network clientlib\n\n[![npm](https://img.shields.io/npm/v/trustlines-clientlib.svg)](https://www.npmjs.com/package/trustlines-clientlib)\n[![CircleCI branch](https://img.shields.io/circleci/project/github/trustlines-protocol/clientlib/master.svg)](https://circleci.com/gh/trustlines-protocol/clientlib)\n[![Codecov branch](https://img.shields.io/codecov/c/github/trustlines-protocol/clientlib/master.svg)](https://codecov.io/gh/trustlines-protocol/clientlib)\n\nA TypeScript/Javascript library for interacting with the [trustlines-network protocol](https://trustlines.network/).\n\n## Read the [Documentation](https://docs.trustlines.network/)\n\n## Installation\n\nInstall the library using `npm` or `yarn`\n\n```bash\n$ npm install trustlines-clientlib\n// OR\n$ yarn add trustlines-clientlib\n```\n\n#### Import ES6 module\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n```\n\nUse the following configuration to connect to the currently deployed test setup.\n\n**NOTE: The [trustlines-network contracts](https://github.com/trustlines-network/contracts) are deployed on the Laika Testnet ([Laika Blockexplorer](https://explore.laika.trustlines.foundation/)), the test network of Trustlines. Some Laika test `TLC` is therefore required to interact with the contracts in this setup.**\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n\nconst tlNetworkConfig = {\n  protocol: 'https',\n  host: 'relay0.testnet.trustlines.network',\n  path: 'api/v1/'\n}\n\nconst tlNetwork = new TLNetwork(tlNetworkConfig)\n```\n\n## Example\n\nThis library is a promise-based library. So every asynchronous call will return a native Javascript promise. If an error occurs the library will throw it. The caller has to handle it appropriately.\n\n```javascript\ntry {\n  const networks = await tlNetwork.currencyNetwokr.getAll()\n} catch (error) {\n  console.log('Caught error:', error)\n}\n```\n\n## Running injected web3 example\n\nTo run the example make sure to have [MetaMask](https://metamask.io/) installed and connected to a JSON RPC.\n\n```bash\nyarn serve\n```\n\nThis serves the injected web3 example app on `http://127.0.0.1:8080`. You can find the app under `./examples/injected-web3`.\n","readmeFilename":"README.md","gitHead":"d2e7308a840cb0822ff60c4395677853b0b52391","_id":"trustlines-clientlib@0.10.1-0-dev.20200107T095028Z.d2e7308","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"trustlines-deploy","email":"bernd@brainbot.com"},"dist":{"integrity":"sha512-0s8al/YCETbFtGOF/pbp6XJEpY+X6v/mstyBVnHv7XgVZEzJHYNuZ6Quiw/f22S5s1uTVvfPJfSQteDzeqeEvA==","shasum":"8f4818bdf92c0273155c831d792d3565fd98cf3e","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.10.1-0-dev.20200107T095028Z.d2e7308.tgz","fileCount":69,"unpackedSize":412724,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeFFlyCRA9TVsSAnZWagAAJtAP+QHA3g6Ba4jJsk7rQNqU\n8ZdjjhQgQL+L8tjTT0KtuIc6Zh03xzaHEPNJnQg93w6ohxGJIScbZJdVl0p8\nVUdcIo6lusmPf0/4mxxwsoLUGqYc/Tgf9FVpChUQliPGbiAU1yo0VMx+ep43\nJgPLqqJoHGQrEeNR6wUGty2bqyH71XKqq3uFevE3NoO7XY5WqG+vQK/QXCeZ\nKc4+/kBayTqLHXtoZA80w+7lMuvZLmiFJKUNRj7mkzbLXwM+1CSyP3RvVPTJ\nw1whzpaULLriXJvDKumqElTkoqoM8Exh/CCtRsUbPnX0Rfj+V1hyrYi/IRef\nLh8Q1U01s2psGd1Z1Fmau3TJDyOG8+ftU4XBuAywb+oVepobLcfQ49XBNjEF\nnsq7BwzzXYepakgIpoeZNuCcHQ9FkDCHMQzULG67uYa91oHvdWIvpRDyzUXm\nrF1lRz4YWrBx6UPabgdeSBPkr8ZvEBWWa2jZEc7dxS75rdGaLUpbyHU9+atz\n6v3Ehq7FGlp2f5z/ENVLpCLBA1vcJGP2dRnffIblX4TMBTHoJuX0xDsBadsr\nFMx60zk5gAPD+VkO7LgjsZ3cEEkQnvJSqUYX+0Q9hCiMDJ2VlW6dwqBBrFb7\nKNu9oP2gfDrAxheWP6UppTwAALOcLB0RfVByd3bvGloYKo3uKPzomgnXWaKm\nzFt0\r\n=sEcQ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDTRtZksOE+pcEMs+D/xdntpkeSyawypvY8LSHplEE9MwIgdrNZIheovVePp3JwW7juaGJRf5Ui1IkRKSqnjWVwX1Y="}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"},{"email":"bernd@brainbot.com","name":"trustlines-deploy"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.10.1-0-dev.20200107T095028Z.d2e7308_1578391922095_0.8273802680522713"},"_hasShrinkwrap":false},"0.10.1-0-dev.20200110T105615Z.46d8a80":{"name":"trustlines-clientlib","version":"0.10.1-0-dev.20200110T105615Z.46d8a80","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"typedoc --options tdconfig.json","lint":"tslint -c tslint.json './src/**/**.ts' './tests/**/**.ts'","prettier":"prettier --write './{src,tests}/**/*.ts'","prettier:check":"prettier --check './{src,tests}/**/*.ts'","prettier:big-tabs":"prettier --write --print-width 120 --no-semi --single-quote --tab-width 4  './{src,tests}/**/*.ts'","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","coverage":"nyc report --reporter=text-lcov > coverage.lcov && codecov","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump":"./bump.sh","serve":"webpack && cp -r ./_bundles ./examples/injected-web3 && http-server ./examples/injected-web3"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{ts,js,json,css,md}":["prettier --write","git add"],"*.ts":["tslint -c tslint.json --fix","git add"]},"nyc":{"extension":[".ts"],"include":["src"],"reporter":["text"],"all":true},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.5.2","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","codecov":"^3.5.0","es6-promise":"^4.1.1","fetch-mock":"^7.2.5","fluid-publish":"^2.2.0","http-server":"^0.11.1","husky":"^2.4.0","isomorphic-fetch":"^2.2.1","lint-staged":"^8.2.0","mocha":"^5.2.0","nyc":"^14.1.0","prettier":"^1.15.2","ts-node":"^7.0.0","tslint":"^5.17.0","tslint-config-prettier":"^1.18.0","typedoc":"^0.14.2","types-ethereumjs-util":"0.0.8","typescript":"^2.9.2","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"bignumber.js":"7.2.1","ethereumjs-util":"^5.2.0","ethers":"^4.0.23","reconnecting-websocket":"^4.1.10","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","trustlines-contracts-abi":"dev","ws":"^6.2.1"},"readme":"# trustlines-network clientlib\n\n[![npm](https://img.shields.io/npm/v/trustlines-clientlib.svg)](https://www.npmjs.com/package/trustlines-clientlib)\n[![CircleCI branch](https://img.shields.io/circleci/project/github/trustlines-protocol/clientlib/master.svg)](https://circleci.com/gh/trustlines-protocol/clientlib)\n[![Codecov branch](https://img.shields.io/codecov/c/github/trustlines-protocol/clientlib/master.svg)](https://codecov.io/gh/trustlines-protocol/clientlib)\n\nA TypeScript/Javascript library for interacting with the [trustlines-network protocol](https://trustlines.network/).\n\n## Read the [Documentation](https://docs.trustlines.network/)\n\n## Installation\n\nInstall the library using `npm` or `yarn`\n\n```bash\n$ npm install trustlines-clientlib\n// OR\n$ yarn add trustlines-clientlib\n```\n\n#### Import ES6 module\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n```\n\nUse the following configuration to connect to the currently deployed test setup.\n\n**NOTE: The [trustlines-network contracts](https://github.com/trustlines-network/contracts) are deployed on the Laika Testnet ([Laika Blockexplorer](https://explore.laika.trustlines.foundation/)), the test network of Trustlines. Some Laika test `TLC` is therefore required to interact with the contracts in this setup.**\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n\nconst tlNetworkConfig = {\n  protocol: 'https',\n  host: 'relay0.testnet.trustlines.network',\n  path: 'api/v1/'\n}\n\nconst tlNetwork = new TLNetwork(tlNetworkConfig)\n```\n\n## Example\n\nThis library is a promise-based library. So every asynchronous call will return a native Javascript promise. If an error occurs the library will throw it. The caller has to handle it appropriately.\n\n```javascript\ntry {\n  const networks = await tlNetwork.currencyNetwokr.getAll()\n} catch (error) {\n  console.log('Caught error:', error)\n}\n```\n\n## Running injected web3 example\n\nTo run the example make sure to have [MetaMask](https://metamask.io/) installed and connected to a JSON RPC.\n\n```bash\nyarn serve\n```\n\nThis serves the injected web3 example app on `http://127.0.0.1:8080`. You can find the app under `./examples/injected-web3`.\n","readmeFilename":"README.md","gitHead":"46d8a807590f1c2d8be4e8c567aa0564c3c9de23","_id":"trustlines-clientlib@0.10.1-0-dev.20200110T105615Z.46d8a80","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"trustlines-deploy","email":"bernd@brainbot.com"},"dist":{"integrity":"sha512-HqzHbF7aMWY1aUZZE+RP1E31j8v9M5eG+WV5fQnO4d0rf0XUr+8lZIDlL91aB2MoZmjBxAQxlDzsZjAAIV8weQ==","shasum":"ed68a534f45739f79c74cd34e0d1a554e0cf3a8b","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.10.1-0-dev.20200110T105615Z.46d8a80.tgz","fileCount":69,"unpackedSize":417788,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeGFqCCRA9TVsSAnZWagAADycP/2nupAdKJnBOIYOcERFy\nUMePptawBCwbiWmGaTnDt/c5rsx3dujR/Zeb8Vw2giGMa9Lnx7k4/unwDfbK\nZoVl4XXYKRPO6P1Krcb/idLdgOv8+m58TUQu223R9P/pi7x2pBPSc6kq2HCJ\njwmt8MzzCJqaRsGGj+cs5C9dxILOXWxQUC5u70ynx6gzW/od1pVaXNsKyUfN\ncqV2jlTzfeJGDiDL8dRauJuc6B9R+omGkQsVB5TM19BxFAmaMOGTD4xzAxYC\ncFqaGKFPdqEy81IDCXmMuwyAT0EdOmOeVi65kwQM8bytv+SqSbrpr1i9bgIp\n0PEmXlNaclRWYEL7+JBzI6E4Q5yfDbod1asTNL1/urgtu5Y6vydpK7ZwUTv9\nJGhMBmWbF17OX/E3dCmm2ClX/xQh+Zc4q6Xe/5NzF5BBetvyBXVNwvCOraHU\nDKFhYh2lj4CWcPUkP5Q+LZOMCObs9j55I2/SOsUzVMATJVO0MQ24Hi0U4GxW\nqzYIKPgIj+1sQQVysKYKgrGxzKuRr/SqX+nTgLtDKZbXzFHM9CezClBmLDeS\nervifql/HLjj3PPw8CgCBhCPVDU9LRTiYKpJZCB1eag9oHQQ7/raJmE4yNLN\nzNNSHXAWvrXBO9GkFLz/70HOFZo/jI6trvVFUE+kIuIK1g+5mnJSQjGvMVms\naUn/\r\n=QxUa\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDWBQ+HgwJZBNwtPRMfUk6pv8rzYeKJjZp0NMlpC7JdeAiAxY1KAnHwqGSGKqUzXT5ZcyjrB7x3y8kPD6V2Ah9B/mA=="}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"},{"email":"bernd@brainbot.com","name":"trustlines-deploy"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.10.1-0-dev.20200110T105615Z.46d8a80_1578654337985_0.29146202722702386"},"_hasShrinkwrap":false},"0.10.1-0-dev.20200110T160740Z.4f8b9c8":{"name":"trustlines-clientlib","version":"0.10.1-0-dev.20200110T160740Z.4f8b9c8","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"typedoc --options tdconfig.json","lint":"tslint -c tslint.json './src/**/**.ts' './tests/**/**.ts'","prettier":"prettier --write './{src,tests}/**/*.ts'","prettier:check":"prettier --check './{src,tests}/**/*.ts'","prettier:big-tabs":"prettier --write --print-width 120 --no-semi --single-quote --tab-width 4  './{src,tests}/**/*.ts'","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","coverage":"nyc report --reporter=text-lcov > coverage.lcov && codecov","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump":"./bump.sh","serve":"webpack && cp -r ./_bundles ./examples/injected-web3 && http-server ./examples/injected-web3"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{ts,js,json,css,md}":["prettier --write","git add"],"*.ts":["tslint -c tslint.json --fix","git add"]},"nyc":{"extension":[".ts"],"include":["src"],"reporter":["text"],"all":true},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.5.2","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","codecov":"^3.5.0","es6-promise":"^4.1.1","fetch-mock":"^7.2.5","fluid-publish":"^2.2.0","http-server":"^0.11.1","husky":"^2.4.0","isomorphic-fetch":"^2.2.1","lint-staged":"^8.2.0","mocha":"^5.2.0","nyc":"^14.1.0","prettier":"^1.15.2","ts-node":"^7.0.0","tslint":"^5.17.0","tslint-config-prettier":"^1.18.0","typedoc":"^0.14.2","types-ethereumjs-util":"0.0.8","typescript":"^2.9.2","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"bignumber.js":"7.2.1","ethereumjs-util":"^5.2.0","ethers":"^4.0.23","reconnecting-websocket":"^4.1.10","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","trustlines-contracts-abi":"dev","ws":"^6.2.1"},"readme":"# trustlines-network clientlib\n\n[![npm](https://img.shields.io/npm/v/trustlines-clientlib.svg)](https://www.npmjs.com/package/trustlines-clientlib)\n[![CircleCI branch](https://img.shields.io/circleci/project/github/trustlines-protocol/clientlib/master.svg)](https://circleci.com/gh/trustlines-protocol/clientlib)\n[![Codecov branch](https://img.shields.io/codecov/c/github/trustlines-protocol/clientlib/master.svg)](https://codecov.io/gh/trustlines-protocol/clientlib)\n\nA TypeScript/Javascript library for interacting with the [trustlines-network protocol](https://trustlines.network/).\n\n## Read the [Documentation](https://docs.trustlines.network/)\n\n## Installation\n\nInstall the library using `npm` or `yarn`\n\n```bash\n$ npm install trustlines-clientlib\n// OR\n$ yarn add trustlines-clientlib\n```\n\n#### Import ES6 module\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n```\n\nUse the following configuration to connect to the currently deployed test setup.\n\n**NOTE: The [trustlines-network contracts](https://github.com/trustlines-network/contracts) are deployed on the Laika Testnet ([Laika Blockexplorer](https://explore.laika.trustlines.foundation/)), the test network of Trustlines. Some Laika test `TLC` is therefore required to interact with the contracts in this setup.**\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n\nconst tlNetworkConfig = {\n  protocol: 'https',\n  host: 'relay0.testnet.trustlines.network',\n  path: 'api/v1/'\n}\n\nconst tlNetwork = new TLNetwork(tlNetworkConfig)\n```\n\n## Example\n\nThis library is a promise-based library. So every asynchronous call will return a native Javascript promise. If an error occurs the library will throw it. The caller has to handle it appropriately.\n\n```javascript\ntry {\n  const networks = await tlNetwork.currencyNetwokr.getAll()\n} catch (error) {\n  console.log('Caught error:', error)\n}\n```\n\n## Running injected web3 example\n\nTo run the example make sure to have [MetaMask](https://metamask.io/) installed and connected to a JSON RPC.\n\n```bash\nyarn serve\n```\n\nThis serves the injected web3 example app on `http://127.0.0.1:8080`. You can find the app under `./examples/injected-web3`.\n","readmeFilename":"README.md","gitHead":"4f8b9c809ce1aba86d372e082f828de3e6a932fa","_id":"trustlines-clientlib@0.10.1-0-dev.20200110T160740Z.4f8b9c8","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"trustlines-deploy","email":"bernd@brainbot.com"},"dist":{"integrity":"sha512-E3ECSjtNL0bKTe6hB+3FhmuKEIIm1XJKONNdcvOeplkNW/8k8LpxojG3l/cdic3ENfdv/IKY3SbCFRFmyZJ6uA==","shasum":"3d49811cae86c48bb6c70ebcaf3274d23d456d60","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.10.1-0-dev.20200110T160740Z.4f8b9c8.tgz","fileCount":69,"unpackedSize":417588,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeGKO+CRA9TVsSAnZWagAA7wIQAJBlhKYBb0eKMQC0qywD\nsnlr8IDp4lUAU66P+ZdDEux/7BJPtIzsyYuwu8mjt37u64yvd78K0ap09ihJ\nDP7IO+CNp3N1vLt5xeKedIJY7EzmEOFe+f38JQOx59BBldfy1tzA3UjsF77M\ndrLBRO7M54bg3NBhv8Rfmcfdy47NcTNzEog/RZOye80T/90HARClI84MZhJO\ngMU/9Zxs1DUnmzds660KVAd9ozBg1PEtwOI4dZwlYdCKZkbLGCI/eFJuZVoe\npTxARDLcxheDsWhxkWZtL+u3AUha8KHg7ZRpys0icmcTA56Y13bqWl8+U6DB\nNRu7DqyfXX/vzqyqtCD1fTfAsWkPMhdTY2oQnbbO6HwyPvYLOMox7CzLDoFV\n5+f7juqHH18RRYlO9feWsBFoWuST3HMfsnc0Royz07rSdJxki5V6ng4n2TwW\nIHEH9zi6/E17AD1flxkfKYEblZiCeYZQQOJmr53Bx5XYNCLDqzOo/RqyhDBj\nvscSCKQow0f47p90F8QSL1HqzI+VIR5EHynPu1k4ubeIoeHt96WP1kTo4dBE\nBtAcdEXcpqCps0g0SlkTE7nGXJlpYMwaQFacQ2TZi3WORTK/6iKUw4CcvzDx\n29YF/rSS0C8HWUx9JW8Fgb+HyGkKKnaqUKzx1gcDMqH3AoNc1YUrqZaFNosR\nLOBM\r\n=dYIP\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCX7nHsyM23VDeO1gmKN9KaCT2QLIJvic0P3G14BbdNdAIhAPFYaiqPDSMCECh/00pn1Mj5Q3xrYZqPl6n4kwxo8Qrj"}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"},{"email":"bernd@brainbot.com","name":"trustlines-deploy"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.10.1-0-dev.20200110T160740Z.4f8b9c8_1578673085868_0.6965791255946199"},"_hasShrinkwrap":false},"0.10.1-0-dev.20200113T104855Z.0735e7e":{"name":"trustlines-clientlib","version":"0.10.1-0-dev.20200113T104855Z.0735e7e","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"typedoc --options tdconfig.json","lint":"tslint -c tslint.json './src/**/**.ts' './tests/**/**.ts'","prettier":"prettier --write './{src,tests}/**/*.ts'","prettier:check":"prettier --check './{src,tests}/**/*.ts'","prettier:big-tabs":"prettier --write --print-width 120 --no-semi --single-quote --tab-width 4  './{src,tests}/**/*.ts'","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","coverage":"nyc report --reporter=text-lcov > coverage.lcov && codecov","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump":"./bump.sh","serve":"webpack && cp -r ./_bundles ./examples/injected-web3 && http-server ./examples/injected-web3"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{ts,js,json,css,md}":["prettier --write","git add"],"*.ts":["tslint -c tslint.json --fix","git add"]},"nyc":{"extension":[".ts"],"include":["src"],"reporter":["text"],"all":true},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.5.2","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","codecov":"^3.5.0","es6-promise":"^4.1.1","fetch-mock":"^7.2.5","fluid-publish":"^2.2.0","http-server":"^0.11.1","husky":"^2.4.0","isomorphic-fetch":"^2.2.1","lint-staged":"^8.2.0","mocha":"^5.2.0","nyc":"^14.1.0","prettier":"^1.15.2","ts-node":"^7.0.0","tslint":"^5.17.0","tslint-config-prettier":"^1.18.0","typedoc":"^0.14.2","types-ethereumjs-util":"0.0.8","typescript":"^2.9.2","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"bignumber.js":"7.2.1","ethereumjs-util":"^5.2.0","ethers":"^4.0.23","reconnecting-websocket":"^4.1.10","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","trustlines-contracts-abi":"dev","ws":"^6.2.1"},"readme":"# trustlines-network clientlib\n\n[![npm](https://img.shields.io/npm/v/trustlines-clientlib.svg)](https://www.npmjs.com/package/trustlines-clientlib)\n[![CircleCI branch](https://img.shields.io/circleci/project/github/trustlines-protocol/clientlib/master.svg)](https://circleci.com/gh/trustlines-protocol/clientlib)\n[![Codecov branch](https://img.shields.io/codecov/c/github/trustlines-protocol/clientlib/master.svg)](https://codecov.io/gh/trustlines-protocol/clientlib)\n\nA TypeScript/Javascript library for interacting with the [trustlines-network protocol](https://trustlines.network/).\n\n## Read the [Documentation](https://docs.trustlines.network/)\n\n## Installation\n\nInstall the library using `npm` or `yarn`\n\n```bash\n$ npm install trustlines-clientlib\n// OR\n$ yarn add trustlines-clientlib\n```\n\n#### Import ES6 module\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n```\n\nUse the following configuration to connect to the currently deployed test setup.\n\n**NOTE: The [trustlines-network contracts](https://github.com/trustlines-network/contracts) are deployed on the Laika Testnet ([Laika Blockexplorer](https://explore.laika.trustlines.foundation/)), the test network of Trustlines. Some Laika test `TLC` is therefore required to interact with the contracts in this setup.**\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n\nconst tlNetworkConfig = {\n  protocol: 'https',\n  host: 'relay0.testnet.trustlines.network',\n  path: 'api/v1/'\n}\n\nconst tlNetwork = new TLNetwork(tlNetworkConfig)\n```\n\n## Example\n\nThis library is a promise-based library. So every asynchronous call will return a native Javascript promise. If an error occurs the library will throw it. The caller has to handle it appropriately.\n\n```javascript\ntry {\n  const networks = await tlNetwork.currencyNetwokr.getAll()\n} catch (error) {\n  console.log('Caught error:', error)\n}\n```\n\n## Running injected web3 example\n\nTo run the example make sure to have [MetaMask](https://metamask.io/) installed and connected to a JSON RPC.\n\n```bash\nyarn serve\n```\n\nThis serves the injected web3 example app on `http://127.0.0.1:8080`. You can find the app under `./examples/injected-web3`.\n","readmeFilename":"README.md","gitHead":"0735e7e9907c66d0d3c5b46a8c7319f601b9e747","_id":"trustlines-clientlib@0.10.1-0-dev.20200113T104855Z.0735e7e","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"trustlines-deploy","email":"bernd@brainbot.com"},"dist":{"integrity":"sha512-7B44JAkkgbDK+u8MIOqCEGh+th6xn+SAb5u1Rr5ulCROA6iHDVdHaITfmaHTVOKIxC2Wp+EdLcpA0nssQhQ0aA==","shasum":"b805a24fe9e582aef8b8ab5945baf5d995e70589","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.10.1-0-dev.20200113T104855Z.0735e7e.tgz","fileCount":69,"unpackedSize":418619,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeHFK6CRA9TVsSAnZWagAAn4QQAIxiaP5t2fs6eswrMB/j\n6350U4+F3NTLtTGV0V67z7TBP40pbDi7EhUyOVbqhlGLyOYRaoqlowbxvCgl\n9ffg2dvqLp7hmTy1hUKvPoSjBmxTfzwlvGBl+pX8sZA1+VgnyAbOme2PFT7O\n4QxUpUy6JY+pHHWofp8ooKIrqsYa8qBS5ZFF1TzgStccnZ+6i9jRhy3iOQzc\niF7jq7rNbnJNIUlit9fmJ0YNmLGzljv2rSlpQ8MCSMu8sWhiDZm8v6wGtkQr\n8P1syGjq8JLa2QhXoWgGNKJhy3FuBJuM8vvTu+WW4/lCE03IkgEOVhGshhlJ\nLQwwyvU10KwhsTfhfWs6GiushOtZWaadXn3SIKNQ+6wxekCHSxUYok7dIezf\nTxUzFZgcF8ybI4bCBJjblh35AJ+1Z9AIQhcOxxfEGKM/+LpJFJPN3oDyvPlh\nH+CoZLtNA27Y7a4qkAe6D2rx4pTzZCl7WPP/h4AyW88R8pjhP9d78N7EF55z\n2X5wTeuuTTW6D9s8yKTVtaCVm9IukWyZnetnMBbU0/0YT34PuJrxVo0YiBFL\ngvO7LdwMbmMVWGfkHXVHSCjCdD3a1rA8O3QNSaEz6DCx/znxLTIqNB2xD/7W\nSyniCBymui4Q1DVk8rQsCJHVIzc6KMdoABOLYVorsJtXhHMNnvYtU8oSZuiG\nylgL\r\n=ZUzH\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDopl2rrJDxk2FW4Qyi+dR2GGIZ2f8eH8AvY0k8FOWTWQIhAMwjq9FEKNK9++kz4sf8KZfMeE0NQBJRv9k3POtAHd/Z"}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"},{"email":"bernd@brainbot.com","name":"trustlines-deploy"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.10.1-0-dev.20200113T104855Z.0735e7e_1578914489671_0.6508959401061589"},"_hasShrinkwrap":false},"0.10.1-0-dev.20200113T112057Z.138f447":{"name":"trustlines-clientlib","version":"0.10.1-0-dev.20200113T112057Z.138f447","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"typedoc --options tdconfig.json","lint":"tslint -c tslint.json './src/**/**.ts' './tests/**/**.ts'","prettier":"prettier --write './{src,tests}/**/*.ts'","prettier:check":"prettier --check './{src,tests}/**/*.ts'","prettier:big-tabs":"prettier --write --print-width 120 --no-semi --single-quote --tab-width 4  './{src,tests}/**/*.ts'","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","coverage":"nyc report --reporter=text-lcov > coverage.lcov && codecov","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump":"./bump.sh","serve":"webpack && cp -r ./_bundles ./examples/injected-web3 && http-server ./examples/injected-web3"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{ts,js,json,css,md}":["prettier --write","git add"],"*.ts":["tslint -c tslint.json --fix","git add"]},"nyc":{"extension":[".ts"],"include":["src"],"reporter":["text"],"all":true},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.5.2","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","codecov":"^3.5.0","es6-promise":"^4.1.1","fetch-mock":"^7.2.5","fluid-publish":"^2.2.0","http-server":"^0.11.1","husky":"^2.4.0","isomorphic-fetch":"^2.2.1","lint-staged":"^8.2.0","mocha":"^5.2.0","nyc":"^14.1.0","prettier":"^1.15.2","ts-node":"^7.0.0","tslint":"^5.17.0","tslint-config-prettier":"^1.18.0","typedoc":"^0.14.2","types-ethereumjs-util":"0.0.8","typescript":"^2.9.2","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"bignumber.js":"7.2.1","ethereumjs-util":"^5.2.0","ethers":"^4.0.23","reconnecting-websocket":"^4.1.10","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","trustlines-contracts-abi":"dev","ws":"^6.2.1"},"readme":"# trustlines-network clientlib\n\n[![npm](https://img.shields.io/npm/v/trustlines-clientlib.svg)](https://www.npmjs.com/package/trustlines-clientlib)\n[![CircleCI branch](https://img.shields.io/circleci/project/github/trustlines-protocol/clientlib/master.svg)](https://circleci.com/gh/trustlines-protocol/clientlib)\n[![Codecov branch](https://img.shields.io/codecov/c/github/trustlines-protocol/clientlib/master.svg)](https://codecov.io/gh/trustlines-protocol/clientlib)\n\nA TypeScript/Javascript library for interacting with the [trustlines-network protocol](https://trustlines.network/).\n\n## Read the [Documentation](https://docs.trustlines.network/)\n\n## Installation\n\nInstall the library using `npm` or `yarn`\n\n```bash\n$ npm install trustlines-clientlib\n// OR\n$ yarn add trustlines-clientlib\n```\n\n#### Import ES6 module\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n```\n\nUse the following configuration to connect to the currently deployed test setup.\n\n**NOTE: The [trustlines-network contracts](https://github.com/trustlines-network/contracts) are deployed on the Laika Testnet ([Laika Blockexplorer](https://explore.laika.trustlines.foundation/)), the test network of Trustlines. Some Laika test `TLC` is therefore required to interact with the contracts in this setup.**\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n\nconst tlNetworkConfig = {\n  protocol: 'https',\n  host: 'relay0.testnet.trustlines.network',\n  path: 'api/v1/'\n}\n\nconst tlNetwork = new TLNetwork(tlNetworkConfig)\n```\n\n## Example\n\nThis library is a promise-based library. So every asynchronous call will return a native Javascript promise. If an error occurs the library will throw it. The caller has to handle it appropriately.\n\n```javascript\ntry {\n  const networks = await tlNetwork.currencyNetwokr.getAll()\n} catch (error) {\n  console.log('Caught error:', error)\n}\n```\n\n## Running injected web3 example\n\nTo run the example make sure to have [MetaMask](https://metamask.io/) installed and connected to a JSON RPC.\n\n```bash\nyarn serve\n```\n\nThis serves the injected web3 example app on `http://127.0.0.1:8080`. You can find the app under `./examples/injected-web3`.\n","readmeFilename":"README.md","gitHead":"138f447110d7a13ccfa65cb9b11d5bda7a6bde58","_id":"trustlines-clientlib@0.10.1-0-dev.20200113T112057Z.138f447","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"trustlines-deploy","email":"bernd@brainbot.com"},"dist":{"integrity":"sha512-T6Xy8K2EpLSKkNnftlZPdxf2RfK/D5k+jFRoPn/4cPahyKn/J5Pcm3EzBU0bgvOeqYhU4YdPSWDAzELxVHDnhA==","shasum":"c3a7ffaf40a4e04801a9e186cbc76171a762586d","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.10.1-0-dev.20200113T112057Z.138f447.tgz","fileCount":69,"unpackedSize":418473,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeHFT3CRA9TVsSAnZWagAA/KAP/0ekc3GAnU0H+SZQMj7K\nxrdOwOjrUrLvGTNddsVQwZNudR/KFRMaNHvKBDm1jFOWa0GO2uMRYgGRzvmg\nn6XNe+4j8Civa1eJ2YBG5au1pasbiOHfF0zFDJMQFzaAu1Dd4kY8ur/qMgfv\nSLVI9JNs39VBW22jYGrY5d/6lEcY8X4LBq4TOhDatKYCisZJztF+U79tklyh\nQIppuFlumF4GCkAKlJW/qk+T5zWfbi7a6KNkYEzzrYFadZDULUSRkd8uSyJg\ng2nXlppTWPbyJ72UxwYWV77TfaIZV/VCzTU7UAJ+U+JRGF5oVTU9WEO7txKe\nJbr3N7EhppahlohBpMQUumJqc8BGSOCr2ooSLetNuIUQLPb+N0uPBUW/ITmn\nbKCPofOKCdL2IMj6qNpmQ6LAUl3sncwhtTFPLVOtvxVfv8VqeeI8KulDONoK\nHXsNgaCMS2pe3z9E5Uqn9DPbS6X9VxuWNUaGclT9qa3DEBhnZEm0Sa8l9mRL\nJB0IaMkVnjHKJYIbAiGSLISBL1W9knlCnNJr60MrWV1AOjpxh63SJAvKlkzv\npQcFwhHnLPwV040kZ0g8BkmJwywd/5bhgztW5Ihr/V25FuDIWJ3GPQbxUbot\nh10iZBUMh2zu+In575Rh51Cw2mLxjRfuZ8axO6KR/xydksHy/SzZxL+MvqPr\nYz8K\r\n=zsdE\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDZRH7eZzEAuSL3F35P7brRI62yI7x3pGznbQHEUH83TAiEAqkV9jIMclf1SNj13r02n60//2y28/VM8LLhos5QDWEQ="}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"},{"email":"bernd@brainbot.com","name":"trustlines-deploy"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.10.1-0-dev.20200113T112057Z.138f447_1578915063468_0.2283908973343125"},"_hasShrinkwrap":false},"0.10.1-0-dev.20200113T112528Z.1835bc5":{"name":"trustlines-clientlib","version":"0.10.1-0-dev.20200113T112528Z.1835bc5","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"typedoc --options tdconfig.json","lint":"tslint -c tslint.json './src/**/**.ts' './tests/**/**.ts'","prettier":"prettier --write './{src,tests}/**/*.ts'","prettier:check":"prettier --check './{src,tests}/**/*.ts'","prettier:big-tabs":"prettier --write --print-width 120 --no-semi --single-quote --tab-width 4  './{src,tests}/**/*.ts'","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","coverage":"nyc report --reporter=text-lcov > coverage.lcov && codecov","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump":"./bump.sh","serve":"webpack && cp -r ./_bundles ./examples/injected-web3 && http-server ./examples/injected-web3"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{ts,js,json,css,md}":["prettier --write","git add"],"*.ts":["tslint -c tslint.json --fix","git add"]},"nyc":{"extension":[".ts"],"include":["src"],"reporter":["text"],"all":true},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.5.2","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","codecov":"^3.5.0","es6-promise":"^4.1.1","fetch-mock":"^7.2.5","fluid-publish":"^2.2.0","http-server":"^0.11.1","husky":"^2.4.0","isomorphic-fetch":"^2.2.1","lint-staged":"^8.2.0","mocha":"^5.2.0","nyc":"^14.1.0","prettier":"^1.15.2","ts-node":"^7.0.0","tslint":"^5.17.0","tslint-config-prettier":"^1.18.0","typedoc":"^0.14.2","types-ethereumjs-util":"0.0.8","typescript":"^2.9.2","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"bignumber.js":"7.2.1","ethereumjs-util":"^5.2.0","ethers":"^4.0.23","reconnecting-websocket":"^4.1.10","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","trustlines-contracts-abi":"dev","ws":"^6.2.1"},"readme":"# trustlines-network clientlib\n\n[![npm](https://img.shields.io/npm/v/trustlines-clientlib.svg)](https://www.npmjs.com/package/trustlines-clientlib)\n[![CircleCI branch](https://img.shields.io/circleci/project/github/trustlines-protocol/clientlib/master.svg)](https://circleci.com/gh/trustlines-protocol/clientlib)\n[![Codecov branch](https://img.shields.io/codecov/c/github/trustlines-protocol/clientlib/master.svg)](https://codecov.io/gh/trustlines-protocol/clientlib)\n\nA TypeScript/Javascript library for interacting with the [trustlines-network protocol](https://trustlines.network/).\n\n## Read the [Documentation](https://docs.trustlines.network/)\n\n## Installation\n\nInstall the library using `npm` or `yarn`\n\n```bash\n$ npm install trustlines-clientlib\n// OR\n$ yarn add trustlines-clientlib\n```\n\n#### Import ES6 module\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n```\n\nUse the following configuration to connect to the currently deployed test setup.\n\n**NOTE: The [trustlines-network contracts](https://github.com/trustlines-network/contracts) are deployed on the Laika Testnet ([Laika Blockexplorer](https://explore.laika.trustlines.foundation/)), the test network of Trustlines. Some Laika test `TLC` is therefore required to interact with the contracts in this setup.**\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n\nconst tlNetworkConfig = {\n  protocol: 'https',\n  host: 'relay0.testnet.trustlines.network',\n  path: 'api/v1/'\n}\n\nconst tlNetwork = new TLNetwork(tlNetworkConfig)\n```\n\n## Example\n\nThis library is a promise-based library. So every asynchronous call will return a native Javascript promise. If an error occurs the library will throw it. The caller has to handle it appropriately.\n\n```javascript\ntry {\n  const networks = await tlNetwork.currencyNetwokr.getAll()\n} catch (error) {\n  console.log('Caught error:', error)\n}\n```\n\n## Running injected web3 example\n\nTo run the example make sure to have [MetaMask](https://metamask.io/) installed and connected to a JSON RPC.\n\n```bash\nyarn serve\n```\n\nThis serves the injected web3 example app on `http://127.0.0.1:8080`. You can find the app under `./examples/injected-web3`.\n","readmeFilename":"README.md","gitHead":"1835bc542a91434b54427626d1dc021496f59a9b","_id":"trustlines-clientlib@0.10.1-0-dev.20200113T112528Z.1835bc5","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"trustlines-deploy","email":"bernd@brainbot.com"},"dist":{"integrity":"sha512-Prw3JjH+lZS3ST1NJAwdspXhpe2d22Ki1JxUHjJniFlLQ+CNXegY5jT70c0vA9zYOA2c0GFNJrQwb6HkoFgutg==","shasum":"f9f2f32937e2459965752a080dd9ae157f62beb2","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.10.1-0-dev.20200113T112528Z.1835bc5.tgz","fileCount":69,"unpackedSize":418773,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeHFXZCRA9TVsSAnZWagAA4zEP/3aGj2ICPnW/MNnS9Tu/\nTNDJQoEiQ6CSOPSwOVzkM9izCDy0bC1NGl7k0dRhapWLiZoKfmfAF8/h+7tM\nNtaUQpAjjlJysJxqp8RrpVo2r3STppp80gWoTKV9WjjTz8NbLF9qpERnWkR+\nTbu2/HHvda2qaikaSK6LJyUC4393BcOCSoRXIRq6vQtLcV1mIay5odx11xVB\nCPyEWUlycaq0vHgs51D+rGEONajwfM+rzKe9KHb1Lm6Y7qToge3W71HDOYSm\ni/oFSkYHf8ptAKJilBsUO4Hskw3X8DgZyiReDAuVUzE0VBvC0NyLV/lhJKPx\nGnfnnZ2+Su5JMg6oU0UyXlY9LBK0bL+4ZNXhZNAQLOXT5E3RFT8RtioUA1YK\nHmCHv5saMZGxERfI29f6EsDC6fpGMplhKGMF0DWOy4FSvay6w4BylaqLR+fs\n8GSMokHQeNruJWlT7lWV+3rEhuy4eOxnCYC5yvcMAaRiwGI8kd5IXqwhbd43\n8mComMzWeofZms01M1mGAscDUEHC8NudrG+gzMoz6x6cZIDJpOPxNji4OzXc\nzrl70BEeL8e6lUmNIszwdDbif85UdAL7Xloq0JCovtrGKpEK45szBH54lTn4\nkF9Ew+7/QpLzrcfAdXPFqQbZETFoEyHgi7bRdPY2oxhy/FuFulzBk9Z04PXl\noAjC\r\n=tmih\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIF3+JAgAldRwH9U7rLAs9JRoVprUmh/01874WBest6G/AiBo4CfUlt1cKWE3UX4ydhAFmHFcbRP5Gaw31bBA8vSVdg=="}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"},{"email":"bernd@brainbot.com","name":"trustlines-deploy"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.10.1-0-dev.20200113T112528Z.1835bc5_1578915288594_0.3747179183487348"},"_hasShrinkwrap":false},"0.10.1-0":{"name":"trustlines-clientlib","version":"0.10.1-0","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"typedoc --options tdconfig.json","lint":"tslint -c tslint.json './src/**/**.ts' './tests/**/**.ts'","prettier":"prettier --write './{src,tests}/**/*.ts'","prettier:check":"prettier --check './{src,tests}/**/*.ts'","prettier:big-tabs":"prettier --write --print-width 120 --no-semi --single-quote --tab-width 4  './{src,tests}/**/*.ts'","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","coverage":"nyc report --reporter=text-lcov > coverage.lcov && codecov","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump":"./bump.sh","serve":"webpack && cp -r ./_bundles ./examples/injected-web3 && http-server ./examples/injected-web3"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{ts,js,json,css,md}":["prettier --write","git add"],"*.ts":["tslint -c tslint.json --fix","git add"]},"nyc":{"extension":[".ts"],"include":["src"],"reporter":["text"],"all":true},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.5.2","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","codecov":"^3.5.0","es6-promise":"^4.1.1","fetch-mock":"^7.2.5","fluid-publish":"^2.2.0","http-server":"^0.11.1","husky":"^2.4.0","isomorphic-fetch":"^2.2.1","lint-staged":"^8.2.0","mocha":"^5.2.0","nyc":"^14.1.0","prettier":"^1.15.2","ts-node":"^7.0.0","tslint":"^5.17.0","tslint-config-prettier":"^1.18.0","typedoc":"^0.14.2","types-ethereumjs-util":"0.0.8","typescript":"^2.9.2","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"bignumber.js":"7.2.1","ethereumjs-util":"^5.2.0","ethers":"^4.0.23","reconnecting-websocket":"^4.1.10","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","trustlines-contracts-abi":"dev","ws":"^6.2.1"},"licenseText":"MIT License\n\nCopyright (c) 2017 Trustlines Network\nCopyright (c) 2019 Trustlines Foundation\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"trustlines-clientlib@0.10.1-0","dist":{"shasum":"0d52e43184df8e512dbce6fdb8156dc9b32f7e3b","integrity":"sha512-SI2uLDXgOGoJ5UXXTQPHzO22m9wWTJbIDRPF6kGBRhe3SKkwwY3G3gqaxiY5cUr+4OC9PQtfngRtJvIAPhnkdA==","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.10.1-0.tgz","fileCount":76,"unpackedSize":418744,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeHFbrCRA9TVsSAnZWagAAdL0QAJOO1pxZ0+bgUj7iBeGF\nZvVaJ45N8LSGBfcyAgR4qIIi82ZejFSaCTvyNOGAxeFlgUEZGdwrz44bymj7\nX32yinyGme2pVO8h5fOCOKG1g5Jl1slIt0DWX+4UK29AsZEeXvtM6c7SRZCK\n2JWmKiNquOj0SVbpLuNiz8PS9HQ58T7Mbk9gla6RhHZ28jb8+NkyBpwZV7RC\nLW+t3UJXWl4fZKraPJGdL5HCk9c3XEAplU55VWSo+PiGgyq1ALV7rrrmtX1/\n4jhg7YLEFBhIhmNYRowtLX01e/IFrULNYULhCOKs5Lr8txXwzWlE3gVeL/5A\nhX4W0cBLua/htFn7o5e9S7021sWlqCMzMBCi6FcPji3iguKs5uTh+kyiUQuU\nHUEvXMUicCtzCeHW/W2Wip5zJ2MCLYJPGBPvEhfhTt3jWGhe2jXbWAD/vykU\nRWWG7XtkXUqyz4UBVJ04GVANQgY3fkv0UXt4wWdk+RVHZsmqkYsx1soZ3IY0\nks6Y7P9aXhsjS6Ky6UF9ezGxmuDZbh74NUYI5SpPuFzbqK/h5if6ysPbBKiU\nfuxjMPVIL/OKWgSngRLxUWsSp19JJSGvRDoNRlEbgBfLJg/TR44laTV1y6C1\nsE3FZGXU9Wo6DB2cSp8j6QkIuUEyO/nnUwKjhDD03HnucLkNl2p6eTdDt/30\nhVAK\r\n=oQ9/\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIA8ZKASotFplENvIr5+44ZZLntv+5QM3acTmfEcddZndAiEA0o36A39+5dBm3ddrfnKeVUWcl8+p8Cy35Tf/odnv8SY="}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"},{"email":"bernd@brainbot.com","name":"trustlines-deploy"}],"_npmUser":{"name":"trustlines-deploy","email":"bernd@brainbot.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.10.1-0_1578915562778_0.5383858204141581"},"_hasShrinkwrap":false},"0.11.0":{"name":"trustlines-clientlib","version":"0.11.0","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"typedoc --options tdconfig.json","lint":"tslint -c tslint.json './src/**/**.ts' './tests/**/**.ts'","prettier":"prettier --write './{src,tests}/**/*.ts'","prettier:check":"prettier --check './{src,tests}/**/*.ts'","prettier:big-tabs":"prettier --write --print-width 120 --no-semi --single-quote --tab-width 4  './{src,tests}/**/*.ts'","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","coverage":"nyc report --reporter=text-lcov > coverage.lcov && codecov","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump":"./bump.sh","serve":"webpack && cp -r ./_bundles ./examples/injected-web3 && http-server ./examples/injected-web3"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{ts,js,json,css,md}":["prettier --write","git add"],"*.ts":["tslint -c tslint.json --fix","git add"]},"nyc":{"extension":[".ts"],"include":["src"],"reporter":["text"],"all":true},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.5.2","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","codecov":"^3.5.0","es6-promise":"^4.1.1","fetch-mock":"^7.2.5","fluid-publish":"^2.2.0","http-server":"^0.11.1","husky":"^2.4.0","isomorphic-fetch":"^2.2.1","lint-staged":"^8.2.0","mocha":"^5.2.0","nyc":"^14.1.0","prettier":"^1.15.2","ts-node":"^7.0.0","tslint":"^5.17.0","tslint-config-prettier":"^1.18.0","typedoc":"^0.14.2","types-ethereumjs-util":"0.0.8","typescript":"^2.9.2","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"bignumber.js":"7.2.1","ethereumjs-util":"^5.2.0","ethers":"^4.0.23","reconnecting-websocket":"^4.1.10","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","trustlines-contracts-abi":"dev","ws":"^6.2.1"},"licenseText":"MIT License\n\nCopyright (c) 2017 Trustlines Network\nCopyright (c) 2019 Trustlines Foundation\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"trustlines-clientlib@0.11.0","dist":{"shasum":"ef3e3bcbd22b5120dfc16a614f697c789de9529c","integrity":"sha512-s8N3g+3ofFnqroVxVrtYJjIaIuyTFw+GflbWm2oH+1a3CYYJCLqcJUMjqpveZRTDIKC+JKRUPdJf3NDOlin5UA==","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.11.0.tgz","fileCount":76,"unpackedSize":418742,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeHFjKCRA9TVsSAnZWagAAhCAP/2g4KcMFH+8K74/8RCdB\ndZJYbKbNebo9YxUK0mNVHftERJKHjIiHUDOxa0Pg//pD5T/AjJIPOMbQLfuN\nA+zibCZJxaGVSQTyKKmJonHwbJG0pMhQ7MhVpXF1+fWXTYzTZSMhc8Ti5LBT\nd/qnvd/3WXalN0LtwpEzzOqQb5TYclRNv642k2sKXR2D27aHkST+B+a+jRJk\nYSTLLs6NsZJ1jVnisn9ataUxcdc6SdRjgroWYq6fkOyis1xrqlu2il0lHy99\ntjxydpHJx+2MlRaEVaU8ZP4YB0kqwyWcuSRHKLj90Bjyzb7SoCiCS9DmJ8mZ\ndb9ybZACI5uPARCRa034o9kvaYRPRUnQam+0AsainFm5e2j35UZpPyDwRpI9\nV1WT+a/bDnuaa8P9cLwTHElpe8TYRPRQ9sg46tmEp0voxFO2UF2toT6PY+Kq\nnCWVmi1Sm2qnx2iJhkgKBtwyTFXUez1oGJh1sKeHAAIvy/6ob/27dTwJBV1t\n70T7u1ppNG9T6oP/cm/l3V6+tGnwJA4sB0Sxp2s/cawgyMhs1mdPw6+Gig6X\nv4zKbGuT8OAaJeVBdxhGx+77nnCOXUFbHrlaguQ9cmZ/dog1QhweGW/ueHl3\n/0lTBWOadmBFU6E040JDytf1OUjiPQTiHjlRdwGmErC8rxmJ2qumoKDFIX1t\nhiPm\r\n=8a+9\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD1Z4M9aOJXe6LD7xHUQBYkqMXcL1zeIIV2ftfs8IMPQAIhAOxRh8A8r2hclVCEW8jIFooj7SK+7eAnv/kG8MKt0+EX"}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"},{"email":"bernd@brainbot.com","name":"trustlines-deploy"}],"_npmUser":{"name":"trustlines-deploy","email":"bernd@brainbot.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.11.0_1578916041301_0.7853034324237538"},"_hasShrinkwrap":false,"deprecated":"Package was moved to the @trustlines organisation. Intall latest version with npm install @trustlines/trustlines-clientlib"},"0.11.1-0-dev.20200113T114427Z.ef9c911":{"name":"trustlines-clientlib","version":"0.11.1-0-dev.20200113T114427Z.ef9c911","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"typedoc --options tdconfig.json","lint":"tslint -c tslint.json './src/**/**.ts' './tests/**/**.ts'","prettier":"prettier --write './{src,tests}/**/*.ts'","prettier:check":"prettier --check './{src,tests}/**/*.ts'","prettier:big-tabs":"prettier --write --print-width 120 --no-semi --single-quote --tab-width 4  './{src,tests}/**/*.ts'","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","coverage":"nyc report --reporter=text-lcov > coverage.lcov && codecov","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump":"./bump.sh","serve":"webpack && cp -r ./_bundles ./examples/injected-web3 && http-server ./examples/injected-web3"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{ts,js,json,css,md}":["prettier --write","git add"],"*.ts":["tslint -c tslint.json --fix","git add"]},"nyc":{"extension":[".ts"],"include":["src"],"reporter":["text"],"all":true},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.5.2","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","codecov":"^3.5.0","es6-promise":"^4.1.1","fetch-mock":"^7.2.5","fluid-publish":"^2.2.0","http-server":"^0.11.1","husky":"^2.4.0","isomorphic-fetch":"^2.2.1","lint-staged":"^8.2.0","mocha":"^5.2.0","nyc":"^14.1.0","prettier":"^1.15.2","ts-node":"^7.0.0","tslint":"^5.17.0","tslint-config-prettier":"^1.18.0","typedoc":"^0.14.2","types-ethereumjs-util":"0.0.8","typescript":"^2.9.2","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"bignumber.js":"7.2.1","ethereumjs-util":"^5.2.0","ethers":"^4.0.23","reconnecting-websocket":"^4.1.10","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","trustlines-contracts-abi":"dev","ws":"^6.2.1"},"readme":"# trustlines-network clientlib\n\n[![npm](https://img.shields.io/npm/v/trustlines-clientlib.svg)](https://www.npmjs.com/package/trustlines-clientlib)\n[![CircleCI branch](https://img.shields.io/circleci/project/github/trustlines-protocol/clientlib/master.svg)](https://circleci.com/gh/trustlines-protocol/clientlib)\n[![Codecov branch](https://img.shields.io/codecov/c/github/trustlines-protocol/clientlib/master.svg)](https://codecov.io/gh/trustlines-protocol/clientlib)\n\nA TypeScript/Javascript library for interacting with the [trustlines-network protocol](https://trustlines.network/).\n\n## Read the [Documentation](https://docs.trustlines.network/)\n\n## Installation\n\nInstall the library using `npm` or `yarn`\n\n```bash\n$ npm install trustlines-clientlib\n// OR\n$ yarn add trustlines-clientlib\n```\n\n#### Import ES6 module\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n```\n\nUse the following configuration to connect to the currently deployed test setup.\n\n**NOTE: The [trustlines-network contracts](https://github.com/trustlines-network/contracts) are deployed on the Laika Testnet ([Laika Blockexplorer](https://explore.laika.trustlines.foundation/)), the test network of Trustlines. Some Laika test `TLC` is therefore required to interact with the contracts in this setup.**\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n\nconst tlNetworkConfig = {\n  protocol: 'https',\n  host: 'relay0.testnet.trustlines.network',\n  path: 'api/v1/'\n}\n\nconst tlNetwork = new TLNetwork(tlNetworkConfig)\n```\n\n## Example\n\nThis library is a promise-based library. So every asynchronous call will return a native Javascript promise. If an error occurs the library will throw it. The caller has to handle it appropriately.\n\n```javascript\ntry {\n  const networks = await tlNetwork.currencyNetwokr.getAll()\n} catch (error) {\n  console.log('Caught error:', error)\n}\n```\n\n## Running injected web3 example\n\nTo run the example make sure to have [MetaMask](https://metamask.io/) installed and connected to a JSON RPC.\n\n```bash\nyarn serve\n```\n\nThis serves the injected web3 example app on `http://127.0.0.1:8080`. You can find the app under `./examples/injected-web3`.\n","readmeFilename":"README.md","gitHead":"ef9c911455a44e78cf8a6c44c2640b51548b5c07","_id":"trustlines-clientlib@0.11.1-0-dev.20200113T114427Z.ef9c911","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"trustlines-deploy","email":"bernd@brainbot.com"},"dist":{"integrity":"sha512-lMnNOu3tBtbADAKH3LzbWDOm7wNPSRtFxRxupR0zC3NvNydLLnyQcilvZfxky6XRbWXm8F7aJZ0SRUQdZblSqw==","shasum":"dee3a3847d67f51ddc88e5d47fd02265bd2995aa","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.11.1-0-dev.20200113T114427Z.ef9c911.tgz","fileCount":69,"unpackedSize":418773,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeHFp8CRA9TVsSAnZWagAAzX8P/2y1pph/Oxar2s5QYVc8\nhHskvNGolgJqQggnOGvUHrTiUxn/ejc6l2TH2hBcnlCDRJzgov/526cW+0z9\n0FFZath/TCNuJmceGzGf9d2bAjWh2mmjlE6ggphA8fjGxuRM12hMCtpLuWme\nGtGooLiRINsN2rdIN2Rw1uiWbrUQsrP6iIrwz6CrapDjN3Xj+gdEfPESFM8p\n8BVsk6/ddp7HaCt1uKcGjUh/NfJre8Mf8oavr52ekxSTx71pVOn58slMXX/8\nF8N9bxJom+gJ9ESc+svSSIvm92DMLZWMYHsONvUtYUionqsnfBv8R4vqG6Dq\nCTCkleWVhyAjK0xqkyWVYS+Xo3rylR3eLZdAzVmZuH2F0gYgpmzOCg9KUZL2\nZwoVoYv8xln0/i2pOmv2rqaQxMX+U5bXi8o6SgQ5pbWqJTb0PwmrgdfQpbXk\ns04O+xFC2NfQDOtcWvhjTdpdNKE+h8fxzoHPVj+GKssUptmhYR/Nyqa+n1na\n192pb5ArqnaVjQsTJQRQcAgZqcJVjnjUQFYtrXtKo2880PSqzAv4HyprF+OO\nXvj/JQ68sOoE6oJBnHfgYvyIzEZ7QFTxJ22qoKqXl8oNaq3JK6oT7v3VVqJa\n/CL6ebOjjlmoVUA+HNDOYhpAJcxEPWqjgen9MNh2w384S5gTJO3m9uBY4bCh\n1UuK\r\n=6z2h\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHHoFZ633ux5HUfRiKwVoBewyz6w3G8XK9x5RFu+EhYDAiEAyHEw/AFBhzJcFEX5QEnLVcLxRiL47pCHgDu9r2yvt6E="}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"},{"email":"bernd@brainbot.com","name":"trustlines-deploy"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.11.1-0-dev.20200113T114427Z.ef9c911_1578916476027_0.9197835376087302"},"_hasShrinkwrap":false},"0.11.1-0-dev.20200121T103743Z.b538bfc":{"name":"trustlines-clientlib","version":"0.11.1-0-dev.20200121T103743Z.b538bfc","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"typedoc --options tdconfig.json","lint":"tslint -c tslint.json './src/**/**.ts' './tests/**/**.ts'","prettier":"prettier --write './{src,tests}/**/*.ts'","prettier:check":"prettier --check './{src,tests}/**/*.ts'","prettier:big-tabs":"prettier --write --print-width 120 --no-semi --single-quote --tab-width 4  './{src,tests}/**/*.ts'","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","coverage":"nyc report --reporter=text-lcov > coverage.lcov && codecov","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump":"./bump.sh","serve":"webpack && cp -r ./_bundles ./examples/injected-web3 && http-server ./examples/injected-web3"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{ts,js,json,css,md}":["prettier --write","git add"],"*.ts":["tslint -c tslint.json --fix","git add"]},"nyc":{"extension":[".ts"],"include":["src"],"reporter":["text"],"all":true},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.5.2","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","codecov":"^3.5.0","es6-promise":"^4.1.1","fetch-mock":"^7.2.5","fluid-publish":"^2.2.0","http-server":"^0.11.1","husky":"^2.4.0","isomorphic-fetch":"^2.2.1","lint-staged":"^8.2.0","mocha":"^5.2.0","nyc":"^14.1.0","prettier":"^1.15.2","ts-node":"^7.0.0","tslint":"^5.17.0","tslint-config-prettier":"^1.18.0","typedoc":"^0.14.2","types-ethereumjs-util":"0.0.8","typescript":"^2.9.2","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"bignumber.js":"7.2.1","ethereumjs-util":"^5.2.0","ethers":"^4.0.23","reconnecting-websocket":"^4.1.10","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","trustlines-contracts-abi":"dev","ws":"^6.2.1"},"readme":"# trustlines-network clientlib\n\n[![npm](https://img.shields.io/npm/v/trustlines-clientlib.svg)](https://www.npmjs.com/package/trustlines-clientlib)\n[![CircleCI branch](https://img.shields.io/circleci/project/github/trustlines-protocol/clientlib/master.svg)](https://circleci.com/gh/trustlines-protocol/clientlib)\n[![Codecov branch](https://img.shields.io/codecov/c/github/trustlines-protocol/clientlib/master.svg)](https://codecov.io/gh/trustlines-protocol/clientlib)\n\nA TypeScript/Javascript library for interacting with the [trustlines-network protocol](https://trustlines.network/).\n\n## Read the [Documentation](https://docs.trustlines.network/)\n\n## Installation\n\nInstall the library using `npm` or `yarn`\n\n```bash\n$ npm install trustlines-clientlib\n// OR\n$ yarn add trustlines-clientlib\n```\n\n#### Import ES6 module\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n```\n\nUse the following configuration to connect to the currently deployed test setup.\n\n**NOTE: The [trustlines-network contracts](https://github.com/trustlines-network/contracts) are deployed on the Laika Testnet ([Laika Blockexplorer](https://explore.laika.trustlines.foundation/)), the test network of Trustlines. Some Laika test `TLC` is therefore required to interact with the contracts in this setup.**\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n\nconst tlNetworkConfig = {\n  protocol: 'https',\n  host: 'relay0.testnet.trustlines.network',\n  path: 'api/v1/'\n}\n\nconst tlNetwork = new TLNetwork(tlNetworkConfig)\n```\n\n## Example\n\nThis library is a promise-based library. So every asynchronous call will return a native Javascript promise. If an error occurs the library will throw it. The caller has to handle it appropriately.\n\n```javascript\ntry {\n  const networks = await tlNetwork.currencyNetwokr.getAll()\n} catch (error) {\n  console.log('Caught error:', error)\n}\n```\n\n## Running injected web3 example\n\nTo run the example make sure to have [MetaMask](https://metamask.io/) installed and connected to a JSON RPC.\n\n```bash\nyarn serve\n```\n\nThis serves the injected web3 example app on `http://127.0.0.1:8080`. You can find the app under `./examples/injected-web3`.\n","readmeFilename":"README.md","gitHead":"b538bfc25dc2bbb51256c93cf9912c954d9a8522","_id":"trustlines-clientlib@0.11.1-0-dev.20200121T103743Z.b538bfc","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"trustlines-deploy","email":"bernd@brainbot.com"},"dist":{"integrity":"sha512-zPitL3DgYl8XwU4npniFDq2jHKSBdfOcPXE3EjfjxPapj9smJtzAf7OU1wbSCdIvrUh6+NQGEzJGHDGnfYsR1Q==","shasum":"f461ad49a9724d895d53140b5c3efee525ea5296","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.11.1-0-dev.20200121T103743Z.b538bfc.tgz","fileCount":69,"unpackedSize":418773,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeJuZ1CRA9TVsSAnZWagAAc1sP/AxDSJvBz1HiRaOVS44S\nFyOzsint6ZPQDsMpCwZQVg97lqvuUAbzRSdtZqyWjjS2iywXrrsOGZMAI3Bt\nl5W/Ku/QAL7VtDaYxQWCE6x2Ddari6d5ij7bexkddoYOASPnludiMpx7QYR1\nBA2Rhmn8guIwiWQqQKaCuFVm6HaCe51+3lP/294deNh7y5Mq19UTmEgDcJcq\nwyVAfadPmQqrXQL3ktNhK96juAD+W2GrQRI4zNsik6vmGKJ/q1wp3iIXZ+jH\n+I7ZZXMnS0/+BhMofd98lPaMR5tLVYxWdrmiR8vRowv9coszleCocvzxziJj\n6QYLD5CRZyZFKCVGNIf/VR/Es+K1kQuu99v6RFbHt3S3ISj1Bm+WckQXDFfu\nanUazeHGcFsUHP+f017QzGu4qhkMTQe+HxSGVEDs/MS1SastQ5mT0S6FvUcb\nBseazMpxJQT1LGpyT3JTrVT+9rwHmNmtbxqmxzgqx/fRrWAf11J+Vk0nkahP\n8fHYPYmRO8pyRHVS21gOYuXyfIwKa0XxOQ0gH1mBtYMpnt7D6iTocbzzZSPf\nBkIdSuMiQWZxsT/dYClp41AwB4Fo1iU8dH358FwmkLY74nJdkdFkaSEHrJMt\nmPflREKfunCgGAMf1L/Wvt4ts9wG2ckqJD2sguor5N3NMc3SlZgUVyhBeXNN\n/5hm\r\n=hERp\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDajtwF06qe9HBqlPLkeH9HJIauVjFR5Cp5tN58rzngRAIgZzX050KvtLKpdHSu7ydKQRSuvSEtfJFLpQnpH5Wi7NA="}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"},{"email":"bernd@brainbot.com","name":"trustlines-deploy"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.11.1-0-dev.20200121T103743Z.b538bfc_1579607669366_0.6679488996929694"},"_hasShrinkwrap":false},"0.11.1-0-dev.20200121T131529Z.7e4b6c9":{"name":"trustlines-clientlib","version":"0.11.1-0-dev.20200121T131529Z.7e4b6c9","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"typedoc --options tdconfig.json","lint":"tslint -c tslint.json './src/**/**.ts' './tests/**/**.ts'","prettier":"prettier --write './{src,tests}/**/*.ts'","prettier:check":"prettier --check './{src,tests}/**/*.ts'","prettier:big-tabs":"prettier --write --print-width 120 --no-semi --single-quote --tab-width 4  './{src,tests}/**/*.ts'","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","coverage":"nyc report --reporter=text-lcov > coverage.lcov && codecov","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump":"./bump.sh","serve":"webpack && cp -r ./_bundles ./examples/injected-web3 && http-server ./examples/injected-web3"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{ts,js,json,css,md}":["prettier --write","git add"],"*.ts":["tslint -c tslint.json --fix","git add"]},"nyc":{"extension":[".ts"],"include":["src"],"reporter":["text"],"all":true},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.5.2","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","codecov":"^3.5.0","es6-promise":"^4.1.1","fetch-mock":"^7.2.5","fluid-publish":"^2.2.0","http-server":"^0.11.1","husky":"^2.4.0","isomorphic-fetch":"^2.2.1","lint-staged":"^8.2.0","mocha":"^5.2.0","nyc":"^14.1.0","prettier":"^1.15.2","ts-node":"^7.0.0","tslint":"^5.17.0","tslint-config-prettier":"^1.18.0","typedoc":"^0.14.2","types-ethereumjs-util":"0.0.8","typescript":"^2.9.2","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"bignumber.js":"7.2.1","ethereumjs-util":"^5.2.0","ethers":"^4.0.23","reconnecting-websocket":"^4.1.10","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","trustlines-contracts-abi":"dev","ws":"^6.2.1"},"readme":"# trustlines-network clientlib\n\n[![npm](https://img.shields.io/npm/v/trustlines-clientlib.svg)](https://www.npmjs.com/package/trustlines-clientlib)\n[![CircleCI branch](https://img.shields.io/circleci/project/github/trustlines-protocol/clientlib/master.svg)](https://circleci.com/gh/trustlines-protocol/clientlib)\n[![Codecov branch](https://img.shields.io/codecov/c/github/trustlines-protocol/clientlib/master.svg)](https://codecov.io/gh/trustlines-protocol/clientlib)\n\nA TypeScript/Javascript library for interacting with the [trustlines-network protocol](https://trustlines.network/).\n\n## Read the [Documentation](https://docs.trustlines.network/)\n\n## Installation\n\nInstall the library using `npm` or `yarn`\n\n```bash\n$ npm install trustlines-clientlib\n// OR\n$ yarn add trustlines-clientlib\n```\n\n#### Import ES6 module\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n```\n\nUse the following configuration to connect to the currently deployed test setup.\n\n**NOTE: The [trustlines-network contracts](https://github.com/trustlines-network/contracts) are deployed on the Laika Testnet ([Laika Blockexplorer](https://explore.laika.trustlines.foundation/)), the test network of Trustlines. Some Laika test `TLC` is therefore required to interact with the contracts in this setup.**\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n\nconst tlNetworkConfig = {\n  protocol: 'https',\n  host: 'relay0.testnet.trustlines.network',\n  path: 'api/v1/'\n}\n\nconst tlNetwork = new TLNetwork(tlNetworkConfig)\n```\n\n## Example\n\nThis library is a promise-based library. So every asynchronous call will return a native Javascript promise. If an error occurs the library will throw it. The caller has to handle it appropriately.\n\n```javascript\ntry {\n  const networks = await tlNetwork.currencyNetwokr.getAll()\n} catch (error) {\n  console.log('Caught error:', error)\n}\n```\n\n## Running injected web3 example\n\nTo run the example make sure to have [MetaMask](https://metamask.io/) installed and connected to a JSON RPC.\n\n```bash\nyarn serve\n```\n\nThis serves the injected web3 example app on `http://127.0.0.1:8080`. You can find the app under `./examples/injected-web3`.\n","readmeFilename":"README.md","gitHead":"7e4b6c9962c36be2753101a41a9a33285d6d53e6","_id":"trustlines-clientlib@0.11.1-0-dev.20200121T131529Z.7e4b6c9","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"trustlines-deploy","email":"bernd@brainbot.com"},"dist":{"integrity":"sha512-XX2h3khRt6PCxSGn9du52zYDVkOAE89NlqRCSRO8eOYWCj8nVrfOB5YUI3uT/uwQ6FDDofIT6j347AEzNlqfGw==","shasum":"583f98f23cf5675f8e4b7d41ad3b6dc822b0cb4c","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.11.1-0-dev.20200121T131529Z.7e4b6c9.tgz","fileCount":69,"unpackedSize":419440,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeJvvMCRA9TVsSAnZWagAACZwP/Ru7disZmXRrDpHXc1FQ\nHAR6C498TmlnH0qflQRNrpN7nVq62UILc4cHnuZxsxp4g7XckRevHQKEPppZ\nAw82oaTEG+xzGWs+Z1j9aniHxYwNnur478EHWWP8/9kBERzIEvLB6Krqk7Fh\njoIlvFA47C0C7qLrn7Fs7ZJ4Vp581Hap79mGeBEhmH35KuaQ1AAFjeTLL+7d\nipRiWzzLS0V2vQfP5zYlt7knGidpfJ8OKtNQFv5CMvurPlWjTwMjCbGQK4nY\nMyXwud/VWwk/YdKtkEeCeUNtqpkyXiV7KGEcfWtoC95nG2Aiq3SUyT8OT49t\ngZpgDyCyau1FLecZWws3DCeV7+LYYv0iDBbdMRO0DYfASCIpV+gUK9/5zaJZ\nMw+M2np4b7P4Q0Bvai0G1IBhXdlx82iiCATwua+c4FiVHb94waF0uKEuI7/W\nFSN1mtHokR2s/eELWWsmnSaL06bebzrmmlL5ReQuaED3i09TMEZCEcZYnWJY\nAvxjhuPi3nsbHi1WSl4HQ0XFwZgPyxpANL+1r0Nc3VnWZrPRQKddJvl/83pQ\nOcWvG2rYeujOAKAC/IwWJc5S48j0+ZAdUPgRRyQA+JT0i1BnkyFfuPr3gdVL\nKPmnXdHhwqHT4jB4GyCMe46wt1kORCB8IWrXG5ccUIfHyW1zqyAHXHzWJAkN\nctoj\r\n=DOBM\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAL3I6ahjv7ER6odJHd0wDYgFwilDmLfbgv/WIqC8UKJAiB4uopUnHtcM6XmuxmmgJdrx4Z+hQrGsCArJcG25PwW3w=="}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"},{"email":"bernd@brainbot.com","name":"trustlines-deploy"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.11.1-0-dev.20200121T131529Z.7e4b6c9_1579613132259_0.05758257543610812"},"_hasShrinkwrap":false},"0.11.1-0-dev.20200123T130708Z.c1dcc32":{"name":"trustlines-clientlib","version":"0.11.1-0-dev.20200123T130708Z.c1dcc32","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"typedoc --options tdconfig.json","lint":"tslint -c tslint.json './src/**/**.ts' './tests/**/**.ts'","prettier":"prettier --write './{src,tests}/**/*.ts'","prettier:check":"prettier --check './{src,tests}/**/*.ts'","prettier:big-tabs":"prettier --write --print-width 120 --no-semi --single-quote --tab-width 4  './{src,tests}/**/*.ts'","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","coverage":"nyc report --reporter=text-lcov > coverage.lcov && codecov","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump":"./bump.sh","serve":"webpack && cp -r ./_bundles ./examples/injected-web3 && http-server ./examples/injected-web3"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{ts,js,json,css,md}":["prettier --write","git add"],"*.ts":["tslint -c tslint.json --fix","git add"]},"nyc":{"extension":[".ts"],"include":["src"],"reporter":["text"],"all":true},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.5.2","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","codecov":"^3.5.0","es6-promise":"^4.1.1","fetch-mock":"^7.2.5","fluid-publish":"^2.2.0","http-server":"^0.11.1","husky":"^2.4.0","isomorphic-fetch":"^2.2.1","lint-staged":"^8.2.0","mocha":"^5.2.0","nyc":"^14.1.0","prettier":"^1.15.2","ts-node":"^7.0.0","tslint":"^5.17.0","tslint-config-prettier":"^1.18.0","typedoc":"^0.14.2","types-ethereumjs-util":"0.0.8","typescript":"^2.9.2","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"bignumber.js":"7.2.1","ethereumjs-util":"^5.2.0","ethers":"^4.0.23","reconnecting-websocket":"^4.1.10","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","trustlines-contracts-abi":"dev","ws":"^6.2.1"},"readme":"# trustlines-network clientlib\n\n[![npm](https://img.shields.io/npm/v/trustlines-clientlib.svg)](https://www.npmjs.com/package/trustlines-clientlib)\n[![CircleCI branch](https://img.shields.io/circleci/project/github/trustlines-protocol/clientlib/master.svg)](https://circleci.com/gh/trustlines-protocol/clientlib)\n[![Codecov branch](https://img.shields.io/codecov/c/github/trustlines-protocol/clientlib/master.svg)](https://codecov.io/gh/trustlines-protocol/clientlib)\n\nA TypeScript/Javascript library for interacting with the [trustlines-network protocol](https://trustlines.network/).\n\n## Read the [Documentation](https://docs.trustlines.network/)\n\n## Installation\n\nInstall the library using `npm` or `yarn`\n\n```bash\n$ npm install trustlines-clientlib\n// OR\n$ yarn add trustlines-clientlib\n```\n\n#### Import ES6 module\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n```\n\nUse the following configuration to connect to the currently deployed test setup.\n\n**NOTE: The [trustlines-network contracts](https://github.com/trustlines-network/contracts) are deployed on the Laika Testnet ([Laika Blockexplorer](https://explore.laika.trustlines.foundation/)), the test network of Trustlines. Some Laika test `TLC` is therefore required to interact with the contracts in this setup.**\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n\nconst tlNetworkConfig = {\n  protocol: 'https',\n  host: 'relay0.testnet.trustlines.network',\n  path: 'api/v1/'\n}\n\nconst tlNetwork = new TLNetwork(tlNetworkConfig)\n```\n\n## Example\n\nThis library is a promise-based library. So every asynchronous call will return a native Javascript promise. If an error occurs the library will throw it. The caller has to handle it appropriately.\n\n```javascript\ntry {\n  const networks = await tlNetwork.currencyNetwokr.getAll()\n} catch (error) {\n  console.log('Caught error:', error)\n}\n```\n\n## Running injected web3 example\n\nTo run the example make sure to have [MetaMask](https://metamask.io/) installed and connected to a JSON RPC.\n\n```bash\nyarn serve\n```\n\nThis serves the injected web3 example app on `http://127.0.0.1:8080`. You can find the app under `./examples/injected-web3`.\n","readmeFilename":"README.md","gitHead":"c1dcc32b9e6ec523bb78fcbf59664609b484850f","_id":"trustlines-clientlib@0.11.1-0-dev.20200123T130708Z.c1dcc32","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"trustlines-deploy","email":"bernd@brainbot.com"},"dist":{"integrity":"sha512-f3YpDTZT5g/yDOwU6bMr3iiB4+dnB7NjIRdk/z0gBLA4UB+M702mpkhEzulWOUC0gZJrNpGJKUQZcQHIjHtXCg==","shasum":"e6cc95c341623919ae1932519eff213984f11694","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.11.1-0-dev.20200123T130708Z.c1dcc32.tgz","fileCount":69,"unpackedSize":421433,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeKZzjCRA9TVsSAnZWagAA2L8P/3cRszCG81/Mghmyqjpu\n5QtpoyDteFyTp5ElcJUYCJWBte6zl9/D1i3E3LlKq/9L6iEl7K3ae/zZJ29g\nSYpfbNO/wvhDltW5ULhk3VNDtqiFGSaTT+H/JnIh5gT29a0CgS1GyWvWkOvN\nhZ/4OydAtmKqb2Nc6jSzlZTapsTEUJlrYjMnfAjtZ9dLj2UykMdRQurKMEtu\nZc/fhYmgCExaK5pWkdJ3c/enqeSvUvOdJTRRUVoQqmrIHfRzAf1vrM4F5eHb\nGPZp7QeaalRJjjsslDAvMeHFCrqpDEmYN4RpnrQz2cJZrqqS3ooEtLhkLssF\naCi4WM0KcQhYAVyZaevSKAnEyZbmdO93i1Vj3paWDPGm46fMd71sxF6rRoF7\np21j/p0zissMER9h3zhJREe0/FDaW0vVHcpskNq294TrwiDW9LiFqqC1uIxi\npG9GCsy+dUQSNlYUNB/1kpCPtqwolWNLH91aIpDFpdk1LjvvXEkyYQGm2a00\noTnYrHIPq6Bf4cXPKjA2lCKJgSN60cVn5CJCpWYkpdt6SJVKpFrNSIzL7lMK\n6Tn+dD28B9sYrftP4qsFjJLTzndPLyY5l1UpC2f/A4H4jB9lcQ5HHoVTPVvq\nMmYxMBXobuaQXyGdCBI4AqclDMY6eE0eTHUq9kGAM0UNWY0Fkw5uTLpG8gow\nzH69\r\n=pi3U\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIF8IMrUIOLle7fQxObOQcAcSHnG5SMfIBFcEYZyn5bVsAiAPaR6oublOingPP+W3KeVrc2itpeqEg6ssNM3Utsuc2Q=="}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"},{"email":"bernd@brainbot.com","name":"trustlines-deploy"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.11.1-0-dev.20200123T130708Z.c1dcc32_1579785443129_0.9845093071795885"},"_hasShrinkwrap":false},"0.11.1-0-dev.20200129T091457Z.f017c11":{"name":"trustlines-clientlib","version":"0.11.1-0-dev.20200129T091457Z.f017c11","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"typedoc --options tdconfig.json","lint":"tslint -c tslint.json './src/**/**.ts' './tests/**/**.ts'","prettier":"prettier --write './{src,tests}/**/*.ts'","prettier:check":"prettier --check './{src,tests}/**/*.ts'","prettier:big-tabs":"prettier --write --print-width 120 --no-semi --single-quote --tab-width 4  './{src,tests}/**/*.ts'","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","coverage":"nyc report --reporter=text-lcov > coverage.lcov && codecov","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump":"./bump.sh","serve":"webpack && cp -r ./_bundles ./examples/injected-web3 && http-server ./examples/injected-web3"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{ts,js,json,css,md}":["prettier --write","git add"],"*.ts":["tslint -c tslint.json --fix","git add"]},"nyc":{"extension":[".ts"],"include":["src"],"reporter":["text"],"all":true},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.5.2","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","codecov":"^3.5.0","es6-promise":"^4.1.1","fetch-mock":"^7.2.5","fluid-publish":"^2.2.0","http-server":"^0.11.1","husky":"^2.4.0","isomorphic-fetch":"^2.2.1","lint-staged":"^8.2.0","mocha":"^5.2.0","nyc":"^14.1.0","prettier":"^1.15.2","ts-node":"^7.0.0","tslint":"^5.17.0","tslint-config-prettier":"^1.18.0","typedoc":"^0.14.2","types-ethereumjs-util":"0.0.8","typescript":"^2.9.2","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"bignumber.js":"7.2.1","ethereumjs-util":"^5.2.0","ethers":"^4.0.23","reconnecting-websocket":"^4.1.10","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","trustlines-contracts-abi":"dev","ws":"^6.2.1"},"readme":"# trustlines-network clientlib\n\n[![npm](https://img.shields.io/npm/v/trustlines-clientlib.svg)](https://www.npmjs.com/package/trustlines-clientlib)\n[![CircleCI branch](https://img.shields.io/circleci/project/github/trustlines-protocol/clientlib/master.svg)](https://circleci.com/gh/trustlines-protocol/clientlib)\n[![Codecov branch](https://img.shields.io/codecov/c/github/trustlines-protocol/clientlib/master.svg)](https://codecov.io/gh/trustlines-protocol/clientlib)\n\nA TypeScript/Javascript library for interacting with the [trustlines-network protocol](https://trustlines.network/).\n\n## Read the [Documentation](https://docs.trustlines.network/)\n\n## Installation\n\nInstall the library using `npm` or `yarn`\n\n```bash\n$ npm install trustlines-clientlib\n// OR\n$ yarn add trustlines-clientlib\n```\n\n#### Import ES6 module\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n```\n\nUse the following configuration to connect to the currently deployed test setup.\n\n**NOTE: The [trustlines-network contracts](https://github.com/trustlines-network/contracts) are deployed on the Laika Testnet ([Laika Blockexplorer](https://explore.laika.trustlines.foundation/)), the test network of Trustlines. Some Laika test `TLC` is therefore required to interact with the contracts in this setup.**\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n\nconst tlNetworkConfig = {\n  protocol: 'https',\n  host: 'relay0.testnet.trustlines.network',\n  path: 'api/v1/'\n}\n\nconst tlNetwork = new TLNetwork(tlNetworkConfig)\n```\n\n## Example\n\nThis library is a promise-based library. So every asynchronous call will return a native Javascript promise. If an error occurs the library will throw it. The caller has to handle it appropriately.\n\n```javascript\ntry {\n  const networks = await tlNetwork.currencyNetwokr.getAll()\n} catch (error) {\n  console.log('Caught error:', error)\n}\n```\n\n## Running injected web3 example\n\nTo run the example make sure to have [MetaMask](https://metamask.io/) installed and connected to a JSON RPC.\n\n```bash\nyarn serve\n```\n\nThis serves the injected web3 example app on `http://127.0.0.1:8080`. You can find the app under `./examples/injected-web3`.\n","readmeFilename":"README.md","gitHead":"f017c11f612cb2e0c96cdaad810188d083955018","_id":"trustlines-clientlib@0.11.1-0-dev.20200129T091457Z.f017c11","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"trustlines-deploy","email":"bernd@brainbot.com"},"dist":{"integrity":"sha512-j1qrFtK6g1XOAkWcxTNiKIVvUedP5QDPadlUQADtL36rU/EUDLNu1aP8e0HsnXJ/g8CMl4ck26esEu6jazi6hw==","shasum":"2eaf9863a6d26664ee7bd896f814f3d67f3367c3","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.11.1-0-dev.20200129T091457Z.f017c11.tgz","fileCount":69,"unpackedSize":427473,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeMU9jCRA9TVsSAnZWagAA/1gP/jLiOmQghOW4hHgQ6ADd\ncnlKQnVhfhdSLMtRAcIufqkuAJNmnbDuIhG/TGyLw84JWwt5vM962JCJjLdJ\nraBB/miPzv59++fChSlCE48TvLUqNSt17Fm8irQP3zjg3GoRHy+Icp9eLg4g\nTxmq9UI1mRJvycgsO+0E1ISQ9SgEv+CEpV8r8C0dEXBqYuNtLFFU8qJbHF+q\nuejbQtAs00ZzRfXq025RwcmZ9to3paUp2LK7qrun7Nl4nmlpELw/WZsdxknQ\nZU8BWv9eqCISxCBjmIPgjL7FRFTniLLELTWtLKrhFutKLjG5TkZUaQCBb9up\nW6Z0L3P7PJbxAMIfMEfM1JT98+EwW+XYhntCmYcG8n0ZbgVOJgPfPep94NPE\nYgfpfPdSxOr3JQgxYfjDvQHN7tpXiVO1UJ8sLjrF20jZswMgLBxu2M9y5GEa\nSfy1e/cJ5GVybb8PyFxsGzjBNyPRGIhU3dhtzOWMJiugfcfWbE+Y/rrx94vP\nOxCIF/zQ3yKoI+ZZXSPymnE0tkK2xQ4gAozvSwQeyUtOem/KFgYJcQOm83p3\ntoZLoVxdwaKOOOhyNrVhdRmGj4kscKRH+BLDzJjbNuHlfsKcJMUkjL+yOFaB\n8NXJOJFWUOys1yytaKxK+cR4k03Eis9TaSWQZzT4vECMNBwaC7qm23Csbpwh\nDVuX\r\n=pct4\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDmULp03KNzo1p3RcTlvP76UbgDI9tJkYXd22OId06JQQIhAJe1EJy2lfy74j9M7o6oWSa3ZRpin+dY28ndnSoViYDb"}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"},{"email":"bernd@brainbot.com","name":"trustlines-deploy"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.11.1-0-dev.20200129T091457Z.f017c11_1580289890889_0.82292828754104"},"_hasShrinkwrap":false},"0.11.1-0-dev.20200130T163432Z.9d26add":{"name":"trustlines-clientlib","version":"0.11.1-0-dev.20200130T163432Z.9d26add","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"typedoc --options tdconfig.json","lint":"tslint -c tslint.json './src/**/**.ts' './tests/**/**.ts'","prettier":"prettier --write './{src,tests}/**/*.ts'","prettier:check":"prettier --check './{src,tests}/**/*.ts'","prettier:big-tabs":"prettier --write --print-width 120 --no-semi --single-quote --tab-width 4  './{src,tests}/**/*.ts'","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","coverage":"nyc report --reporter=text-lcov > coverage.lcov && codecov","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump":"./bump.sh","serve":"webpack && cp -r ./_bundles ./examples/injected-web3 && http-server ./examples/injected-web3"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{ts,js,json,css,md}":["prettier --write","git add"],"*.ts":["tslint -c tslint.json --fix","git add"]},"nyc":{"extension":[".ts"],"include":["src"],"reporter":["text"],"all":true},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.5.2","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","codecov":"^3.5.0","es6-promise":"^4.1.1","fetch-mock":"^7.2.5","fluid-publish":"^2.2.0","http-server":"^0.11.1","husky":"^2.4.0","isomorphic-fetch":"^2.2.1","lint-staged":"^8.2.0","mocha":"^5.2.0","nyc":"^14.1.0","prettier":"^1.15.2","ts-node":"^7.0.0","tslint":"^5.17.0","tslint-config-prettier":"^1.18.0","typedoc":"^0.14.2","types-ethereumjs-util":"0.0.8","typescript":"^2.9.2","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"bignumber.js":"7.2.1","ethereumjs-util":"^5.2.0","ethers":"^4.0.23","reconnecting-websocket":"^4.1.10","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","trustlines-contracts-abi":"dev","ws":"^6.2.1"},"readme":"# Trustlines Clientlib\n\n[![npm](https://img.shields.io/npm/v/trustlines-clientlib.svg)](https://www.npmjs.com/package/trustlines-clientlib)\n[![CircleCI branch](https://img.shields.io/circleci/project/github/trustlines-protocol/clientlib/master.svg)](https://circleci.com/gh/trustlines-protocol/clientlib)\n[![Codecov branch](https://img.shields.io/codecov/c/github/trustlines-protocol/clientlib/master.svg)](https://codecov.io/gh/trustlines-protocol/clientlib)\n\nA TypeScript/JavaScript library for interacting with the [Trustlines Network Protocol](https://trustlines.network/).\n\n## Installation\n\n### Install via package manager\n\nWe publish the trustlines-clientlib to npm as a ES6 module.\n\n#### Using npm\n\n```bash\n$ npm i trustlines-clientlib\n```\n\n#### Using yarn\n\n```bash\n$ yarn add trustlines-clientlib\n```\n\n### Build from source\n\nIf you want to build the library from source run\n\n```bash\ngit clone git@github.com:trustlines-protocol/clientlib.git\ncd clientlib\nyarn && yarn build\n```\n\nThis will create three different builds:\n\n- ES6 module in `./lib-esm`\n- CommonJS module in `./lib`\n- Bundled JS injectable into browser in `./_bundles`\n\n## Get started\n\nWe assume the usage of the `trustlines-clientlib` ES6 module in the following.\n\n### Configuration\n\nTo start using the trustlines-clientlib you first have to configure the [relay server](https://github.com/trustlines-protocol/relay) you want to connect to.\nYou can either connect to a local develop relay server or use publicly available ones.\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n\n// Instance using a relay connected to the Laika Testnet\nconst laika = new TLNetwork({\n  protocol: 'https',\n  wsProtocol: 'wss',\n  host: 'relay0.testnet.trustlines.network',\n  path: '/api/v1'\n  // ...\n})\n\n// Instance using a relay connected to the TLBC\nconst tlbc = new TLNetwork({\n  protocol: 'https',\n  wsProtocol: 'wss',\n  host: '<url>', // TODO There is no public TLBC relay yet\n  path: '/api/v1'\n  // ...\n})\n```\n\n### Example usage\n\nThis library is a promise-based library.\nSo every asynchronous call will return a native JavaScript promise.\nIf an error occurs the library will throw it.\nThe caller has to handle it appropriately.\n\n```javascript\ntry {\n  const networks = await laika.currencyNetwork.getAll()\n} catch (error) {\n  console.log('Caught error:', error)\n}\n```\n\n### Read our [documentation]() for more\n\n## Run Tests\n\n```bash\n# All tests\nyarn test\n\n# Unit tests\nyarn test:unit\n\n# Integration tests\nyarn test:integration\n\n# end2end tests\nyarn test:e2e\n```\n\n### Note on end2end tests\n\nYou have to have all components of the trustlines protocol running.\nA convenient way to achieve this is by using our [end2end](https://github.com/trustlines-protocol/end2end) setup.\n\n## Running injected web3 example\n\nTo run the example make sure to have [MetaMask](https://metamask.io/) installed and connected to a JSON RPC.\n\n```bash\nyarn serve\n```\n\nThis serves the injected web3 example app on `http://127.0.0.1:8080`. You can find the app under `./examples/injected-web3`.\n\n## Change log\n\nSee [CHANGELOG](./CHANGELOG.md)\n","readmeFilename":"README.md","gitHead":"9d26addc3ccdb35441cc3ffe2aa2baa703a5d5e3","_id":"trustlines-clientlib@0.11.1-0-dev.20200130T163432Z.9d26add","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"trustlines-deploy","email":"bernd@brainbot.com"},"dist":{"integrity":"sha512-56wBiiTPAsDzhoNMDc21XbCS6wBfbxa2uS5opF0CO/v77MFidLbfBvOAiXOst/ThYjYZ8zl6y6hMo+M1mkKoLQ==","shasum":"c0980cecac49bb622479ae47a541b600f15d261b","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.11.1-0-dev.20200130T163432Z.9d26add.tgz","fileCount":69,"unpackedSize":428386,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeMwfsCRA9TVsSAnZWagAAzK4P/1BOxJwzuujqh/G8niKo\n3NLZV/H/FHwPX+rv2+fXbXoKaDZDjKZhZZwLJSfvEsmep27pCgfHsJmeRawl\nWgYBeWoqAZrETWbVSzkylHl1GFsqpND5622tvQkUZnNn91ZBZKvAxxBUg0Ml\nKEH2/9waYOTUGcgjoowdmN3Xm2FZIZfSYYwE0dPQ5NOVoQJcA/ctLtuYukFm\nOiUhy/OjL1Ci5DDUTG2A5h0B26KTNQsnRgAR30shiBSrBhjkesX6QMcnD1PK\nEpV9BgsrHzARe1OKTGJp9Bu/XYImwXpNX/kNJRgpIM561HKNGla6mrfG2Oy0\nQph1wD0cs8l3pTu/kINdaGDlcbS6LRYbuCxt4B8wuSAPMmaGya7jq/Z8GU9r\n8XCfBqjdtzNwvS7fhPnS9LOptG2ASK1ACYe5z4cJjwowJNRx8m5Nf3Y9Icgl\nijVgSGUR3NzZdbVSMUqgHW3aGauFmikJi6Tzbg7qy5COwW+Lwm4dDP0fgYDK\nXlnFTJKGrDdCFixjUkmOcGvjmc4TP9cxPZfkoJEWc33yCD3ve6gE9RNWFwnE\nvkXM6YuhUMP26WmpkXDGr79F+XMuvNUTKfr2Dgw/yKP+0mTAmgkuSN3vUUch\nDX5D1oliHQitNlVGRr/0bJ3vfBoA3rcSFhvf6k0It4gHexDuKEyZvn8xv4EW\nTMnS\r\n=j4XU\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDFhlRdtolmzWGZ0noo58GHO6O5ZaIJ/3qQuWhVNLPx8gIhAJmeMKjnS0rFigZ2YcsEnRqT6oRGJ3ToCBKRc3nJKKJx"}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"},{"email":"bernd@brainbot.com","name":"trustlines-deploy"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.11.1-0-dev.20200130T163432Z.9d26add_1580402668192_0.0822455699185991"},"_hasShrinkwrap":false},"0.11.1-0-dev.20200204T162241Z.1479fb5":{"name":"trustlines-clientlib","version":"0.11.1-0-dev.20200204T162241Z.1479fb5","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"typedoc --options tdconfig.json","lint":"tslint -c tslint.json './src/**/**.ts' './tests/**/**.ts'","prettier":"prettier --write './{src,tests}/**/*.ts'","prettier:check":"prettier --check './{src,tests}/**/*.ts'","prettier:big-tabs":"prettier --write --print-width 120 --no-semi --single-quote --tab-width 4  './{src,tests}/**/*.ts'","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","coverage":"nyc report --reporter=text-lcov > coverage.lcov && codecov","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump":"./bump.sh","serve":"webpack && cp -r ./_bundles ./examples/injected-web3 && http-server ./examples/injected-web3"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{ts,js,json,css,md}":["prettier --write","git add"],"*.ts":["tslint -c tslint.json --fix","git add"]},"nyc":{"extension":[".ts"],"include":["src"],"reporter":["text"],"all":true},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.5.2","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","codecov":"^3.5.0","es6-promise":"^4.1.1","fetch-mock":"^7.2.5","fluid-publish":"^2.2.0","http-server":"^0.11.1","husky":"^2.4.0","isomorphic-fetch":"^2.2.1","lint-staged":"^8.2.0","mocha":"^5.2.0","nyc":"^14.1.0","prettier":"^1.15.2","ts-node":"^7.0.0","tslint":"^5.17.0","tslint-config-prettier":"^1.18.0","typedoc":"^0.14.2","types-ethereumjs-util":"0.0.8","typescript":"^2.9.2","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"bignumber.js":"7.2.1","ethereumjs-util":"^5.2.0","ethers":"^4.0.23","reconnecting-websocket":"^4.1.10","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","trustlines-contracts-abi":"dev","ws":"^6.2.1"},"readme":"# Trustlines Clientlib\n\n[![npm](https://img.shields.io/npm/v/trustlines-clientlib.svg)](https://www.npmjs.com/package/trustlines-clientlib)\n[![CircleCI branch](https://img.shields.io/circleci/project/github/trustlines-protocol/clientlib/master.svg)](https://circleci.com/gh/trustlines-protocol/clientlib)\n[![Codecov branch](https://img.shields.io/codecov/c/github/trustlines-protocol/clientlib/master.svg)](https://codecov.io/gh/trustlines-protocol/clientlib)\n\nA TypeScript/JavaScript library for interacting with the [Trustlines Network Protocol](https://trustlines.network/).\n\n## Installation\n\n### Install via package manager\n\nWe publish the trustlines-clientlib to npm as a ES6 module.\n\n#### Using npm\n\n```bash\n$ npm i trustlines-clientlib\n```\n\n#### Using yarn\n\n```bash\n$ yarn add trustlines-clientlib\n```\n\n### Build from source\n\nIf you want to build the library from source run\n\n```bash\ngit clone git@github.com:trustlines-protocol/clientlib.git\ncd clientlib\nyarn && yarn build\n```\n\nThis will create three different builds:\n\n- ES6 module in `./lib-esm`\n- CommonJS module in `./lib`\n- Bundled JS injectable into browser in `./_bundles`\n\n## Get started\n\nWe assume the usage of the `trustlines-clientlib` ES6 module in the following.\n\n### Configuration\n\nTo start using the trustlines-clientlib you first have to configure the [relay server](https://github.com/trustlines-protocol/relay) you want to connect to.\nYou can either connect to a local develop relay server or use publicly available ones.\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n\n// Instance using a relay connected to the Laika Testnet\nconst laika = new TLNetwork({\n  protocol: 'https',\n  wsProtocol: 'wss',\n  host: 'relay0.testnet.trustlines.network',\n  path: '/api/v1'\n  // ...\n})\n\n// Instance using a relay connected to the TLBC\nconst tlbc = new TLNetwork({\n  protocol: 'https',\n  wsProtocol: 'wss',\n  host: '<url>', // TODO There is no public TLBC relay yet\n  path: '/api/v1'\n  // ...\n})\n```\n\n### Example usage\n\nThis library is a promise-based library.\nSo every asynchronous call will return a native JavaScript promise.\nIf an error occurs the library will throw it.\nThe caller has to handle it appropriately.\n\n```javascript\ntry {\n  const networks = await laika.currencyNetwork.getAll()\n} catch (error) {\n  console.log('Caught error:', error)\n}\n```\n\n### Read our [documentation]() for more\n\n## Run Tests\n\n```bash\n# All tests\nyarn test\n\n# Unit tests\nyarn test:unit\n\n# Integration tests\nyarn test:integration\n\n# end2end tests\nyarn test:e2e\n```\n\n### Note on end2end tests\n\nYou have to have all components of the trustlines protocol running.\nA convenient way to achieve this is by using our [end2end](https://github.com/trustlines-protocol/end2end) setup.\n\n## Running injected web3 example\n\nTo run the example make sure to have [MetaMask](https://metamask.io/) installed and connected to a JSON RPC.\n\n```bash\nyarn serve\n```\n\nThis serves the injected web3 example app on `http://127.0.0.1:8080`. You can find the app under `./examples/injected-web3`.\n\n## Change log\n\nSee [CHANGELOG](./CHANGELOG.md)\n","readmeFilename":"README.md","gitHead":"1479fb54d60a93dc3519574d93e900c66a35119b","_id":"trustlines-clientlib@0.11.1-0-dev.20200204T162241Z.1479fb5","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"trustlines-deploy","email":"bernd@brainbot.com"},"dist":{"integrity":"sha512-AkH1PWOKm5X+zZ/CN48MShz8FNNLGvNxJwncRq7i7sF/PfxQDOJ4Jwr+HleqGd+v9zL7j4H1lxewbs/TzQO+tA==","shasum":"c85aeee9a44b1510e149d9efa42a91f63d15c7b1","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.11.1-0-dev.20200204T162241Z.1479fb5.tgz","fileCount":69,"unpackedSize":428386,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeOZyqCRA9TVsSAnZWagAAi+kP/icbRARmti7Y5gXQSWKA\nrruxONToBqLXR4hkw05QEUM/wwKPVz2wgURJWNglN+4ON24d+91wjkWrPLyA\noGbLQk0Ow6cUDgj41J63f2WGqxNb3J3n76HZCAFxP3QmB+kKU+Ap3W455xtg\n6HkzF0HgLv+n6AVwPkFRjkhHpoIWGrcVuqKdmfug7TXtHKHcI4xaufxeBRho\nkWrfS3UH1PvfuRurfR4iDvnk9LAg9FJsGDh/mojPYvaxeli9QUyFXM0NJeYS\n/ayjPACqDFfLNsQb6hpPaxX0WfCDifX6ugH9+FxzPUbevXf4ScGirHVGF5d3\ne/8NbaT9LQEUYt6RhoBj+gIxGSvSf5izlhROP0MwWI1a6aHzr5otO2nTXhLq\ntAV3coCrmxNy/rQmGrQEUggSMu98GtlvdIrH6DiFZqwZ9iYYYvOpEZM0V5/T\nutlNjg7OgpFVRRdFJ9oFZ+qco2b9qT2b3sukSeEIaVbv+ulzoCPJ8wDVKu7e\nW54msYteyUVcUVMCvIHUYy0sVH8VDGFx3sPWj1ERq8B6q4+ISlV7Ny9mfYbb\nSHaFwWg4LPkjdATe9IeKSQHUYRygaV8rdrw6ANsrEV1nT7sa0POsxeVmqzn2\nO1znyxl2PGoCMt+iWvd7xRWfMQZgdhK+s0C7c5XPfYMVjIxA/gD/7HGnLLDs\nI6a9\r\n=uWO1\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD4DwPIX2xzko9qbKHbZ9McV0hErBNuvhOf0U6O1zxbCgIgYf3GtiCNUmpyTQRXkID5xu8bPXERiZZT8uqvqAnj13E="}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"},{"email":"bernd@brainbot.com","name":"trustlines-deploy"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.11.1-0-dev.20200204T162241Z.1479fb5_1580833961717_0.4661673529239181"},"_hasShrinkwrap":false},"0.11.1-0-dev.20200205T164236Z.1fe40bd":{"name":"trustlines-clientlib","version":"0.11.1-0-dev.20200205T164236Z.1fe40bd","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"typedoc --options tdconfig.json","lint":"tslint -c tslint.json './src/**/**.ts' './tests/**/**.ts'","prettier":"prettier --write './{src,tests}/**/*.ts'","prettier:check":"prettier --check './{src,tests}/**/*.ts'","prettier:big-tabs":"prettier --write --print-width 120 --no-semi --single-quote --tab-width 4  './{src,tests}/**/*.ts'","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","coverage":"nyc report --reporter=text-lcov > coverage.lcov && codecov","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump":"./bump.sh","serve":"webpack && cp -r ./_bundles ./examples/injected-web3 && http-server ./examples/injected-web3"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{ts,js,json,css,md}":["prettier --write","git add"],"*.ts":["tslint -c tslint.json --fix","git add"]},"nyc":{"extension":[".ts"],"include":["src"],"reporter":["text"],"all":true},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.5.2","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","codecov":"^3.5.0","es6-promise":"^4.1.1","fetch-mock":"^7.2.5","fluid-publish":"^2.2.0","http-server":"^0.11.1","husky":"^2.4.0","isomorphic-fetch":"^2.2.1","lint-staged":"^8.2.0","mocha":"^5.2.0","nyc":"^14.1.0","prettier":"^1.15.2","ts-node":"^7.0.0","tslint":"^5.17.0","tslint-config-prettier":"^1.18.0","typedoc":"^0.14.2","types-ethereumjs-util":"0.0.8","typescript":"^2.9.2","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"bignumber.js":"7.2.1","ethereumjs-util":"^5.2.0","ethers":"^4.0.23","reconnecting-websocket":"^4.1.10","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","trustlines-contracts-abi":"dev","ws":"^6.2.1"},"readme":"# Trustlines Clientlib\n\n[![npm](https://img.shields.io/npm/v/trustlines-clientlib.svg)](https://www.npmjs.com/package/trustlines-clientlib)\n[![CircleCI branch](https://img.shields.io/circleci/project/github/trustlines-protocol/clientlib/master.svg)](https://circleci.com/gh/trustlines-protocol/clientlib)\n[![Codecov branch](https://img.shields.io/codecov/c/github/trustlines-protocol/clientlib/master.svg)](https://codecov.io/gh/trustlines-protocol/clientlib)\n\nA TypeScript/JavaScript library for interacting with the [Trustlines Network Protocol](https://trustlines.network/).\n\n## Installation\n\n### Install via package manager\n\nWe publish the trustlines-clientlib to npm as a ES6 module.\n\n#### Using npm\n\n```bash\n$ npm i trustlines-clientlib\n```\n\n#### Using yarn\n\n```bash\n$ yarn add trustlines-clientlib\n```\n\n### Build from source\n\nIf you want to build the library from source run\n\n```bash\ngit clone git@github.com:trustlines-protocol/clientlib.git\ncd clientlib\nyarn && yarn build\n```\n\nThis will create three different builds:\n\n- ES6 module in `./lib-esm`\n- CommonJS module in `./lib`\n- Bundled JS injectable into browser in `./_bundles`\n\n## Get started\n\nWe assume the usage of the `trustlines-clientlib` ES6 module in the following.\n\n### Configuration\n\nTo start using the trustlines-clientlib you first have to configure the [relay server](https://github.com/trustlines-protocol/relay) you want to connect to.\nYou can either connect to a local develop relay server or use publicly available ones.\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n\n// Instance using a relay connected to the Laika Testnet\nconst laika = new TLNetwork({\n  protocol: 'https',\n  wsProtocol: 'wss',\n  host: 'relay0.testnet.trustlines.network',\n  path: '/api/v1'\n  // ...\n})\n\n// Instance using a relay connected to the TLBC\nconst tlbc = new TLNetwork({\n  protocol: 'https',\n  wsProtocol: 'wss',\n  host: '<url>', // TODO There is no public TLBC relay yet\n  path: '/api/v1'\n  // ...\n})\n```\n\n### Example usage\n\nThis library is a promise-based library.\nSo every asynchronous call will return a native JavaScript promise.\nIf an error occurs the library will throw it.\nThe caller has to handle it appropriately.\n\n```javascript\ntry {\n  const networks = await laika.currencyNetwork.getAll()\n} catch (error) {\n  console.log('Caught error:', error)\n}\n```\n\n### Read our [documentation]() for more\n\n## Run Tests\n\n```bash\n# All tests\nyarn test\n\n# Unit tests\nyarn test:unit\n\n# Integration tests\nyarn test:integration\n\n# end2end tests\nyarn test:e2e\n```\n\n### Note on end2end tests\n\nYou have to have all components of the trustlines protocol running.\nA convenient way to achieve this is by using our [end2end](https://github.com/trustlines-protocol/end2end) setup.\n\n## Running injected web3 example\n\nTo run the example make sure to have [MetaMask](https://metamask.io/) installed and connected to a JSON RPC.\n\n```bash\nyarn serve\n```\n\nThis serves the injected web3 example app on `http://127.0.0.1:8080`. You can find the app under `./examples/injected-web3`.\n\n## Change log\n\nSee [CHANGELOG](./CHANGELOG.md)\n","readmeFilename":"README.md","gitHead":"1fe40bd876471b5d650207d362a24e7cb077489a","_id":"trustlines-clientlib@0.11.1-0-dev.20200205T164236Z.1fe40bd","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"trustlines-deploy","email":"bernd@brainbot.com"},"dist":{"integrity":"sha512-wBYzwT867ZwkLDraMXO5/gAvxE5Dc9xCNJEMmCoLv/g8GtD+yzIOCxSetCIonRvh1K+kFrtRfOZeBn6ZQWMQEw==","shasum":"022cd60115071f488edb4148a395acbb3b8f3b27","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.11.1-0-dev.20200205T164236Z.1fe40bd.tgz","fileCount":69,"unpackedSize":432536,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeOvLICRA9TVsSAnZWagAA02cP/1fmDW959tqYPvl/C0Gk\nBC0MCcBnLme9UgnZlztqmMRrcEw+OuSRlaoAzoOrsjnSO4oydoTbG+acfiyl\niAxXd2KMobYhuylHgxbqvB1mkGKeTeDEG/TGaO7JdCcHlsMAkGk32g0eEuaS\ngjuoFDM2+GxmRmAlQaZ1c7kVaZS2UqZOwJ3i027vCBh5sliWgqkGecJOlqPG\nNpGj3dFolEofY+iiBkhczJkb44m2jHoiF77YgRvr2bncpS7Wffy3YAIPxg74\n0gcpVSwU6czqFEX2m+57LAKEzk+d5VHQfEKB06IbcCRbjTk+3JA+WtMAiqlB\nzRJCoNUmXvUdEPB4jxbHRLGOyTz3dPF3zlhgoOvjFZgCfXmaq35OZKDuJ+vT\n+hG6z8X6AC8AohRlRu7A+pug1dkQX443OYFENlH3PCClBecuo4rh81q+ETQK\nG9VRoNhz0oT5dCG4NAeAVZ+mgRIZ+iPp8JCh5IBo1xmSfVj7T3OiurDlerAF\ncJvMC2IoPXWqgNHvkGKy1IcgEVnqhQPM/0gZRXkWdLjtnsbWAkRt+bJwRClh\nyz0N5mKBZb0spITJSKmXAF0DG0mB27L0F8Hub9VPot51Huxtf4MmwIdPOKQZ\n6RWeEp3ORrzkE56HoWB7ChVdL5PB2gmRwBWFUo9nx7e0dYt/s9lFsmjnY0RI\nAMgQ\r\n=AEAY\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBDlWXFFnph4d8V9xGr1Z7nnTO/Iu2vwDTRHDloKlqu5AiEA92FB86hGyUp6NzHtjEDFKj7k0B7HruTKpIZiCmzCCwo="}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"},{"email":"bernd@brainbot.com","name":"trustlines-deploy"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.11.1-0-dev.20200205T164236Z.1fe40bd_1580921543427_0.8441433974547663"},"_hasShrinkwrap":false},"0.11.1-0-dev.20200210T125928Z.835225e":{"name":"trustlines-clientlib","version":"0.11.1-0-dev.20200210T125928Z.835225e","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"typedoc --options tdconfig.json","lint":"tslint -c tslint.json './src/**/**.ts' './tests/**/**.ts'","prettier":"prettier --write './{src,tests}/**/*.ts'","prettier:check":"prettier --check './{src,tests}/**/*.ts'","prettier:big-tabs":"prettier --write --print-width 120 --no-semi --single-quote --tab-width 4  './{src,tests}/**/*.ts'","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","coverage":"nyc report --reporter=text-lcov > coverage.lcov && codecov","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump":"./bump.sh","serve":"webpack && cp -r ./_bundles ./examples/injected-web3 && http-server ./examples/injected-web3"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{ts,js,json,css,md}":["prettier --write","git add"],"*.ts":["tslint -c tslint.json --fix","git add"]},"nyc":{"extension":[".ts"],"include":["src"],"reporter":["text"],"all":true},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.5.2","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","codecov":"^3.5.0","es6-promise":"^4.1.1","fetch-mock":"^7.2.5","fluid-publish":"^2.2.0","http-server":"^0.11.1","husky":"^2.4.0","isomorphic-fetch":"^2.2.1","lint-staged":"^8.2.0","mocha":"^5.2.0","nyc":"^14.1.0","prettier":"^1.15.2","ts-node":"^7.0.0","tslint":"^5.17.0","tslint-config-prettier":"^1.18.0","typedoc":"^0.14.2","types-ethereumjs-util":"0.0.8","typescript":"^2.9.2","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"bignumber.js":"7.2.1","ethereumjs-util":"^5.2.0","ethers":"^4.0.23","reconnecting-websocket":"^4.1.10","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","trustlines-contracts-abi":"dev","ws":"^6.2.1"},"readme":"# Trustlines Clientlib\n\n[![npm](https://img.shields.io/npm/v/trustlines-clientlib.svg)](https://www.npmjs.com/package/trustlines-clientlib)\n[![CircleCI branch](https://img.shields.io/circleci/project/github/trustlines-protocol/clientlib/master.svg)](https://circleci.com/gh/trustlines-protocol/clientlib)\n[![Codecov branch](https://img.shields.io/codecov/c/github/trustlines-protocol/clientlib/master.svg)](https://codecov.io/gh/trustlines-protocol/clientlib)\n\nA TypeScript/JavaScript library for interacting with the [Trustlines Network Protocol](https://trustlines.network/).\n\n## Installation\n\n### Install via package manager\n\nWe publish the trustlines-clientlib to npm as a ES6 module.\n\n#### Using npm\n\n```bash\n$ npm i trustlines-clientlib\n```\n\n#### Using yarn\n\n```bash\n$ yarn add trustlines-clientlib\n```\n\n### Build from source\n\nIf you want to build the library from source run\n\n```bash\ngit clone git@github.com:trustlines-protocol/clientlib.git\ncd clientlib\nyarn && yarn build\n```\n\nThis will create three different builds:\n\n- ES6 module in `./lib-esm`\n- CommonJS module in `./lib`\n- Bundled JS injectable into browser in `./_bundles`\n\n## Get started\n\nWe assume the usage of the `trustlines-clientlib` ES6 module in the following.\n\n### Configuration\n\nTo start using the trustlines-clientlib you first have to configure the [relay server](https://github.com/trustlines-protocol/relay) you want to connect to.\nYou can either connect to a local develop relay server or use publicly available ones.\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n\n// Instance using a relay connected to the Laika Testnet\nconst laika = new TLNetwork({\n  protocol: 'https',\n  wsProtocol: 'wss',\n  host: 'relay0.testnet.trustlines.network',\n  path: '/api/v1'\n  // ...\n})\n\n// Instance using a relay connected to the TLBC\nconst tlbc = new TLNetwork({\n  protocol: 'https',\n  wsProtocol: 'wss',\n  host: '<url>', // TODO There is no public TLBC relay yet\n  path: '/api/v1'\n  // ...\n})\n```\n\n### Example usage\n\nThis library is a promise-based library.\nSo every asynchronous call will return a native JavaScript promise.\nIf an error occurs the library will throw it.\nThe caller has to handle it appropriately.\n\n```javascript\ntry {\n  const networks = await laika.currencyNetwork.getAll()\n} catch (error) {\n  console.log('Caught error:', error)\n}\n```\n\n### Read our [documentation]() for more\n\n## Run Tests\n\n```bash\n# All tests\nyarn test\n\n# Unit tests\nyarn test:unit\n\n# Integration tests\nyarn test:integration\n\n# end2end tests\nyarn test:e2e\n```\n\n### Note on end2end tests\n\nYou have to have all components of the trustlines protocol running.\nA convenient way to achieve this is by using our [end2end](https://github.com/trustlines-protocol/end2end) setup.\n\n## Running injected web3 example\n\nTo run the example make sure to have [MetaMask](https://metamask.io/) installed and connected to a JSON RPC.\n\n```bash\nyarn serve\n```\n\nThis serves the injected web3 example app on `http://127.0.0.1:8080`. You can find the app under `./examples/injected-web3`.\n\n## Change log\n\nSee [CHANGELOG](./CHANGELOG.md)\n","readmeFilename":"README.md","gitHead":"835225e407eded393b1bd91c41cab8fc9a3800be","_id":"trustlines-clientlib@0.11.1-0-dev.20200210T125928Z.835225e","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"trustlines-deploy","email":"bernd@brainbot.com"},"dist":{"integrity":"sha512-OvV1n5HFFrlo7ltaCZr9NeZg92u0Qeif3ZHSw1b6SINg5VspEXZ2X066AA2fFGzgfZJEJC2OWGXdvYBOMn8iig==","shasum":"b3453de2cad927a5fd745288c3ac5557b0ce6ce7","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.11.1-0-dev.20200210T125928Z.835225e.tgz","fileCount":69,"unpackedSize":432342,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeQVX+CRA9TVsSAnZWagAAuacQAJFHrPrtM88K4F/RxO8E\n8zectyl5e3s5qq7cRyC1ZMA4wHmQ6BGsKV1n35DmjJLl4HjTsfncQ/lHjt34\n2SLmjkMoOgVdT4Svw7eDvnDutcrK0y+7o7EwygMaBiOj33izc1J2LKpDenYD\n/VeqkFvUukEbJupNYemmtwq943qW2j7rH7s6I/1t0rBswgvVGekElKVRhPuG\nwhMIqZAZtGhq8p2sT7mBXXZvgz4Y1ySV+eE2Xidg0ZJ3uNXcSy/tTzt/pvEE\nbOWQE7sD99i/WA1ano+xXESEXs+WETKZO+MQHJk+yIJ9TzNPuNltiB9tKZW4\n+Rn4Kurr/1qVpcS6ZGeiywVnb5hm2IRN7m2LNNEB1f5La9Hnkr1p5Zp7tcyY\nvGV6etg+U+wFuVVxX/eFYin6VnnwNHoA+6v68FxjOCZRaus5fzW5X8ALV7SJ\nFxmxdVYOh2syjlHoROikhXoOXDQE4qt/Nu/GukdCZUQwMgN4Stw6WJlW7XEP\nRRGjqwVxiSXlc6px/abY6fS84vujtIEnzhPS/qtnZGFkT5jKYGLoBLYGel3c\npoh5rlwcJvjv7qSk3iXrZI4zVV+9lGDwikiKYM7Yjdhq4PEm0yJUWVW3KIlK\nKMwuVHRpLr4iV80C3b9y8fVrgzeufSbwWUaV+rNTNV4Lrvg/SMs786lYzWcr\nhbbP\r\n=wa7m\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICIb6n0GhpURZPupae7pGbHMrmyUiRMJxeReDOuNbuOrAiAY4jcTAtkakcuwOYYfRoAB3S7oocRRPbyorCXiGe1dsw=="}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"},{"email":"bernd@brainbot.com","name":"trustlines-deploy"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.11.1-0-dev.20200210T125928Z.835225e_1581340157588_0.09756740953031184"},"_hasShrinkwrap":false},"0.11.1-0-dev.20200212T165530Z.317e60b":{"name":"trustlines-clientlib","version":"0.11.1-0-dev.20200212T165530Z.317e60b","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"typedoc --options tdconfig.json","lint":"tslint -c tslint.json './src/**/**.ts' './tests/**/**.ts'","prettier":"prettier --write './{src,tests}/**/*.ts'","prettier:check":"prettier --check './{src,tests}/**/*.ts'","prettier:big-tabs":"prettier --write --print-width 120 --no-semi --single-quote --tab-width 4  './{src,tests}/**/*.ts'","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","coverage":"nyc report --reporter=text-lcov > coverage.lcov && codecov","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump":"./bump.sh","serve":"webpack && cp -r ./_bundles ./examples/injected-web3 && http-server ./examples/injected-web3"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{ts,js,json,css,md}":["prettier --write","git add"],"*.ts":["tslint -c tslint.json --fix","git add"]},"nyc":{"extension":[".ts"],"include":["src"],"reporter":["text"],"all":true},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.5.2","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","codecov":"^3.5.0","es6-promise":"^4.1.1","fetch-mock":"^7.2.5","fluid-publish":"^2.2.0","http-server":"^0.11.1","husky":"^2.4.0","isomorphic-fetch":"^2.2.1","lint-staged":"^8.2.0","mocha":"^5.2.0","nyc":"^14.1.0","prettier":"^1.15.2","ts-node":"^7.0.0","tslint":"^5.17.0","tslint-config-prettier":"^1.18.0","typedoc":"^0.14.2","types-ethereumjs-util":"0.0.8","typescript":"^2.9.2","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"bignumber.js":"7.2.1","ethereumjs-util":"^5.2.0","ethers":"^4.0.23","reconnecting-websocket":"^4.1.10","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","trustlines-contracts-abi":"dev","ws":"^6.2.1"},"readme":"# Trustlines Clientlib\n\n[![npm](https://img.shields.io/npm/v/trustlines-clientlib.svg)](https://www.npmjs.com/package/trustlines-clientlib)\n[![CircleCI branch](https://img.shields.io/circleci/project/github/trustlines-protocol/clientlib/master.svg)](https://circleci.com/gh/trustlines-protocol/clientlib)\n[![Codecov branch](https://img.shields.io/codecov/c/github/trustlines-protocol/clientlib/master.svg)](https://codecov.io/gh/trustlines-protocol/clientlib)\n\nA TypeScript/JavaScript library for interacting with the [Trustlines Network Protocol](https://trustlines.network/).\n\n## Installation\n\n### Install via package manager\n\nWe publish the trustlines-clientlib to npm as a ES6 module.\n\n#### Using npm\n\n```bash\n$ npm i trustlines-clientlib\n```\n\n#### Using yarn\n\n```bash\n$ yarn add trustlines-clientlib\n```\n\n### Build from source\n\nIf you want to build the library from source run\n\n```bash\ngit clone git@github.com:trustlines-protocol/clientlib.git\ncd clientlib\nyarn && yarn build\n```\n\nThis will create three different builds:\n\n- ES6 module in `./lib-esm`\n- CommonJS module in `./lib`\n- Bundled JS injectable into browser in `./_bundles`\n\n## Get started\n\nWe assume the usage of the `trustlines-clientlib` ES6 module in the following.\n\n### Configuration\n\nTo start using the trustlines-clientlib you first have to configure the [relay server](https://github.com/trustlines-protocol/relay) you want to connect to.\nYou can either connect to a local develop relay server or use publicly available ones.\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n\n// Instance using a relay connected to the Laika Testnet\nconst laika = new TLNetwork({\n  protocol: 'https',\n  wsProtocol: 'wss',\n  host: 'relay0.testnet.trustlines.network',\n  path: '/api/v1'\n  // ...\n})\n\n// Instance using a relay connected to the TLBC\nconst tlbc = new TLNetwork({\n  protocol: 'https',\n  wsProtocol: 'wss',\n  host: '<url>', // TODO There is no public TLBC relay yet\n  path: '/api/v1'\n  // ...\n})\n```\n\n### Example usage\n\nThis library is a promise-based library.\nSo every asynchronous call will return a native JavaScript promise.\nIf an error occurs the library will throw it.\nThe caller has to handle it appropriately.\n\n```javascript\ntry {\n  const networks = await laika.currencyNetwork.getAll()\n} catch (error) {\n  console.log('Caught error:', error)\n}\n```\n\n### Read our [documentation]() for more\n\n## Run Tests\n\n```bash\n# All tests\nyarn test\n\n# Unit tests\nyarn test:unit\n\n# Integration tests\nyarn test:integration\n\n# end2end tests\nyarn test:e2e\n```\n\n### Note on end2end tests\n\nYou have to have all components of the trustlines protocol running.\nA convenient way to achieve this is by using our [end2end](https://github.com/trustlines-protocol/end2end) setup.\n\n## Running injected web3 example\n\nTo run the example make sure to have [MetaMask](https://metamask.io/) installed and connected to a JSON RPC.\n\n```bash\nyarn serve\n```\n\nThis serves the injected web3 example app on `http://127.0.0.1:8080`. You can find the app under `./examples/injected-web3`.\n\n## Change log\n\nSee [CHANGELOG](./CHANGELOG.md)\n","readmeFilename":"README.md","gitHead":"317e60bc5e833a52d9aa8d4b571cf4920e76ad23","_id":"trustlines-clientlib@0.11.1-0-dev.20200212T165530Z.317e60b","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"trustlines-deploy","email":"bernd@brainbot.com"},"dist":{"integrity":"sha512-IdazTLbCN6HRB/CXQb66Cq5yJX7jdtB64so39CKMfd2z5FjgIHjf2ONjUWiOv0FNv6UT7yQp75baA6pIVHZTgA==","shasum":"92a23b3e4c5b4e44a56f4b7147663b1226ef2335","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.11.1-0-dev.20200212T165530Z.317e60b.tgz","fileCount":69,"unpackedSize":431228,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeRDBuCRA9TVsSAnZWagAAsncP/jsR9vjcEdPZRyl6c+EO\nhZhNG+F88sUOD+a3NISgUMejn3RYv74kRBdOKVIWHoXlh17fstkAboZPq+wg\nqfSC9fowpQyC6Ahy58jAeU75ep5eK9yZqnIs21F4UwjaE/XcpXMU2XNZDIb9\nYJiXipY/hmI7k2slIUNUdU97R0aAoGCMg0V0fo5tPWeYnQcHvqELLgvgU9YI\nk2o1dsZV3JOqjz/B6pgjvbatSXTmNCTe+a4kvYbzHCIJkcnj5AZuVSMHiY2F\nl2Hxf/WzUZUtMjodWe53qmtgpX+bFxZOjHk9+QrzK2St6ibqwewmAFrSrpbY\nhYNjJOthUnVVICKz1KbDufmgcB7zagmOkg4LOO7QKMdFp/BimTrH2DXfessX\n5KVYNjVCDO2fjuO1AksjlAAlFQNk83UJg1yUR59CgQDUWAYXHWAK/9C7TOlT\nT+7eLC6rNaNzAdKxjfeROPAwq/6jjPwBPJ55+F+EtpfzfYnVrDfAIoKyf0oM\nEZHp68hwx9D4a4Id+lcFTdPTmK2cRtaf7QBG7gc0NE/kNCGLjo7ARMmWG2zc\nnJC/fI7snla5YbqOWGxtIvWXjmIrxXbWNlaW823zymQQ4Wnf/9UBK+hwDB29\nlaj9OfQuKm54JdTqTTpHtMhr1OQZc0QJI7Hsvr7T8iM0Vg8CXNg6dz8yi5V2\nNzJf\r\n=u4ki\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDwGTWucJjCkVSlVObxDh43LBGRXNJ2xhuw0lFK2Q8nmwIgJ6eWvyvO1MHWeoqDuSt95YjpRNAPv+WPUQbuIr+JKE8="}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"},{"email":"bernd@brainbot.com","name":"trustlines-deploy"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.11.1-0-dev.20200212T165530Z.317e60b_1581527150242_0.3311807883738913"},"_hasShrinkwrap":false},"0.11.1-0-dev.20200213T140149Z.be6fa17":{"name":"trustlines-clientlib","version":"0.11.1-0-dev.20200213T140149Z.be6fa17","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"typedoc --options tdconfig.json","lint":"tslint -c tslint.json './src/**/**.ts' './tests/**/**.ts'","prettier":"prettier --write './{src,tests}/**/*.ts'","prettier:check":"prettier --check './{src,tests}/**/*.ts'","prettier:big-tabs":"prettier --write --print-width 120 --no-semi --single-quote --tab-width 4  './{src,tests}/**/*.ts'","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","coverage":"nyc report --reporter=text-lcov > coverage.lcov && codecov","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump":"./bump.sh","serve":"webpack && cp -r ./_bundles ./examples/injected-web3 && http-server ./examples/injected-web3"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{ts,js,json,css,md}":["prettier --write","git add"],"*.ts":["tslint -c tslint.json --fix","git add"]},"nyc":{"extension":[".ts"],"include":["src"],"reporter":["text"],"all":true},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.5.2","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","codecov":"^3.5.0","es6-promise":"^4.1.1","fetch-mock":"^7.2.5","fluid-publish":"^2.2.0","http-server":"^0.11.1","husky":"^2.4.0","isomorphic-fetch":"^2.2.1","lint-staged":"^8.2.0","mocha":"^5.2.0","nyc":"^14.1.0","prettier":"^1.15.2","ts-node":"^7.0.0","tslint":"^5.17.0","tslint-config-prettier":"^1.18.0","typedoc":"^0.14.2","types-ethereumjs-util":"0.0.8","typescript":"^2.9.2","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"bignumber.js":"7.2.1","ethereumjs-util":"^5.2.0","ethers":"^4.0.23","reconnecting-websocket":"^4.1.10","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","trustlines-contracts-abi":"dev","ws":"^6.2.1"},"readme":"# Trustlines Clientlib\n\n[![npm](https://img.shields.io/npm/v/trustlines-clientlib.svg)](https://www.npmjs.com/package/trustlines-clientlib)\n[![CircleCI branch](https://img.shields.io/circleci/project/github/trustlines-protocol/clientlib/master.svg)](https://circleci.com/gh/trustlines-protocol/clientlib)\n[![Codecov branch](https://img.shields.io/codecov/c/github/trustlines-protocol/clientlib/master.svg)](https://codecov.io/gh/trustlines-protocol/clientlib)\n\nA TypeScript/JavaScript library for interacting with the [Trustlines Network Protocol](https://trustlines.network/).\n\n## Installation\n\n### Install via package manager\n\nWe publish the trustlines-clientlib to npm as a ES6 module.\n\n#### Using npm\n\n```bash\n$ npm i trustlines-clientlib\n```\n\n#### Using yarn\n\n```bash\n$ yarn add trustlines-clientlib\n```\n\n### Build from source\n\nIf you want to build the library from source run\n\n```bash\ngit clone git@github.com:trustlines-protocol/clientlib.git\ncd clientlib\nyarn && yarn build\n```\n\nThis will create three different builds:\n\n- ES6 module in `./lib-esm`\n- CommonJS module in `./lib`\n- Bundled JS injectable into browser in `./_bundles`\n\n## Get started\n\nWe assume the usage of the `trustlines-clientlib` ES6 module in the following.\n\n### Configuration\n\nTo start using the trustlines-clientlib you first have to configure the [relay server](https://github.com/trustlines-protocol/relay) you want to connect to.\nYou can either connect to a local develop relay server or use publicly available ones.\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n\n// Instance using a relay connected to the Laika Testnet\nconst laika = new TLNetwork({\n  protocol: 'https',\n  wsProtocol: 'wss',\n  host: 'relay0.testnet.trustlines.network',\n  path: '/api/v1'\n  // ...\n})\n\n// Instance using a relay connected to the TLBC\nconst tlbc = new TLNetwork({\n  protocol: 'https',\n  wsProtocol: 'wss',\n  host: '<url>', // TODO There is no public TLBC relay yet\n  path: '/api/v1'\n  // ...\n})\n```\n\n### Example usage\n\nThis library is a promise-based library.\nSo every asynchronous call will return a native JavaScript promise.\nIf an error occurs the library will throw it.\nThe caller has to handle it appropriately.\n\n```javascript\ntry {\n  const networks = await laika.currencyNetwork.getAll()\n} catch (error) {\n  console.log('Caught error:', error)\n}\n```\n\n### Read our [documentation]() for more\n\n## Run Tests\n\n```bash\n# All tests\nyarn test\n\n# Unit tests\nyarn test:unit\n\n# Integration tests\nyarn test:integration\n\n# end2end tests\nyarn test:e2e\n```\n\n### Note on end2end tests\n\nYou have to have all components of the trustlines protocol running.\nA convenient way to achieve this is by using our [end2end](https://github.com/trustlines-protocol/end2end) setup.\n\n## Running injected web3 example\n\nTo run the example make sure to have [MetaMask](https://metamask.io/) installed and connected to a JSON RPC.\n\n```bash\nyarn serve\n```\n\nThis serves the injected web3 example app on `http://127.0.0.1:8080`. You can find the app under `./examples/injected-web3`.\n\n## Change log\n\nSee [CHANGELOG](./CHANGELOG.md)\n","readmeFilename":"README.md","gitHead":"be6fa1757c8f5d4e0330463be1c7ee9714bf6e59","_id":"trustlines-clientlib@0.11.1-0-dev.20200213T140149Z.be6fa17","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"trustlines-deploy","email":"bernd@brainbot.com"},"dist":{"integrity":"sha512-EHa6PZ5FDX7cHYltVzmlQa5Lb7r5zovVmfkjVNCL4+Dc8dGrdZqVMJQl/1MQ2geIuqEcML33iB+MippjLn1EOw==","shasum":"57284b25502727759b5f59d67354efd301d7c76c","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.11.1-0-dev.20200213T140149Z.be6fa17.tgz","fileCount":69,"unpackedSize":431228,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeRVlYCRA9TVsSAnZWagAAScQP/02k9nO/duv7P8sE0Gsn\nmnqNTKeNQfMMfUudlzqz/19qeg5AjFuF+cqLnGVle581f0W6lLcJrh7oU40E\nOgc0D9Txdn/6v5udVgGyMxrHM0ABJ+90dcyL/utasTOv7IcxKCrrj46JhIwj\neYPz1wFLlkPZ3jkyco214iUbNUzHEHw7leOZCwrfSwPWwQoh/L0lW7Mkcj9z\nzoeQV3sqltsTA99iZnXJrZRjNd4p8rhIEqPUs0jaGTUa2FP6/YEHpqLeodXK\nUvhHws3Pp/ebiY8R0X47vgakIk0ZO11T9M+vEIaUf0UPgl1oz6q89lENzMjC\nfAv7ykHs02rvU5zaSkJHxze4Ee6tU5bCLO/OXln8O5m6BmHoElluhkfDtti6\n37bUby/DP31lp6KMvGqxqNtHSgHHnfsZt797PF/LYVmwzPbkouh2qc+uQS3Q\n5OjoFZgALHgmtJe3VDNCOz4jlyWniMY08P0wD0FuMI1IWGIf2fmYS1Rkjw6/\noFqaXt7NanQg8hW+vFFdbNygRL/VwCoFS3p+bXOIIi36WDxFa5YKSO1JFqv2\nDYwL9rvCQQdaHaaMrtgNjG4dAYVbtEsV9NxSPW1a5A0YBCPZC6iIlXTXP+5k\n4IJde0C73m1ClR4O+BMXOXQHQAmZeCcY4sKswYadx1cV09KOgL4eOBQrTFfG\nDKlv\r\n=RhX3\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDHDCzUaq42Gq8eqQPrqXOnHcZDUcrwfi2VlHSjSGko5QIhAPOKpJvmHuE3HdFmCKeFpuEJ4lIApu3uvrqrzCT+oP+k"}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"},{"email":"bernd@brainbot.com","name":"trustlines-deploy"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.11.1-0-dev.20200213T140149Z.be6fa17_1581603160415_0.886398540609054"},"_hasShrinkwrap":false},"0.11.1-0-dev.20200218T090125Z.87d6cfc":{"name":"trustlines-clientlib","version":"0.11.1-0-dev.20200218T090125Z.87d6cfc","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"typedoc --options tdconfig.json","lint":"tslint -c tslint.json './src/**/**.ts' './tests/**/**.ts'","prettier":"prettier --write './{src,tests}/**/*.ts'","prettier:check":"prettier --check './{src,tests}/**/*.ts'","prettier:big-tabs":"prettier --write --print-width 120 --no-semi --single-quote --tab-width 4  './{src,tests}/**/*.ts'","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","coverage":"nyc report --reporter=text-lcov > coverage.lcov && codecov","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump":"./bump.sh","serve":"webpack && cp -r ./_bundles ./examples/injected-web3 && http-server ./examples/injected-web3"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{ts,js,json,css,md}":["prettier --write","git add"],"*.ts":["tslint -c tslint.json --fix","git add"]},"nyc":{"extension":[".ts"],"include":["src"],"reporter":["text"],"all":true},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.5.2","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","codecov":"^3.5.0","es6-promise":"^4.1.1","fetch-mock":"^7.2.5","fluid-publish":"^2.2.0","http-server":"^0.11.1","husky":"^2.4.0","isomorphic-fetch":"^2.2.1","lint-staged":"^8.2.0","mocha":"^5.2.0","nyc":"^14.1.0","prettier":"^1.15.2","ts-node":"^7.0.0","tslint":"^5.17.0","tslint-config-prettier":"^1.18.0","typedoc":"^0.16.9","types-ethereumjs-util":"0.0.8","typescript":"^2.9.2","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"bignumber.js":"7.2.1","ethereumjs-util":"^5.2.0","ethers":"^4.0.23","reconnecting-websocket":"^4.1.10","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","trustlines-contracts-abi":"dev","typedoc-plugin-markdown":"^2.2.16","ws":"^6.2.1"},"readme":"# Trustlines Clientlib\n\n[![npm](https://img.shields.io/npm/v/trustlines-clientlib.svg)](https://www.npmjs.com/package/trustlines-clientlib)\n[![CircleCI branch](https://img.shields.io/circleci/project/github/trustlines-protocol/clientlib/master.svg)](https://circleci.com/gh/trustlines-protocol/clientlib)\n[![Codecov branch](https://img.shields.io/codecov/c/github/trustlines-protocol/clientlib/master.svg)](https://codecov.io/gh/trustlines-protocol/clientlib)\n\nA TypeScript/JavaScript library for interacting with the [Trustlines Network Protocol](https://trustlines.network/).\n\n## Installation\n\n### Install via package manager\n\nWe publish the trustlines-clientlib to npm as a ES6 module.\n\n#### Using npm\n\n```bash\n$ npm i trustlines-clientlib\n```\n\n#### Using yarn\n\n```bash\n$ yarn add trustlines-clientlib\n```\n\n### Build from source\n\nIf you want to build the library from source run\n\n```bash\ngit clone git@github.com:trustlines-protocol/clientlib.git\ncd clientlib\nyarn && yarn build\n```\n\nThis will create three different builds:\n\n- ES6 module in `./lib-esm`\n- CommonJS module in `./lib`\n- Bundled JS injectable into browser in `./_bundles`\n\n## Get started\n\nWe assume the usage of the `trustlines-clientlib` ES6 module in the following.\n\n### Configuration\n\nTo start using the trustlines-clientlib you first have to configure the [relay server](https://github.com/trustlines-protocol/relay) you want to connect to.\nYou can either connect to a local develop relay server or use publicly available ones.\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n\n// Instance using a relay connected to the Laika Testnet\nconst laika = new TLNetwork({\n  protocol: 'https',\n  wsProtocol: 'wss',\n  host: 'relay0.testnet.trustlines.network',\n  path: '/api/v1'\n  // ...\n})\n\n// Instance using a relay connected to the TLBC\nconst tlbc = new TLNetwork({\n  protocol: 'https',\n  wsProtocol: 'wss',\n  host: '<url>', // TODO There is no public TLBC relay yet\n  path: '/api/v1'\n  // ...\n})\n```\n\n### Example usage\n\nThis library is a promise-based library.\nSo every asynchronous call will return a native JavaScript promise.\nIf an error occurs the library will throw it.\nThe caller has to handle it appropriately.\n\n```javascript\ntry {\n  const networks = await laika.currencyNetwork.getAll()\n} catch (error) {\n  console.log('Caught error:', error)\n}\n```\n\n### Read our [documentation]() for more\n\n## Run Tests\n\n```bash\n# All tests\nyarn test\n\n# Unit tests\nyarn test:unit\n\n# Integration tests\nyarn test:integration\n\n# end2end tests\nyarn test:e2e\n```\n\n### Note on end2end tests\n\nYou have to have all components of the trustlines protocol running.\nA convenient way to achieve this is by using our [end2end](https://github.com/trustlines-protocol/end2end) setup.\n\n## Documentation\n\nYou can find the documentation for the trustlines-clientlib [here](https://dev.trustlines.network/docs/clientlib/clientlib.html).\nThe underlying markdown files of the documentation can be found in this repository under the `./docs` directory.\nTo generate the [typedoc](https://typedoc.org/) API reference documentation for this library run `yarn doc`.\n\n## Running injected web3 example\n\nTo run the example make sure to have [MetaMask](https://metamask.io/) installed and connected to a JSON RPC.\n\n```bash\nyarn serve\n```\n\nThis serves the injected web3 example app on `http://127.0.0.1:8080`. You can find the app under `./examples/injected-web3`.\n\n## Change log\n\nSee [CHANGELOG](./CHANGELOG.md)\n","readmeFilename":"README.md","gitHead":"87d6cfca2b05b3f0a7c22c7d1006e7b6142896ec","_id":"trustlines-clientlib@0.11.1-0-dev.20200218T090125Z.87d6cfc","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"trustlines-deploy","email":"bernd@brainbot.com"},"dist":{"integrity":"sha512-q2aMVVq7B8Rye+uVb2DXsvTLE8lRtL0cAKfna3wZx4jODb26t0gUspVoTlmYkkSI4lV7yEGuUUBHmhWasri5Sw==","shasum":"000afda99e7d3bb1bb1a82e384b7a71f4b7dcb9d","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.11.1-0-dev.20200218T090125Z.87d6cfc.tgz","fileCount":69,"unpackedSize":435493,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeS6pXCRA9TVsSAnZWagAADv4P/0qvyuFDSRdv7rUbJCjo\n8hj2097baf0nojWRGuYzfWv/tXPNnj04NnGEyxZyLTVj2M9MGxxu/ULqcVZA\nSHp/kdOZhQM1uytbXLmuk1a500PnPNzQTwtN4numa3Km6HsyM94EfB7ws/Sq\nm2/FqwPS/HGaQ3j6XInCGkqJKIhFJtMneH6EV8aG7WwInEgBzc6B45dNvpCN\nGd+gdz1+f1JeiIf+hUSvychP/ZsyTaFkhGAALTqEd2t7/8iqfqfa6uX8W1lR\nqzDNvYfAnf6cbDe9ZdwMNx58F4DPtusgaG9J9Ye2REgrpHIyG6W5u2HNgRmW\n6DbaQWW8xmkpcb6OHRRaL/PbcPMoxuOxDoLY73CQ/ZatX3LV9wE63FmGiKWW\ntdAhZxnD6R1jp8BAexYqiqWlpLZJSXzxTzur3azWvjR5XUNN9rkNWMhI7+/M\nfdqkUfFQgNPdj8SqX9AOX00cDGMZssej0RCe8WlNIDl1uK/wFrJMH2v0RVil\nV1jY7+X2Pn7E+9GQBIoleH1O681dAkIwAREO4Ku6OlYnJjVHwr8zmfdeaxlj\nX6eHL4eKHvvh4kdyB3Mei1hVOHFv7/iyZj2exuw5Sx9Zq4fwrwy7uE+rAzs1\noYPOnqtMcRi/se54S0ZBayqSglOpo0oHtyBSfs7JiPR1vgJtHLPsoiMSmjjn\npuFy\r\n=BSHe\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDvHMQ/numNSn7DEqlsIRntc8reW0O2Ps37A1aWmWzhkAIhAKovagT49fLf7zhIsHylKWghuy9Mh5eQKdaO5gV9fl2j"}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"},{"email":"bernd@brainbot.com","name":"trustlines-deploy"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.11.1-0-dev.20200218T090125Z.87d6cfc_1582017111390_0.47861466789722473"},"_hasShrinkwrap":false},"0.11.1-0-dev.20200219T141958Z.3b22a28":{"name":"trustlines-clientlib","version":"0.11.1-0-dev.20200219T141958Z.3b22a28","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"typedoc --options tdconfig.json","lint":"tslint -c tslint.json './src/**/**.ts' './tests/**/**.ts'","prettier":"prettier --write './{src,tests}/**/*.ts'","prettier:check":"prettier --check './{src,tests}/**/*.ts'","prettier:big-tabs":"prettier --write --print-width 120 --no-semi --single-quote --tab-width 4  './{src,tests}/**/*.ts'","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","coverage":"nyc report --reporter=text-lcov > coverage.lcov && codecov","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump":"./bump.sh","serve":"webpack && cp -r ./_bundles ./examples/injected-web3 && http-server ./examples/injected-web3"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{ts,js,json,css,md}":["prettier --write","git add"],"*.ts":["tslint -c tslint.json --fix","git add"]},"nyc":{"extension":[".ts"],"include":["src"],"reporter":["text"],"all":true},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.5.2","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","codecov":"^3.5.0","es6-promise":"^4.1.1","fetch-mock":"^7.2.5","fluid-publish":"^2.2.0","http-server":"^0.11.1","husky":"^2.4.0","isomorphic-fetch":"^2.2.1","lint-staged":"^8.2.0","mocha":"^5.2.0","nyc":"^14.1.0","prettier":"^1.15.2","ts-node":"^7.0.0","tslint":"^5.17.0","tslint-config-prettier":"^1.18.0","typedoc":"^0.16.9","types-ethereumjs-util":"0.0.8","typescript":"^2.9.2","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"bignumber.js":"7.2.1","ethereumjs-util":"^5.2.0","ethers":"^4.0.23","reconnecting-websocket":"^4.1.10","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","trustlines-contracts-abi":"dev","typedoc-plugin-markdown":"^2.2.16","ws":"^6.2.1"},"readme":"# Trustlines Clientlib\n\n[![npm](https://img.shields.io/npm/v/trustlines-clientlib.svg)](https://www.npmjs.com/package/trustlines-clientlib)\n[![CircleCI branch](https://img.shields.io/circleci/project/github/trustlines-protocol/clientlib/master.svg)](https://circleci.com/gh/trustlines-protocol/clientlib)\n[![Codecov branch](https://img.shields.io/codecov/c/github/trustlines-protocol/clientlib/master.svg)](https://codecov.io/gh/trustlines-protocol/clientlib)\n\nA TypeScript/JavaScript library for interacting with the [Trustlines Network Protocol](https://trustlines.network/).\n\n## Installation\n\n### Install via package manager\n\nWe publish the trustlines-clientlib to npm as a ES6 module.\n\n#### Using npm\n\n```bash\n$ npm i trustlines-clientlib\n```\n\n#### Using yarn\n\n```bash\n$ yarn add trustlines-clientlib\n```\n\n### Build from source\n\nIf you want to build the library from source run\n\n```bash\ngit clone git@github.com:trustlines-protocol/clientlib.git\ncd clientlib\nyarn && yarn build\n```\n\nThis will create three different builds:\n\n- ES6 module in `./lib-esm`\n- CommonJS module in `./lib`\n- Bundled JS injectable into browser in `./_bundles`\n\n## Get started\n\nWe assume the usage of the `trustlines-clientlib` ES6 module in the following.\n\n### Configuration\n\nTo start using the trustlines-clientlib you first have to configure the [relay server](https://github.com/trustlines-protocol/relay) you want to connect to.\nYou can either connect to a local develop relay server or use publicly available ones.\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n\n// Instance using a relay connected to the Laika Testnet\nconst laika = new TLNetwork({\n  protocol: 'https',\n  wsProtocol: 'wss',\n  host: 'relay0.testnet.trustlines.network',\n  path: '/api/v1'\n  // ...\n})\n\n// Instance using a relay connected to the TLBC\nconst tlbc = new TLNetwork({\n  protocol: 'https',\n  wsProtocol: 'wss',\n  host: '<url>', // TODO There is no public TLBC relay yet\n  path: '/api/v1'\n  // ...\n})\n```\n\n### Example usage\n\nThis library is a promise-based library.\nSo every asynchronous call will return a native JavaScript promise.\nIf an error occurs the library will throw it.\nThe caller has to handle it appropriately.\n\n```javascript\ntry {\n  const networks = await laika.currencyNetwork.getAll()\n} catch (error) {\n  console.log('Caught error:', error)\n}\n```\n\n### Read our [documentation]() for more\n\n## Run Tests\n\n```bash\n# All tests\nyarn test\n\n# Unit tests\nyarn test:unit\n\n# Integration tests\nyarn test:integration\n\n# end2end tests\nyarn test:e2e\n```\n\n### Note on end2end tests\n\nYou have to have all components of the trustlines protocol running.\nA convenient way to achieve this is by using our [end2end](https://github.com/trustlines-protocol/end2end) setup.\n\n## Documentation\n\nYou can find the documentation for the trustlines-clientlib [here](https://dev.trustlines.network/docs/clientlib/clientlib.html).\nThe underlying markdown files of the documentation can be found in this repository under the `./docs` directory.\nTo generate the [typedoc](https://typedoc.org/) API reference documentation for this library run `yarn doc`.\n\n## Running injected web3 example\n\nTo run the example make sure to have [MetaMask](https://metamask.io/) installed and connected to a JSON RPC.\n\n```bash\nyarn serve\n```\n\nThis serves the injected web3 example app on `http://127.0.0.1:8080`. You can find the app under `./examples/injected-web3`.\n\n## Change log\n\nSee [CHANGELOG](./CHANGELOG.md)\n","readmeFilename":"README.md","gitHead":"3b22a28531adbc2049aff33c3554e8434a8cbe1e","_id":"trustlines-clientlib@0.11.1-0-dev.20200219T141958Z.3b22a28","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"trustlines-deploy","email":"bernd@brainbot.com"},"dist":{"integrity":"sha512-lbMCXDTKlNJaWE1KPJWDoa5ZK+Ft7wrZvcrIUwTD6z7P78dIyLMmzqiCKnsmwN2H6I0/J7SCZmsJyRj6bOQPjQ==","shasum":"5e90a38d688175494dab939215fd9c6168451960","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.11.1-0-dev.20200219T141958Z.3b22a28.tgz","fileCount":72,"unpackedSize":442540,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeTUZnCRA9TVsSAnZWagAAV4UP/0NWc8V9JJ44+akv5GPf\nJz1Lp3Z74gtdR8yNEeaL0E1wpMisRGi3WjbiszNYNOuxfd9ZMd1W9e91zgU5\n+XvAeSGAESl+pHp1/QnGaNK6IF0dLiSj8Uj5rDR5CUBE/Hs0aVOb4l+TG+B2\nsKdrmmrq4ggY+i/4xZ7urQsxCh7hOE5Nwl75WOrSwMMOpcnWhcTGRpqpYfCN\n6FhOG46QETlt0T5VRXrsolr+XcTW521gj6KfVQplbMa5v099+wKf1dLH9o1/\n/rcCc2g+5YJRg4qg1lhqw/2JcG6FGJX3XsbhlB7SlHFzkcb2SctOGXi6UO2y\n6mN8dSRaYIOd7qWlH4mJf6ZNYUVPx262bxNA00Sqce2pXYUMCYxyfRMfNLkx\n1LDayvnlvi46Fm0/JNg4nkxT62L00Ayba3/1FsBKvvyAcnqQTji7GAnuc2ws\nxIhsIJ6wyeXpdks8HN/2jjvvif98SAEJ/7WEoBVzpfGKKtfeV2j5maDt3eE9\neQjHI7Z9rHkkIk+uCwI6108mRrWPKWrZ50bctImCXV2FkG+ety9Y00dDfRBj\nZdjEcPs17dFIwfgkFWwF6kEKp2eDuwGeSvafQRgE9JEsH69iLx0iKjzAyOGq\nRCaMDasDawkZA1XNrMBBRLAwdF2mGASKC/mBrYrJhj7td/X80sr1Ffn5vdPd\n71RQ\r\n=wm/M\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDNS4UN4aFWo5PSiKwNP7Rh41FMuKZH17bqRyO00Ngd8wIhANkmYLijplj/jyTavKopeRuNCQf79ttvvX48igTS/DUZ"}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"},{"email":"bernd@brainbot.com","name":"trustlines-deploy"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.11.1-0-dev.20200219T141958Z.3b22a28_1582122598531_0.9163774855490847"},"_hasShrinkwrap":false},"0.11.1-0-dev.20200219T155723Z.7879441":{"name":"trustlines-clientlib","version":"0.11.1-0-dev.20200219T155723Z.7879441","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"typedoc --options tdconfig.json","lint":"tslint -c tslint.json './src/**/**.ts' './tests/**/**.ts'","prettier":"prettier --write './{src,tests}/**/*.ts'","prettier:check":"prettier --check './{src,tests}/**/*.ts'","prettier:big-tabs":"prettier --write --print-width 120 --no-semi --single-quote --tab-width 4  './{src,tests}/**/*.ts'","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","coverage":"nyc report --reporter=text-lcov > coverage.lcov && codecov","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump":"./bump.sh","serve":"webpack && cp -r ./_bundles ./examples/injected-web3 && http-server ./examples/injected-web3"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{ts,js,json,css,md}":["prettier --write","git add"],"*.ts":["tslint -c tslint.json --fix","git add"]},"nyc":{"extension":[".ts"],"include":["src"],"reporter":["text"],"all":true},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.5.2","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","codecov":"^3.5.0","es6-promise":"^4.1.1","fetch-mock":"^7.2.5","fluid-publish":"^2.2.0","http-server":"^0.11.1","husky":"^2.4.0","isomorphic-fetch":"^2.2.1","lint-staged":"^8.2.0","mocha":"^5.2.0","nyc":"^14.1.0","prettier":"^1.15.2","ts-node":"^7.0.0","tslint":"^5.17.0","tslint-config-prettier":"^1.18.0","typedoc":"^0.16.9","types-ethereumjs-util":"0.0.8","typescript":"^2.9.2","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"bignumber.js":"7.2.1","ethereumjs-util":"^5.2.0","ethers":"^4.0.23","reconnecting-websocket":"^4.1.10","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","trustlines-contracts-abi":"dev","typedoc-plugin-markdown":"^2.2.16","ws":"^6.2.1"},"readme":"# Trustlines Clientlib\n\n[![npm](https://img.shields.io/npm/v/trustlines-clientlib.svg)](https://www.npmjs.com/package/trustlines-clientlib)\n[![CircleCI branch](https://img.shields.io/circleci/project/github/trustlines-protocol/clientlib/master.svg)](https://circleci.com/gh/trustlines-protocol/clientlib)\n[![Codecov branch](https://img.shields.io/codecov/c/github/trustlines-protocol/clientlib/master.svg)](https://codecov.io/gh/trustlines-protocol/clientlib)\n\nA TypeScript/JavaScript library for interacting with the [Trustlines Network Protocol](https://trustlines.network/).\n\n## Installation\n\n### Install via package manager\n\nWe publish the trustlines-clientlib to npm as a ES6 module.\n\n#### Using npm\n\n```bash\n$ npm i trustlines-clientlib\n```\n\n#### Using yarn\n\n```bash\n$ yarn add trustlines-clientlib\n```\n\n### Build from source\n\nIf you want to build the library from source run\n\n```bash\ngit clone git@github.com:trustlines-protocol/clientlib.git\ncd clientlib\nyarn && yarn build\n```\n\nThis will create three different builds:\n\n- ES6 module in `./lib-esm`\n- CommonJS module in `./lib`\n- Bundled JS injectable into browser in `./_bundles`\n\n## Get started\n\nWe assume the usage of the `trustlines-clientlib` ES6 module in the following.\n\n### Configuration\n\nTo start using the trustlines-clientlib you first have to configure the [relay server](https://github.com/trustlines-protocol/relay) you want to connect to.\nYou can either connect to a local develop relay server or use publicly available ones.\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n\n// Instance using a relay connected to the Laika Testnet\nconst laika = new TLNetwork({\n  protocol: 'https',\n  wsProtocol: 'wss',\n  host: 'relay0.testnet.trustlines.network',\n  path: '/api/v1'\n  // ...\n})\n\n// Instance using a relay connected to the TLBC\nconst tlbc = new TLNetwork({\n  protocol: 'https',\n  wsProtocol: 'wss',\n  host: '<url>', // TODO There is no public TLBC relay yet\n  path: '/api/v1'\n  // ...\n})\n```\n\n### Example usage\n\nThis library is a promise-based library.\nSo every asynchronous call will return a native JavaScript promise.\nIf an error occurs the library will throw it.\nThe caller has to handle it appropriately.\n\n```javascript\ntry {\n  const networks = await laika.currencyNetwork.getAll()\n} catch (error) {\n  console.log('Caught error:', error)\n}\n```\n\n### Read our [documentation]() for more\n\n## Run Tests\n\n```bash\n# All tests\nyarn test\n\n# Unit tests\nyarn test:unit\n\n# Integration tests\nyarn test:integration\n\n# end2end tests\nyarn test:e2e\n```\n\n### Note on end2end tests\n\nYou have to have all components of the trustlines protocol running.\nA convenient way to achieve this is by using our [end2end](https://github.com/trustlines-protocol/end2end) setup.\n\n## Documentation\n\nYou can find the documentation for the trustlines-clientlib [here](https://dev.trustlines.network/docs/clientlib/clientlib.html).\nThe underlying markdown files of the documentation can be found in this repository under the `./docs` directory.\nTo generate the [typedoc](https://typedoc.org/) API reference documentation for this library run `yarn doc`.\n\n## Running injected web3 example\n\nTo run the example make sure to have [MetaMask](https://metamask.io/) installed and connected to a JSON RPC.\n\n```bash\nyarn serve\n```\n\nThis serves the injected web3 example app on `http://127.0.0.1:8080`. You can find the app under `./examples/injected-web3`.\n\n## Change log\n\nSee [CHANGELOG](./CHANGELOG.md)\n","readmeFilename":"README.md","gitHead":"7879441cb440a82c17d43f073e55b67e5fb1a8ec","_id":"trustlines-clientlib@0.11.1-0-dev.20200219T155723Z.7879441","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"trustlines-deploy","email":"bernd@brainbot.com"},"dist":{"integrity":"sha512-wCJmDYKUUciAYntKgFkKdv4nWdK7N0Tdi3ISPlrraF5uaJ3WoAcTjFbyMkV2KuCP/1n3tnaUcnCihEhQvEXocw==","shasum":"d5d847392cac2ce7ea2a81d8ebacb2592be9edc7","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.11.1-0-dev.20200219T155723Z.7879441.tgz","fileCount":72,"unpackedSize":443444,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeTV1TCRA9TVsSAnZWagAAhYAQAIR7RvsrlyNzi43xPC8b\nH1BfdrJN5es56HiQ3he1/wOp/j7xtXLkJTW/ZB/AhTvj1UYEb38N3sx67t47\n+oFdrW1hXxPW/OGJV9P6rsWCJ1a30vQL+opAbgq/gbgXOiZ+KZGITMmJD8pL\nqjQjhTFT9HFBzfYkGYUqju3vRfER7DOkXzHdaWbzA4ObfoOs2uR9wyv1fK5a\nQ/7BlK+SqFXR7F1T99oh79gyVXwMLTYTsDvl/P6FBNhxNKsaZ0v2+3FREHYN\nt5qyt3yDG6BQX2uUfTlXz9opU9raBd+n6LdVR6kuHjkl6/LfAfAyaXa5yppV\n3rysC8hwXRh46SX4UVjAVYASE6a+/R5XA9FKFlSK/LsV/kCcp3QTiAbmA+bN\nW9Hhk1nLJW4gX9yII83vocdimbKDYMg9HreehuV6+LMMpXwEtgfyrT6Nvit6\nm+CakptvkBMTWpR/S/45n3gQm9a82dJT+36ffghhyekq4xCBpC0eQf2yf4Za\nbelXHOlzbOCdSv06BlHlXOG25ygG9r21UYsTQ2cJafK2u7uQ8yy7inssrct8\nxvfqkNFGIS9DuMrZbANM8Sy64f88d6WtCGfdzRIbItcZ8oJlKOPWM/rKrsQH\n+GUkvUcVb2CS5z/e8ZXaiSQjzJt7WP2PUCkE8CY9P27i4NlunhxfN8FbrKdR\nkvL3\r\n=b7Mj\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDxcACT1U/xLV3G45Ky+yQLey/Het3QsrC/m9je80Xa5gIgb46+fp5mQl5YIb5VwE4hxJKHoj9Jw0vM2eeb9MYMrnk="}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"},{"email":"bernd@brainbot.com","name":"trustlines-deploy"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.11.1-0-dev.20200219T155723Z.7879441_1582128466806_0.19440816036365316"},"_hasShrinkwrap":false},"0.12.0":{"name":"trustlines-clientlib","version":"0.12.0","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"typedoc --options tdconfig.json","lint":"tslint -c tslint.json './src/**/**.ts' './tests/**/**.ts'","prettier":"prettier --write './{src,tests}/**/*.ts'","prettier:check":"prettier --check './{src,tests}/**/*.ts'","prettier:big-tabs":"prettier --write --print-width 120 --no-semi --single-quote --tab-width 4  './{src,tests}/**/*.ts'","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","coverage":"nyc report --reporter=text-lcov > coverage.lcov && codecov","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump":"./bump.sh","serve":"webpack && cp -r ./_bundles ./examples/injected-web3 && http-server ./examples/injected-web3"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{ts,js,json,css,md}":["prettier --write","git add"],"*.ts":["tslint -c tslint.json --fix","git add"]},"nyc":{"extension":[".ts"],"include":["src"],"reporter":["text"],"all":true},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.5.2","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","codecov":"^3.5.0","es6-promise":"^4.1.1","fetch-mock":"^7.2.5","fluid-publish":"^2.2.0","http-server":"^0.11.1","husky":"^2.4.0","isomorphic-fetch":"^2.2.1","lint-staged":"^8.2.0","mocha":"^5.2.0","nyc":"^14.1.0","prettier":"^1.15.2","ts-node":"^7.0.0","tslint":"^5.17.0","tslint-config-prettier":"^1.18.0","typedoc":"^0.16.9","types-ethereumjs-util":"0.0.8","typescript":"^2.9.2","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"bignumber.js":"7.2.1","ethereumjs-util":"^5.2.0","ethers":"^4.0.23","reconnecting-websocket":"^4.1.10","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","trustlines-contracts-abi":"dev","typedoc-plugin-markdown":"^2.2.16","ws":"^6.2.1"},"licenseText":"MIT License\n\nCopyright (c) 2017 Trustlines Network\nCopyright (c) 2019 Trustlines Foundation\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"trustlines-clientlib@0.12.0","dist":{"shasum":"be987872ef832df360f6c85814bbd1815387ba0b","integrity":"sha512-5g/SMnIzOecJmc3H0mG3apOyBs/7lK42ddVunNs+mhSzVTFpvZDpO7UCmzSkNwXAyP+eEHm9nL2IftfNA/X+MQ==","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.12.0.tgz","fileCount":79,"unpackedSize":443413,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeTWEWCRA9TVsSAnZWagAA0gsP/iKUNQ7TewDPLYkv952s\nILozC7bJGGWffXs2KOySjLEK0r23osydcPJNEYcLaLtldpcJCidQ8poqIbiN\noZDUD8Dk5n3k3p6JCKg8Yiovg/ajvXTlUBp8gKbdUnbCSSaUvZbBR3tlUh70\nXZJ9y+S4MmyUdn/Ua2QqBmpyj9h01fSx+iK8eR4j9Sdx9QzwKFYjdBjU77iE\niYt1dt0PZfjpJAX2B8MsGymazeDz+HdVNWeFF7eBaYIAhJUcbhi4lV2/3hTi\nAvBxSzWtgrSBl8vjYHcAD978VSRYNtM8P0tkMMKS4O0BOOiJfl/xmy+/Mt/l\nJaIqrIyuUK2Lb0OrATyuHbninuf5yHZg70C7Nytdr8XdKrK2d/IVs+ax6pmY\nZyx3FKCCkRRHBGBfPJwazqmEfEwyUEc/ZrCi/AQtl9w06Qgllonj83iJr2D4\n/ArdDmhHJMttB6nj39+4QiaQiBlzLodpW+Yrnbmt/Qp1gdmqt7h/1l+fc2wA\nNUmVzLXGy35c1Ju2qqRtUbS3s3dUzry2VhbZvRN+YONSgMyPM57ulNvBZ4Uc\ngg18Oas3MA0aJRXSYMhwCGM4osvx5lNgEkTWWn1mgHWvyfaO2EXFMVNqvcoY\nmGTgXbLFmu7U68B1NMqPl2eFCfukVpzLE8OSDYc10ZoTaz0LS816b9YhM6X8\nvIDd\r\n=3hII\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCVuUUPtAIC6vcl279fznLini4wFryhZlDVMcf+FpgUsQIhAMUibeXcJiMRT9Qt3WK3skld2Z6TUBW4gba+sMMq/RF9"}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"},{"email":"bernd@brainbot.com","name":"trustlines-deploy"}],"_npmUser":{"name":"trustlines-deploy","email":"bernd@brainbot.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.12.0_1582129429996_0.20672488130671285"},"_hasShrinkwrap":false,"deprecated":"Package was moved to the @trustlines organisation. Intall latest version with npm install @trustlines/trustlines-clientlib"},"0.12.1-0-dev.20200219T162132Z.cb9c6a9":{"name":"trustlines-clientlib","version":"0.12.1-0-dev.20200219T162132Z.cb9c6a9","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"typedoc --options tdconfig.json","lint":"tslint -c tslint.json './src/**/**.ts' './tests/**/**.ts'","prettier":"prettier --write './{src,tests}/**/*.ts'","prettier:check":"prettier --check './{src,tests}/**/*.ts'","prettier:big-tabs":"prettier --write --print-width 120 --no-semi --single-quote --tab-width 4  './{src,tests}/**/*.ts'","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","coverage":"nyc report --reporter=text-lcov > coverage.lcov && codecov","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump":"./bump.sh","serve":"webpack && cp -r ./_bundles ./examples/injected-web3 && http-server ./examples/injected-web3"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{ts,js,json,css,md}":["prettier --write","git add"],"*.ts":["tslint -c tslint.json --fix","git add"]},"nyc":{"extension":[".ts"],"include":["src"],"reporter":["text"],"all":true},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.5.2","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","codecov":"^3.5.0","es6-promise":"^4.1.1","fetch-mock":"^7.2.5","fluid-publish":"^2.2.0","http-server":"^0.11.1","husky":"^2.4.0","isomorphic-fetch":"^2.2.1","lint-staged":"^8.2.0","mocha":"^5.2.0","nyc":"^14.1.0","prettier":"^1.15.2","ts-node":"^7.0.0","tslint":"^5.17.0","tslint-config-prettier":"^1.18.0","typedoc":"^0.16.9","types-ethereumjs-util":"0.0.8","typescript":"^2.9.2","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"bignumber.js":"7.2.1","ethereumjs-util":"^5.2.0","ethers":"^4.0.23","reconnecting-websocket":"^4.1.10","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","trustlines-contracts-abi":"dev","typedoc-plugin-markdown":"^2.2.16","ws":"^6.2.1"},"readme":"# Trustlines Clientlib\n\n[![npm](https://img.shields.io/npm/v/trustlines-clientlib.svg)](https://www.npmjs.com/package/trustlines-clientlib)\n[![CircleCI branch](https://img.shields.io/circleci/project/github/trustlines-protocol/clientlib/master.svg)](https://circleci.com/gh/trustlines-protocol/clientlib)\n[![Codecov branch](https://img.shields.io/codecov/c/github/trustlines-protocol/clientlib/master.svg)](https://codecov.io/gh/trustlines-protocol/clientlib)\n\nA TypeScript/JavaScript library for interacting with the [Trustlines Network Protocol](https://trustlines.network/).\n\n## Installation\n\n### Install via package manager\n\nWe publish the trustlines-clientlib to npm as a ES6 module.\n\n#### Using npm\n\n```bash\n$ npm i trustlines-clientlib\n```\n\n#### Using yarn\n\n```bash\n$ yarn add trustlines-clientlib\n```\n\n### Build from source\n\nIf you want to build the library from source run\n\n```bash\ngit clone git@github.com:trustlines-protocol/clientlib.git\ncd clientlib\nyarn && yarn build\n```\n\nThis will create three different builds:\n\n- ES6 module in `./lib-esm`\n- CommonJS module in `./lib`\n- Bundled JS injectable into browser in `./_bundles`\n\n## Get started\n\nWe assume the usage of the `trustlines-clientlib` ES6 module in the following.\n\n### Configuration\n\nTo start using the trustlines-clientlib you first have to configure the [relay server](https://github.com/trustlines-protocol/relay) you want to connect to.\nYou can either connect to a local develop relay server or use publicly available ones.\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n\n// Instance using a relay connected to the Laika Testnet\nconst laika = new TLNetwork({\n  protocol: 'https',\n  wsProtocol: 'wss',\n  host: 'relay0.testnet.trustlines.network',\n  path: '/api/v1'\n  // ...\n})\n\n// Instance using a relay connected to the TLBC\nconst tlbc = new TLNetwork({\n  protocol: 'https',\n  wsProtocol: 'wss',\n  host: '<url>', // TODO There is no public TLBC relay yet\n  path: '/api/v1'\n  // ...\n})\n```\n\n### Example usage\n\nThis library is a promise-based library.\nSo every asynchronous call will return a native JavaScript promise.\nIf an error occurs the library will throw it.\nThe caller has to handle it appropriately.\n\n```javascript\ntry {\n  const networks = await laika.currencyNetwork.getAll()\n} catch (error) {\n  console.log('Caught error:', error)\n}\n```\n\n### Read our [documentation]() for more\n\n## Run Tests\n\n```bash\n# All tests\nyarn test\n\n# Unit tests\nyarn test:unit\n\n# Integration tests\nyarn test:integration\n\n# end2end tests\nyarn test:e2e\n```\n\n### Note on end2end tests\n\nYou have to have all components of the trustlines protocol running.\nA convenient way to achieve this is by using our [end2end](https://github.com/trustlines-protocol/end2end) setup.\n\n## Documentation\n\nYou can find the documentation for the trustlines-clientlib [here](https://dev.trustlines.network/docs/clientlib/clientlib.html).\nThe underlying markdown files of the documentation can be found in this repository under the `./docs` directory.\nTo generate the [typedoc](https://typedoc.org/) API reference documentation for this library run `yarn doc`.\n\n## Running injected web3 example\n\nTo run the example make sure to have [MetaMask](https://metamask.io/) installed and connected to a JSON RPC.\n\n```bash\nyarn serve\n```\n\nThis serves the injected web3 example app on `http://127.0.0.1:8080`. You can find the app under `./examples/injected-web3`.\n\n## Change log\n\nSee [CHANGELOG](./CHANGELOG.md)\n","readmeFilename":"README.md","gitHead":"cb9c6a98964cdf5d497da5f5e753df2a12fe393a","_id":"trustlines-clientlib@0.12.1-0-dev.20200219T162132Z.cb9c6a9","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"trustlines-deploy","email":"bernd@brainbot.com"},"dist":{"integrity":"sha512-cAs1SQltb7E2RNHGDoERS5Ava07UtRNFXa9f4GIDqbEIjp5Znm/awXTkshTfQIjvsS6UcZfXWFZ/Fli2Hg+SIg==","shasum":"5f6c5d3610704028e9935119909919593a8f1df9","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.12.1-0-dev.20200219T162132Z.cb9c6a9.tgz","fileCount":72,"unpackedSize":443444,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeTWMxCRA9TVsSAnZWagAAVV0QAKDAyMfEnenJd9zmuh6o\nEEcOJaGi28ctaCOOyCpiaH3P+cHs/ngCwHPNXxv4kFK4w//Q8ol2izZa61FL\nNdPdMNDbjvR9Dv2bOBCijy0O/ius7PtrNBCsfu4dNz0AB1O/vXLxYTFbq6bl\nRqLf8vQmK7gsv19M1yMQmS+FDS+K/54v2595nY1ELaJodt66Rlt5blSE9vhH\nEYGDmNYGsFfk5qAevWjpaotA771K66dktOLYZlUCe2XivVzSY5Ji4PyNZdVX\nC4g/Rmm1mKHapu2t0q5tEFHr6RIMK8sUofq2CL+SspSxLqlyOKT7nV3fCI0j\nFxThQ+FIhwXQ857Au9+Wu3B0tcJoR5zQHdUbK5soapNtKbpaKpoXaLj3P2i0\nEYTeQcDzyY1WIOHmUN6TydMRDzPJENzTRfP7BpLQ3QHtKrAw23KCoo0dXbiC\nRTWuX1HeA6XhRp+KU69+LoQdmFNcr1B2RMoU12kxkpLz6w6iof3WnXacHrYz\nKoEYmPniWN+0CAxydksSmYL1Qyanoyx6TqJ+FJ8mJcnpCWV76CHyns3O6cNH\nzfTvWdY7zx864O1AJsAH/gwTn1/Yjs57i36xc/8FQvZmQ5tN02PoUcNm133V\n+ZiLsEtA9Ts4TENX7mU2HKzJ75YooyOoauR+mA9MBrxTEbMnXJuhZSfK42K1\n+pQQ\r\n=avD7\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD4E9Tr/lg7U/TYggZ67mEXxik3gmBNwFaux7WCI06NZgIgYJh7vFUWszzxZycpU1ffzrFmUj0jEyCcSToQ5r/3Mcs="}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"},{"email":"bernd@brainbot.com","name":"trustlines-deploy"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.12.1-0-dev.20200219T162132Z.cb9c6a9_1582129969435_0.9677815356425963"},"_hasShrinkwrap":false},"0.12.1-0-dev.20200220T160636Z.4dbea9d":{"name":"trustlines-clientlib","version":"0.12.1-0-dev.20200220T160636Z.4dbea9d","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"typedoc --options tdconfig.json","lint":"tslint -c tslint.json './src/**/**.ts' './tests/**/**.ts'","prettier":"prettier --write './{src,tests}/**/*.ts'","prettier:check":"prettier --check './{src,tests}/**/*.ts'","prettier:big-tabs":"prettier --write --print-width 120 --no-semi --single-quote --tab-width 4  './{src,tests}/**/*.ts'","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","coverage":"nyc report --reporter=text-lcov > coverage.lcov && codecov","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump":"./bump.sh","serve":"webpack && cp -r ./_bundles ./examples/injected-web3 && http-server ./examples/injected-web3"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{ts,js,json,css,md}":["prettier --write","git add"],"*.ts":["tslint -c tslint.json --fix","git add"]},"nyc":{"extension":[".ts"],"include":["src"],"reporter":["text"],"all":true},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.5.2","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","codecov":"^3.5.0","es6-promise":"^4.1.1","fetch-mock":"^7.2.5","fluid-publish":"^2.2.0","http-server":"^0.11.1","husky":"^2.4.0","isomorphic-fetch":"^2.2.1","lint-staged":"^8.2.0","mocha":"^5.2.0","nyc":"^14.1.0","prettier":"^1.15.2","ts-node":"^7.0.0","tslint":"^5.17.0","tslint-config-prettier":"^1.18.0","typedoc":"^0.16.9","types-ethereumjs-util":"0.0.8","typescript":"^2.9.2","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"bignumber.js":"7.2.1","ethereumjs-util":"^5.2.0","ethers":"^4.0.23","reconnecting-websocket":"^4.1.10","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","trustlines-contracts-abi":"dev","typedoc-plugin-markdown":"^2.2.16","ws":"^6.2.1"},"readme":"# Trustlines Clientlib\n\n[![npm](https://img.shields.io/npm/v/trustlines-clientlib.svg)](https://www.npmjs.com/package/trustlines-clientlib)\n[![CircleCI branch](https://img.shields.io/circleci/project/github/trustlines-protocol/clientlib/master.svg)](https://circleci.com/gh/trustlines-protocol/clientlib)\n[![Codecov branch](https://img.shields.io/codecov/c/github/trustlines-protocol/clientlib/master.svg)](https://codecov.io/gh/trustlines-protocol/clientlib)\n\nA TypeScript/JavaScript library for interacting with the [Trustlines Network Protocol](https://trustlines.network/).\n\n## Installation\n\n### Install via package manager\n\nWe publish the trustlines-clientlib to npm as a ES6 module.\n\n#### Using npm\n\n```bash\n$ npm i trustlines-clientlib\n```\n\n#### Using yarn\n\n```bash\n$ yarn add trustlines-clientlib\n```\n\n### Build from source\n\nIf you want to build the library from source run\n\n```bash\ngit clone git@github.com:trustlines-protocol/clientlib.git\ncd clientlib\nyarn && yarn build\n```\n\nThis will create three different builds:\n\n- ES6 module in `./lib-esm`\n- CommonJS module in `./lib`\n- Bundled JS injectable into browser in `./_bundles`\n\n## Get started\n\nWe assume the usage of the `trustlines-clientlib` ES6 module in the following.\n\n### Configuration\n\nTo start using the trustlines-clientlib you first have to configure the [relay server](https://github.com/trustlines-protocol/relay) you want to connect to.\nYou can either connect to a local develop relay server or use publicly available ones.\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n\n// Instance using a relay connected to the Laika Testnet\nconst laika = new TLNetwork({\n  protocol: 'https',\n  wsProtocol: 'wss',\n  host: 'relay0.testnet.trustlines.network',\n  path: '/api/v1'\n  // ...\n})\n\n// Instance using a relay connected to the TLBC\nconst tlbc = new TLNetwork({\n  protocol: 'https',\n  wsProtocol: 'wss',\n  host: '<url>', // TODO There is no public TLBC relay yet\n  path: '/api/v1'\n  // ...\n})\n```\n\n### Example usage\n\nThis library is a promise-based library.\nSo every asynchronous call will return a native JavaScript promise.\nIf an error occurs the library will throw it.\nThe caller has to handle it appropriately.\n\n```javascript\ntry {\n  const networks = await laika.currencyNetwork.getAll()\n} catch (error) {\n  console.log('Caught error:', error)\n}\n```\n\n### Read our [documentation]() for more\n\n## Run Tests\n\n```bash\n# All tests\nyarn test\n\n# Unit tests\nyarn test:unit\n\n# Integration tests\nyarn test:integration\n\n# end2end tests\nyarn test:e2e\n```\n\n### Note on end2end tests\n\nYou have to have all components of the trustlines protocol running.\nA convenient way to achieve this is by using our [end2end](https://github.com/trustlines-protocol/end2end) setup.\n\n## Documentation\n\nYou can find the documentation for the trustlines-clientlib [here](https://dev.trustlines.network/docs/clientlib/clientlib.html).\nThe underlying markdown files of the documentation can be found in this repository under the `./docs` directory.\nTo generate the [typedoc](https://typedoc.org/) API reference documentation for this library run `yarn doc`.\n\n## Running injected web3 example\n\nTo run the example make sure to have [MetaMask](https://metamask.io/) installed and connected to a JSON RPC.\n\n```bash\nyarn serve\n```\n\nThis serves the injected web3 example app on `http://127.0.0.1:8080`. You can find the app under `./examples/injected-web3`.\n\n## Change log\n\nSee [CHANGELOG](./CHANGELOG.md)\n","readmeFilename":"README.md","gitHead":"4dbea9d2ccc1aa6e0f2fbd3bb829d8abf687137d","_id":"trustlines-clientlib@0.12.1-0-dev.20200220T160636Z.4dbea9d","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"trustlines-deploy","email":"bernd@brainbot.com"},"dist":{"integrity":"sha512-Q+FpGyfvPQD7VLrxBgD5c50FwIMCOOQAkqwRB35gCTBJ0HKl9Nqio1OA3j7ZFw3penAVlzzuWO0BnUqrAeIq8g==","shasum":"906b57b497758b70d371db3fbbdcf3bfeb873f49","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.12.1-0-dev.20200220T160636Z.4dbea9d.tgz","fileCount":72,"unpackedSize":443606,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeTrENCRA9TVsSAnZWagAABq8QAJ4EEoeaJgy+5OGgqZLG\nODWEgdKCpzgXIYUKU8z+2RfhaybVic5NQibufScwDYJeOqsyY06W8OqyZkvV\nfjeIwbLX9i5htxB1+tbTrqIfxJ/4TSS4MIHG1FDbmPhULzlDj1pfiaVja/9Q\nd5oU0nPQ3cvmGo5Lzrm4+cOX0ONkk5Zhbog2NW0C3Le0PWo7Ah5/d1/V/7Xy\ncMtgjwA7E2AhaYL/CxrGvo6ghSLP5c5uoWpNml/Emv4FZ4iWSBOJdBLnFTfK\n1UICQwE/whv/BPlj77/3sGRWRWwi6PIGdIGteJPWJovdBNXWB2MjxCClOEQY\njTKBYkNvmKjUMvG4qeXeYDe+DzIV9eCZ4amuBP5XmMdMXdwQVQcncY6kVIe2\nX/DtJ9KZY94NW/n6qyNiATlnwSOGat7UOuBXpVVwscYx/57UcM0U3LRFUfuH\nCpLOQQ/z/xxBdpqnMapLGU29s86+kDqvCoRH2LgVxwGakhYNhC0wswvwnhSz\nR/Ba+gvE58A3KaVzke2HKvZ+eP9sDeTYzGRhkRJTzlwB0nLSZ2MjVqRniGuK\nIVU4nVQXkItXIIzl0/CQ3q7k62+4bMjcnncNICwBvbb34H/25VLId+50eaB/\n/NVAAn7p3z2Kmdt0/OQEoc+cIeI4Gb4Md0LicGyAMCZyMrtq6ED+GEEOp9yh\nOitS\r\n=AnlT\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIF93aCJciFRRe0RCEnHsQ3+6HjaVOhufd10JyYURAdtDAiEAg3azYHOk6fngHb9gqp0An7xGZdfuFqilJrkYqvxcrzg="}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"},{"email":"bernd@brainbot.com","name":"trustlines-deploy"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.12.1-0-dev.20200220T160636Z.4dbea9d_1582215437148_0.6968899374053321"},"_hasShrinkwrap":false},"0.12.1":{"name":"trustlines-clientlib","version":"0.12.1","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"typedoc --options tdconfig.json","lint":"tslint -c tslint.json './src/**/**.ts' './tests/**/**.ts'","prettier":"prettier --write './{src,tests}/**/*.ts'","prettier:check":"prettier --check './{src,tests}/**/*.ts'","prettier:big-tabs":"prettier --write --print-width 120 --no-semi --single-quote --tab-width 4  './{src,tests}/**/*.ts'","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","coverage":"nyc report --reporter=text-lcov > coverage.lcov && codecov","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump":"./bump.sh","serve":"webpack && cp -r ./_bundles ./examples/injected-web3 && http-server ./examples/injected-web3"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{ts,js,json,css,md}":["prettier --write","git add"],"*.ts":["tslint -c tslint.json --fix","git add"]},"nyc":{"extension":[".ts"],"include":["src"],"reporter":["text"],"all":true},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.5.2","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","codecov":"^3.5.0","es6-promise":"^4.1.1","fetch-mock":"^7.2.5","fluid-publish":"^2.2.0","http-server":"^0.11.1","husky":"^2.4.0","isomorphic-fetch":"^2.2.1","lint-staged":"^8.2.0","mocha":"^5.2.0","nyc":"^14.1.0","prettier":"^1.15.2","ts-node":"^7.0.0","tslint":"^5.17.0","tslint-config-prettier":"^1.18.0","typedoc":"^0.16.9","types-ethereumjs-util":"0.0.8","typescript":"^2.9.2","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"bignumber.js":"7.2.1","ethereumjs-util":"^5.2.0","ethers":"^4.0.23","reconnecting-websocket":"^4.1.10","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","trustlines-contracts-abi":"dev","typedoc-plugin-markdown":"^2.2.16","ws":"^6.2.1"},"licenseText":"MIT License\n\nCopyright (c) 2017 Trustlines Network\nCopyright (c) 2019 Trustlines Foundation\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"trustlines-clientlib@0.12.1","dist":{"shasum":"878a5b0428c8b672ef11c404ca292d948bf9e0fb","integrity":"sha512-LwAlPJQLzwUwDFIvH60WbPATFJQ0prq6Ut597R6QTHp+ijcyKD1PYZH/sU1+ESEvedRRyIUHYR62Ou1xq1LU0Q==","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.12.1.tgz","fileCount":79,"unpackedSize":443730,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeTrE/CRA9TVsSAnZWagAAlawP/2r0snllz/XXjEJSgut9\nqjcObdA0cGnOF2fPHzpRIRuPSfd9IuoVGM181UXMpOw67pW7ZBYh8Sm2dZK9\nF2OTQtt4gEldzM5KJDy2NBXqUR1YsbU8iPjXI1otXb1DdrlQe4mI4OlRACz+\nn+sVS41Dro3a6cBIofTAGys/OChR0dWLHVQUwv7U6ZGBOtLLTxzx0vpiUMl8\nI/Ub6NKjGhWJPaXrVundYbDAFwGimKo53jrnltX0WcySgHTJmNB3inGALgsU\nrvfnDTZEXcNn3rcX3p5F3NXrPMMKAtMoJ2bBkQpvEHl+LeuZanrFO1nLtcSg\nGgOjRnHvKRiETq0w/gDjf/UY9HnUJPLM0QzZxhLljxNmf8j6Uj2WOZzKaELg\nEU55ZXsIOUPm+IoDFV1geyOsLj/d79KLlsEPpmxzfWt1sZXbmwV9ciY14ACS\nV8IbV3Fmx95/wrAr06UoikvR5KEp07sVby8n+9HNiFw6Z/IRpzgTDrdaC7pD\n+mugVt5YI82z6zz8ip7D7v7ueKgNVrd365EstxYpmER+Qg3GlbI4mOGtA52y\nQy7IEw6cyY7bVF+/pxwqh5JbHFI5uYSZJnnp0JHWDbDgaifv8j5n1jCX129N\n+w0ruzaQOShCE1iqtzcTuzd2kuerT0Altwe7G7+Lc5sz/li3hRu6l36bOI09\n5MAA\r\n=Qh9q\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDP+1DfMCIuhIlV/xb/g0LXTiw7LwxZ7QDdfJ1xEwdciAIhAJBWj1c2iA8d3BQ7CdOMv5UJnJJ793Yaaeo4w6EuxDpw"}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"},{"email":"bernd@brainbot.com","name":"trustlines-deploy"}],"_npmUser":{"name":"trustlines-deploy","email":"bernd@brainbot.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.12.1_1582215487342_0.8358994531832802"},"_hasShrinkwrap":false,"deprecated":"Package was moved to the @trustlines organisation. Intall latest version with npm install @trustlines/trustlines-clientlib"},"0.12.2-0-dev.20200220T161539Z.1a47551":{"name":"trustlines-clientlib","version":"0.12.2-0-dev.20200220T161539Z.1a47551","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"typedoc --options tdconfig.json","lint":"tslint -c tslint.json './src/**/**.ts' './tests/**/**.ts'","prettier":"prettier --write './{src,tests}/**/*.ts'","prettier:check":"prettier --check './{src,tests}/**/*.ts'","prettier:big-tabs":"prettier --write --print-width 120 --no-semi --single-quote --tab-width 4  './{src,tests}/**/*.ts'","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","coverage":"nyc report --reporter=text-lcov > coverage.lcov && codecov","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump":"./bump.sh","serve":"webpack && cp -r ./_bundles ./examples/injected-web3 && http-server ./examples/injected-web3"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{ts,js,json,css,md}":["prettier --write","git add"],"*.ts":["tslint -c tslint.json --fix","git add"]},"nyc":{"extension":[".ts"],"include":["src"],"reporter":["text"],"all":true},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.5.2","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","codecov":"^3.5.0","es6-promise":"^4.1.1","fetch-mock":"^7.2.5","fluid-publish":"^2.2.0","http-server":"^0.11.1","husky":"^2.4.0","isomorphic-fetch":"^2.2.1","lint-staged":"^8.2.0","mocha":"^5.2.0","nyc":"^14.1.0","prettier":"^1.15.2","ts-node":"^7.0.0","tslint":"^5.17.0","tslint-config-prettier":"^1.18.0","typedoc":"^0.16.9","types-ethereumjs-util":"0.0.8","typescript":"^2.9.2","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"bignumber.js":"7.2.1","ethereumjs-util":"^5.2.0","ethers":"^4.0.23","reconnecting-websocket":"^4.1.10","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","trustlines-contracts-abi":"dev","typedoc-plugin-markdown":"^2.2.16","ws":"^6.2.1"},"readme":"# Trustlines Clientlib\n\n[![npm](https://img.shields.io/npm/v/trustlines-clientlib.svg)](https://www.npmjs.com/package/trustlines-clientlib)\n[![CircleCI branch](https://img.shields.io/circleci/project/github/trustlines-protocol/clientlib/master.svg)](https://circleci.com/gh/trustlines-protocol/clientlib)\n[![Codecov branch](https://img.shields.io/codecov/c/github/trustlines-protocol/clientlib/master.svg)](https://codecov.io/gh/trustlines-protocol/clientlib)\n\nA TypeScript/JavaScript library for interacting with the [Trustlines Network Protocol](https://trustlines.network/).\n\n## Installation\n\n### Install via package manager\n\nWe publish the trustlines-clientlib to npm as a ES6 module.\n\n#### Using npm\n\n```bash\n$ npm i trustlines-clientlib\n```\n\n#### Using yarn\n\n```bash\n$ yarn add trustlines-clientlib\n```\n\n### Build from source\n\nIf you want to build the library from source run\n\n```bash\ngit clone git@github.com:trustlines-protocol/clientlib.git\ncd clientlib\nyarn && yarn build\n```\n\nThis will create three different builds:\n\n- ES6 module in `./lib-esm`\n- CommonJS module in `./lib`\n- Bundled JS injectable into browser in `./_bundles`\n\n## Get started\n\nWe assume the usage of the `trustlines-clientlib` ES6 module in the following.\n\n### Configuration\n\nTo start using the trustlines-clientlib you first have to configure the [relay server](https://github.com/trustlines-protocol/relay) you want to connect to.\nYou can either connect to a local develop relay server or use publicly available ones.\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n\n// Instance using a relay connected to the Laika Testnet\nconst laika = new TLNetwork({\n  protocol: 'https',\n  wsProtocol: 'wss',\n  host: 'relay0.testnet.trustlines.network',\n  path: '/api/v1'\n  // ...\n})\n\n// Instance using a relay connected to the TLBC\nconst tlbc = new TLNetwork({\n  protocol: 'https',\n  wsProtocol: 'wss',\n  host: '<url>', // TODO There is no public TLBC relay yet\n  path: '/api/v1'\n  // ...\n})\n```\n\n### Example usage\n\nThis library is a promise-based library.\nSo every asynchronous call will return a native JavaScript promise.\nIf an error occurs the library will throw it.\nThe caller has to handle it appropriately.\n\n```javascript\ntry {\n  const networks = await laika.currencyNetwork.getAll()\n} catch (error) {\n  console.log('Caught error:', error)\n}\n```\n\n### Read our [documentation]() for more\n\n## Run Tests\n\n```bash\n# All tests\nyarn test\n\n# Unit tests\nyarn test:unit\n\n# Integration tests\nyarn test:integration\n\n# end2end tests\nyarn test:e2e\n```\n\n### Note on end2end tests\n\nYou have to have all components of the trustlines protocol running.\nA convenient way to achieve this is by using our [end2end](https://github.com/trustlines-protocol/end2end) setup.\n\n## Documentation\n\nYou can find the documentation for the trustlines-clientlib [here](https://dev.trustlines.network/docs/clientlib/clientlib.html).\nThe underlying markdown files of the documentation can be found in this repository under the `./docs` directory.\nTo generate the [typedoc](https://typedoc.org/) API reference documentation for this library run `yarn doc`.\n\n## Running injected web3 example\n\nTo run the example make sure to have [MetaMask](https://metamask.io/) installed and connected to a JSON RPC.\n\n```bash\nyarn serve\n```\n\nThis serves the injected web3 example app on `http://127.0.0.1:8080`. You can find the app under `./examples/injected-web3`.\n\n## Change log\n\nSee [CHANGELOG](./CHANGELOG.md)\n","readmeFilename":"README.md","gitHead":"1a47551257d34f0f4022b02f2324b790e56d44bd","_id":"trustlines-clientlib@0.12.2-0-dev.20200220T161539Z.1a47551","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"trustlines-deploy","email":"bernd@brainbot.com"},"dist":{"integrity":"sha512-GNOqjpvLsRUoOEtTmJlHVLUBhbVOTiVPdE0H+fTNP1WMGkWW/N0u1RRZauftHs+tIYMcmulSa8dW/3jCSxqzJw==","shasum":"582c0b07bdcaeb65c99a02659b291307a5ca881f","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.12.2-0-dev.20200220T161539Z.1a47551.tgz","fileCount":72,"unpackedSize":443761,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeTrMuCRA9TVsSAnZWagAAWdEP/iypAuOr5r9cpFmeDV6v\nvImqJL+NiPPlKyHXPExE2wXT2RpY4Ywoj+lip2IF0NSsABlUwCQ62Khl6vsT\nsDuRBcqJGeZCdKe3A0lsjV6MCiRBcAt/YDcuDtAVxG9itAH5d7Zhej0OqyhZ\ngGEKmxLrGkRB2BoDL3ofOZi5MTT71SApkSfy6hKKRoevtLM44wgzvMFIl0m8\nTNAhalEopKSoOxiZQ3U6hcKv/XfT3Ras7A4r5oMFoQQ7kcc/GW3K0X57amUv\nfW6FjVF+7D+vNuAKVF4SDgUdcAR8f5xPOEin8xcK+VKvlLOnMSIhkI9idv/y\nxyYmDM6fUD431vGzwtmaEzlzk4hXnK8OETJwM8+Zfmu0z0nSvB/zDwIs/5+T\nnR424gGYT/9xrUZEiqj2N5sg+111OZ6t5YUP3gNg4TlpluC0f+MmnL3demmk\ncKehOa+vn6yAU2K8JWay3gEC3moLGmXpeP8+ClzwGGB8Dg6qEpUw7bL75PDl\n187cjFjYX18G7Gf9hBuNB5PNu1UARCZJum9m2JctHy/2LMdnYD7EF6KfaLiV\nf3WWq4hyZmI0tJCDcJzah+7nburr1i/o8jUbaPapyDTJrJZNzyoP75L1gqtf\nSQf0+MBqZDRkbUz+uKxf4CwFZmWas9WqDBgSLl0XdBlLm+J+hHFuCpR5GFQ0\nnAom\r\n=8WPV\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDPk3ApbEusvGeIXZE6zPWpCorurIoU10/hod8n72pw/wIhALuPDZXx6j9BkZ80Db1vQ2c8Nh6ozqLx+hkGHiC0ogvK"}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"},{"email":"bernd@brainbot.com","name":"trustlines-deploy"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.12.2-0-dev.20200220T161539Z.1a47551_1582215981761_0.27754365612887266"},"_hasShrinkwrap":false},"0.12.2-0-dev.20200221T105705Z.00da723":{"name":"trustlines-clientlib","version":"0.12.2-0-dev.20200221T105705Z.00da723","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"typedoc --options tdconfig.json","lint":"tslint -c tslint.json './src/**/**.ts' './tests/**/**.ts'","prettier":"prettier --write './{src,tests}/**/*.ts'","prettier:check":"prettier --check './{src,tests}/**/*.ts'","prettier:big-tabs":"prettier --write --print-width 120 --no-semi --single-quote --tab-width 4  './{src,tests}/**/*.ts'","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","coverage":"nyc report --reporter=text-lcov > coverage.lcov && codecov","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump":"./bump.sh","serve":"webpack && cp -r ./_bundles ./examples/injected-web3 && http-server ./examples/injected-web3"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{ts,js,json,css,md}":["prettier --write","git add"],"*.ts":["tslint -c tslint.json --fix","git add"]},"nyc":{"extension":[".ts"],"include":["src"],"reporter":["text"],"all":true},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.5.2","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","codecov":"^3.5.0","es6-promise":"^4.1.1","fetch-mock":"^7.2.5","fluid-publish":"^2.2.0","http-server":"^0.11.1","husky":"^2.4.0","isomorphic-fetch":"^2.2.1","lint-staged":"^8.2.0","mocha":"^5.2.0","nyc":"^14.1.0","prettier":"^1.15.2","ts-node":"^7.0.0","tslint":"^5.17.0","tslint-config-prettier":"^1.18.0","typedoc":"^0.16.9","types-ethereumjs-util":"0.0.8","typescript":"^2.9.2","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"bignumber.js":"7.2.1","ethereumjs-util":"^5.2.0","ethers":"^4.0.23","reconnecting-websocket":"^4.1.10","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","trustlines-contracts-abi":"dev","typedoc-plugin-markdown":"^2.2.16","ws":"^6.2.1"},"readme":"# Trustlines Clientlib\n\n[![npm](https://img.shields.io/npm/v/trustlines-clientlib.svg)](https://www.npmjs.com/package/trustlines-clientlib)\n[![CircleCI branch](https://img.shields.io/circleci/project/github/trustlines-protocol/clientlib/master.svg)](https://circleci.com/gh/trustlines-protocol/clientlib)\n[![Codecov branch](https://img.shields.io/codecov/c/github/trustlines-protocol/clientlib/master.svg)](https://codecov.io/gh/trustlines-protocol/clientlib)\n\nA TypeScript/JavaScript library for interacting with the [Trustlines Network Protocol](https://trustlines.network/).\n\n## Installation\n\n### Install via package manager\n\nWe publish the trustlines-clientlib to npm as a ES6 module.\n\n#### Using npm\n\n```bash\n$ npm i trustlines-clientlib\n```\n\n#### Using yarn\n\n```bash\n$ yarn add trustlines-clientlib\n```\n\n### Build from source\n\nIf you want to build the library from source run\n\n```bash\ngit clone git@github.com:trustlines-protocol/clientlib.git\ncd clientlib\nyarn && yarn build\n```\n\nThis will create three different builds:\n\n- ES6 module in `./lib-esm`\n- CommonJS module in `./lib`\n- Bundled JS injectable into browser in `./_bundles`\n\n## Get started\n\nWe assume the usage of the `trustlines-clientlib` ES6 module in the following.\n\n### Configuration\n\nTo start using the trustlines-clientlib you first have to configure the [relay server](https://github.com/trustlines-protocol/relay) you want to connect to.\nYou can either connect to a local develop relay server or use publicly available ones.\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n\n// Instance using a relay connected to the Laika Testnet\nconst laika = new TLNetwork({\n  protocol: 'https',\n  wsProtocol: 'wss',\n  host: 'relay0.testnet.trustlines.network',\n  path: '/api/v1'\n  // ...\n})\n\n// Instance using a relay connected to the TLBC\nconst tlbc = new TLNetwork({\n  protocol: 'https',\n  wsProtocol: 'wss',\n  host: '<url>', // TODO There is no public TLBC relay yet\n  path: '/api/v1'\n  // ...\n})\n```\n\n### Example usage\n\nThis library is a promise-based library.\nSo every asynchronous call will return a native JavaScript promise.\nIf an error occurs the library will throw it.\nThe caller has to handle it appropriately.\n\n```javascript\ntry {\n  const networks = await laika.currencyNetwork.getAll()\n} catch (error) {\n  console.log('Caught error:', error)\n}\n```\n\n### Read our [documentation]() for more\n\n## Run Tests\n\n```bash\n# All tests\nyarn test\n\n# Unit tests\nyarn test:unit\n\n# Integration tests\nyarn test:integration\n\n# end2end tests\nyarn test:e2e\n```\n\n### Note on end2end tests\n\nYou have to have all components of the trustlines protocol running.\nA convenient way to achieve this is by using our [end2end](https://github.com/trustlines-protocol/end2end) setup.\n\n## Documentation\n\nYou can find the documentation for the trustlines-clientlib [here](https://dev.trustlines.network/docs/clientlib/clientlib.html).\nThe underlying markdown files of the documentation can be found in this repository under the `./docs` directory.\nTo generate the [typedoc](https://typedoc.org/) API reference documentation for this library run `yarn doc`.\n\n## Running injected web3 example\n\nTo run the example make sure to have [MetaMask](https://metamask.io/) installed and connected to a JSON RPC.\n\n```bash\nyarn serve\n```\n\nThis serves the injected web3 example app on `http://127.0.0.1:8080`. You can find the app under `./examples/injected-web3`.\n\n## Change log\n\nSee [CHANGELOG](./CHANGELOG.md)\n","readmeFilename":"README.md","gitHead":"00da723830805e34adb4530f5c6861f44542611d","_id":"trustlines-clientlib@0.12.2-0-dev.20200221T105705Z.00da723","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"trustlines-deploy","email":"bernd@brainbot.com"},"dist":{"integrity":"sha512-OCOU2SuitArOvCHsT8fmN+9Mf5sne114exW8bs//T0MN+ufMWPpLUBjrCBLBI/5x6nVDLsB+/GkYN0FH2beMOQ==","shasum":"16a81b2934dcb54f58d0f29bcc70fbbd065a53ca","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.12.2-0-dev.20200221T105705Z.00da723.tgz","fileCount":72,"unpackedSize":443777,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeT7naCRA9TVsSAnZWagAAZpoP/0En3izaRlN4lu+cw2oS\nyXo+vcaOk6xi2UjD2iPg4atXkcHA8ThfAb40+Qp9VBRlCVaTtgnky0zNQopa\naKLnJ6KbaKtJMJ2XOmCFPmG+/ml3PCqeGoYPUOrIdjcHOjqP7hAwvWTcF59e\nl90V+tD8pgrdnxQrAX6bLx8bmxg2FU4RvBOWUrDZnj8nRDnINaDNka0g94Hg\n4HdcpCP+KTnQ2RqQ5hHrmK2cwksp7+XKkd7wj1Hx2D8xhE/7+JtbcGEg8MmK\nShgq4qSOHQmcxrUBM54iuXTi2ANCyYdS2O6HGEIQMTTrVeYbtYk+k0h6Q35X\n2u3lAfN/VE9zyixL70HPaXaFw/XuOCD2/gwEp0KpUK9zTKnZX75kxEdZR5Xb\n8YoxQjt/IGRyAzlmJzzNoSBPiB0wuQ8oGXJ0pJEgEQlHgj2EV1W8q7gZk+Yj\nDRggLjmJubpX1ZJPhjDGERxyG02ERLbDwwWHvdNqsJyXGO1DLwWuMi4/APPH\n1KXOXLtyuUbbCati1gQ2UfLhCmDF9c33rw501YSX8v+clkdExDa2bw5Yr8Im\n5DdZLcadh3xL248JD0RNrteONJUJSxfj1eEecufCes1ixbP+4ucYxmwZKTIq\nR2zAG6QU2UU3Xqsd/xp3cq8JEJKBnISAZNGHYV1/jylMiLMimuKA+5y1Dpry\nolQp\r\n=B7lG\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCV+9dwIhRtrEAyLWdtscWPikk8XSw83uOKX1W1I981CAIgK/fjY2PFD9tupKfmUOtuzIdZqDOzIY7KkcSG7/VDGZI="}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"},{"email":"bernd@brainbot.com","name":"trustlines-deploy"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.12.2-0-dev.20200221T105705Z.00da723_1582283225222_0.021541676581380065"},"_hasShrinkwrap":false},"0.12.2-0-dev.20200221T105808Z.0261a1d":{"name":"trustlines-clientlib","version":"0.12.2-0-dev.20200221T105808Z.0261a1d","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"typedoc --options tdconfig.json","lint":"tslint -c tslint.json './src/**/**.ts' './tests/**/**.ts'","prettier":"prettier --write './{src,tests}/**/*.ts'","prettier:check":"prettier --check './{src,tests}/**/*.ts'","prettier:big-tabs":"prettier --write --print-width 120 --no-semi --single-quote --tab-width 4  './{src,tests}/**/*.ts'","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","coverage":"nyc report --reporter=text-lcov > coverage.lcov && codecov","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump":"./bump.sh","serve":"webpack && cp -r ./_bundles ./examples/injected-web3 && http-server ./examples/injected-web3"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{ts,js,json,css,md}":["prettier --write","git add"],"*.ts":["tslint -c tslint.json --fix","git add"]},"nyc":{"extension":[".ts"],"include":["src"],"reporter":["text"],"all":true},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.5.2","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","codecov":"^3.5.0","es6-promise":"^4.1.1","fetch-mock":"^7.2.5","fluid-publish":"^2.2.0","http-server":"^0.11.1","husky":"^2.4.0","isomorphic-fetch":"^2.2.1","lint-staged":"^8.2.0","mocha":"^5.2.0","nyc":"^14.1.0","prettier":"^1.15.2","ts-node":"^7.0.0","tslint":"^5.17.0","tslint-config-prettier":"^1.18.0","typedoc":"^0.16.9","types-ethereumjs-util":"0.0.8","typescript":"^2.9.2","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"bignumber.js":"7.2.1","ethereumjs-util":"^5.2.0","ethers":"^4.0.23","reconnecting-websocket":"^4.1.10","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","trustlines-contracts-abi":"dev","typedoc-plugin-markdown":"^2.2.16","ws":"^6.2.1"},"readme":"# Trustlines Clientlib\n\n[![npm](https://img.shields.io/npm/v/trustlines-clientlib.svg)](https://www.npmjs.com/package/trustlines-clientlib)\n[![CircleCI branch](https://img.shields.io/circleci/project/github/trustlines-protocol/clientlib/master.svg)](https://circleci.com/gh/trustlines-protocol/clientlib)\n[![Codecov branch](https://img.shields.io/codecov/c/github/trustlines-protocol/clientlib/master.svg)](https://codecov.io/gh/trustlines-protocol/clientlib)\n\nA TypeScript/JavaScript library for interacting with the [Trustlines Network Protocol](https://trustlines.network/).\n\n## Installation\n\n### Install via package manager\n\nWe publish the trustlines-clientlib to npm as a ES6 module.\n\n#### Using npm\n\n```bash\n$ npm i trustlines-clientlib\n```\n\n#### Using yarn\n\n```bash\n$ yarn add trustlines-clientlib\n```\n\n### Build from source\n\nIf you want to build the library from source run\n\n```bash\ngit clone git@github.com:trustlines-protocol/clientlib.git\ncd clientlib\nyarn && yarn build\n```\n\nThis will create three different builds:\n\n- ES6 module in `./lib-esm`\n- CommonJS module in `./lib`\n- Bundled JS injectable into browser in `./_bundles`\n\n## Get started\n\nWe assume the usage of the `trustlines-clientlib` ES6 module in the following.\n\n### Configuration\n\nTo start using the trustlines-clientlib you first have to configure the [relay server](https://github.com/trustlines-protocol/relay) you want to connect to.\nYou can either connect to a local develop relay server or use publicly available ones.\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n\n// Instance using a relay connected to the Laika Testnet\nconst laika = new TLNetwork({\n  protocol: 'https',\n  wsProtocol: 'wss',\n  host: 'relay0.testnet.trustlines.network',\n  path: '/api/v1'\n  // ...\n})\n\n// Instance using a relay connected to the TLBC\nconst tlbc = new TLNetwork({\n  protocol: 'https',\n  wsProtocol: 'wss',\n  host: '<url>', // TODO There is no public TLBC relay yet\n  path: '/api/v1'\n  // ...\n})\n```\n\n### Example usage\n\nThis library is a promise-based library.\nSo every asynchronous call will return a native JavaScript promise.\nIf an error occurs the library will throw it.\nThe caller has to handle it appropriately.\n\n```javascript\ntry {\n  const networks = await laika.currencyNetwork.getAll()\n} catch (error) {\n  console.log('Caught error:', error)\n}\n```\n\n### Read our [documentation]() for more\n\n## Run Tests\n\n```bash\n# All tests\nyarn test\n\n# Unit tests\nyarn test:unit\n\n# Integration tests\nyarn test:integration\n\n# end2end tests\nyarn test:e2e\n```\n\n### Note on end2end tests\n\nYou have to have all components of the trustlines protocol running.\nA convenient way to achieve this is by using our [end2end](https://github.com/trustlines-protocol/end2end) setup.\n\n## Documentation\n\nYou can find the documentation for the trustlines-clientlib [here](https://dev.trustlines.network/docs/clientlib/clientlib.html).\nThe underlying markdown files of the documentation can be found in this repository under the `./docs` directory.\nTo generate the [typedoc](https://typedoc.org/) API reference documentation for this library run `yarn doc`.\n\n## Running injected web3 example\n\nTo run the example make sure to have [MetaMask](https://metamask.io/) installed and connected to a JSON RPC.\n\n```bash\nyarn serve\n```\n\nThis serves the injected web3 example app on `http://127.0.0.1:8080`. You can find the app under `./examples/injected-web3`.\n\n## Change log\n\nSee [CHANGELOG](./CHANGELOG.md)\n","readmeFilename":"README.md","gitHead":"0261a1d1a451a3ba56f14ae5af5588f1f4a3bf87","_id":"trustlines-clientlib@0.12.2-0-dev.20200221T105808Z.0261a1d","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"trustlines-deploy","email":"bernd@brainbot.com"},"dist":{"integrity":"sha512-IrYvWwm6cK3F7v6btD329qPglG2KLnG14PDtCzgmsJoX8DLa/eiP82oRk2wUp1OipoNusBMgIjqYS1u9HcBqBQ==","shasum":"a3bc3b3789b2c7cd4ad8c0463bb73061b4c2b926","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.12.2-0-dev.20200221T105808Z.0261a1d.tgz","fileCount":72,"unpackedSize":443714,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeT7o3CRA9TVsSAnZWagAAhdgP/RDt+r9kGheRxToOqq2L\nFfYodCMC8bN8ZPfs5A3xpCwyHmd/r2tN/ribLp5J1TFp6yJzlACeYBGThQJ5\nQjZ1UT/NNbyR9+k7AUR2ABDR0brgZ6nT21n/PE3hp6X3n+rq5HhZhNxVVKBR\nPJBhQ94Ut1Aw8dj2EnL3WrWNWURD4/n4Kh3K0U3cL5b2H3En11szcWfCQzDp\n4bXG/fzH7pmXAZvUrHDK6dUe1GssKXn49+onzDpUGWSg4NU+FxmsGK583cro\nqod49Y4Zqn+viK549hhW3phr9NpYV9Y4iQ1vXf2mxubLckZMZLXaq++3rA8m\n08NYSGYPb1aT0U43mk9xwX3N8tQYn1kRZykbQMgN5/akBqxjaV/552CEIIkC\n9AMqe4ZADSUyXc5LEzBiJf8j2LKtX9DgNvh1VCRH4hLscQWfnocpn0HuGOXC\nED4zazju9RH51gLyIc5fcgmXBfgONFnv8Rltp0E+jDwu1sQgP10YC8rOSd2C\n5oyu42KAsCK5lD7cVZcSrXs5013g3NxQ1wn/UNVTYf5k2n+l4C26luJHQL3c\nkblKy7/MgOaMnsZROa1AjCZQj3Hx+GwUbvrxFWTs2Wsfmgc7ioLV4yRoC8ZL\nH981BX92glAtwfVVdZbmC2nOOoLjiFQaEuJC+vYQ3TSFx96qkcUvaWD52lEL\nnFaW\r\n=CXYF\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC8ef7GBoA73g74gOSqVTXUNtqQbkFnE7PPVbnCcVXUCwIgSwNPfJESYrNYoMrI3TJgx96dGDL9/gp30+XsXYV+u8g="}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"},{"email":"bernd@brainbot.com","name":"trustlines-deploy"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.12.2-0-dev.20200221T105808Z.0261a1d_1582283318998_0.705750981769155"},"_hasShrinkwrap":false},"0.12.2-0-dev.20200226T134432Z.5ea7193":{"name":"trustlines-clientlib","version":"0.12.2-0-dev.20200226T134432Z.5ea7193","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"typedoc --options tdconfig.json","lint":"tslint -c tslint.json './src/**/**.ts' './tests/**/**.ts'","prettier":"prettier --write './{src,tests}/**/*.ts'","prettier:check":"prettier --check './{src,tests}/**/*.ts'","prettier:big-tabs":"prettier --write --print-width 120 --no-semi --single-quote --tab-width 4  './{src,tests}/**/*.ts'","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","coverage":"nyc report --reporter=text-lcov > coverage.lcov && codecov","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump":"./bump.sh","serve":"webpack && cp -r ./_bundles ./examples/injected-web3 && http-server ./examples/injected-web3"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{ts,js,json,css,md}":["prettier --write","git add"],"*.ts":["tslint -c tslint.json --fix","git add"]},"nyc":{"extension":[".ts"],"include":["src"],"reporter":["text"],"all":true},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.5.2","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","codecov":"^3.5.0","es6-promise":"^4.1.1","fetch-mock":"^7.2.5","fluid-publish":"^2.2.0","http-server":"^0.11.1","husky":"^2.4.0","isomorphic-fetch":"^2.2.1","lint-staged":"^8.2.0","mocha":"^5.2.0","nyc":"^14.1.0","prettier":"^1.15.2","ts-node":"^7.0.0","tslint":"^5.17.0","tslint-config-prettier":"^1.18.0","typedoc":"^0.16.9","types-ethereumjs-util":"0.0.8","typescript":"^2.9.2","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"bignumber.js":"7.2.1","ethereumjs-util":"^5.2.0","ethers":"^4.0.23","reconnecting-websocket":"^4.1.10","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","trustlines-contracts-abi":"dev","typedoc-plugin-markdown":"^2.2.16","ws":"^6.2.1"},"readme":"# Trustlines Clientlib\n\n[![npm](https://img.shields.io/npm/v/trustlines-clientlib.svg)](https://www.npmjs.com/package/trustlines-clientlib)\n[![CircleCI branch](https://img.shields.io/circleci/project/github/trustlines-protocol/clientlib/master.svg)](https://circleci.com/gh/trustlines-protocol/clientlib)\n[![Codecov branch](https://img.shields.io/codecov/c/github/trustlines-protocol/clientlib/master.svg)](https://codecov.io/gh/trustlines-protocol/clientlib)\n\nA TypeScript/JavaScript library for interacting with the [Trustlines Network Protocol](https://trustlines.network/).\n\n## Installation\n\n### Install via package manager\n\nWe publish the trustlines-clientlib to npm as a ES6 module.\n\n#### Using npm\n\n```bash\n$ npm i trustlines-clientlib\n```\n\n#### Using yarn\n\n```bash\n$ yarn add trustlines-clientlib\n```\n\n### Build from source\n\nIf you want to build the library from source run\n\n```bash\ngit clone git@github.com:trustlines-protocol/clientlib.git\ncd clientlib\nyarn && yarn build\n```\n\nThis will create three different builds:\n\n- ES6 module in `./lib-esm`\n- CommonJS module in `./lib`\n- Bundled JS injectable into browser in `./_bundles`\n\n## Get started\n\nWe assume the usage of the `trustlines-clientlib` ES6 module in the following.\n\n### Configuration\n\nTo start using the trustlines-clientlib you first have to configure the [relay server](https://github.com/trustlines-protocol/relay) you want to connect to.\nYou can either connect to a local develop relay server or use publicly available ones.\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n\n// Instance using a relay connected to the Laika Testnet\nconst laika = new TLNetwork({\n  protocol: 'https',\n  wsProtocol: 'wss',\n  host: 'relay0.testnet.trustlines.network',\n  path: '/api/v1'\n  // ...\n})\n\n// Instance using a relay connected to the TLBC\nconst tlbc = new TLNetwork({\n  protocol: 'https',\n  wsProtocol: 'wss',\n  host: '<url>', // TODO There is no public TLBC relay yet\n  path: '/api/v1'\n  // ...\n})\n```\n\n### Example usage\n\nThis library is a promise-based library.\nSo every asynchronous call will return a native JavaScript promise.\nIf an error occurs the library will throw it.\nThe caller has to handle it appropriately.\n\n```javascript\ntry {\n  const networks = await laika.currencyNetwork.getAll()\n} catch (error) {\n  console.log('Caught error:', error)\n}\n```\n\n### Read our [documentation]() for more\n\n## Run Tests\n\n```bash\n# All tests\nyarn test\n\n# Unit tests\nyarn test:unit\n\n# Integration tests\nyarn test:integration\n\n# end2end tests\nyarn test:e2e\n```\n\n### Note on end2end tests\n\nYou have to have all components of the trustlines protocol running.\nA convenient way to achieve this is by using our [end2end](https://github.com/trustlines-protocol/end2end) setup.\n\n## Documentation\n\nYou can find the documentation for the trustlines-clientlib [here](https://dev.trustlines.network/docs/clientlib/clientlib.html).\nThe underlying markdown files of the documentation can be found in this repository under the `./docs` directory.\nTo generate the [typedoc](https://typedoc.org/) API reference documentation for this library run `yarn doc`.\n\n## Running injected web3 example\n\nTo run the example make sure to have [MetaMask](https://metamask.io/) installed and connected to a JSON RPC.\n\n```bash\nyarn serve\n```\n\nThis serves the injected web3 example app on `http://127.0.0.1:8080`. You can find the app under `./examples/injected-web3`.\n\n## Change log\n\nSee [CHANGELOG](./CHANGELOG.md)\n","readmeFilename":"README.md","gitHead":"5ea719335109d930f83912c8a49bdddc5e7484e5","_id":"trustlines-clientlib@0.12.2-0-dev.20200226T134432Z.5ea7193","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"trustlines-deploy","email":"bernd@brainbot.com"},"dist":{"integrity":"sha512-4N+Nh/XqXgouHlQrlBU/cr9hCjlbjZkMtkl0bltDLHinOFzyyqzGJ0b/nRj9uQYfHIKyx2v6CQZ9+ttp0N72yg==","shasum":"06e06a246f5676048c8ca8970ed58ab97243d4dc","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.12.2-0-dev.20200226T134432Z.5ea7193.tgz","fileCount":72,"unpackedSize":447347,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeVnjUCRA9TVsSAnZWagAAM/0P/3JP8AD2DPIfguL5azhs\n/k2ndT3M7TBIXbFpxulcDwvOUG4L3VVuVSyARh+Q6DM1QomBMe41UaA6qCR8\nXhieBqFNEEZncrUC+CwNgsEPsjeb6RQOP2rM7xqSk5U83g4eF6QAYVkd7/OM\ne1hvDNrhH85/YKcSbEcUJF8fEI8wMJPPHYV6jtb0USwNkJpbyrG5DRwJU23A\njQYNbWDUGBus06P2VRPQUoZtrHrRYlNJCLjvXjMayAK6bysIO03JV6ION/ki\n7ogLn463o6a/uE0qbl6IZtgBTvBjcXkr2AqKd/I+gSO86zJthO8txUWOxr/X\nRDPuZ5L3YPZ1mVfTWmAXpcgJO4vkqEkll0kY1aywIJa+h60iTWtwno53q/wD\nGvlXA/aGzwmst3QrR7XlayreeXH2Tj4UQ2tg65zbtGltzkHilIaikW4XqxWJ\nfOhuIsYMn9qi7k8nF3xaYqF6HuFgPqJkZ7tmnvwOc+bk38hV85A0MenMjdjA\nhG11zlKEBp3Pb+oFf1NCXm/0DAn/h/TcFn083WnJ/8OhHmE6ArgQhf9y5iny\nM2YqORCBxgGUN/sZiyeq02jJ4m9JvCsROwBaAiiNbgsAgBDSLs2HSNdJFyyy\nThBPC1uCeyfyB2xiVISrARp60cBIkVDNOtlMUBH5yjEvwSXbyVcUcW80GWNh\ngOpD\r\n=/ijG\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCsFrFNAGlUU8QI1ccBYru/3xfYwmzKKW2DQKfdnCGE5AIhAIeGaRRtxxfEQ2rs5nezgiTAAYt7hfOoxgtfoN6Nak5q"}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"},{"email":"bernd@brainbot.com","name":"trustlines-deploy"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.12.2-0-dev.20200226T134432Z.5ea7193_1582725332128_0.8784860257800193"},"_hasShrinkwrap":false},"0.12.2-0-dev.20200227T142950Z.328bb9a":{"name":"trustlines-clientlib","version":"0.12.2-0-dev.20200227T142950Z.328bb9a","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"typedoc --options tdconfig.json","lint":"tslint -c tslint.json './src/**/**.ts' './tests/**/**.ts'","prettier":"prettier --write './{src,tests}/**/*.ts'","prettier:check":"prettier --check './{src,tests}/**/*.ts'","prettier:big-tabs":"prettier --write --print-width 120 --no-semi --single-quote --tab-width 4  './{src,tests}/**/*.ts'","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","coverage":"nyc report --reporter=text-lcov > coverage.lcov && codecov","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump":"./bump.sh","serve":"webpack && cp -r ./_bundles ./examples/injected-web3 && http-server ./examples/injected-web3"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{ts,js,json,css,md}":["prettier --write","git add"],"*.ts":["tslint -c tslint.json --fix","git add"]},"nyc":{"extension":[".ts"],"include":["src"],"reporter":["text"],"all":true},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.5.2","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","codecov":"^3.5.0","es6-promise":"^4.1.1","fetch-mock":"^7.2.5","fluid-publish":"^2.2.0","http-server":"^0.11.1","husky":"^2.4.0","isomorphic-fetch":"^2.2.1","lint-staged":"^8.2.0","mocha":"^5.2.0","nyc":"^14.1.0","prettier":"^1.15.2","ts-node":"^7.0.0","tslint":"^5.17.0","tslint-config-prettier":"^1.18.0","typedoc":"^0.16.9","types-ethereumjs-util":"0.0.8","typescript":"^2.9.2","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"bignumber.js":"7.2.1","ethereumjs-util":"^5.2.0","ethers":"^4.0.23","reconnecting-websocket":"^4.1.10","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","trustlines-contracts-abi":"dev","typedoc-plugin-markdown":"^2.2.16","ws":"^6.2.1"},"readme":"# Trustlines Clientlib\n\n[![npm](https://img.shields.io/npm/v/trustlines-clientlib.svg)](https://www.npmjs.com/package/trustlines-clientlib)\n[![CircleCI branch](https://img.shields.io/circleci/project/github/trustlines-protocol/clientlib/master.svg)](https://circleci.com/gh/trustlines-protocol/clientlib)\n[![Codecov branch](https://img.shields.io/codecov/c/github/trustlines-protocol/clientlib/master.svg)](https://codecov.io/gh/trustlines-protocol/clientlib)\n\nA TypeScript/JavaScript library for interacting with the [Trustlines Network Protocol](https://trustlines.network/).\n\n## Installation\n\n### Install via package manager\n\nWe publish the trustlines-clientlib to npm as a ES6 module.\n\n#### Using npm\n\n```bash\n$ npm i trustlines-clientlib\n```\n\n#### Using yarn\n\n```bash\n$ yarn add trustlines-clientlib\n```\n\n### Build from source\n\nIf you want to build the library from source run\n\n```bash\ngit clone git@github.com:trustlines-protocol/clientlib.git\ncd clientlib\nyarn && yarn build\n```\n\nThis will create three different builds:\n\n- ES6 module in `./lib-esm`\n- CommonJS module in `./lib`\n- Bundled JS injectable into browser in `./_bundles`\n\n## Get started\n\nWe assume the usage of the `trustlines-clientlib` ES6 module in the following.\n\n### Configuration\n\nTo start using the trustlines-clientlib you first have to configure the [relay server](https://github.com/trustlines-protocol/relay) you want to connect to.\nYou can either connect to a local develop relay server or use publicly available ones.\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n\n// Instance using a relay connected to the Laika Testnet\nconst laika = new TLNetwork({\n  protocol: 'https',\n  wsProtocol: 'wss',\n  host: 'relay0.testnet.trustlines.network',\n  path: '/api/v1'\n  // ...\n})\n\n// Instance using a relay connected to the TLBC\nconst tlbc = new TLNetwork({\n  protocol: 'https',\n  wsProtocol: 'wss',\n  host: '<url>', // TODO There is no public TLBC relay yet\n  path: '/api/v1'\n  // ...\n})\n```\n\n### Example usage\n\nThis library is a promise-based library.\nSo every asynchronous call will return a native JavaScript promise.\nIf an error occurs the library will throw it.\nThe caller has to handle it appropriately.\n\n```javascript\ntry {\n  const networks = await laika.currencyNetwork.getAll()\n} catch (error) {\n  console.log('Caught error:', error)\n}\n```\n\n### Read our [documentation]() for more\n\n## Run Tests\n\n```bash\n# All tests\nyarn test\n\n# Unit tests\nyarn test:unit\n\n# Integration tests\nyarn test:integration\n\n# end2end tests\nyarn test:e2e\n```\n\n### Note on end2end tests\n\nYou have to have all components of the trustlines protocol running.\nA convenient way to achieve this is by using our [end2end](https://github.com/trustlines-protocol/end2end) setup.\n\n## Documentation\n\nYou can find the documentation for the trustlines-clientlib [here](https://dev.trustlines.network/docs/clientlib/clientlib.html).\nThe underlying markdown files of the documentation can be found in this repository under the `./docs` directory.\nTo generate the [typedoc](https://typedoc.org/) API reference documentation for this library run `yarn doc`.\n\n## Running injected web3 example\n\nTo run the example make sure to have [MetaMask](https://metamask.io/) installed and connected to a JSON RPC.\n\n```bash\nyarn serve\n```\n\nThis serves the injected web3 example app on `http://127.0.0.1:8080`. You can find the app under `./examples/injected-web3`.\n\n## Change log\n\nSee [CHANGELOG](./CHANGELOG.md)\n","readmeFilename":"README.md","gitHead":"328bb9aebad6ce0d9615626e53491c1127e38762","_id":"trustlines-clientlib@0.12.2-0-dev.20200227T142950Z.328bb9a","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"trustlines-deploy","email":"bernd@brainbot.com"},"dist":{"integrity":"sha512-Sk9lt8zItUZznRzmkqivr3Oq1XidTgz22+HN5ntoMc8aV/iu7VKpNk3CP2B8OZyuhN9Fhlh0XClxDRDLYV9qQA==","shasum":"ff098700b3fa4e9a225206868e6f597d3af91335","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.12.2-0-dev.20200227T142950Z.328bb9a.tgz","fileCount":72,"unpackedSize":447331,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeV9cTCRA9TVsSAnZWagAA6LwP/1AVdLIW0YYP+AaTduFH\n58Eg5O7uNC6WM9VNRIiPTcXF9M+92vi7v/2KFrVC8L6ehK2ohkpBJqJwN4VE\nItmZKVIM99WgdGg96J9W119mf6LUE+m1UgAD8HaC9R6cQgTPG1R8yJnjkex3\n7RTkO7zkUVvjdfky/TAL8l1TmKQtd0f1PfU55SwsvwjyQzDmdoArOwqX/KCC\neR6cO5VVoRjomjAKXkw/pvxfIiZS4baX+J0xHJN1AHl3pKporeojB5hEG6rj\nTHifcjDUHyI40NuH5X0cq3GCVT0+zFvDbaJFabG5X85B8QFK9BYakRW8rZ2x\nLByuCvFPJH4YXkfjUO1kXmVP586oMSU/54xNP6q9ehcOBq3vXIz3+fse+rHa\nCkKtfYfw3IJRoL37yNaTxG9KiEtbcwY4VIB+8aXOt+NH3DiEAXAAJFf3+w1O\n1kj4bF4tSRUnq05viGIQ0rR5awvy7ypitt8y43ygpvZBqbahUef+sRxnRp2w\nkChGxxQsj5Jgg0pctkNI099vzvFBeqLmMNO6kVX1KC0wwyL2cAWP/PZXUdwm\npX+em3xKiTWpSTge/SI6+tX4JEpRky863IeoJLfV/3O6EzZWKUIx2zraJKxA\nc2zZn1lH3Ef2QIaJpDyQeB3/UGxWvikVye7DdlebbhCHyYupliXl+RXiQf9+\nm7XA\r\n=MRes\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDtYAY5wItx4iuWzd3c+lv0nDU1izXawcxpGBB+JMx5/AiBtY7QbQX1L19mae8FeO1XvBqIaCiLgHTto3zTtaswBpw=="}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"},{"email":"bernd@brainbot.com","name":"trustlines-deploy"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.12.2-0-dev.20200227T142950Z.328bb9a_1582814994421_0.45533890776311226"},"_hasShrinkwrap":false},"0.12.2-0-dev.20200309T152304Z.13aded2":{"name":"trustlines-clientlib","version":"0.12.2-0-dev.20200309T152304Z.13aded2","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"typedoc --options tdconfig.json","lint":"tslint -c tslint.json './src/**/**.ts' './tests/**/**.ts'","prettier":"prettier --write './{src,tests}/**/*.ts'","prettier:check":"prettier --check './{src,tests}/**/*.ts'","prettier:big-tabs":"prettier --write --print-width 120 --no-semi --single-quote --tab-width 4  './{src,tests}/**/*.ts'","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","coverage":"nyc report --reporter=text-lcov > coverage.lcov && codecov","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump":"./bump.sh","serve":"webpack && cp -r ./_bundles ./examples/injected-web3 && http-server ./examples/injected-web3"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{ts,js,json,css,md}":["prettier --write","git add"],"*.ts":["tslint -c tslint.json --fix","git add"]},"nyc":{"extension":[".ts"],"include":["src"],"reporter":["text"],"all":true},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.5.2","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","codecov":"^3.5.0","es6-promise":"^4.1.1","fetch-mock":"^7.2.5","fluid-publish":"^2.2.0","http-server":"^0.11.1","husky":"^2.4.0","isomorphic-fetch":"^2.2.1","lint-staged":"^8.2.0","mocha":"^5.2.0","nyc":"^14.1.0","prettier":"^1.15.2","ts-node":"^7.0.0","tslint":"^5.17.0","tslint-config-prettier":"^1.18.0","typedoc":"^0.16.9","types-ethereumjs-util":"0.0.8","typescript":"^2.9.2","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"bignumber.js":"7.2.1","ethereumjs-util":"^5.2.0","ethers":"^4.0.23","reconnecting-websocket":"^4.1.10","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","trustlines-contracts-abi":"dev","typedoc-plugin-markdown":"^2.2.16","ws":"^6.2.1"},"readme":"# Trustlines Clientlib\n\n[![npm](https://img.shields.io/npm/v/trustlines-clientlib.svg)](https://www.npmjs.com/package/trustlines-clientlib)\n[![CircleCI branch](https://img.shields.io/circleci/project/github/trustlines-protocol/clientlib/master.svg)](https://circleci.com/gh/trustlines-protocol/clientlib)\n[![Codecov branch](https://img.shields.io/codecov/c/github/trustlines-protocol/clientlib/master.svg)](https://codecov.io/gh/trustlines-protocol/clientlib)\n\nA TypeScript/JavaScript library for interacting with the [Trustlines Network Protocol](https://trustlines.network/).\n\n## Installation\n\n### Install via package manager\n\nWe publish the trustlines-clientlib to npm as a ES6 module.\n\n#### Using npm\n\n```bash\n$ npm i trustlines-clientlib\n```\n\n#### Using yarn\n\n```bash\n$ yarn add trustlines-clientlib\n```\n\n### Build from source\n\nIf you want to build the library from source run\n\n```bash\ngit clone git@github.com:trustlines-protocol/clientlib.git\ncd clientlib\nyarn && yarn build\n```\n\nThis will create three different builds:\n\n- ES6 module in `./lib-esm`\n- CommonJS module in `./lib`\n- Bundled JS injectable into browser in `./_bundles`\n\n## Get started\n\nWe assume the usage of the `trustlines-clientlib` ES6 module in the following.\n\n### Configuration\n\nTo start using the trustlines-clientlib you first have to configure the [relay server](https://github.com/trustlines-protocol/relay) you want to connect to.\nYou can either connect to a local develop relay server or use publicly available ones.\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n\n// Instance using a relay connected to the Laika Testnet\nconst laika = new TLNetwork({\n  protocol: 'https',\n  wsProtocol: 'wss',\n  host: 'relay0.testnet.trustlines.network',\n  path: '/api/v1'\n  // ...\n})\n\n// Instance using a relay connected to the TLBC\nconst tlbc = new TLNetwork({\n  protocol: 'https',\n  wsProtocol: 'wss',\n  host: '<url>', // TODO There is no public TLBC relay yet\n  path: '/api/v1'\n  // ...\n})\n```\n\n### Example usage\n\nThis library is a promise-based library.\nSo every asynchronous call will return a native JavaScript promise.\nIf an error occurs the library will throw it.\nThe caller has to handle it appropriately.\n\n```javascript\ntry {\n  const networks = await laika.currencyNetwork.getAll()\n} catch (error) {\n  console.log('Caught error:', error)\n}\n```\n\n### Read our [documentation]() for more\n\n## Run Tests\n\n```bash\n# All tests\nyarn test\n\n# Unit tests\nyarn test:unit\n\n# Integration tests\nyarn test:integration\n\n# end2end tests\nyarn test:e2e\n```\n\n### Note on end2end tests\n\nYou have to have all components of the trustlines protocol running.\nA convenient way to achieve this is by using our [end2end](https://github.com/trustlines-protocol/end2end) setup.\n\n## Documentation\n\nYou can find the documentation for the trustlines-clientlib [here](https://dev.trustlines.network/docs/clientlib/clientlib.html).\nThe underlying markdown files of the documentation can be found in this repository under the `./docs` directory.\nTo generate the [typedoc](https://typedoc.org/) API reference documentation for this library run `yarn doc`.\n\n## Running injected web3 example\n\nTo run the example make sure to have [MetaMask](https://metamask.io/) installed and connected to a JSON RPC.\n\n```bash\nyarn serve\n```\n\nThis serves the injected web3 example app on `http://127.0.0.1:8080`. You can find the app under `./examples/injected-web3`.\n\n## Change log\n\nSee [CHANGELOG](./CHANGELOG.md)\n","readmeFilename":"README.md","gitHead":"13aded25805ee08fde706bbcf9367486b9bfb12f","_id":"trustlines-clientlib@0.12.2-0-dev.20200309T152304Z.13aded2","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"trustlines-deploy","email":"bernd@brainbot.com"},"dist":{"integrity":"sha512-Os20sgf6HFSnXxWCkkvBqLOxvQxkaYkGL9hNIdu6HgbdgeH4eOGslCA96v1r1PId6ljq7zqt8aZiEdOpu63GQw==","shasum":"96eac23c97d4e637fa5d16faefd913eb3e92d6e6","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.12.2-0-dev.20200309T152304Z.13aded2.tgz","fileCount":72,"unpackedSize":448778,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeZmIgCRA9TVsSAnZWagAA6ZoP/AjbVXiutR6DH1eoz0pZ\nS00BckY6Ib0QiSHxuaP49wJtjGPcorOvfo+hVCRXzk76J//DoYPp2QIfB0N2\nUPGCFZwwdk5/Hp5THWXL3LvsKsQ1V5xx9Brt49Z879Wt/5jvwLztQIcgudAO\nI5wEu7GXHZ7Y73CPY5VTz7N3Nc/xDkcli8BfhqQfpzcTchrBrrOrfMbYNgGZ\nWVNe3tEOU/xgRbka2VSWLJ1glVKLVPWD2ys4+AsK4z6thzvcDOavTuubAVLq\nnljkRBFnq8K/Nph08wf8rSGdXtjCQrqT5EmON2GbFoMZ4WiCR/T4ScLr2sOo\ngLVvAKJV1gCQ1lSuigYU8bTmy+UtIQ4o+IVsuC42D0lHQvZs+NguigfkLwQv\nZMziIpFQXvF9c2fZY8SzBFOxJHo99YEjp22zY2zlsI3MbKVpnG+msVaPm0z7\n+FToDXfcyx0fKYGpb+C3jnL2AyiA3vEudX4a024RxzyW3s2fCA5J+1kXvAmL\nQ4GbfY3OEcyyA6yBkBlwWk8lCOeB30yTQ93wO1a7NvpcVKTXWmvZovDo8/C8\nqRtLzzY24SJjQ+VZc0PDQHxTYSM7jS4PMyc2XnP4zcoRRkGsinmzMWqagdaK\n9VCFlkmvsbawjTcSGILgoZyUvZ7XZdQwEvXRumrXSkeQyNnqY3Ggex5H+eLk\ndAnc\r\n=T8xh\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGXqw7UVbxoyBWeK4VFZiS56J2eQIn1ScckvzltqJa68AiEA4G563qSoSP9vmF+uLfkQKslJgEOWaJh8hWcDIGjeuVE="}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"},{"email":"bernd@brainbot.com","name":"trustlines-deploy"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.12.2-0-dev.20200309T152304Z.13aded2_1583768096356_0.6934856226127117"},"_hasShrinkwrap":false},"0.12.2-0-dev.20200326T215704Z.23649dd":{"name":"trustlines-clientlib","version":"0.12.2-0-dev.20200326T215704Z.23649dd","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"typedoc --options tdconfig.json","lint":"tslint -c tslint.json './src/**/**.ts' './tests/**/**.ts'","prettier":"prettier --write './{src,tests}/**/*.ts'","prettier:check":"prettier --check './{src,tests}/**/*.ts'","prettier:big-tabs":"prettier --write --print-width 120 --no-semi --single-quote --tab-width 4  './{src,tests}/**/*.ts'","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","coverage":"nyc report --reporter=text-lcov > coverage.lcov && codecov","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump":"./bump.sh","serve":"webpack && cp -r ./_bundles ./examples/injected-web3 && http-server ./examples/injected-web3"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{ts,js,json,css,md}":["prettier --write","git add"],"*.ts":["tslint -c tslint.json --fix","git add"]},"nyc":{"extension":[".ts"],"include":["src"],"reporter":["text"],"all":true},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.5.2","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","codecov":"^3.5.0","es6-promise":"^4.1.1","fetch-mock":"^7.2.5","fluid-publish":"^2.2.0","http-server":"^0.11.1","husky":"^2.4.0","isomorphic-fetch":"^2.2.1","lint-staged":"^8.2.0","mocha":"^5.2.0","nyc":"^14.1.0","prettier":"^1.15.2","ts-node":"^7.0.0","tslint":"^5.17.0","tslint-config-prettier":"^1.18.0","typedoc":"^0.16.9","types-ethereumjs-util":"0.0.8","typescript":"^2.9.2","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"bignumber.js":"7.2.1","ethereumjs-util":"^5.2.0","ethers":"^4.0.23","reconnecting-websocket":"^4.1.10","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","trustlines-contracts-abi":"dev","typedoc-plugin-markdown":"^2.2.16","ws":"^6.2.1"},"readme":"# Trustlines Clientlib\n\n[![npm](https://img.shields.io/npm/v/trustlines-clientlib.svg)](https://www.npmjs.com/package/trustlines-clientlib)\n[![CircleCI branch](https://img.shields.io/circleci/project/github/trustlines-protocol/clientlib/master.svg)](https://circleci.com/gh/trustlines-protocol/clientlib)\n[![Codecov branch](https://img.shields.io/codecov/c/github/trustlines-protocol/clientlib/master.svg)](https://codecov.io/gh/trustlines-protocol/clientlib)\n\nA TypeScript/JavaScript library for interacting with the [Trustlines Network Protocol](https://trustlines.network/).\n\n## Installation\n\n### Install via package manager\n\nWe publish the trustlines-clientlib to npm as a ES6 module.\n\n#### Using npm\n\n```bash\n$ npm i trustlines-clientlib\n```\n\n#### Using yarn\n\n```bash\n$ yarn add trustlines-clientlib\n```\n\n### Build from source\n\nIf you want to build the library from source run\n\n```bash\ngit clone git@github.com:trustlines-protocol/clientlib.git\ncd clientlib\nyarn && yarn build\n```\n\nThis will create three different builds:\n\n- ES6 module in `./lib-esm`\n- CommonJS module in `./lib`\n- Bundled JS injectable into browser in `./_bundles`\n\n## Get started\n\nWe assume the usage of the `trustlines-clientlib` ES6 module in the following.\n\n### Configuration\n\nTo start using the trustlines-clientlib you first have to configure the [relay server](https://github.com/trustlines-protocol/relay) you want to connect to.\nYou can either connect to a local develop relay server or use publicly available ones.\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n\n// Instance using a relay connected to the Laika Testnet\nconst laika = new TLNetwork({\n  protocol: 'https',\n  wsProtocol: 'wss',\n  host: 'relay0.testnet.trustlines.network',\n  path: '/api/v1'\n  // ...\n})\n\n// Instance using a relay connected to the TLBC\nconst tlbc = new TLNetwork({\n  protocol: 'https',\n  wsProtocol: 'wss',\n  host: '<url>', // TODO There is no public TLBC relay yet\n  path: '/api/v1'\n  // ...\n})\n```\n\n### Example usage\n\nThis library is a promise-based library.\nSo every asynchronous call will return a native JavaScript promise.\nIf an error occurs the library will throw it.\nThe caller has to handle it appropriately.\n\n```javascript\ntry {\n  const networks = await laika.currencyNetwork.getAll()\n} catch (error) {\n  console.log('Caught error:', error)\n}\n```\n\n### Read our [documentation]() for more\n\n## Run Tests\n\n```bash\n# All tests\nyarn test\n\n# Unit tests\nyarn test:unit\n\n# Integration tests\nyarn test:integration\n\n# end2end tests\nyarn test:e2e\n```\n\n### Note on end2end tests\n\nYou have to have all components of the trustlines protocol running.\nA convenient way to achieve this is by using our [end2end](https://github.com/trustlines-protocol/end2end) setup.\n\n## Documentation\n\nYou can find the documentation for the trustlines-clientlib [here](https://dev.trustlines.network/docs/clientlib/clientlib.html).\nThe underlying markdown files of the documentation can be found in this repository under the `./docs` directory.\nTo generate the [typedoc](https://typedoc.org/) API reference documentation for this library run `yarn doc`.\n\n## Running injected web3 example\n\nTo run the example make sure to have [MetaMask](https://metamask.io/) installed and connected to a JSON RPC.\n\n```bash\nyarn serve\n```\n\nThis serves the injected web3 example app on `http://127.0.0.1:8080`. You can find the app under `./examples/injected-web3`.\n\n## Change log\n\nSee [CHANGELOG](./CHANGELOG.md)\n","readmeFilename":"README.md","gitHead":"23649dd4ae3d999bde2cf3d38841e24c67cbade2","_id":"trustlines-clientlib@0.12.2-0-dev.20200326T215704Z.23649dd","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"trustlines-deploy","email":"bernd@brainbot.com"},"dist":{"integrity":"sha512-qCVh27pCgETm7KF7A8cH9PyYAr3qAf2z5cy1cXAqRBCXWlORc+gO5ChxkIWKAtDzyqtXgZZ9AvdAyouvFAf1JA==","shasum":"720ebe47f0330afe84a78d6bfaa5caaaaef960b1","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.12.2-0-dev.20200326T215704Z.23649dd.tgz","fileCount":72,"unpackedSize":458673,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJefSebCRA9TVsSAnZWagAAU+kQAJgsH56shEj8qErTk9iE\nqk2BX3Pa18gsGZ6YUlxwMmyJAWd4R5z4ll1J2sKYG0b/6MBcseAPkvsbd2Tk\ndDRCE4sLgWHU2iuFvXTSzqDdfqo0y4ayNwYse1Pq9yhejZ/N7eO4pph1UuKR\nJWKELnu8fmFzaZLJgrHVdo3PQUY5FuK8hi4vlWLQI3i7Z8vtBCekE5C2431m\n3AGZpfPZgE5Jw9Ma4Y5bqAgQcpNtexkQS2y6cuswhbeYJ8k15IK8wbSeqA9Q\n0yVAsEwe/dN5QzrR9X0SUGFteeijQr7FDaqLd9BlrnzDtfwz+YgupkqaErMr\nE6MTgdzSKKfUdh8fl12VMOx08S/9+sB3MrKOTWgnIJPwdx3mXikFQ0qHgMBg\nhUMdG1xfiV3dd0GPOzmvmtgOXCOjz0nOm8W3OlWGpXnhIm7BdBoP08LOlf49\nG87DI70eVZX+blbc/xVuVva7gIF358+oIWmIL+OIx/0dRjo4/Y5B925moHxi\nyYO1uLbC0oF2jRidYvh70SZxt4E5GZ7uUm0sRsarGuImuj5paUeajLhTKUrE\nxMRs+tSEAFi/qz/nlxP6T60PpWTl1osoQGf1a8nkxCVARCJ20dOr2I+4OSJy\nmgF5iQ+uffM3mfBJG2pQb/39CeKthuBRUpqYwU76gIalOZu39oospw6Q6ab5\nH7/R\r\n=bovx\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEwtgQROTDIiIo7ilX/EkIE3rl/+jt9KBRXxZktgUkRCAiEA2POLYK7fy2IS0Kum37XEvnwZptJt/1ZkuXjF1+fFZJQ="}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"},{"email":"bernd@brainbot.com","name":"trustlines-deploy"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.12.2-0-dev.20200326T215704Z.23649dd_1585260443243_0.16553693606311493"},"_hasShrinkwrap":false},"0.12.2-0-dev.20200330T182309Z.1646d3f":{"name":"trustlines-clientlib","version":"0.12.2-0-dev.20200330T182309Z.1646d3f","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"typedoc --options tdconfig.json","lint":"tslint -c tslint.json './src/**/**.ts' './tests/**/**.ts'","prettier":"prettier --write './{src,tests}/**/*.ts'","prettier:check":"prettier --check './{src,tests}/**/*.ts'","prettier:big-tabs":"prettier --write --print-width 120 --no-semi --single-quote --tab-width 4  './{src,tests}/**/*.ts'","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","coverage":"nyc report --reporter=text-lcov > coverage.lcov && codecov","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump":"./bump.sh","serve":"webpack && cp -r ./_bundles ./examples/injected-web3 && http-server ./examples/injected-web3"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{ts,js,json,css,md}":["prettier --write","git add"],"*.ts":["tslint -c tslint.json --fix","git add"]},"nyc":{"extension":[".ts"],"include":["src"],"reporter":["text"],"all":true},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.5.2","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","codecov":"^3.5.0","es6-promise":"^4.1.1","fetch-mock":"^7.2.5","fluid-publish":"^2.2.0","http-server":"^0.11.1","husky":"^2.4.0","isomorphic-fetch":"^2.2.1","lint-staged":"^8.2.0","mocha":"^5.2.0","nyc":"^14.1.0","prettier":"^1.15.2","ts-node":"^7.0.0","tslint":"^5.17.0","tslint-config-prettier":"^1.18.0","typedoc":"^0.16.9","types-ethereumjs-util":"0.0.8","typescript":"^2.9.2","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"bignumber.js":"7.2.1","ethereumjs-util":"^5.2.0","ethers":"^4.0.23","reconnecting-websocket":"^4.1.10","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","trustlines-contracts-abi":"dev","typedoc-plugin-markdown":"^2.2.16","ws":"^6.2.1"},"readme":"# Trustlines Clientlib\n\n[![npm](https://img.shields.io/npm/v/trustlines-clientlib.svg)](https://www.npmjs.com/package/trustlines-clientlib)\n[![CircleCI branch](https://img.shields.io/circleci/project/github/trustlines-protocol/clientlib/master.svg)](https://circleci.com/gh/trustlines-protocol/clientlib)\n[![Codecov branch](https://img.shields.io/codecov/c/github/trustlines-protocol/clientlib/master.svg)](https://codecov.io/gh/trustlines-protocol/clientlib)\n\nA TypeScript/JavaScript library for interacting with the [Trustlines Network Protocol](https://trustlines.network/).\n\n## Installation\n\n### Install via package manager\n\nWe publish the trustlines-clientlib to npm as a ES6 module.\n\n#### Using npm\n\n```bash\n$ npm i trustlines-clientlib\n```\n\n#### Using yarn\n\n```bash\n$ yarn add trustlines-clientlib\n```\n\n### Build from source\n\nIf you want to build the library from source run\n\n```bash\ngit clone git@github.com:trustlines-protocol/clientlib.git\ncd clientlib\nyarn && yarn build\n```\n\nThis will create three different builds:\n\n- ES6 module in `./lib-esm`\n- CommonJS module in `./lib`\n- Bundled JS injectable into browser in `./_bundles`\n\n## Get started\n\nWe assume the usage of the `trustlines-clientlib` ES6 module in the following.\n\n### Configuration\n\nTo start using the trustlines-clientlib you first have to configure the [relay server](https://github.com/trustlines-protocol/relay) you want to connect to.\nYou can either connect to a local develop relay server or use publicly available ones.\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n\n// Instance using a relay connected to the Laika Testnet\nconst laika = new TLNetwork({\n  protocol: 'https',\n  wsProtocol: 'wss',\n  host: 'relay0.testnet.trustlines.network',\n  path: '/api/v1'\n  // ...\n})\n\n// Instance using a relay connected to the TLBC\nconst tlbc = new TLNetwork({\n  protocol: 'https',\n  wsProtocol: 'wss',\n  host: '<url>', // TODO There is no public TLBC relay yet\n  path: '/api/v1'\n  // ...\n})\n```\n\n### Example usage\n\nThis library is a promise-based library.\nSo every asynchronous call will return a native JavaScript promise.\nIf an error occurs the library will throw it.\nThe caller has to handle it appropriately.\n\n```javascript\ntry {\n  const networks = await laika.currencyNetwork.getAll()\n} catch (error) {\n  console.log('Caught error:', error)\n}\n```\n\n### Read our [documentation]() for more\n\n## Run Tests\n\n```bash\n# All tests\nyarn test\n\n# Unit tests\nyarn test:unit\n\n# Integration tests\nyarn test:integration\n\n# end2end tests\nyarn test:e2e\n```\n\n### Note on end2end tests\n\nYou have to have all components of the trustlines protocol running.\nA convenient way to achieve this is by using our [end2end](https://github.com/trustlines-protocol/end2end) setup.\n\n## Documentation\n\nYou can find the documentation for the trustlines-clientlib [here](https://dev.trustlines.network/docs/clientlib/clientlib.html).\nThe underlying markdown files of the documentation can be found in this repository under the `./docs` directory.\nTo generate the [typedoc](https://typedoc.org/) API reference documentation for this library run `yarn doc`.\n\n## Running injected web3 example\n\nTo run the example make sure to have [MetaMask](https://metamask.io/) installed and connected to a JSON RPC.\n\n```bash\nyarn serve\n```\n\nThis serves the injected web3 example app on `http://127.0.0.1:8080`. You can find the app under `./examples/injected-web3`.\n\n## Change log\n\nSee [CHANGELOG](./CHANGELOG.md)\n","readmeFilename":"README.md","gitHead":"1646d3f5590ea499a18b2b9a19ae5b18b6fe93e7","_id":"trustlines-clientlib@0.12.2-0-dev.20200330T182309Z.1646d3f","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"trustlines-deploy","email":"bernd@brainbot.com"},"dist":{"integrity":"sha512-Nvq/xLM1yxVHy393tiDGYBVHhPgUVoBEMDiHPmbPoeCvFaN4LsBQ4R7KE8QCY/7YGi1/spymtQwau5+kbsP3dw==","shasum":"67b79404e7f60df025ecdd5f6c77c6e2173a0b81","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.12.2-0-dev.20200330T182309Z.1646d3f.tgz","fileCount":72,"unpackedSize":459898,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJegkdgCRA9TVsSAnZWagAAz30P/RpIbIhrmqJ31cBuSo/D\nH4SLepa3dyjigQFOJjIz2Uw4LKe3W4FJg1533Jx74jLUo3jMJ6PHeyIg3OY0\n17G2SGuS/4NJb+HvCmXookPJrSkBXd/TTz7sQjzxO+eUr53MKC+PP1DXUZ7J\nf/HpGOvJ+LotO+r+jtAn8RaMajzOIU9kH/cY6PiHPp2V6CGyweFyVPdRGbIa\n3FzEKgX+ptW03Rf/d31QGmxc7pWJwKAUykCO41lW/mRb/CNqHTwofkxPODHm\nJgdieeRNhdrUichgyo2uPKRBN2VVdwhqp6Yppsp4qhd65d2pj5tG+7ofouts\nBWDvX63hyoh04Ki36VFbXkcuUgiZpOqIiq9qIADHWZy6X4tXHGDM5nDj74pb\n+lb3RIJxEtNR1aWidQCSnxAE7SWIdfhIFAvaR3W9C2XQbhRaukX+jpUn4CgK\nAq8tE2RP5lVN/R8vyMGiPCf7TEP2b0f7nq4mHvscoV2a5A9VzWcmnRbMHSNG\nc6DgGjQjZiVALeRpdwTsESvDtuKj6tBFgIiIGDKYYNxirMa2d9sAeFbWiY9P\ncIRU7T55EjCl8j9ZdNdaRU6jJvLeW11fpoLqiDbZuX7SkpNp5+w4yirjnt6A\nDTYhxDibXbIq2jYSkJJAgWPW5tKuD1dSv8Pm1X5US2ZTmwXPpLsl/twy3nT3\n9Xi9\r\n=YvUv\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIATerdDmjIjw5szk/vvRNUuj7VvSpmcXEdtcLZu4EoUHAiEA5D4ltoWhMYFZWf5jJE0hQbY117wR4YvuGxBmkyk6R2U="}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"},{"email":"bernd@brainbot.com","name":"trustlines-deploy"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.12.2-0-dev.20200330T182309Z.1646d3f_1585596255556_0.05962046146830802"},"_hasShrinkwrap":false},"0.12.2-0-dev.20200331T152223Z.0b380bb":{"name":"trustlines-clientlib","version":"0.12.2-0-dev.20200331T152223Z.0b380bb","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"typedoc --options tdconfig.json","lint":"tslint -c tslint.json './src/**/**.ts' './tests/**/**.ts'","prettier":"prettier --write './{src,tests}/**/*.ts'","prettier:check":"prettier --check './{src,tests}/**/*.ts'","prettier:big-tabs":"prettier --write --print-width 120 --no-semi --single-quote --tab-width 4  './{src,tests}/**/*.ts'","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","coverage":"nyc report --reporter=text-lcov > coverage.lcov && codecov","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump":"./bump.sh","serve":"webpack && cp -r ./_bundles ./examples/injected-web3 && http-server ./examples/injected-web3"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{ts,js,json,css,md}":["prettier --write","git add"],"*.ts":["tslint -c tslint.json --fix","git add"]},"nyc":{"extension":[".ts"],"include":["src"],"reporter":["text"],"all":true},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.5.2","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","codecov":"^3.5.0","es6-promise":"^4.1.1","fetch-mock":"^7.2.5","fluid-publish":"^2.2.0","http-server":"^0.11.1","husky":"^2.4.0","isomorphic-fetch":"^2.2.1","lint-staged":"^8.2.0","mocha":"^5.2.0","nyc":"^14.1.0","prettier":"^1.15.2","ts-node":"^7.0.0","tslint":"^5.17.0","tslint-config-prettier":"^1.18.0","typedoc":"^0.16.9","types-ethereumjs-util":"0.0.8","typescript":"^2.9.2","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"bignumber.js":"7.2.1","ethereumjs-util":"^5.2.0","ethers":"^4.0.23","reconnecting-websocket":"^4.1.10","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","trustlines-contracts-abi":"dev","typedoc-plugin-markdown":"^2.2.16","ws":"^6.2.1"},"readme":"# Trustlines Clientlib\n\n[![npm](https://img.shields.io/npm/v/trustlines-clientlib.svg)](https://www.npmjs.com/package/trustlines-clientlib)\n[![CircleCI branch](https://img.shields.io/circleci/project/github/trustlines-protocol/clientlib/master.svg)](https://circleci.com/gh/trustlines-protocol/clientlib)\n[![Codecov branch](https://img.shields.io/codecov/c/github/trustlines-protocol/clientlib/master.svg)](https://codecov.io/gh/trustlines-protocol/clientlib)\n\nA TypeScript/JavaScript library for interacting with the [Trustlines Network Protocol](https://trustlines.network/).\n\n## Installation\n\n### Install via package manager\n\nWe publish the trustlines-clientlib to npm as a ES6 module.\n\n#### Using npm\n\n```bash\n$ npm i trustlines-clientlib\n```\n\n#### Using yarn\n\n```bash\n$ yarn add trustlines-clientlib\n```\n\n### Build from source\n\nIf you want to build the library from source run\n\n```bash\ngit clone git@github.com:trustlines-protocol/clientlib.git\ncd clientlib\nyarn && yarn build\n```\n\nThis will create three different builds:\n\n- ES6 module in `./lib-esm`\n- CommonJS module in `./lib`\n- Bundled JS injectable into browser in `./_bundles`\n\n## Get started\n\nWe assume the usage of the `trustlines-clientlib` ES6 module in the following.\n\n### Configuration\n\nTo start using the trustlines-clientlib you first have to configure the [relay server](https://github.com/trustlines-protocol/relay) you want to connect to.\nYou can either connect to a local develop relay server or use publicly available ones.\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n\n// Instance using a relay connected to the Laika Testnet\nconst laika = new TLNetwork({\n  protocol: 'https',\n  wsProtocol: 'wss',\n  host: 'relay0.testnet.trustlines.network',\n  path: '/api/v1'\n  // ...\n})\n\n// Instance using a relay connected to the TLBC\nconst tlbc = new TLNetwork({\n  protocol: 'https',\n  wsProtocol: 'wss',\n  host: '<url>', // TODO There is no public TLBC relay yet\n  path: '/api/v1'\n  // ...\n})\n```\n\n### Example usage\n\nThis library is a promise-based library.\nSo every asynchronous call will return a native JavaScript promise.\nIf an error occurs the library will throw it.\nThe caller has to handle it appropriately.\n\n```javascript\ntry {\n  const networks = await laika.currencyNetwork.getAll()\n} catch (error) {\n  console.log('Caught error:', error)\n}\n```\n\n### Read our [documentation]() for more\n\n## Run Tests\n\n```bash\n# All tests\nyarn test\n\n# Unit tests\nyarn test:unit\n\n# Integration tests\nyarn test:integration\n\n# end2end tests\nyarn test:e2e\n```\n\n### Note on end2end tests\n\nYou have to have all components of the trustlines protocol running.\nA convenient way to achieve this is by using our [end2end](https://github.com/trustlines-protocol/end2end) setup.\n\n## Documentation\n\nYou can find the documentation for the trustlines-clientlib [here](https://dev.trustlines.network/docs/clientlib/clientlib.html).\nThe underlying markdown files of the documentation can be found in this repository under the `./docs` directory.\nTo generate the [typedoc](https://typedoc.org/) API reference documentation for this library run `yarn doc`.\n\n## Running injected web3 example\n\nTo run the example make sure to have [MetaMask](https://metamask.io/) installed and connected to a JSON RPC.\n\n```bash\nyarn serve\n```\n\nThis serves the injected web3 example app on `http://127.0.0.1:8080`. You can find the app under `./examples/injected-web3`.\n\n## Change log\n\nSee [CHANGELOG](./CHANGELOG.md)\n","readmeFilename":"README.md","gitHead":"0b380bb6e42c867fca4bdbf027ef285c1c594536","_id":"trustlines-clientlib@0.12.2-0-dev.20200331T152223Z.0b380bb","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"trustlines-deploy","email":"bernd@brainbot.com"},"dist":{"integrity":"sha512-9zsUrS9eDANx+Gncx87QptBo3bNlQQrQvPLZGM+WwUhluV3rpBSM4tvVzp4CprwVo5Nov6L7IN8HJWldsrQTzA==","shasum":"c3df78059021bb3f0f07cdba20a28c1959686480","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.12.2-0-dev.20200331T152223Z.0b380bb.tgz","fileCount":72,"unpackedSize":460808,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeg2KlCRA9TVsSAnZWagAA1wMP/i7SOAHscYoZWt1q1d8H\nSsdQsqBUiDpQX+KwH/FQDbBlY3RUey/2kxIpXQioDoxommzrtsJhnB8lf53d\nvPw4aMNXsWJ8UlhLBn0VKP3yOwuDtyJUHdaCcbGI54pFrVcA6NAosvBx55aN\n/6ZNHyEOpgad5vrpxO7JBcNoJQqFTKJpa+2IA5QE/wwirfQa/UPEad4b6doB\n+RlyCsZY64e2hdZUGXXG1DQV1ZH2FYE2XuSS0HzRdrx6pqpli6eWwlfVFEH/\nZU+KIzljQRghlg9lkMq3i2foy63IyIZ4XWefTcvh8cnaFd8iCnP60XNs57s6\nezGH//p+HRCCdYWS20trZLqOAwOKIhXRxfICgenG6aUTbNfPth4T1yRYahot\nsm1qIi4na7t/vOA12KXAZRkQ1e3+Ondfqc+X04dLSHL0mBp5pYyJZy4faeyq\nPkJtAfI1RlDLRMxm6UFXY6QLXJMfyMlJdCxSqD8k1EMxgdGuJ5HFyoxwQ+Cg\nVnZ16cIedxkRRXzXTEhJj3jXk6FQTdwMdwb6pG92T0riN2upgXe9NMyNEbEb\nsJKlWNqz8kxHZVHn/REhSI7cfpq4v8+C3wIFN+cjPyHs8g2G10+wRofsoWoI\nocy1jV3cpVAET7h0NGJ9GNR7nbalaoqHvk59FJ0W+Kj0FiFsOpSRbTgnzPew\ndaqm\r\n=4u2g\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDELPXhMaYgq/rtk8jL3lrZI9g21KG24tMWman7jCpE+wIgKzC1KfcIHhrsFHziXpRh7fCjJSztaWAipzvwtLjJiYA="}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"},{"email":"bernd@brainbot.com","name":"trustlines-deploy"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.12.2-0-dev.20200331T152223Z.0b380bb_1585668772766_0.6330971932367047"},"_hasShrinkwrap":false},"0.12.2-0-dev.20200331T161352Z.b9f6af2":{"name":"trustlines-clientlib","version":"0.12.2-0-dev.20200331T161352Z.b9f6af2","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"typedoc --options tdconfig.json","lint":"tslint -c tslint.json './src/**/**.ts' './tests/**/**.ts'","prettier":"prettier --write './{src,tests}/**/*.ts'","prettier:check":"prettier --check './{src,tests}/**/*.ts'","prettier:big-tabs":"prettier --write --print-width 120 --no-semi --single-quote --tab-width 4  './{src,tests}/**/*.ts'","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","coverage":"nyc report --reporter=text-lcov > coverage.lcov && codecov","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump":"./bump.sh","serve":"webpack && cp -r ./_bundles ./examples/injected-web3 && http-server ./examples/injected-web3"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{ts,js,json,css,md}":["prettier --write","git add"],"*.ts":["tslint -c tslint.json --fix","git add"]},"nyc":{"extension":[".ts"],"include":["src"],"reporter":["text"],"all":true},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.5.2","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","codecov":"^3.5.0","es6-promise":"^4.1.1","fetch-mock":"^7.2.5","fluid-publish":"^2.2.0","http-server":"^0.11.1","husky":"^2.4.0","isomorphic-fetch":"^2.2.1","lint-staged":"^8.2.0","mocha":"^5.2.0","nyc":"^14.1.0","prettier":"^1.15.2","ts-node":"^7.0.0","tslint":"^5.17.0","tslint-config-prettier":"^1.18.0","typedoc":"^0.16.9","types-ethereumjs-util":"0.0.8","typescript":"^2.9.2","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"bignumber.js":"7.2.1","ethereumjs-util":"^5.2.0","ethers":"^4.0.23","reconnecting-websocket":"^4.1.10","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","trustlines-contracts-abi":"dev","typedoc-plugin-markdown":"^2.2.16","ws":"^6.2.1"},"readme":"# Trustlines Clientlib\n\n[![npm](https://img.shields.io/npm/v/trustlines-clientlib.svg)](https://www.npmjs.com/package/trustlines-clientlib)\n[![CircleCI branch](https://img.shields.io/circleci/project/github/trustlines-protocol/clientlib/master.svg)](https://circleci.com/gh/trustlines-protocol/clientlib)\n[![Codecov branch](https://img.shields.io/codecov/c/github/trustlines-protocol/clientlib/master.svg)](https://codecov.io/gh/trustlines-protocol/clientlib)\n\nA TypeScript/JavaScript library for interacting with the [Trustlines Network Protocol](https://trustlines.network/).\n\n## Installation\n\n### Install via package manager\n\nWe publish the trustlines-clientlib to npm as a ES6 module.\n\n#### Using npm\n\n```bash\n$ npm i trustlines-clientlib\n```\n\n#### Using yarn\n\n```bash\n$ yarn add trustlines-clientlib\n```\n\n### Build from source\n\nIf you want to build the library from source run\n\n```bash\ngit clone git@github.com:trustlines-protocol/clientlib.git\ncd clientlib\nyarn && yarn build\n```\n\nThis will create three different builds:\n\n- ES6 module in `./lib-esm`\n- CommonJS module in `./lib`\n- Bundled JS injectable into browser in `./_bundles`\n\n## Get started\n\nWe assume the usage of the `trustlines-clientlib` ES6 module in the following.\n\n### Configuration\n\nTo start using the trustlines-clientlib you first have to configure the [relay server](https://github.com/trustlines-protocol/relay) you want to connect to.\nYou can either connect to a local develop relay server or use publicly available ones.\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n\n// Instance using a relay connected to the Laika Testnet\nconst laika = new TLNetwork({\n  protocol: 'https',\n  wsProtocol: 'wss',\n  host: 'relay0.testnet.trustlines.network',\n  path: '/api/v1'\n  // ...\n})\n\n// Instance using a relay connected to the TLBC\nconst tlbc = new TLNetwork({\n  protocol: 'https',\n  wsProtocol: 'wss',\n  host: '<url>', // TODO There is no public TLBC relay yet\n  path: '/api/v1'\n  // ...\n})\n```\n\n### Example usage\n\nThis library is a promise-based library.\nSo every asynchronous call will return a native JavaScript promise.\nIf an error occurs the library will throw it.\nThe caller has to handle it appropriately.\n\n```javascript\ntry {\n  const networks = await laika.currencyNetwork.getAll()\n} catch (error) {\n  console.log('Caught error:', error)\n}\n```\n\n### Read our [documentation]() for more\n\n## Run Tests\n\n```bash\n# All tests\nyarn test\n\n# Unit tests\nyarn test:unit\n\n# Integration tests\nyarn test:integration\n\n# end2end tests\nyarn test:e2e\n```\n\n### Note on end2end tests\n\nYou have to have all components of the trustlines protocol running.\nA convenient way to achieve this is by using our [end2end](https://github.com/trustlines-protocol/end2end) setup.\n\n## Documentation\n\nYou can find the documentation for the trustlines-clientlib [here](https://dev.trustlines.network/docs/clientlib/clientlib.html).\nThe underlying markdown files of the documentation can be found in this repository under the `./docs` directory.\nTo generate the [typedoc](https://typedoc.org/) API reference documentation for this library run `yarn doc`.\n\n## Running injected web3 example\n\nTo run the example make sure to have [MetaMask](https://metamask.io/) installed and connected to a JSON RPC.\n\n```bash\nyarn serve\n```\n\nThis serves the injected web3 example app on `http://127.0.0.1:8080`. You can find the app under `./examples/injected-web3`.\n\n## Change log\n\nSee [CHANGELOG](./CHANGELOG.md)\n","readmeFilename":"README.md","gitHead":"b9f6af22c7a81394c973ff0163ebb88fe74f3790","_id":"trustlines-clientlib@0.12.2-0-dev.20200331T161352Z.b9f6af2","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"trustlines-deploy","email":"bernd@brainbot.com"},"dist":{"integrity":"sha512-IbWkjLhL9mZ3YOpd9roNmcp5s030ZYUgPqp9ehWG2wsbPMcbhSLbH4A9GHr3JtnQJhwbull8gv8nUyxX1zVuZA==","shasum":"69ab52791f43a1a15d47e875594af56bf1b7e992","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.12.2-0-dev.20200331T161352Z.b9f6af2.tgz","fileCount":72,"unpackedSize":462979,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeg26lCRA9TVsSAnZWagAAfiEP/3kyPS3eed465+juxDE+\nYrohc2S0Vtnj3OsK/CPAvvr8vgoWzCnhFDgXxfFE9B/WXkf8Icz1dhtLsY+V\nAHsk3T60QKfZeR8RGU6jBn22CKgEheRefH30ZFN6oxiHKI36iMjLIHOvj9xs\nM6GUqQxqR5egLbKiKQw0Nm/9tAUzibVwHWz8Uha3AyePnaTqrIGsyGBl3HRp\n3mxbY/XYC1X9UwMAw5uFxVMJseGOfgyznTMbh72Jk3I1DOLybNqWjwD8O6yK\nAu6/9xenStRZxdudJBtz002Cbzj8+gfprT7O6xJr1te5RWOWMynNJ5Q6q8VB\ngqDjZu60J3G6q445UQDp1XCrjHOBZMsuWTWcUg1jEJrgdmOhaGHibrixAXu9\nZ7y6/lkAeBTNWLCE0doCVFelMs+NaJwyhxoW4VA5s+UlE6WseiPECB9G9tNj\nMFhZz68EI18bgeef2Qvf3yXTJAMf1Q4u0wcgbEE/3PoE9r8+EEXuS1vVsqFf\nvHtm7cFfi9wthsu5vM8Sv7yHq5JeBal3GhTL1gF0oU/k+53ia3epI67SoD8A\nJ+8eGgJyGG20H/QLjqfpnGeiRR1GWWm4m/JnBPZypbRwYScUT/jWxGfaxql0\nSyrLGQFtEtNpRH/h2+nAKkGy6Fr/mR1P58moMPk+X9MHtty3dsk9J6d1X1QF\nGQn8\r\n=8zte\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEFsnj96QIr4kWJtjIZaAwtyrEvs9lnC1/+mdEpefKZVAiAIKoW+EVEPUlI2Eg9Zvl7axcFApTDCRwt8mJ9ZtOSQEA=="}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"},{"email":"bernd@brainbot.com","name":"trustlines-deploy"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.12.2-0-dev.20200331T161352Z.b9f6af2_1585671844776_0.7247785723366911"},"_hasShrinkwrap":false},"0.12.2-0-dev.20200331T190903Z.6e910f2":{"name":"trustlines-clientlib","version":"0.12.2-0-dev.20200331T190903Z.6e910f2","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"typedoc --options tdconfig.json","lint":"tslint -c tslint.json './src/**/**.ts' './tests/**/**.ts'","prettier":"prettier --write './{src,tests}/**/*.ts'","prettier:check":"prettier --check './{src,tests}/**/*.ts'","prettier:big-tabs":"prettier --write --print-width 120 --no-semi --single-quote --tab-width 4  './{src,tests}/**/*.ts'","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","coverage":"nyc report --reporter=text-lcov > coverage.lcov && codecov","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump":"./bump.sh","serve":"webpack && cp -r ./_bundles ./examples/injected-web3 && http-server ./examples/injected-web3"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{ts,js,json,css,md}":["prettier --write","git add"],"*.ts":["tslint -c tslint.json --fix","git add"]},"nyc":{"extension":[".ts"],"include":["src"],"reporter":["text"],"all":true},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.5.2","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","codecov":"^3.5.0","es6-promise":"^4.1.1","fetch-mock":"^7.2.5","fluid-publish":"^2.2.0","http-server":"^0.11.1","husky":"^2.4.0","isomorphic-fetch":"^2.2.1","lint-staged":"^8.2.0","mocha":"^5.2.0","nyc":"^14.1.0","prettier":"^1.15.2","ts-node":"^7.0.0","tslint":"^5.17.0","tslint-config-prettier":"^1.18.0","typedoc":"^0.16.9","types-ethereumjs-util":"0.0.8","typescript":"^2.9.2","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"bignumber.js":"7.2.1","ethereumjs-util":"^5.2.0","ethers":"^4.0.23","reconnecting-websocket":"^4.1.10","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","trustlines-contracts-abi":"dev","typedoc-plugin-markdown":"^2.2.16","ws":"^6.2.1"},"readme":"# Trustlines Clientlib\n\n[![npm](https://img.shields.io/npm/v/trustlines-clientlib.svg)](https://www.npmjs.com/package/trustlines-clientlib)\n[![CircleCI branch](https://img.shields.io/circleci/project/github/trustlines-protocol/clientlib/master.svg)](https://circleci.com/gh/trustlines-protocol/clientlib)\n[![Codecov branch](https://img.shields.io/codecov/c/github/trustlines-protocol/clientlib/master.svg)](https://codecov.io/gh/trustlines-protocol/clientlib)\n\nA TypeScript/JavaScript library for interacting with the [Trustlines Network Protocol](https://trustlines.network/).\n\n## Installation\n\n### Install via package manager\n\nWe publish the trustlines-clientlib to npm as a ES6 module.\n\n#### Using npm\n\n```bash\n$ npm i trustlines-clientlib\n```\n\n#### Using yarn\n\n```bash\n$ yarn add trustlines-clientlib\n```\n\n### Build from source\n\nIf you want to build the library from source run\n\n```bash\ngit clone git@github.com:trustlines-protocol/clientlib.git\ncd clientlib\nyarn && yarn build\n```\n\nThis will create three different builds:\n\n- ES6 module in `./lib-esm`\n- CommonJS module in `./lib`\n- Bundled JS injectable into browser in `./_bundles`\n\n## Get started\n\nWe assume the usage of the `trustlines-clientlib` ES6 module in the following.\n\n### Configuration\n\nTo start using the trustlines-clientlib you first have to configure the [relay server](https://github.com/trustlines-protocol/relay) you want to connect to.\nYou can either connect to a local develop relay server or use publicly available ones.\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n\n// Instance using a relay connected to the Laika Testnet\nconst laika = new TLNetwork({\n  protocol: 'https',\n  wsProtocol: 'wss',\n  host: 'relay0.testnet.trustlines.network',\n  path: '/api/v1'\n  // ...\n})\n\n// Instance using a relay connected to the TLBC\nconst tlbc = new TLNetwork({\n  protocol: 'https',\n  wsProtocol: 'wss',\n  host: '<url>', // TODO There is no public TLBC relay yet\n  path: '/api/v1'\n  // ...\n})\n```\n\n### Example usage\n\nThis library is a promise-based library.\nSo every asynchronous call will return a native JavaScript promise.\nIf an error occurs the library will throw it.\nThe caller has to handle it appropriately.\n\n```javascript\ntry {\n  const networks = await laika.currencyNetwork.getAll()\n} catch (error) {\n  console.log('Caught error:', error)\n}\n```\n\n### Read our [documentation]() for more\n\n## Run Tests\n\n```bash\n# All tests\nyarn test\n\n# Unit tests\nyarn test:unit\n\n# Integration tests\nyarn test:integration\n\n# end2end tests\nyarn test:e2e\n```\n\n### Note on end2end tests\n\nYou have to have all components of the trustlines protocol running.\nA convenient way to achieve this is by using our [end2end](https://github.com/trustlines-protocol/end2end) setup.\n\n## Documentation\n\nYou can find the documentation for the trustlines-clientlib [here](https://dev.trustlines.network/docs/clientlib/clientlib.html).\nThe underlying markdown files of the documentation can be found in this repository under the `./docs` directory.\nTo generate the [typedoc](https://typedoc.org/) API reference documentation for this library run `yarn doc`.\n\n## Running injected web3 example\n\nTo run the example make sure to have [MetaMask](https://metamask.io/) installed and connected to a JSON RPC.\n\n```bash\nyarn serve\n```\n\nThis serves the injected web3 example app on `http://127.0.0.1:8080`. You can find the app under `./examples/injected-web3`.\n\n## Change log\n\nSee [CHANGELOG](./CHANGELOG.md)\n","readmeFilename":"README.md","gitHead":"6e910f20015e41c9858feefb0ce3b35a20ebb41a","_id":"trustlines-clientlib@0.12.2-0-dev.20200331T190903Z.6e910f2","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"trustlines-deploy","email":"bernd@brainbot.com"},"dist":{"integrity":"sha512-S/sXBch3Alr33ZSkmixjZWc9JFQmZ1QJ6AIyg/m3P7oTVWjy9n+jHQgzxrE6HJ56z6QXWEZ2PjqzERhHiaR/Ig==","shasum":"ceb7dce71d066c2acc93d305fb0d157fe5913bf1","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.12.2-0-dev.20200331T190903Z.6e910f2.tgz","fileCount":72,"unpackedSize":465176,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeg5fFCRA9TVsSAnZWagAAKmcP/3yhtACdNaEKWOfpFx7r\nm+eyhOgZjT93m1KK3V9AYPzX/5hdsf8xdJNDPGPJ2boweQWVai/nVRURZeJd\nR+9s84NGXjXHmbM6ivuygb7+RFOb2GcG7B16yLMFLuk/+XEo3nBUB+AgiU+q\nl+NAILnVRWlX/jN+WFBkL7J01q/8gfEQ6iH3tF/849nhDTrANnz8uAAWQ/L7\n2HqLX83bxvq/9opRtIiWjHBfCi2UbntnyrWP9fMEba/SVzmL2NoJiX+AE1cr\nRaVb8qKL5zMvcUstYPigQXO5F1HUfd4wRh48+dU2nZ8wY6xSBAUqa2Jt2nmM\nfTi08DCaTCkabrE5njJrn1/B6kwbef745eZ9qo/d/qTBp9rVbtupM2JzFJqD\nHOfr/MC6t5tVUV3TU0/ywq9qcgLUFP178fbisA6T/azXPxINRO5ZQAAB6fZS\nlLonaH7werN7pDGSjdSXE9AzmhFj6mHyTsv6AxpFi+/DPe1v3bBhA5YXoFIG\n0eRaBdG8V4BT5Hh6oRzQetjjXniF+qwgCnYSuHCOOz7hCzJ41SoyOJZoDHtU\nQGdRl6aLmesdelLI71iMsAcN8KlglZ/RBw9i3oid3VQ+DtaKTpZD69ZygsvJ\n6AiAMYqPUl9V2H3c5J/hNgfEjdpf45062pMB8i+1BAjStrULfMU0/Qtz2Jqf\nxXUk\r\n=sfK7\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCVZGP0qLmt1R3gniDzj8AIUz7kbXCmpKRRk2bxQTyFvAIhALCWuPXeVYWjiWdatdNbYvR2ShFMmTwio/G+WnPDpQll"}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"},{"email":"bernd@brainbot.com","name":"trustlines-deploy"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.12.2-0-dev.20200331T190903Z.6e910f2_1585682372476_0.017436262125056556"},"_hasShrinkwrap":false},"0.12.2-0-dev.20200403T132120Z.f1a49e8":{"name":"trustlines-clientlib","version":"0.12.2-0-dev.20200403T132120Z.f1a49e8","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"typedoc --options tdconfig.json","lint":"tslint -c tslint.json './src/**/**.ts' './tests/**/**.ts'","prettier":"prettier --write './{src,tests}/**/*.ts'","prettier:check":"prettier --check './{src,tests}/**/*.ts'","prettier:big-tabs":"prettier --write --print-width 120 --no-semi --single-quote --tab-width 4  './{src,tests}/**/*.ts'","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","coverage":"nyc report --reporter=text-lcov > coverage.lcov && codecov","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump":"./bump.sh","serve":"webpack && cp -r ./_bundles ./examples/injected-web3 && http-server ./examples/injected-web3"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{ts,js,json,css,md}":["prettier --write","git add"],"*.ts":["tslint -c tslint.json --fix","git add"]},"nyc":{"extension":[".ts"],"include":["src"],"reporter":["text"],"all":true},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.5.2","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","codecov":"^3.5.0","es6-promise":"^4.1.1","fetch-mock":"^7.2.5","fluid-publish":"^2.2.0","http-server":"^0.11.1","husky":"^2.4.0","isomorphic-fetch":"^2.2.1","lint-staged":"^8.2.0","mocha":"^5.2.0","nyc":"^14.1.0","prettier":"^1.15.2","ts-node":"^7.0.0","tslint":"^5.17.0","tslint-config-prettier":"^1.18.0","typedoc":"^0.16.9","types-ethereumjs-util":"0.0.8","typescript":"^2.9.2","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"bignumber.js":"7.2.1","ethereumjs-util":"^5.2.0","ethers":"^4.0.23","reconnecting-websocket":"^4.1.10","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","trustlines-contracts-abi":"dev","typedoc-plugin-markdown":"^2.2.16","ws":"^6.2.1"},"readme":"# Trustlines Clientlib\n\n[![npm](https://img.shields.io/npm/v/trustlines-clientlib.svg)](https://www.npmjs.com/package/trustlines-clientlib)\n[![CircleCI branch](https://img.shields.io/circleci/project/github/trustlines-protocol/clientlib/master.svg)](https://circleci.com/gh/trustlines-protocol/clientlib)\n[![Codecov branch](https://img.shields.io/codecov/c/github/trustlines-protocol/clientlib/master.svg)](https://codecov.io/gh/trustlines-protocol/clientlib)\n\nA TypeScript/JavaScript library for interacting with the [Trustlines Network Protocol](https://trustlines.network/).\n\n## Installation\n\n### Install via package manager\n\nWe publish the trustlines-clientlib to npm as a ES6 module.\n\n#### Using npm\n\n```bash\n$ npm i trustlines-clientlib\n```\n\n#### Using yarn\n\n```bash\n$ yarn add trustlines-clientlib\n```\n\n### Build from source\n\nIf you want to build the library from source run\n\n```bash\ngit clone git@github.com:trustlines-protocol/clientlib.git\ncd clientlib\nyarn && yarn build\n```\n\nThis will create three different builds:\n\n- ES6 module in `./lib-esm`\n- CommonJS module in `./lib`\n- Bundled JS injectable into browser in `./_bundles`\n\n## Get started\n\nWe assume the usage of the `trustlines-clientlib` ES6 module in the following.\n\n### Configuration\n\nTo start using the trustlines-clientlib you first have to configure the [relay server](https://github.com/trustlines-protocol/relay) you want to connect to.\nYou can either connect to a local develop relay server or use publicly available ones.\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n\n// Instance using a relay connected to the Laika Testnet\nconst laika = new TLNetwork({\n  protocol: 'https',\n  wsProtocol: 'wss',\n  host: 'relay0.testnet.trustlines.network',\n  path: '/api/v1'\n  // ...\n})\n\n// Instance using a relay connected to the TLBC\nconst tlbc = new TLNetwork({\n  protocol: 'https',\n  wsProtocol: 'wss',\n  host: '<url>', // TODO There is no public TLBC relay yet\n  path: '/api/v1'\n  // ...\n})\n```\n\n### Example usage\n\nThis library is a promise-based library.\nSo every asynchronous call will return a native JavaScript promise.\nIf an error occurs the library will throw it.\nThe caller has to handle it appropriately.\n\n```javascript\ntry {\n  const networks = await laika.currencyNetwork.getAll()\n} catch (error) {\n  console.log('Caught error:', error)\n}\n```\n\n### Read our [documentation]() for more\n\n## Run Tests\n\n```bash\n# All tests\nyarn test\n\n# Unit tests\nyarn test:unit\n\n# Integration tests\nyarn test:integration\n\n# end2end tests\nyarn test:e2e\n```\n\n### Note on end2end tests\n\nYou have to have all components of the trustlines protocol running.\nA convenient way to achieve this is by using our [end2end](https://github.com/trustlines-protocol/end2end) setup.\n\n## Documentation\n\nYou can find the documentation for the trustlines-clientlib [here](https://dev.trustlines.network/docs/clientlib/clientlib.html).\nThe underlying markdown files of the documentation can be found in this repository under the `./docs` directory.\nTo generate the [typedoc](https://typedoc.org/) API reference documentation for this library run `yarn doc`.\n\n## Running injected web3 example\n\nTo run the example make sure to have [MetaMask](https://metamask.io/) installed and connected to a JSON RPC.\n\n```bash\nyarn serve\n```\n\nThis serves the injected web3 example app on `http://127.0.0.1:8080`. You can find the app under `./examples/injected-web3`.\n\n## Change log\n\nSee [CHANGELOG](./CHANGELOG.md)\n","readmeFilename":"README.md","gitHead":"f1a49e84b15dd0759c8cb21916bdbc7505601068","_id":"trustlines-clientlib@0.12.2-0-dev.20200403T132120Z.f1a49e8","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"trustlines-deploy","email":"bernd@brainbot.com"},"dist":{"integrity":"sha512-J3+IUQssAoU7Jv70fwXahDUAyP9eezAvXmqGKmUsvYBoC8LIaU9GO97iY8fsmH7XKf1eUw7yWZmr/+xZ9o2eKA==","shasum":"e7778c5833e5d4d0615c33dcad1d6710a40a960d","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.12.2-0-dev.20200403T132120Z.f1a49e8.tgz","fileCount":72,"unpackedSize":467937,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJehzsGCRA9TVsSAnZWagAA5RYP/3G7fc4Go7uMBc0bQoBt\nXhcEVWT3td7eIxdSHmxBp4cFSIj5PwpR2WJCHX74TqtDhmOGSMdpSZ7M03bz\nIyRctzTfs0eSkie1tHIaJ/OxtJgL8CSFrp7tT6etmUBAN+szZhZSYdxGrVwl\nykZydY4diInLlPy55Zi4edZ7J3gbj7AHVNwTqTDoNB2ok87AdDsMIuoNHVNj\nHZXUdxYN1I3xloYyoN1LuMVnzoKq83OiRKXT70BgoU4b5LZLAycxOcJDhWVo\nBPpZSTe60tsioDAk4CJdS5ef+ejoKY1RV2dmvlJyaoecmlnWfxpKBxjTnuEO\nMSsa1upp6D4sq7OZiLsMVeGOgEEG/gWxsi9bzr0sgaJ6WfC/4kLAarm+d7pu\nriRD+gIjScR8ataOY+P9d23KMwCTSEmrJZTgrnGqQdTXvltZRIMXPPFpFgDH\n15NrqtOT0ICP71PYevu8cDnu07u8yhFwGfvNEYgCalGwznTEsR2+QM0zuUV2\nHweOgsDi73ychFt1byXG5RNMxdWEVIIZNtmCbqWiBGsRgVMHAJF8ef1Pyx21\nX6pEXmsYBD05GWm9zlbfVOtC0XpvsKpx6HmUy6RdQKUNTpdPh5ivvuaV47qr\ntmp9W9kbaoK/wyshqBK+l7dY2uM0NNaPGqotpXnEsqCjDhmqiYZdCVlTXvnG\nYEf6\r\n=AHTJ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCRq42kq3dI6ohYJKrhjEJ/qHlZkhTJhFHLE6NXg4pOrgIgKnZGa1Q6UhrI/uZcDb0hxlPl6lekfjbgMsdBjjbfrAI="}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"},{"email":"bernd@brainbot.com","name":"trustlines-deploy"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.12.2-0-dev.20200403T132120Z.f1a49e8_1585920773953_0.7100860958801225"},"_hasShrinkwrap":false},"0.12.2-0-dev.20200408T153459Z.1b5357a":{"name":"trustlines-clientlib","version":"0.12.2-0-dev.20200408T153459Z.1b5357a","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"typedoc --options tdconfig.json","lint":"tslint -c tslint.json './src/**/**.ts' './tests/**/**.ts'","prettier":"prettier --write './{src,tests}/**/*.ts'","prettier:check":"prettier --check './{src,tests}/**/*.ts'","prettier:big-tabs":"prettier --write --print-width 120 --no-semi --single-quote --tab-width 4  './{src,tests}/**/*.ts'","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","coverage":"nyc report --reporter=text-lcov > coverage.lcov && codecov","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump":"./bump.sh","serve":"webpack && cp -r ./_bundles ./examples/injected-web3 && http-server ./examples/injected-web3"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{ts,js,json,css,md}":["prettier --write","git add"],"*.ts":["tslint -c tslint.json --fix","git add"]},"nyc":{"extension":[".ts"],"include":["src"],"reporter":["text"],"all":true},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.5.2","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","codecov":"^3.5.0","es6-promise":"^4.1.1","fetch-mock":"^7.2.5","fluid-publish":"^2.2.0","http-server":"^0.11.1","husky":"^2.4.0","isomorphic-fetch":"^2.2.1","lint-staged":"^8.2.0","mocha":"^5.2.0","nyc":"^14.1.0","prettier":"^1.15.2","ts-node":"^7.0.0","tslint":"^5.17.0","tslint-config-prettier":"^1.18.0","typedoc":"^0.16.9","types-ethereumjs-util":"0.0.8","typescript":"^2.9.2","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"bignumber.js":"7.2.1","ethereumjs-util":"^5.2.0","ethers":"^4.0.23","reconnecting-websocket":"^4.1.10","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","trustlines-contracts-abi":"dev","typedoc-plugin-markdown":"^2.2.16","ws":"^6.2.1"},"readme":"# Trustlines Clientlib\n\n[![npm](https://img.shields.io/npm/v/trustlines-clientlib.svg)](https://www.npmjs.com/package/trustlines-clientlib)\n[![CircleCI branch](https://img.shields.io/circleci/project/github/trustlines-protocol/clientlib/master.svg)](https://circleci.com/gh/trustlines-protocol/clientlib)\n[![Codecov branch](https://img.shields.io/codecov/c/github/trustlines-protocol/clientlib/master.svg)](https://codecov.io/gh/trustlines-protocol/clientlib)\n\nA TypeScript/JavaScript library for interacting with the [Trustlines Network Protocol](https://trustlines.network/).\n\n## Installation\n\n### Install via package manager\n\nWe publish the trustlines-clientlib to npm as a ES6 module.\n\n#### Using npm\n\n```bash\n$ npm i trustlines-clientlib\n```\n\n#### Using yarn\n\n```bash\n$ yarn add trustlines-clientlib\n```\n\n### Build from source\n\nIf you want to build the library from source run\n\n```bash\ngit clone git@github.com:trustlines-protocol/clientlib.git\ncd clientlib\nyarn && yarn build\n```\n\nThis will create three different builds:\n\n- ES6 module in `./lib-esm`\n- CommonJS module in `./lib`\n- Bundled JS injectable into browser in `./_bundles`\n\n## Get started\n\nWe assume the usage of the `trustlines-clientlib` ES6 module in the following.\n\n### Configuration\n\nTo start using the trustlines-clientlib you first have to configure the [relay server](https://github.com/trustlines-protocol/relay) you want to connect to.\nYou can either connect to a local develop relay server or use publicly available ones.\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n\n// Instance using a relay connected to the Laika Testnet\nconst laika = new TLNetwork({\n  protocol: 'https',\n  wsProtocol: 'wss',\n  host: 'relay0.testnet.trustlines.network',\n  path: '/api/v1'\n  // ...\n})\n\n// Instance using a relay connected to the TLBC\nconst tlbc = new TLNetwork({\n  protocol: 'https',\n  wsProtocol: 'wss',\n  host: '<url>', // TODO There is no public TLBC relay yet\n  path: '/api/v1'\n  // ...\n})\n```\n\n### Example usage\n\nThis library is a promise-based library.\nSo every asynchronous call will return a native JavaScript promise.\nIf an error occurs the library will throw it.\nThe caller has to handle it appropriately.\n\n```javascript\ntry {\n  const networks = await laika.currencyNetwork.getAll()\n} catch (error) {\n  console.log('Caught error:', error)\n}\n```\n\n### Read our [documentation]() for more\n\n## Run Tests\n\n```bash\n# All tests\nyarn test\n\n# Unit tests\nyarn test:unit\n\n# Integration tests\nyarn test:integration\n\n# end2end tests\nyarn test:e2e\n```\n\n### Note on end2end tests\n\nYou have to have all components of the trustlines protocol running.\nA convenient way to achieve this is by using our [end2end](https://github.com/trustlines-protocol/end2end) setup.\n\n## Documentation\n\nYou can find the documentation for the trustlines-clientlib [here](https://dev.trustlines.network/docs/clientlib/clientlib.html).\nThe underlying markdown files of the documentation can be found in this repository under the `./docs` directory.\nTo generate the [typedoc](https://typedoc.org/) API reference documentation for this library run `yarn doc`.\n\n## Running injected web3 example\n\nTo run the example make sure to have [MetaMask](https://metamask.io/) installed and connected to a JSON RPC.\n\n```bash\nyarn serve\n```\n\nThis serves the injected web3 example app on `http://127.0.0.1:8080`. You can find the app under `./examples/injected-web3`.\n\n## Change log\n\nSee [CHANGELOG](./CHANGELOG.md)\n","readmeFilename":"README.md","gitHead":"1b5357a2f10e7a6c54011b31eca2d9ed0649953d","_id":"trustlines-clientlib@0.12.2-0-dev.20200408T153459Z.1b5357a","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"trustlines-deploy","email":"bernd@brainbot.com"},"dist":{"integrity":"sha512-A1diJ9OK9XECBkI3ZmHS3gP7ZtqsiFTwW+lyfqoiu/lTuoqJ2K55V/c+FFmrL4IciaOtl2Ohqx104qne5n6FTQ==","shasum":"8a09d7dbbe02cc4da9e8669c72ba6dfe75a2f770","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.12.2-0-dev.20200408T153459Z.1b5357a.tgz","fileCount":72,"unpackedSize":474946,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJejfGaCRA9TVsSAnZWagAA9fYP/1R5EWRBzJ4ha7K0He44\nVJS8WKPAH3KeP4SR2WOtYzGbDokgA70fhiIcuRUc+r4ZN35X03R0ISSB9QFT\nt1d1dqo2iU3QZIL+dDDu/LGu6u98BwrnPv5XxPvEVwETyCxJH7y7qhdr2Zq+\nMkeyQdxfXnVNjb5+ABYY3jhdfPr+6+V0KtalLfsxO8n4ob3Pv8GHhq9CXAEf\n7qerm2k3kODq6ajF2jJoodiVcbxjhFhS+rquw2B2rv9HoXAeHVo7Y0yjMPtx\njonC5YCV47pQ3/agerx51Kd0kBsVF8Kg/6BI27/YkmWUA85XtpElHlkFaB5t\nWVuf9ucJD4HgTztHxKZY943RayAfQ4UM/Tzuu0HTm2PqQrlHz2FhgWe1ct0H\nkAMgIdF2B3DsP2kO4J7PltuV60Uw9dNjIT0vivYf283G9AzuwtCUPQZrhVQy\nsuoVcW8fEMBtf+PeR9EE2mPlSST7IicQMXc+nyV2Mx8/GDVWEgkAjIZisc8I\nNr7GG7NWFuZt2lNT/RuRAaUKrngLfBqb3o2vr8PGDZ+JZRjxU91650Nd6s8y\nW/zc3MEmFMxIpuJpI3axykeCjRwAuC7SPfP4NlFaZirkP1b/j8h+CGZQ8x1z\nFTqY+3+eijt6b6c0Mr6y8rrr3EDSL/yk5ggrSZefI6CboH7LAfRX0FYRcxmR\nMmRc\r\n=MWnM\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCxJSkN7X4y0z1GfxEBLTck7fNixww2y2yoxmLVApB7hQIgALQesK8MsJieRlDbRks/fxYKSmUjEbSb0/qBe6M9t70="}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"},{"email":"bernd@brainbot.com","name":"trustlines-deploy"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.12.2-0-dev.20200408T153459Z.1b5357a_1586360729595_0.9460644613453086"},"_hasShrinkwrap":false},"0.12.2-0-dev.20200409T103159Z.e9254e8":{"name":"trustlines-clientlib","version":"0.12.2-0-dev.20200409T103159Z.e9254e8","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"typedoc --options tdconfig.json","lint":"tslint -c tslint.json './src/**/**.ts' './tests/**/**.ts'","prettier":"prettier --write './{src,tests}/**/*.ts'","prettier:check":"prettier --check './{src,tests}/**/*.ts'","prettier:big-tabs":"prettier --write --print-width 120 --no-semi --single-quote --tab-width 4  './{src,tests}/**/*.ts'","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","coverage":"nyc report --reporter=text-lcov > coverage.lcov && codecov","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump":"./bump.sh","serve":"webpack && cp -r ./_bundles ./examples/injected-web3 && http-server ./examples/injected-web3"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{ts,js,json,css,md}":["prettier --write","git add"],"*.ts":["tslint -c tslint.json --fix","git add"]},"nyc":{"extension":[".ts"],"include":["src"],"reporter":["text"],"all":true},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.5.2","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","codecov":"^3.5.0","es6-promise":"^4.1.1","fetch-mock":"^7.2.5","fluid-publish":"^2.2.0","http-server":"^0.11.1","husky":"^2.4.0","isomorphic-fetch":"^2.2.1","lint-staged":"^8.2.0","mocha":"^5.2.0","nyc":"^14.1.0","prettier":"^1.15.2","ts-node":"^7.0.0","tslint":"^5.17.0","tslint-config-prettier":"^1.18.0","typedoc":"^0.16.9","types-ethereumjs-util":"0.0.8","typescript":"^2.9.2","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"bignumber.js":"7.2.1","ethereumjs-util":"^5.2.0","ethers":"^4.0.23","reconnecting-websocket":"^4.1.10","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","trustlines-contracts-abi":"dev","typedoc-plugin-markdown":"^2.2.16","ws":"^6.2.1"},"readme":"# Trustlines Clientlib\n\n[![npm](https://img.shields.io/npm/v/trustlines-clientlib.svg)](https://www.npmjs.com/package/trustlines-clientlib)\n[![CircleCI branch](https://img.shields.io/circleci/project/github/trustlines-protocol/clientlib/master.svg)](https://circleci.com/gh/trustlines-protocol/clientlib)\n[![Codecov branch](https://img.shields.io/codecov/c/github/trustlines-protocol/clientlib/master.svg)](https://codecov.io/gh/trustlines-protocol/clientlib)\n\nA TypeScript/JavaScript library for interacting with the [Trustlines Network Protocol](https://trustlines.network/).\n\n## Installation\n\n### Install via package manager\n\nWe publish the trustlines-clientlib to npm as a ES6 module.\n\n#### Using npm\n\n```bash\n$ npm i trustlines-clientlib\n```\n\n#### Using yarn\n\n```bash\n$ yarn add trustlines-clientlib\n```\n\n### Build from source\n\nIf you want to build the library from source run\n\n```bash\ngit clone git@github.com:trustlines-protocol/clientlib.git\ncd clientlib\nyarn && yarn build\n```\n\nThis will create three different builds:\n\n- ES6 module in `./lib-esm`\n- CommonJS module in `./lib`\n- Bundled JS injectable into browser in `./_bundles`\n\n## Get started\n\nWe assume the usage of the `trustlines-clientlib` ES6 module in the following.\n\n### Configuration\n\nTo start using the trustlines-clientlib you first have to configure the [relay server](https://github.com/trustlines-protocol/relay) you want to connect to.\nYou can either connect to a local develop relay server or use publicly available ones.\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n\n// Instance using a relay connected to the Laika Testnet\nconst laika = new TLNetwork({\n  protocol: 'https',\n  wsProtocol: 'wss',\n  host: 'relay0.testnet.trustlines.network',\n  path: '/api/v1'\n  // ...\n})\n\n// Instance using a relay connected to the TLBC\nconst tlbc = new TLNetwork({\n  protocol: 'https',\n  wsProtocol: 'wss',\n  host: '<url>', // TODO There is no public TLBC relay yet\n  path: '/api/v1'\n  // ...\n})\n```\n\n### Example usage\n\nThis library is a promise-based library.\nSo every asynchronous call will return a native JavaScript promise.\nIf an error occurs the library will throw it.\nThe caller has to handle it appropriately.\n\n```javascript\ntry {\n  const networks = await laika.currencyNetwork.getAll()\n} catch (error) {\n  console.log('Caught error:', error)\n}\n```\n\n### Read our [documentation]() for more\n\n## Run Tests\n\n```bash\n# All tests\nyarn test\n\n# Unit tests\nyarn test:unit\n\n# Integration tests\nyarn test:integration\n\n# end2end tests\nyarn test:e2e\n```\n\n### Note on end2end tests\n\nYou have to have all components of the trustlines protocol running.\nA convenient way to achieve this is by using our [end2end](https://github.com/trustlines-protocol/end2end) setup.\n\n## Documentation\n\nYou can find the documentation for the trustlines-clientlib [here](https://dev.trustlines.network/docs/clientlib/clientlib.html).\nThe underlying markdown files of the documentation can be found in this repository under the `./docs` directory.\nTo generate the [typedoc](https://typedoc.org/) API reference documentation for this library run `yarn doc`.\n\n## Running injected web3 example\n\nTo run the example make sure to have [MetaMask](https://metamask.io/) installed and connected to a JSON RPC.\n\n```bash\nyarn serve\n```\n\nThis serves the injected web3 example app on `http://127.0.0.1:8080`. You can find the app under `./examples/injected-web3`.\n\n## Change log\n\nSee [CHANGELOG](./CHANGELOG.md)\n","readmeFilename":"README.md","gitHead":"e9254e8c1b5bfa94ef5bfff3de639cea78bdda08","_id":"trustlines-clientlib@0.12.2-0-dev.20200409T103159Z.e9254e8","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"trustlines-deploy","email":"bernd@brainbot.com"},"dist":{"integrity":"sha512-9jPZYEUXooHsd4/JC9YPjZ+UDIQKJ27JED4gaRXf7Yjk6BP0cUumAaMGSe3h2zgPu65YMcUJbJcadU40Xcp9Sw==","shasum":"01f5ebafd3898d3114e72a0b57380e089c1672ca","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.12.2-0-dev.20200409T103159Z.e9254e8.tgz","fileCount":72,"unpackedSize":480114,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJejvwQCRA9TVsSAnZWagAAWNUP/2994ROJBv5QPB8DXWRn\nJoYiCEA1N0X5CuLm2cLzF6Nk7/YbPkoaC2zXJmArDalvKIGcnODj8+eUzlgn\nUiymI6TKzKuJyL9rEYLDAqWHW/K0NIfmFh/ZnYUO50ro6SE5MwOGwAhelwba\nKwMBe3SagFLq7EKmwg+HVQdp5S8eXPtQS6b7F7awF72EUOYgaiAMAkA0UkHl\n+6yKbpa3b1+e4toA/YYMf35xBDR8IQagM/J23l9LMb9S3fPIHlkykoWMwT4U\njOA6JICSvqlQiiqRUHk7OfGysJVrIMcFwp7RkLPskdqEXRAkbp2PQcUUM+x0\njsZl/xmZtEiz+gXgEu60GF6YTdT3QGmXPtYgRHhr0sGn6bCT2GdjNKKSbGg3\nQQYfVhKEcCsuqqp4VDJpQ/cJUaaC2s1GvMJ4w7Ay/ydR40c1KlSUlaSYeiGf\nkes6pTIxMOYzG1ijZRJ1j+8YmdGfANbgAR3tZFub0J6m9QJU5CYDRdq3QdyU\niCEdzuhDeZfj69TjDY2FQV2p7ohJU9BEjRaixw/E+nltnUr61pqohkcMgd2D\nOqES15qDLoX4k9gBbb5jYscbMpHLZz8nbzsfQAbcCd/MI33xC9aOIm4Rt5w7\nAK1L9bZHaKPFoPJDBdSNbdCrMzGTvdiThQfE2zjxaBrP1NnWebsjzFJebv+e\nQzYf\r\n=QidW\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFMc7OZbMSiEyr0I98xYNb4eLJdMFAG2yVeZ+oBj1xhaAiEAkH5Tu6g3IcoAXiX0i92p/M+4CDHIHLgiPksLgt2Jvnk="}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"},{"email":"bernd@brainbot.com","name":"trustlines-deploy"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.12.2-0-dev.20200409T103159Z.e9254e8_1586428944210_0.08253839517224049"},"_hasShrinkwrap":false},"0.12.2-0-dev.20200414T141524Z.9308250":{"name":"trustlines-clientlib","version":"0.12.2-0-dev.20200414T141524Z.9308250","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"typedoc --options tdconfig.json","lint":"tslint -c tslint.json './src/**/**.ts' './tests/**/**.ts'","prettier":"prettier --write './{src,tests}/**/*.ts'","prettier:check":"prettier --check './{src,tests}/**/*.ts'","prettier:big-tabs":"prettier --write --print-width 120 --no-semi --single-quote --tab-width 4  './{src,tests}/**/*.ts'","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","coverage":"nyc report --reporter=text-lcov > coverage.lcov && codecov","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump":"./bump.sh","serve":"webpack && cp -r ./_bundles ./examples/injected-web3 && http-server ./examples/injected-web3"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{ts,js,json,css,md}":["prettier --write","git add"],"*.ts":["tslint -c tslint.json --fix","git add"]},"nyc":{"extension":[".ts"],"include":["src"],"reporter":["text"],"all":true},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.5.2","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","codecov":"^3.5.0","es6-promise":"^4.1.1","fetch-mock":"^7.2.5","fluid-publish":"^2.2.0","http-server":"^0.11.1","husky":"^2.4.0","isomorphic-fetch":"^2.2.1","lint-staged":"^8.2.0","mocha":"^5.2.0","nyc":"^14.1.0","prettier":"^1.15.2","ts-node":"^7.0.0","tslint":"^5.17.0","tslint-config-prettier":"^1.18.0","typedoc":"^0.16.9","types-ethereumjs-util":"0.0.8","typescript":"^2.9.2","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"bignumber.js":"7.2.1","ethereumjs-util":"^5.2.0","ethers":"^4.0.23","reconnecting-websocket":"^4.1.10","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","trustlines-contracts-abi":"dev","typedoc-plugin-markdown":"^2.2.16","ws":"^6.2.1"},"readme":"# Trustlines Clientlib\n\n[![npm](https://img.shields.io/npm/v/trustlines-clientlib.svg)](https://www.npmjs.com/package/trustlines-clientlib)\n[![CircleCI branch](https://img.shields.io/circleci/project/github/trustlines-protocol/clientlib/master.svg)](https://circleci.com/gh/trustlines-protocol/clientlib)\n[![Codecov branch](https://img.shields.io/codecov/c/github/trustlines-protocol/clientlib/master.svg)](https://codecov.io/gh/trustlines-protocol/clientlib)\n\nA TypeScript/JavaScript library for interacting with the [Trustlines Network Protocol](https://trustlines.network/).\n\n## Installation\n\n### Install via package manager\n\nWe publish the trustlines-clientlib to npm as a ES6 module.\n\n#### Using npm\n\n```bash\n$ npm i trustlines-clientlib\n```\n\n#### Using yarn\n\n```bash\n$ yarn add trustlines-clientlib\n```\n\n### Build from source\n\nIf you want to build the library from source run\n\n```bash\ngit clone git@github.com:trustlines-protocol/clientlib.git\ncd clientlib\nyarn && yarn build\n```\n\nThis will create three different builds:\n\n- ES6 module in `./lib-esm`\n- CommonJS module in `./lib`\n- Bundled JS injectable into browser in `./_bundles`\n\n## Get started\n\nWe assume the usage of the `trustlines-clientlib` ES6 module in the following.\n\n### Configuration\n\nTo start using the trustlines-clientlib you first have to configure the [relay server](https://github.com/trustlines-protocol/relay) you want to connect to.\nYou can either connect to a local develop relay server or use publicly available ones.\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n\n// Instance using a relay connected to the Laika Testnet\nconst laika = new TLNetwork({\n  protocol: 'https',\n  wsProtocol: 'wss',\n  host: 'relay0.testnet.trustlines.network',\n  path: '/api/v1'\n  // ...\n})\n\n// Instance using a relay connected to the TLBC\nconst tlbc = new TLNetwork({\n  protocol: 'https',\n  wsProtocol: 'wss',\n  host: '<url>', // TODO There is no public TLBC relay yet\n  path: '/api/v1'\n  // ...\n})\n```\n\n### Example usage\n\nThis library is a promise-based library.\nSo every asynchronous call will return a native JavaScript promise.\nIf an error occurs the library will throw it.\nThe caller has to handle it appropriately.\n\n```javascript\ntry {\n  const networks = await laika.currencyNetwork.getAll()\n} catch (error) {\n  console.log('Caught error:', error)\n}\n```\n\n### Read our [documentation]() for more\n\n## Run Tests\n\n```bash\n# All tests\nyarn test\n\n# Unit tests\nyarn test:unit\n\n# Integration tests\nyarn test:integration\n\n# end2end tests\nyarn test:e2e\n```\n\n### Note on end2end tests\n\nYou have to have all components of the trustlines protocol running.\nA convenient way to achieve this is by using our [end2end](https://github.com/trustlines-protocol/end2end) setup.\n\n## Documentation\n\nYou can find the documentation for the trustlines-clientlib [here](https://dev.trustlines.network/docs/clientlib/clientlib.html).\nThe underlying markdown files of the documentation can be found in this repository under the `./docs` directory.\nTo generate the [typedoc](https://typedoc.org/) API reference documentation for this library run `yarn doc`.\n\n## Running injected web3 example\n\nTo run the example make sure to have [MetaMask](https://metamask.io/) installed and connected to a JSON RPC.\n\n```bash\nyarn serve\n```\n\nThis serves the injected web3 example app on `http://127.0.0.1:8080`. You can find the app under `./examples/injected-web3`.\n\n## Change log\n\nSee [CHANGELOG](./CHANGELOG.md)\n","readmeFilename":"README.md","gitHead":"9308250f4f421560f7f8ba6f48d6e61ec502e7b7","_id":"trustlines-clientlib@0.12.2-0-dev.20200414T141524Z.9308250","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"trustlines-deploy","email":"bernd@brainbot.com"},"dist":{"integrity":"sha512-HmLBvvPgh7s5y58t1Tfr8v0kiMs4M4hp0+kMtC+wCxnaqu9Ef41kAkyWnNv4e+WeM+46VsvaoW4sNRBiy6pDPA==","shasum":"443727386b4fe60b7e63bd15c462fdf09a1d58c0","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.12.2-0-dev.20200414T141524Z.9308250.tgz","fileCount":72,"unpackedSize":479817,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJelcv4CRA9TVsSAnZWagAAsqAP/jNak01CcqezNZn/U0Kq\nFgJmvwGSh+/uP8k7cty5tBdtD60YweDspnQmptwKneDsbUbjGj90APvus1QR\nP4OTJoppXZt6Rs4pu2qx6Z6vmjPTHejg62QgPkCRUPoFXEBVrQaeYvmTj66x\nD4WfMkWymmHV3OqmXRhTThmpPPqXwY2Z16ePUppPw8Xrgm7JRcqctCYzfieG\n1xT0AjQjj/sxPthJdu/UPaH7OED1g9YfIaQ8Niddg0cdRqhFuuuutEFecYrF\n2LvcgBz8YIu/x/4ePcFLy2lcyOSknnjop7koKnwdm0lFnGRIDDemBy2VhtH6\nUA/KqKa0sLu4N4qWITEZ44JFcujX5ibuusJnTJtrl7CnCuqAIGhRRDDVB5QE\n6EPNDDWogyx7LJGzLb4Zke8+2d1sM0SXwVt19RA+mmlJIBhIg3dcCPg4aIC0\nXMWRpaGQ9GNeg35GyOyixxTQI0TL3SHM806OvpH1lcan7ela8gcLplNnRPb6\nRsKAhnDlcafXOHkKetChRE2yOQhqdyZqiuwZtJbQySpJKsoaF+puHBAmfBhD\nRqHMUcZv+2kHcr2MfZdZ0XS0A5AwNAVi6OduniEbstZXpRUwd2f9SpBQ/d4U\ndBO/KCQ0SM5vdw9RmwlZAOz352a2uZBW74eTUmAKRgvVX4Rrd+bmkSVBSbuy\nrhod\r\n=muH9\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCEAeCCFhWuaXJl0gH8T2U+aJAatIfzIGEsO8Yelk8b2QIgId/KiQfz5/p3h4BM0gV+Uoc7zeAtcOmrMYOFYJst1T0="}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"},{"email":"bernd@brainbot.com","name":"trustlines-deploy"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.12.2-0-dev.20200414T141524Z.9308250_1586875383924_0.6049416079559029"},"_hasShrinkwrap":false},"0.12.2-0-dev.20200414T223418Z.74bec49":{"name":"trustlines-clientlib","version":"0.12.2-0-dev.20200414T223418Z.74bec49","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"typedoc --options tdconfig.json","lint":"tslint -c tslint.json './src/**/**.ts' './tests/**/**.ts'","prettier":"prettier --write './{src,tests}/**/*.ts'","prettier:check":"prettier --check './{src,tests}/**/*.ts'","prettier:big-tabs":"prettier --write --print-width 120 --no-semi --single-quote --tab-width 4  './{src,tests}/**/*.ts'","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","coverage":"nyc report --reporter=text-lcov > coverage.lcov && codecov","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump":"./bump.sh","serve":"webpack && cp -r ./_bundles ./examples/injected-web3 && http-server ./examples/injected-web3"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{ts,js,json,css,md}":["prettier --write","git add"],"*.ts":["tslint -c tslint.json --fix","git add"]},"nyc":{"extension":[".ts"],"include":["src"],"reporter":["text"],"all":true},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.5.2","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","codecov":"^3.5.0","es6-promise":"^4.1.1","fetch-mock":"^7.2.5","fluid-publish":"^2.2.0","http-server":"^0.11.1","husky":"^2.4.0","isomorphic-fetch":"^2.2.1","lint-staged":"^8.2.0","mocha":"^5.2.0","nyc":"^14.1.0","prettier":"^1.15.2","ts-node":"^7.0.0","tslint":"^5.17.0","tslint-config-prettier":"^1.18.0","typedoc":"^0.16.9","types-ethereumjs-util":"0.0.8","typescript":"^2.9.2","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"bignumber.js":"7.2.1","ethereumjs-util":"^5.2.0","ethers":"^4.0.23","reconnecting-websocket":"^4.1.10","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","trustlines-contracts-abi":"dev","typedoc-plugin-markdown":"^2.2.16","ws":"^6.2.1"},"readme":"# Trustlines Clientlib\n\n[![npm](https://img.shields.io/npm/v/trustlines-clientlib.svg)](https://www.npmjs.com/package/trustlines-clientlib)\n[![CircleCI branch](https://img.shields.io/circleci/project/github/trustlines-protocol/clientlib/master.svg)](https://circleci.com/gh/trustlines-protocol/clientlib)\n[![Codecov branch](https://img.shields.io/codecov/c/github/trustlines-protocol/clientlib/master.svg)](https://codecov.io/gh/trustlines-protocol/clientlib)\n\nA TypeScript/JavaScript library for interacting with the [Trustlines Network Protocol](https://trustlines.network/).\n\n## Installation\n\n### Install via package manager\n\nWe publish the trustlines-clientlib to npm as a ES6 module.\n\n#### Using npm\n\n```bash\n$ npm i trustlines-clientlib\n```\n\n#### Using yarn\n\n```bash\n$ yarn add trustlines-clientlib\n```\n\n### Build from source\n\nIf you want to build the library from source run\n\n```bash\ngit clone git@github.com:trustlines-protocol/clientlib.git\ncd clientlib\nyarn && yarn build\n```\n\nThis will create three different builds:\n\n- ES6 module in `./lib-esm`\n- CommonJS module in `./lib`\n- Bundled JS injectable into browser in `./_bundles`\n\n## Get started\n\nWe assume the usage of the `trustlines-clientlib` ES6 module in the following.\n\n### Configuration\n\nTo start using the trustlines-clientlib you first have to configure the [relay server](https://github.com/trustlines-protocol/relay) you want to connect to.\nYou can either connect to a local develop relay server or use publicly available ones.\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n\n// Instance using a relay connected to the Laika Testnet\nconst laika = new TLNetwork({\n  protocol: 'https',\n  wsProtocol: 'wss',\n  host: 'relay0.testnet.trustlines.network',\n  path: '/api/v1'\n  // ...\n})\n\n// Instance using a relay connected to the TLBC\nconst tlbc = new TLNetwork({\n  protocol: 'https',\n  wsProtocol: 'wss',\n  host: '<url>', // TODO There is no public TLBC relay yet\n  path: '/api/v1'\n  // ...\n})\n```\n\n### Example usage\n\nThis library is a promise-based library.\nSo every asynchronous call will return a native JavaScript promise.\nIf an error occurs the library will throw it.\nThe caller has to handle it appropriately.\n\n```javascript\ntry {\n  const networks = await laika.currencyNetwork.getAll()\n} catch (error) {\n  console.log('Caught error:', error)\n}\n```\n\n### Read our [documentation]() for more\n\n## Run Tests\n\n```bash\n# All tests\nyarn test\n\n# Unit tests\nyarn test:unit\n\n# Integration tests\nyarn test:integration\n\n# end2end tests\nyarn test:e2e\n```\n\n### Note on end2end tests\n\nYou have to have all components of the trustlines protocol running.\nA convenient way to achieve this is by using our [end2end](https://github.com/trustlines-protocol/end2end) setup.\n\n## Documentation\n\nYou can find the documentation for the trustlines-clientlib [here](https://dev.trustlines.network/docs/clientlib/clientlib.html).\nThe underlying markdown files of the documentation can be found in this repository under the `./docs` directory.\nTo generate the [typedoc](https://typedoc.org/) API reference documentation for this library run `yarn doc`.\n\n## Running injected web3 example\n\nTo run the example make sure to have [MetaMask](https://metamask.io/) installed and connected to a JSON RPC.\n\n```bash\nyarn serve\n```\n\nThis serves the injected web3 example app on `http://127.0.0.1:8080`. You can find the app under `./examples/injected-web3`.\n\n## Change log\n\nSee [CHANGELOG](./CHANGELOG.md)\n","readmeFilename":"README.md","gitHead":"74bec49acb53e2f1a7c44bed49a9d0a4c5680c38","_id":"trustlines-clientlib@0.12.2-0-dev.20200414T223418Z.74bec49","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"trustlines-deploy","email":"bernd@brainbot.com"},"dist":{"integrity":"sha512-EDCIwWivd3uEBxhcP8LRammt1Z3QsBZIKogn0Es+/IKbxFbJKhdc/f4u92L1AzGgHlyaZiFd9vvskDtjhBVdkA==","shasum":"785a5bc2f973ca0c9ea4270c9c99cba17fcbc379","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.12.2-0-dev.20200414T223418Z.74bec49.tgz","fileCount":72,"unpackedSize":479819,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeljzPCRA9TVsSAnZWagAAdb4QAIMN33uTgzQJ8TBOYG4t\nCt3TtRM40yj1twbaVsK5vPten92rM3CRa7oQlsvxH5/sDcoc6kf9UORnNGFS\noLq5vAp14wc3Kc2JqSJtd9GiLL2EAFCgg4YEbvAbRHFPoBIJ0bO8BE+An9XT\nWLb7+RJ89VwGsRudGjttK4GmXioQwAu2PA98ZUUPvvrgJdn9qfcUnPrZ0EvV\nhwh496/DkKztFaF1ooQqelJQJo6yDrMAm5DIH8kfYMNIChyybNA9xQS9V2S7\nmVd/6C9CFoZehXJjgCP5Z4gbzgkDwbX8+xSd5wFMyJbVLpM4OW9JsWr7ycLC\nuYityBRYKgdvgVG+3m+bUOLl8dOKnbqUgONP100xjY/zP2jt0XGeNQr1cPE7\nbBVucDItnR+9dkgydO1FcqxBduprcrYUZjBfKBKergQtPbQbAjjWqioU/k3m\nH8beE54xVGiAxpAwzpmHBqKkx2wOcCHvvxIUar/cJTSYUlOeQ/UcNzhwMxz8\nl/Utl+fo+lmVY7zrEVX1PObMVINYX8XEwsBNMjnFtYQGRGEtn5bpjTzI2sj1\nWqVZN83A3S8vJd1iuz4WM9RzOJnVFeonok1Qe7HBmMKdKFvG32L1ele7xzAv\n9KqKYmzs2eXZ6bKMJ6mweTiHAB/+7keSXUIWFaHO2fvuOZcP2gH1Ws31GLrE\n3dHb\r\n=jF/r\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDNvjnmB3GcB4f+Lclo3jSnHhQz3gXI6aGPEVRmfKOmPAiA/p7ndNV3FvHs50xhJtnjBwMgt89oNrZWI3GrJgSIaEA=="}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"},{"email":"bernd@brainbot.com","name":"trustlines-deploy"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.12.2-0-dev.20200414T223418Z.74bec49_1586904271326_0.5231277274436068"},"_hasShrinkwrap":false},"0.12.2-0-dev.20200416T215155Z.8f03947":{"name":"trustlines-clientlib","version":"0.12.2-0-dev.20200416T215155Z.8f03947","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"typedoc --options tdconfig.json","lint":"tslint -c tslint.json './src/**/**.ts' './tests/**/**.ts'","prettier":"prettier --write './{src,tests}/**/*.ts'","prettier:check":"prettier --check './{src,tests}/**/*.ts'","prettier:big-tabs":"prettier --write --print-width 120 --no-semi --single-quote --tab-width 4  './{src,tests}/**/*.ts'","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","coverage":"nyc report --reporter=text-lcov > coverage.lcov && codecov","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump":"./bump.sh","serve":"webpack && cp -r ./_bundles ./examples/injected-web3 && http-server ./examples/injected-web3"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{ts,js,json,css,md}":["prettier --write","git add"],"*.ts":["tslint -c tslint.json --fix","git add"]},"nyc":{"extension":[".ts"],"include":["src"],"reporter":["text"],"all":true},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.5.2","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","codecov":"^3.5.0","es6-promise":"^4.1.1","fetch-mock":"^7.2.5","fluid-publish":"^2.2.0","http-server":"^0.11.1","husky":"^2.4.0","isomorphic-fetch":"^2.2.1","lint-staged":"^8.2.0","mocha":"^5.2.0","nyc":"^14.1.0","prettier":"^1.15.2","ts-node":"^7.0.0","tslint":"^5.17.0","tslint-config-prettier":"^1.18.0","typedoc":"^0.16.9","types-ethereumjs-util":"0.0.8","typescript":"^2.9.2","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"bignumber.js":"7.2.1","ethereumjs-util":"^5.2.0","ethers":"^4.0.23","reconnecting-websocket":"^4.1.10","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","trustlines-contracts-abi":"dev","typedoc-plugin-markdown":"^2.2.16","ws":"^6.2.1"},"readme":"# Trustlines Clientlib\n\n[![npm](https://img.shields.io/npm/v/trustlines-clientlib.svg)](https://www.npmjs.com/package/trustlines-clientlib)\n[![CircleCI branch](https://img.shields.io/circleci/project/github/trustlines-protocol/clientlib/master.svg)](https://circleci.com/gh/trustlines-protocol/clientlib)\n[![Codecov branch](https://img.shields.io/codecov/c/github/trustlines-protocol/clientlib/master.svg)](https://codecov.io/gh/trustlines-protocol/clientlib)\n\nA TypeScript/JavaScript library for interacting with the [Trustlines Network Protocol](https://trustlines.network/).\n\n## Installation\n\n### Install via package manager\n\nWe publish the trustlines-clientlib to npm as a ES6 module.\n\n#### Using npm\n\n```bash\n$ npm i trustlines-clientlib\n```\n\n#### Using yarn\n\n```bash\n$ yarn add trustlines-clientlib\n```\n\n### Build from source\n\nIf you want to build the library from source run\n\n```bash\ngit clone git@github.com:trustlines-protocol/clientlib.git\ncd clientlib\nyarn && yarn build\n```\n\nThis will create three different builds:\n\n- ES6 module in `./lib-esm`\n- CommonJS module in `./lib`\n- Bundled JS injectable into browser in `./_bundles`\n\n## Get started\n\nWe assume the usage of the `trustlines-clientlib` ES6 module in the following.\n\n### Configuration\n\nTo start using the trustlines-clientlib you first have to configure the [relay server](https://github.com/trustlines-protocol/relay) you want to connect to.\nYou can either connect to a local develop relay server or use publicly available ones.\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n\n// Instance using a relay connected to the Laika Testnet\nconst laika = new TLNetwork({\n  protocol: 'https',\n  wsProtocol: 'wss',\n  host: 'relay0.testnet.trustlines.network',\n  path: '/api/v1'\n  // ...\n})\n\n// Instance using a relay connected to the TLBC\nconst tlbc = new TLNetwork({\n  protocol: 'https',\n  wsProtocol: 'wss',\n  host: '<url>', // TODO There is no public TLBC relay yet\n  path: '/api/v1'\n  // ...\n})\n```\n\n### Example usage\n\nThis library is a promise-based library.\nSo every asynchronous call will return a native JavaScript promise.\nIf an error occurs the library will throw it.\nThe caller has to handle it appropriately.\n\n```javascript\ntry {\n  const networks = await laika.currencyNetwork.getAll()\n} catch (error) {\n  console.log('Caught error:', error)\n}\n```\n\n### Read our [documentation]() for more\n\n## Run Tests\n\n```bash\n# All tests\nyarn test\n\n# Unit tests\nyarn test:unit\n\n# Integration tests\nyarn test:integration\n\n# end2end tests\nyarn test:e2e\n```\n\n### Note on end2end tests\n\nYou have to have all components of the trustlines protocol running.\nA convenient way to achieve this is by using our [end2end](https://github.com/trustlines-protocol/end2end) setup.\n\n## Documentation\n\nYou can find the documentation for the trustlines-clientlib [here](https://dev.trustlines.network/docs/clientlib/clientlib.html).\nThe underlying markdown files of the documentation can be found in this repository under the `./docs` directory.\nTo generate the [typedoc](https://typedoc.org/) API reference documentation for this library run `yarn doc`.\n\n## Running injected web3 example\n\nTo run the example make sure to have [MetaMask](https://metamask.io/) installed and connected to a JSON RPC.\n\n```bash\nyarn serve\n```\n\nThis serves the injected web3 example app on `http://127.0.0.1:8080`. You can find the app under `./examples/injected-web3`.\n\n## Change log\n\nSee [CHANGELOG](./CHANGELOG.md)\n","readmeFilename":"README.md","gitHead":"8f03947e154c470816f5c19aeb8259e3b2826cf6","_id":"trustlines-clientlib@0.12.2-0-dev.20200416T215155Z.8f03947","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"trustlines-deploy","email":"bernd@brainbot.com"},"dist":{"integrity":"sha512-eqgeoPSsgd2ICZNa2VO1H4IdAWOevCYTLOux4n79HXU3NHowdnC5yULygbHfDc+0Uvw7WjXpKYJwqxNWRr3DuA==","shasum":"4b66aa68ae2f187a9b9ed29d716161e177d70064","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.12.2-0-dev.20200416T215155Z.8f03947.tgz","fileCount":72,"unpackedSize":483794,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJemNYUCRA9TVsSAnZWagAA9ckP/1NRzZ2VDe2w41+nj0tc\nwjXpTBiNaGGyg+gXJqse3g+oYMuiPd1Jry9xv1owPyGIJvGLa+bRvsAQqwSu\nALHOU+5bse8oq8oHxwbXv1m5bYZMUA7OyGLzpYX0WtiVSW97HjuaheDwENeO\nQhtDrnJz/AKe1ie80AsJ4FKBdA+UceyLC+p00lF25f5AWW1RcoUpHxV4oMhu\nf4q932Ghz05bVR738pfjFKaELQrj6soXAy75LbdTvbCqJtPaoMSI9plMNF9a\nyqBNea6wiqfJtLl+C0tvJShhjbk/fTWAKrGXU69kqXIHF2MsiVQIuljY8+Uh\nPQSrMcwSjLy+bXERGOhg8uTSxcl9RbEBNK78e497d7avLnGiRqDQ/coTP/o1\nmYLYkpV9N8d60JMhn9yd6gQcAfo3WX61ROeSjeU3c0e8puf+EvKJDYR1y685\nbjsObMQ8f4Bb2Uq0G+5ueTnCW0Y4XKOWXTaW6jyov1PjRQ1SzcG1rfZwCk34\nWqkKXYFQl2eMplDquHkDTDd9OFotDLFUjVmvZOC8Tk95wEDJuWzVoodO1Wl0\njoayht5hMiNsFW0mqI+SzCyCbO0D3Fc9atSLxp3Yi640q1gDg+0RFdmjv8/K\n37jl8Z7fABEzb7IqqPOVYq5c6MnbecJyDs0Bboi6MuPzfeT+Sz1heltGJETM\nIS/1\r\n=xsfJ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEr/zu1eIThtDosM3/h590dOzMFODwTHIwyn3KXkZEvIAiBTLUv+3gs30VEuUO3nqSuF+GXaCoqOawLVmE0GyzRKiA=="}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"},{"email":"bernd@brainbot.com","name":"trustlines-deploy"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.12.2-0-dev.20200416T215155Z.8f03947_1587074579565_0.8572239640205901"},"_hasShrinkwrap":false},"0.12.2-0-dev.20200421T113040Z.11b5053":{"name":"trustlines-clientlib","version":"0.12.2-0-dev.20200421T113040Z.11b5053","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"typedoc --options tdconfig.json","lint":"tslint -c tslint.json './src/**/**.ts' './tests/**/**.ts'","prettier":"prettier --write './{src,tests}/**/*.ts'","prettier:check":"prettier --check './{src,tests}/**/*.ts'","prettier:big-tabs":"prettier --write --print-width 120 --no-semi --single-quote --tab-width 4  './{src,tests}/**/*.ts'","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","coverage":"nyc report --reporter=text-lcov > coverage.lcov && codecov","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump":"./bump.sh","serve":"webpack && cp -r ./_bundles ./examples/injected-web3 && http-server ./examples/injected-web3"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{ts,js,json,css,md}":["prettier --write","git add"],"*.ts":["tslint -c tslint.json --fix","git add"]},"nyc":{"extension":[".ts"],"include":["src"],"reporter":["text"],"all":true},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.5.2","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","codecov":"^3.5.0","es6-promise":"^4.1.1","fetch-mock":"^7.2.5","fluid-publish":"^2.2.0","http-server":"^0.11.1","husky":"^2.4.0","isomorphic-fetch":"^2.2.1","lint-staged":"^8.2.0","mocha":"^5.2.0","nyc":"^14.1.0","prettier":"^1.15.2","ts-node":"^7.0.0","tslint":"^5.17.0","tslint-config-prettier":"^1.18.0","typedoc":"^0.16.9","types-ethereumjs-util":"0.0.8","typescript":"^2.9.2","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"bignumber.js":"7.2.1","ethereumjs-util":"^5.2.0","ethers":"^4.0.23","reconnecting-websocket":"^4.1.10","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","trustlines-contracts-abi":"dev","typedoc-plugin-markdown":"^2.2.16","ws":"^6.2.1"},"readme":"# Trustlines Clientlib\n\n[![npm](https://img.shields.io/npm/v/trustlines-clientlib.svg)](https://www.npmjs.com/package/trustlines-clientlib)\n[![CircleCI branch](https://img.shields.io/circleci/project/github/trustlines-protocol/clientlib/master.svg)](https://circleci.com/gh/trustlines-protocol/clientlib)\n[![Codecov branch](https://img.shields.io/codecov/c/github/trustlines-protocol/clientlib/master.svg)](https://codecov.io/gh/trustlines-protocol/clientlib)\n\nA TypeScript/JavaScript library for interacting with the [Trustlines Network Protocol](https://trustlines.network/).\n\n## Installation\n\n### Install via package manager\n\nWe publish the trustlines-clientlib to npm as a ES6 module.\n\n#### Using npm\n\n```bash\n$ npm i trustlines-clientlib\n```\n\n#### Using yarn\n\n```bash\n$ yarn add trustlines-clientlib\n```\n\n### Build from source\n\nIf you want to build the library from source run\n\n```bash\ngit clone git@github.com:trustlines-protocol/clientlib.git\ncd clientlib\nyarn && yarn build\n```\n\nThis will create three different builds:\n\n- ES6 module in `./lib-esm`\n- CommonJS module in `./lib`\n- Bundled JS injectable into browser in `./_bundles`\n\n## Get started\n\nWe assume the usage of the `trustlines-clientlib` ES6 module in the following.\n\n### Configuration\n\nTo start using the trustlines-clientlib you first have to configure the [relay server](https://github.com/trustlines-protocol/relay) you want to connect to.\nYou can either connect to a local develop relay server or use publicly available ones.\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n\n// Instance using a relay connected to the Laika Testnet\nconst laika = new TLNetwork({\n  protocol: 'https',\n  wsProtocol: 'wss',\n  host: 'relay0.testnet.trustlines.network',\n  path: '/api/v1'\n  // ...\n})\n\n// Instance using a relay connected to the TLBC\nconst tlbc = new TLNetwork({\n  protocol: 'https',\n  wsProtocol: 'wss',\n  host: '<url>', // TODO There is no public TLBC relay yet\n  path: '/api/v1'\n  // ...\n})\n```\n\n### Example usage\n\nThis library is a promise-based library.\nSo every asynchronous call will return a native JavaScript promise.\nIf an error occurs the library will throw it.\nThe caller has to handle it appropriately.\n\n```javascript\ntry {\n  const networks = await laika.currencyNetwork.getAll()\n} catch (error) {\n  console.log('Caught error:', error)\n}\n```\n\n### Read our [documentation]() for more\n\n## Run Tests\n\n```bash\n# All tests\nyarn test\n\n# Unit tests\nyarn test:unit\n\n# Integration tests\nyarn test:integration\n\n# end2end tests\nyarn test:e2e\n```\n\n### Note on end2end tests\n\nYou have to have all components of the trustlines protocol running.\nA convenient way to achieve this is by using our [end2end](https://github.com/trustlines-protocol/end2end) setup.\n\n## Documentation\n\nYou can find the documentation for the trustlines-clientlib [here](https://dev.trustlines.network/docs/clientlib/clientlib.html).\nThe underlying markdown files of the documentation can be found in this repository under the `./docs` directory.\nTo generate the [typedoc](https://typedoc.org/) API reference documentation for this library run `yarn doc`.\n\n## Running injected web3 example\n\nTo run the example make sure to have [MetaMask](https://metamask.io/) installed and connected to a JSON RPC.\n\n```bash\nyarn serve\n```\n\nThis serves the injected web3 example app on `http://127.0.0.1:8080`. You can find the app under `./examples/injected-web3`.\n\n## Change log\n\nSee [CHANGELOG](./CHANGELOG.md)\n","readmeFilename":"README.md","gitHead":"11b50537a6ae95ab152aceb6a917a2ea0b571f4f","_id":"trustlines-clientlib@0.12.2-0-dev.20200421T113040Z.11b5053","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"trustlines-deploy","email":"bernd@brainbot.com"},"dist":{"integrity":"sha512-8brOCz2kO9u3PkyaHuMIfx3oFc80d58sXVKfdhkNTZVfeoIr/htWWERkBi8nwFlnck+EtPBUVY6XfYSQR/4n1g==","shasum":"1a9b266ad20a49ed289e561077e9c6591f137a0b","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.12.2-0-dev.20200421T113040Z.11b5053.tgz","fileCount":72,"unpackedSize":484317,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJentvfCRA9TVsSAnZWagAAncAP+wUI2xtkLEuplFtI02ba\nsMiDb8bhEwhQSl3NpZOo4PoZLxD5u0gPjhvWahm3dSZf5l4uyVWztZaKegwi\nJbMK5VPNcLmfDLcg2mDiXCczVQ2UF0VjD2aqnz44h5Q1mz1bmkFO6/batw8z\nGQnUVi/HdrRsgo986nJcVyEanKbanx243nMs5BG3mjTfx+3wYNOrpDJpcVHN\nm6bf5sK5vCZoXVoC7qbk3Dz3RPXR+VdAzF8oIU/we0gpJREe6Q0c+ElDoR1X\nQZFojOHWgD+0ur1biW+L+3VnJs4qGuB0QrrgLQwq8FZFM4JZv8mK1ptqfjx+\n+nNfHXenmuvAEefXmPhXa1E0xLpS0/7VL3qyfvotNloLAusrvL+5Amey6TL6\nrpKrAhWqkXGDcNIc/gNxGNeHrKdZk/arcR9IfEK3LV3+CG/y38YC2+kDxKDh\nYbZjC8EqhCzgo+dNT3/YNB5FeWshvUQp/PresMZ2reSFE35SvbzVxAd2GeQ4\nzH0Il6xcYjxQC2moERvpET0iD3H4k7E5lRcRp7slPoqs1d6RW420lwcZDhXW\nkQm0iY3n0vDd9qoCMHuV5Uagf017WMp8xaJEx8xp2TBTUr7HyChmXifSJldf\np4A5Y5rG0ur3L7G2a2dgCHYmkGWKTtLCjGiYj/QYiCKIqgYzJjbZGS/O/hQC\ngjT6\r\n=vhH8\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAIlad/OKlI9ZxbI4SRcb2L/G6y1q1tH2FMe4EEtySrYAiAFvf/MO0jiw/WoJEo8+aePkQFX/zlW3FDrf3JEOwUr5A=="}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"},{"email":"bernd@brainbot.com","name":"trustlines-deploy"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.12.2-0-dev.20200421T113040Z.11b5053_1587469279198_0.9809171895869306"},"_hasShrinkwrap":false},"0.12.2-0-dev.20200421T140312Z.099c7c6":{"name":"trustlines-clientlib","version":"0.12.2-0-dev.20200421T140312Z.099c7c6","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"typedoc --options tdconfig.json","lint":"tslint -c tslint.json './src/**/**.ts' './tests/**/**.ts'","prettier":"prettier --write './{src,tests}/**/*.ts'","prettier:check":"prettier --check './{src,tests}/**/*.ts'","prettier:big-tabs":"prettier --write --print-width 120 --no-semi --single-quote --tab-width 4  './{src,tests}/**/*.ts'","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","coverage":"nyc report --reporter=text-lcov > coverage.lcov && codecov","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump":"./bump.sh","serve":"webpack && cp -r ./_bundles ./examples/injected-web3 && http-server ./examples/injected-web3"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{ts,js,json,css,md}":["prettier --write","git add"],"*.ts":["tslint -c tslint.json --fix","git add"]},"nyc":{"extension":[".ts"],"include":["src"],"reporter":["text"],"all":true},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.5.2","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","codecov":"^3.5.0","es6-promise":"^4.1.1","fetch-mock":"^7.2.5","fluid-publish":"^2.2.0","http-server":"^0.11.1","husky":"^2.4.0","isomorphic-fetch":"^2.2.1","lint-staged":"^8.2.0","mocha":"^5.2.0","nyc":"^14.1.0","prettier":"^1.15.2","ts-node":"^7.0.0","tslint":"^5.17.0","tslint-config-prettier":"^1.18.0","typedoc":"^0.16.9","types-ethereumjs-util":"0.0.8","typescript":"^2.9.2","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"bignumber.js":"7.2.1","ethereumjs-util":"^5.2.0","ethers":"^4.0.23","reconnecting-websocket":"^4.1.10","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","trustlines-contracts-abi":"dev","typedoc-plugin-markdown":"^2.2.16","ws":"^6.2.1"},"readme":"# Trustlines Clientlib\n\n[![npm](https://img.shields.io/npm/v/trustlines-clientlib.svg)](https://www.npmjs.com/package/trustlines-clientlib)\n[![CircleCI branch](https://img.shields.io/circleci/project/github/trustlines-protocol/clientlib/master.svg)](https://circleci.com/gh/trustlines-protocol/clientlib)\n[![Codecov branch](https://img.shields.io/codecov/c/github/trustlines-protocol/clientlib/master.svg)](https://codecov.io/gh/trustlines-protocol/clientlib)\n\nA TypeScript/JavaScript library for interacting with the [Trustlines Network Protocol](https://trustlines.network/).\n\n## Installation\n\n### Install via package manager\n\nWe publish the trustlines-clientlib to npm as a ES6 module.\n\n#### Using npm\n\n```bash\n$ npm i trustlines-clientlib\n```\n\n#### Using yarn\n\n```bash\n$ yarn add trustlines-clientlib\n```\n\n### Build from source\n\nIf you want to build the library from source run\n\n```bash\ngit clone git@github.com:trustlines-protocol/clientlib.git\ncd clientlib\nyarn && yarn build\n```\n\nThis will create three different builds:\n\n- ES6 module in `./lib-esm`\n- CommonJS module in `./lib`\n- Bundled JS injectable into browser in `./_bundles`\n\n## Get started\n\nWe assume the usage of the `trustlines-clientlib` ES6 module in the following.\n\n### Configuration\n\nTo start using the trustlines-clientlib you first have to configure the [relay server](https://github.com/trustlines-protocol/relay) you want to connect to.\nYou can either connect to a local develop relay server or use publicly available ones.\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n\n// Instance using a relay connected to the Laika Testnet\nconst laika = new TLNetwork({\n  protocol: 'https',\n  wsProtocol: 'wss',\n  host: 'relay0.testnet.trustlines.network',\n  path: '/api/v1'\n  // ...\n})\n\n// Instance using a relay connected to the TLBC\nconst tlbc = new TLNetwork({\n  protocol: 'https',\n  wsProtocol: 'wss',\n  host: '<url>', // TODO There is no public TLBC relay yet\n  path: '/api/v1'\n  // ...\n})\n```\n\n### Example usage\n\nThis library is a promise-based library.\nSo every asynchronous call will return a native JavaScript promise.\nIf an error occurs the library will throw it.\nThe caller has to handle it appropriately.\n\n```javascript\ntry {\n  const networks = await laika.currencyNetwork.getAll()\n} catch (error) {\n  console.log('Caught error:', error)\n}\n```\n\n### Read our [documentation]() for more\n\n## Run Tests\n\n```bash\n# All tests\nyarn test\n\n# Unit tests\nyarn test:unit\n\n# Integration tests\nyarn test:integration\n\n# end2end tests\nyarn test:e2e\n```\n\n### Note on end2end tests\n\nYou have to have all components of the trustlines protocol running.\nA convenient way to achieve this is by using our [end2end](https://github.com/trustlines-protocol/end2end) setup.\n\n## Documentation\n\nYou can find the documentation for the trustlines-clientlib [here](https://dev.trustlines.network/docs/clientlib/clientlib.html).\nThe underlying markdown files of the documentation can be found in this repository under the `./docs` directory.\nTo generate the [typedoc](https://typedoc.org/) API reference documentation for this library run `yarn doc`.\n\n## Running injected web3 example\n\nTo run the example make sure to have [MetaMask](https://metamask.io/) installed and connected to a JSON RPC.\n\n```bash\nyarn serve\n```\n\nThis serves the injected web3 example app on `http://127.0.0.1:8080`. You can find the app under `./examples/injected-web3`.\n\n## Change log\n\nSee [CHANGELOG](./CHANGELOG.md)\n","readmeFilename":"README.md","gitHead":"099c7c6effacb06eb794e20e3015dc6124de70b8","_id":"trustlines-clientlib@0.12.2-0-dev.20200421T140312Z.099c7c6","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"trustlines-deploy","email":"bernd@brainbot.com"},"dist":{"integrity":"sha512-Qrmmwmci1X9bFHIrry47PvtaD/8f4OykNWM+fuCMMncmUnLGpjq9A9ibl0NC/QST9SSae34BNDeBEbLW1JUpmw==","shasum":"99da615a5e39a54c6c70392b4c9e376922413683","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.12.2-0-dev.20200421T140312Z.099c7c6.tgz","fileCount":72,"unpackedSize":485803,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJenv+SCRA9TVsSAnZWagAARNcP/3wXzk6Kknx60ZienLE/\nM6TdclXzUcZ89Qn09G0iWyOLqrtYnJPOrMicCKjan3ElcsvWlUBgZaggYBed\nC7nR87VzE+Xr8B6vbKRDeqAJQAXleNb6feDAPefatEhTIoRYZQW8b9wGKzL9\n13ADtHiEShJdmbdUdhy/49GJtbLUMZpmQKNV3KUlrq5wWK4gQplVifNZ0sWY\nutNjehO8fETvxWmNi8EbSpXAWhOSW8c7oIZw1YWILWwlvAwFPuJpsPo4K3V1\n3wVr2uIwiP96Tuo7CYrdDfZsmlc46SvHTyLgI0zTZTo8qmtHZh86y+hVe03N\nctTiUQTh7TBPeh1XrM1rGer2NqE5u0p1A6FjBUAYCFlK5McPSsM97SIHLa17\n5jH+nWnpSVQ9aTvpLSaHUjIywRfsBjQF6oP2dJFmgOW/+oQHB8fe81rYM5YJ\nUIdm9MnITh1DGJfOf062uihaZC+JeQ5fscmhSTYvr7w3uqszXIjSrkhPQZC1\nYfIQszXJwwyXBCLJdIFgNHy0S5JwxhgH8GpMqNR+CA8wtXSxO8/VsYdswL9B\nmCAj7MA36RIIX7pB/1nzrkVEU7vOlZp02bt08zVJe/s8tXx2X+D+NCGro/ek\nGu99GNVfGT31N4Se131dhD5kEVzCTh1SV3RPDTWd/CShmGlEAyHe2DqDueEl\n1BUh\r\n=32PW\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC4ESwZmM5+amebdY//VLNNl9gGzjBIt5zuyQq62Rv8TwIhAMDC/7zf1HYig3JjZiBKONOPTgI+DKCyWoSHsUqXdwqG"}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"},{"email":"bernd@brainbot.com","name":"trustlines-deploy"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.12.2-0-dev.20200421T140312Z.099c7c6_1587478415164_0.9372500688080994"},"_hasShrinkwrap":false},"0.12.2-0-dev.20200421T142716Z.5a47c31":{"name":"trustlines-clientlib","version":"0.12.2-0-dev.20200421T142716Z.5a47c31","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"typedoc --options tdconfig.json","lint":"tslint -c tslint.json './src/**/**.ts' './tests/**/**.ts'","prettier":"prettier --write './{src,tests}/**/*.ts'","prettier:check":"prettier --check './{src,tests}/**/*.ts'","prettier:big-tabs":"prettier --write --print-width 120 --no-semi --single-quote --tab-width 4  './{src,tests}/**/*.ts'","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","coverage":"nyc report --reporter=text-lcov > coverage.lcov && codecov","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump":"./bump.sh","serve":"webpack && cp -r ./_bundles ./examples/injected-web3 && http-server ./examples/injected-web3"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{ts,js,json,css,md}":["prettier --write","git add"],"*.ts":["tslint -c tslint.json --fix","git add"]},"nyc":{"extension":[".ts"],"include":["src"],"reporter":["text"],"all":true},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.5.2","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","codecov":"^3.5.0","es6-promise":"^4.1.1","fetch-mock":"^7.2.5","fluid-publish":"^2.2.0","http-server":"^0.11.1","husky":"^2.4.0","isomorphic-fetch":"^2.2.1","lint-staged":"^8.2.0","mocha":"^5.2.0","nyc":"^14.1.0","prettier":"^1.15.2","ts-node":"^7.0.0","tslint":"^5.17.0","tslint-config-prettier":"^1.18.0","typedoc":"^0.16.9","types-ethereumjs-util":"0.0.8","typescript":"^2.9.2","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"bignumber.js":"7.2.1","ethereumjs-util":"^5.2.0","ethers":"^4.0.23","reconnecting-websocket":"^4.1.10","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","trustlines-contracts-abi":"dev","typedoc-plugin-markdown":"^2.2.16","ws":"^6.2.1"},"readme":"# Trustlines Clientlib\n\n[![npm](https://img.shields.io/npm/v/trustlines-clientlib.svg)](https://www.npmjs.com/package/trustlines-clientlib)\n[![CircleCI branch](https://img.shields.io/circleci/project/github/trustlines-protocol/clientlib/master.svg)](https://circleci.com/gh/trustlines-protocol/clientlib)\n[![Codecov branch](https://img.shields.io/codecov/c/github/trustlines-protocol/clientlib/master.svg)](https://codecov.io/gh/trustlines-protocol/clientlib)\n\nA TypeScript/JavaScript library for interacting with the [Trustlines Network Protocol](https://trustlines.network/).\n\n## Installation\n\n### Install via package manager\n\nWe publish the trustlines-clientlib to npm as a ES6 module.\n\n#### Using npm\n\n```bash\n$ npm i trustlines-clientlib\n```\n\n#### Using yarn\n\n```bash\n$ yarn add trustlines-clientlib\n```\n\n### Build from source\n\nIf you want to build the library from source run\n\n```bash\ngit clone git@github.com:trustlines-protocol/clientlib.git\ncd clientlib\nyarn && yarn build\n```\n\nThis will create three different builds:\n\n- ES6 module in `./lib-esm`\n- CommonJS module in `./lib`\n- Bundled JS injectable into browser in `./_bundles`\n\n## Get started\n\nWe assume the usage of the `trustlines-clientlib` ES6 module in the following.\n\n### Configuration\n\nTo start using the trustlines-clientlib you first have to configure the [relay server](https://github.com/trustlines-protocol/relay) you want to connect to.\nYou can either connect to a local develop relay server or use publicly available ones.\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n\n// Instance using a relay connected to the Laika Testnet\nconst laika = new TLNetwork({\n  protocol: 'https',\n  wsProtocol: 'wss',\n  host: 'relay0.testnet.trustlines.network',\n  path: '/api/v1'\n  // ...\n})\n\n// Instance using a relay connected to the TLBC\nconst tlbc = new TLNetwork({\n  protocol: 'https',\n  wsProtocol: 'wss',\n  host: '<url>', // TODO There is no public TLBC relay yet\n  path: '/api/v1'\n  // ...\n})\n```\n\n### Example usage\n\nThis library is a promise-based library.\nSo every asynchronous call will return a native JavaScript promise.\nIf an error occurs the library will throw it.\nThe caller has to handle it appropriately.\n\n```javascript\ntry {\n  const networks = await laika.currencyNetwork.getAll()\n} catch (error) {\n  console.log('Caught error:', error)\n}\n```\n\n### Read our [documentation]() for more\n\n## Run Tests\n\n```bash\n# All tests\nyarn test\n\n# Unit tests\nyarn test:unit\n\n# Integration tests\nyarn test:integration\n\n# end2end tests\nyarn test:e2e\n```\n\n### Note on end2end tests\n\nYou have to have all components of the trustlines protocol running.\nA convenient way to achieve this is by using our [end2end](https://github.com/trustlines-protocol/end2end) setup.\n\n## Documentation\n\nYou can find the documentation for the trustlines-clientlib [here](https://dev.trustlines.network/docs/clientlib/clientlib.html).\nThe underlying markdown files of the documentation can be found in this repository under the `./docs` directory.\nTo generate the [typedoc](https://typedoc.org/) API reference documentation for this library run `yarn doc`.\n\n## Running injected web3 example\n\nTo run the example make sure to have [MetaMask](https://metamask.io/) installed and connected to a JSON RPC.\n\n```bash\nyarn serve\n```\n\nThis serves the injected web3 example app on `http://127.0.0.1:8080`. You can find the app under `./examples/injected-web3`.\n\n## Change log\n\nSee [CHANGELOG](./CHANGELOG.md)\n","readmeFilename":"README.md","gitHead":"5a47c31b5572f1c305845d422fd3dfd938be2594","_id":"trustlines-clientlib@0.12.2-0-dev.20200421T142716Z.5a47c31","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"trustlines-deploy","email":"bernd@brainbot.com"},"dist":{"integrity":"sha512-1gdmFQBUE4PirsGasxJUE0+zQy2cZhUxNVE86u5wlAONi3PciXXH9ksneGkyFXcjIicHzuuM6QpOVtsyx3XSkw==","shasum":"dbbbf4986a26bcbab8e93c5b7158b4df4e307a81","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.12.2-0-dev.20200421T142716Z.5a47c31.tgz","fileCount":72,"unpackedSize":486786,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJenwWKCRA9TVsSAnZWagAAxvsP/iQYs6sPY7caBR/x+dZ2\nB7AmzKi8YLHuZo4RxcY71bbnpS/ubsV2x1NvTPJOhFUKjYuy6o5Ca1+C1Vrd\n329Z/SfhLV6/UQ99VaTB2GtaCWP4W2xINsXfv4dXyxM47uT5TUboq4jbm2Uc\n4wUDiIHPa8+7z3KCAaTVyGlJKzKJZu2TNbcGoSox6EgK2urGGxuLH83bAoNM\n9BBrlACPrw8yApcgguwBQim3xkJvL3v+FX80HNkr9SsTtN88wD4ZfQgOGmk9\nZI1jRN/YaCyKc2kWHKVWhDkywXSfeUh9/Y7W2tFEphSS6M5syRK630n/7qIo\n+1ZromJ24C/HXQAbPLwXEaki0qhtIxP4O7roXx/tOo4c3+ug+8qQ1ktlTsmb\nt2Bxlu3HE8MwCNfs/VfGpY/PQIkYCDmn2N074+AFEDbov/Cnfv1kEQH79G9D\nA+Bv794WydsI2XtULWAnVBKn55WQ0jWsWi/v4RJ9//Oj5vsHXiFFyvHwLJwY\nUPEfli9es1ydIF9ahm0ye5ZsJGsfMm1t2Ha5co7W7OWPMP1+eB8BwKcqrWMI\nyaDTZzyeullETTTn3/SlAa8+pAG0158MozZZy40FvoFKAijLHLelZ5AoGZ01\nMO+eKlbozqpfFs5WCdWuskRrgFdowcFA9yr4oWr1gEsiQfuMqSO2PGwFxFNF\nCIB3\r\n=U4/u\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCQLKlWmWHku4sU21JC3K643rsNk4VPM4IcKLms1KPn6QIgEMZdpKeMy5fvqW5OFeFKaL7Kroq3hUkp7v9ookMRPZA="}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"},{"email":"bernd@brainbot.com","name":"trustlines-deploy"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.12.2-0-dev.20200421T142716Z.5a47c31_1587479945986_0.5502193595589988"},"_hasShrinkwrap":false},"0.12.2-0-dev.20200421T142922Z.8da87ce":{"name":"trustlines-clientlib","version":"0.12.2-0-dev.20200421T142922Z.8da87ce","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"typedoc --options tdconfig.json","lint":"tslint -c tslint.json './src/**/**.ts' './tests/**/**.ts'","prettier":"prettier --write './{src,tests}/**/*.ts'","prettier:check":"prettier --check './{src,tests}/**/*.ts'","prettier:big-tabs":"prettier --write --print-width 120 --no-semi --single-quote --tab-width 4  './{src,tests}/**/*.ts'","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","coverage":"nyc report --reporter=text-lcov > coverage.lcov && codecov","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump":"./bump.sh","serve":"webpack && cp -r ./_bundles ./examples/injected-web3 && http-server ./examples/injected-web3"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{ts,js,json,css,md}":["prettier --write","git add"],"*.ts":["tslint -c tslint.json --fix","git add"]},"nyc":{"extension":[".ts"],"include":["src"],"reporter":["text"],"all":true},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.5.2","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","codecov":"^3.5.0","es6-promise":"^4.1.1","fetch-mock":"^7.2.5","fluid-publish":"^2.2.0","http-server":"^0.11.1","husky":"^2.4.0","isomorphic-fetch":"^2.2.1","lint-staged":"^8.2.0","mocha":"^5.2.0","nyc":"^14.1.0","prettier":"^1.15.2","ts-node":"^7.0.0","tslint":"^5.17.0","tslint-config-prettier":"^1.18.0","typedoc":"^0.16.9","types-ethereumjs-util":"0.0.8","typescript":"^2.9.2","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"bignumber.js":"7.2.1","ethereumjs-util":"^5.2.0","ethers":"^4.0.23","reconnecting-websocket":"^4.1.10","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","trustlines-contracts-abi":"dev","typedoc-plugin-markdown":"^2.2.16","ws":"^6.2.1"},"readme":"# Trustlines Clientlib\n\n[![npm](https://img.shields.io/npm/v/trustlines-clientlib.svg)](https://www.npmjs.com/package/trustlines-clientlib)\n[![CircleCI branch](https://img.shields.io/circleci/project/github/trustlines-protocol/clientlib/master.svg)](https://circleci.com/gh/trustlines-protocol/clientlib)\n[![Codecov branch](https://img.shields.io/codecov/c/github/trustlines-protocol/clientlib/master.svg)](https://codecov.io/gh/trustlines-protocol/clientlib)\n\nA TypeScript/JavaScript library for interacting with the [Trustlines Network Protocol](https://trustlines.network/).\n\n## Installation\n\n### Install via package manager\n\nWe publish the trustlines-clientlib to npm as a ES6 module.\n\n#### Using npm\n\n```bash\n$ npm i trustlines-clientlib\n```\n\n#### Using yarn\n\n```bash\n$ yarn add trustlines-clientlib\n```\n\n### Build from source\n\nIf you want to build the library from source run\n\n```bash\ngit clone git@github.com:trustlines-protocol/clientlib.git\ncd clientlib\nyarn && yarn build\n```\n\nThis will create three different builds:\n\n- ES6 module in `./lib-esm`\n- CommonJS module in `./lib`\n- Bundled JS injectable into browser in `./_bundles`\n\n## Get started\n\nWe assume the usage of the `trustlines-clientlib` ES6 module in the following.\n\n### Configuration\n\nTo start using the trustlines-clientlib you first have to configure the [relay server](https://github.com/trustlines-protocol/relay) you want to connect to.\nYou can either connect to a local develop relay server or use publicly available ones.\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n\n// Instance using a relay connected to the Laika Testnet\nconst laika = new TLNetwork({\n  protocol: 'https',\n  wsProtocol: 'wss',\n  host: 'relay0.testnet.trustlines.network',\n  path: '/api/v1'\n  // ...\n})\n\n// Instance using a relay connected to the TLBC\nconst tlbc = new TLNetwork({\n  protocol: 'https',\n  wsProtocol: 'wss',\n  host: '<url>', // TODO There is no public TLBC relay yet\n  path: '/api/v1'\n  // ...\n})\n```\n\n### Example usage\n\nThis library is a promise-based library.\nSo every asynchronous call will return a native JavaScript promise.\nIf an error occurs the library will throw it.\nThe caller has to handle it appropriately.\n\n```javascript\ntry {\n  const networks = await laika.currencyNetwork.getAll()\n} catch (error) {\n  console.log('Caught error:', error)\n}\n```\n\n### Read our [documentation]() for more\n\n## Run Tests\n\n```bash\n# All tests\nyarn test\n\n# Unit tests\nyarn test:unit\n\n# Integration tests\nyarn test:integration\n\n# end2end tests\nyarn test:e2e\n```\n\n### Note on end2end tests\n\nYou have to have all components of the trustlines protocol running.\nA convenient way to achieve this is by using our [end2end](https://github.com/trustlines-protocol/end2end) setup.\n\n## Documentation\n\nYou can find the documentation for the trustlines-clientlib [here](https://dev.trustlines.network/docs/clientlib/clientlib.html).\nThe underlying markdown files of the documentation can be found in this repository under the `./docs` directory.\nTo generate the [typedoc](https://typedoc.org/) API reference documentation for this library run `yarn doc`.\n\n## Running injected web3 example\n\nTo run the example make sure to have [MetaMask](https://metamask.io/) installed and connected to a JSON RPC.\n\n```bash\nyarn serve\n```\n\nThis serves the injected web3 example app on `http://127.0.0.1:8080`. You can find the app under `./examples/injected-web3`.\n\n## Change log\n\nSee [CHANGELOG](./CHANGELOG.md)\n","readmeFilename":"README.md","gitHead":"8da87ce887a8bf3e9a5fe484153cef3e83d9025a","_id":"trustlines-clientlib@0.12.2-0-dev.20200421T142922Z.8da87ce","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"trustlines-deploy","email":"bernd@brainbot.com"},"dist":{"integrity":"sha512-B8HKz4YuTxGXVBI2JPx2PSNxpGVrl+bCOeqpU5kJEhd3jRYBejomx+SdHG3UJecoPiayFQPFKtlhHDxv3YIlNg==","shasum":"14f692475409ce8030135f0c2ae1a243f90ecd30","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.12.2-0-dev.20200421T142922Z.8da87ce.tgz","fileCount":72,"unpackedSize":488831,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJenwXCCRA9TVsSAnZWagAAxqMQAIeysAolDgwbJ/s7Hm7S\na/IGHteJt/nt4LWbHmZDRv7ZXHc7dIg3IsHSNSJmEKHmKSARKmWigcJwyu/d\nvuNw/NMgv4BaOlFHmreq7cQzyKG5rstDtFJVx02nXsTxeHa+kuHvZ4gisDc/\npchL+z+N4UJVnYyVxFvAe8w+IfoZ/IUc7jLofHvinaw2G6gXP/b606NYUcrF\nFy27hqkcYSqlXW6u99VzooAW+XNAL8zjko9WWoVZlA+egrVriMACclMyXPZj\nKjkTt3R5sEvFiqVDl2uYI/RM/QkwsFLmvIYgDNtYCRar90e7aZNheaRMv+hp\nb7t+HgAqh7c8JXI+hzRpXk5nGKFJlc0s3luSsdrINYGWDM/vSVh7vxUsjle/\n88F5eheJEz7Gy1gSfuCTr7jFraC/AlTFYaepmnOcQINIJ/cSC9xqGamq6fX5\ntiHpvbNYawKVmn9SDktmgKIKnJDX9pV2m18yTX15mOYtepU4zK9yODBYjWyy\nVKxxuNd3PnyRUNp0BoCBWxTGqJqd4i3N1H2sRwgUJf9xe7oUGWIbWkTctMIO\nLCoUEihtUjJ07iD5d2Y/4eYij21PPxFT5e3Rs1pCstz8ne7uw2xPtGbYRLWK\ndORpeXe32MJxzxfD3ALXmKH+lfqleZz840u/ygDi7QLJ51EKXH21sOGFpucH\n/Ygv\r\n=u06e\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIH3z9DZt5AIvQAt63oo9u0/6zuFTWCVI/OcsK9gZt+IpAiAYDMjpmhwdooqwbZB/kuSXoq0piiexF0XBQNyUKkDV1g=="}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"},{"email":"bernd@brainbot.com","name":"trustlines-deploy"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.12.2-0-dev.20200421T142922Z.8da87ce_1587480000891_0.9168104564553805"},"_hasShrinkwrap":false},"0.12.2-0-dev.20200421T143023Z.86bdd00":{"name":"trustlines-clientlib","version":"0.12.2-0-dev.20200421T143023Z.86bdd00","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"typedoc --options tdconfig.json","lint":"tslint -c tslint.json './src/**/**.ts' './tests/**/**.ts'","prettier":"prettier --write './{src,tests}/**/*.ts'","prettier:check":"prettier --check './{src,tests}/**/*.ts'","prettier:big-tabs":"prettier --write --print-width 120 --no-semi --single-quote --tab-width 4  './{src,tests}/**/*.ts'","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","coverage":"nyc report --reporter=text-lcov > coverage.lcov && codecov","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump":"./bump.sh","serve":"webpack && cp -r ./_bundles ./examples/injected-web3 && http-server ./examples/injected-web3"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{ts,js,json,css,md}":["prettier --write","git add"],"*.ts":["tslint -c tslint.json --fix","git add"]},"nyc":{"extension":[".ts"],"include":["src"],"reporter":["text"],"all":true},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.5.2","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","codecov":"^3.5.0","es6-promise":"^4.1.1","fetch-mock":"^7.2.5","fluid-publish":"^2.2.0","http-server":"^0.11.1","husky":"^2.4.0","isomorphic-fetch":"^2.2.1","lint-staged":"^8.2.0","mocha":"^5.2.0","nyc":"^14.1.0","prettier":"^1.15.2","ts-node":"^7.0.0","tslint":"^5.17.0","tslint-config-prettier":"^1.18.0","typedoc":"^0.16.9","types-ethereumjs-util":"0.0.8","typescript":"^2.9.2","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"bignumber.js":"7.2.1","ethereumjs-util":"^5.2.0","ethers":"^4.0.23","reconnecting-websocket":"^4.1.10","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","trustlines-contracts-abi":"dev","typedoc-plugin-markdown":"^2.2.16","ws":"^6.2.1"},"readme":"# Trustlines Clientlib\n\n[![npm](https://img.shields.io/npm/v/trustlines-clientlib.svg)](https://www.npmjs.com/package/trustlines-clientlib)\n[![CircleCI branch](https://img.shields.io/circleci/project/github/trustlines-protocol/clientlib/master.svg)](https://circleci.com/gh/trustlines-protocol/clientlib)\n[![Codecov branch](https://img.shields.io/codecov/c/github/trustlines-protocol/clientlib/master.svg)](https://codecov.io/gh/trustlines-protocol/clientlib)\n\nA TypeScript/JavaScript library for interacting with the [Trustlines Network Protocol](https://trustlines.network/).\n\n## Installation\n\n### Install via package manager\n\nWe publish the trustlines-clientlib to npm as a ES6 module.\n\n#### Using npm\n\n```bash\n$ npm i trustlines-clientlib\n```\n\n#### Using yarn\n\n```bash\n$ yarn add trustlines-clientlib\n```\n\n### Build from source\n\nIf you want to build the library from source run\n\n```bash\ngit clone git@github.com:trustlines-protocol/clientlib.git\ncd clientlib\nyarn && yarn build\n```\n\nThis will create three different builds:\n\n- ES6 module in `./lib-esm`\n- CommonJS module in `./lib`\n- Bundled JS injectable into browser in `./_bundles`\n\n## Get started\n\nWe assume the usage of the `trustlines-clientlib` ES6 module in the following.\n\n### Configuration\n\nTo start using the trustlines-clientlib you first have to configure the [relay server](https://github.com/trustlines-protocol/relay) you want to connect to.\nYou can either connect to a local develop relay server or use publicly available ones.\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n\n// Instance using a relay connected to the Laika Testnet\nconst laika = new TLNetwork({\n  relayUrl: {\n    protocol: 'https',\n    port: '80',\n    host: 'relay0.testnet.trustlines.network',\n    path: '/api/v1'\n  },\n  messagingUrl: {\n    protocol: 'https',\n    port: '80',\n    host: 'relay0.testnet.trustlines.network',\n    path: '/api/v1'\n  }\n\n  // ...\n})\n\n// Instance using a relay connected to the TLBC\nconst tlbc = new TLNetwork({\n  relayUrl: 'https://tlbc.relay.anyblock.tools/api/v1',\n  messagingUrl: 'https://messaging.trustlines.app/api/v1'\n  // ...\n})\n```\n\n### Example usage\n\nThis library is a promise-based library.\nSo every asynchronous call will return a native JavaScript promise.\nIf an error occurs the library will throw it.\nThe caller has to handle it appropriately.\n\n```javascript\ntry {\n  const networks = await laika.currencyNetwork.getAll()\n} catch (error) {\n  console.log('Caught error:', error)\n}\n```\n\n### Read our [documentation]() for more\n\n## Run Tests\n\n```bash\n# All tests\nyarn test\n\n# Unit tests\nyarn test:unit\n\n# Integration tests\nyarn test:integration\n\n# end2end tests\nyarn test:e2e\n```\n\n### Note on end2end tests\n\nYou have to have all components of the trustlines protocol running.\nA convenient way to achieve this is by using our [end2end](https://github.com/trustlines-protocol/end2end) setup.\n\n## Documentation\n\nYou can find the documentation for the trustlines-clientlib [here](https://dev.trustlines.network/docs/clientlib/clientlib.html).\nThe underlying markdown files of the documentation can be found in this repository under the `./docs` directory.\nTo generate the [typedoc](https://typedoc.org/) API reference documentation for this library run `yarn doc`.\n\n## Running injected web3 example\n\nTo run the example make sure to have [MetaMask](https://metamask.io/) installed and connected to a JSON RPC.\n\n```bash\nyarn serve\n```\n\nThis serves the injected web3 example app on `http://127.0.0.1:8080`. You can find the app under `./examples/injected-web3`.\n\n## Change log\n\nSee [CHANGELOG](./CHANGELOG.md)\n","readmeFilename":"README.md","gitHead":"86bdd0018a8b8674c3cc16ebb5351901c64f2245","_id":"trustlines-clientlib@0.12.2-0-dev.20200421T143023Z.86bdd00","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"trustlines-deploy","email":"bernd@brainbot.com"},"dist":{"integrity":"sha512-CASIE5Ox0FFSdV+GXKsE2Fh0/FTFeGnbetB41HJj++059r0uMRFnfRvagY24ZH/W0VlDIaSYxJ8ofdEHQkot/A==","shasum":"9e465edfda67411c0be5126a9b9e176d920e2ac2","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.12.2-0-dev.20200421T143023Z.86bdd00.tgz","fileCount":72,"unpackedSize":488975,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJenwZ+CRA9TVsSAnZWagAAsNoP/2HW0AenWxkxoUb6KnVw\nuzIQVsTJPC2FeTiU2eeda4wP/PVygXSLDUE/ReTu1QffhJYbrJ776TsiyZk0\nNWF7bPOQNlx0krMwBaNxmi25Ogk3TGWaV+hHoc4pZfIraehUGSUlN3KNRN3s\nXkiDkAyKJ32xsAowVdhnTrfVNIB6ut5RvvMC2qqoBOlodpGxL5p3V0gvX2Cu\nyEMH/SVkGTnQUPhNc2dpyFiA/7th1NibaMKKtPYxySxu7y+4bZ9YboaABHwM\nmAnWMEGJYLmw7SUrERylg1bpeOsE+MnDpw2r76zuYIW/NPlfUP64aHwSsONp\nVMQLRnT4fG7hCRLN0AwqQhrX+1Hkc/FSGz01qo+1cP17wV4T+7MKOcaMn719\n36VoriWGyDf+k2ZJJw8uqle6v0Oaf1z7pPSTNsvaUnt8mShbaBmrQMW+ejz+\n9D8E7BnSgx4BSKCva1AVSGCKmL4IojlPHhefcYwkgBGQN1gTnFI3R/nc4pUu\nSrMJrIDr+zQL/PZ29UdlU4L/7ltK4L384/2kvljfMrR+eXyK8yzeFp/keFP2\nkozbalFPmFYsbVn72EYXxhssjN9hpLE6AtCv62rL3cZPctakeC8jqdI3Lb6a\nc+mK/1DGrd71YsvjsophfJD22JxQzh1o86TgM0nGcklvU4enoGr+msWtCNwW\nukHw\r\n=BSdP\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEZvEFuPPXsXNaF+vXgBeh2pARAbmaCtrwBVWU4AWyndAiEAwwdPuCicHmt3hUL4aJD81VfrCKng8gOVjumrtBAlVIA="}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"},{"email":"bernd@brainbot.com","name":"trustlines-deploy"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.12.2-0-dev.20200421T143023Z.86bdd00_1587480189725_0.6844853837073022"},"_hasShrinkwrap":false},"0.12.2-0-dev.20200422T154216Z.e6bce9b":{"name":"trustlines-clientlib","version":"0.12.2-0-dev.20200422T154216Z.e6bce9b","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"typedoc --options tdconfig.json","lint":"tslint -c tslint.json './src/**/**.ts' './tests/**/**.ts'","prettier":"prettier --write './{src,tests}/**/*.ts'","prettier:check":"prettier --check './{src,tests}/**/*.ts'","prettier:big-tabs":"prettier --write --print-width 120 --no-semi --single-quote --tab-width 4  './{src,tests}/**/*.ts'","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","coverage":"nyc report --reporter=text-lcov > coverage.lcov && codecov","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump":"./bump.sh","serve":"webpack && cp -r ./_bundles ./examples/injected-web3 && http-server ./examples/injected-web3"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{ts,js,json,css,md}":["prettier --write","git add"],"*.ts":["tslint -c tslint.json --fix","git add"]},"nyc":{"extension":[".ts"],"include":["src"],"reporter":["text"],"all":true},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.17.21","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","codecov":"^3.5.0","es6-promise":"^4.1.1","fetch-mock":"^7.2.5","fluid-publish":"^2.2.0","http-server":"^0.11.1","husky":"^2.4.0","isomorphic-fetch":"^2.2.1","lint-staged":"^8.2.0","mocha":"^5.2.0","nyc":"^14.1.0","prettier":"^1.15.2","ts-node":"^7.0.0","tslint":"^5.17.0","tslint-config-prettier":"^1.18.0","typedoc":"^0.16.9","types-ethereumjs-util":"0.0.8","typescript":"^3.0.0","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"@msgpack/msgpack":"^1.12.1","bignumber.js":"7.2.1","ethereumjs-util":"^5.2.0","ethers":"^4.0.23","reconnecting-websocket":"^4.1.10","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","trustlines-contracts-abi":"dev","typedoc-plugin-markdown":"^2.2.16","ws":"^6.2.1"},"readme":"# Trustlines Clientlib\n\n[![npm](https://img.shields.io/npm/v/trustlines-clientlib.svg)](https://www.npmjs.com/package/trustlines-clientlib)\n[![CircleCI branch](https://img.shields.io/circleci/project/github/trustlines-protocol/clientlib/master.svg)](https://circleci.com/gh/trustlines-protocol/clientlib)\n[![Codecov branch](https://img.shields.io/codecov/c/github/trustlines-protocol/clientlib/master.svg)](https://codecov.io/gh/trustlines-protocol/clientlib)\n\nA TypeScript/JavaScript library for interacting with the [Trustlines Network Protocol](https://trustlines.network/).\n\n## Installation\n\n### Install via package manager\n\nWe publish the trustlines-clientlib to npm as a ES6 module.\n\n#### Using npm\n\n```bash\n$ npm i trustlines-clientlib\n```\n\n#### Using yarn\n\n```bash\n$ yarn add trustlines-clientlib\n```\n\n### Build from source\n\nIf you want to build the library from source run\n\n```bash\ngit clone git@github.com:trustlines-protocol/clientlib.git\ncd clientlib\nyarn && yarn build\n```\n\nThis will create three different builds:\n\n- ES6 module in `./lib-esm`\n- CommonJS module in `./lib`\n- Bundled JS injectable into browser in `./_bundles`\n\n## Get started\n\nWe assume the usage of the `trustlines-clientlib` ES6 module in the following.\n\n### Configuration\n\nTo start using the trustlines-clientlib you first have to configure the [relay server](https://github.com/trustlines-protocol/relay) you want to connect to.\nYou can either connect to a local develop relay server or use publicly available ones.\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n\n// Instance using a relay connected to the Laika Testnet\nconst laika = new TLNetwork({\n  relayUrl: {\n    protocol: 'https',\n    port: '80',\n    host: 'relay0.testnet.trustlines.network',\n    path: '/api/v1'\n  },\n  messagingUrl: {\n    protocol: 'https',\n    port: '80',\n    host: 'relay0.testnet.trustlines.network',\n    path: '/api/v1'\n  }\n\n  // ...\n})\n\n// Instance using a relay connected to the TLBC\nconst tlbc = new TLNetwork({\n  relayUrl: 'https://tlbc.relay.anyblock.tools/api/v1',\n  messagingUrl: 'https://messaging.trustlines.app/api/v1'\n  // ...\n})\n```\n\n### Example usage\n\nThis library is a promise-based library.\nSo every asynchronous call will return a native JavaScript promise.\nIf an error occurs the library will throw it.\nThe caller has to handle it appropriately.\n\n```javascript\ntry {\n  const networks = await laika.currencyNetwork.getAll()\n} catch (error) {\n  console.log('Caught error:', error)\n}\n```\n\n### Read our [documentation]() for more\n\n## Run Tests\n\n```bash\n# All tests\nyarn test\n\n# Unit tests\nyarn test:unit\n\n# Integration tests\nyarn test:integration\n\n# end2end tests\nyarn test:e2e\n```\n\n### Note on end2end tests\n\nYou have to have all components of the trustlines protocol running.\nA convenient way to achieve this is by using our [end2end](https://github.com/trustlines-protocol/end2end) setup.\n\n## Documentation\n\nYou can find the documentation for the trustlines-clientlib [here](https://dev.trustlines.network/docs/clientlib/clientlib.html).\nThe underlying markdown files of the documentation can be found in this repository under the `./docs` directory.\nTo generate the [typedoc](https://typedoc.org/) API reference documentation for this library run `yarn doc`.\n\n## Running injected web3 example\n\nTo run the example make sure to have [MetaMask](https://metamask.io/) installed and connected to a JSON RPC.\n\n```bash\nyarn serve\n```\n\nThis serves the injected web3 example app on `http://127.0.0.1:8080`. You can find the app under `./examples/injected-web3`.\n\n## Change log\n\nSee [CHANGELOG](./CHANGELOG.md)\n","readmeFilename":"README.md","gitHead":"e6bce9b221a6854d8e26313b6a423cf5b8a31871","_id":"trustlines-clientlib@0.12.2-0-dev.20200422T154216Z.e6bce9b","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"trustlines-deploy","email":"bernd@brainbot.com"},"dist":{"integrity":"sha512-fBBuD8uXJT07crsXtu4YSViJd/cAifPp4ND0qMp4LPf3kDdg9wb6Q1dJR4yQCDbZ9nAP/5ELMvvjYsMqABw8zA==","shasum":"638e03a4a1994cdfd4b6c0f1e81b7cc40a68194f","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.12.2-0-dev.20200422T154216Z.e6bce9b.tgz","fileCount":75,"unpackedSize":495144,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeoGhYCRA9TVsSAnZWagAAB4MP/iPu9lShNCmZv1UapLet\n7OuZdx91vdThKregKvVUDK/rizfCcIYu0Ty9ZAIfggVMJUBo0hVVN3oXcX1C\nV5AW1jQsSPWB5r5WuMQkYUWucFGbQ8lDoHW5my4kjAhbpKSYxQ2s0LfwQuil\nVpHhczaK4jXq1G707BKIw1gWTHrhBbIvUPo67SWZrjT+1tfSyw/4WIvEy8yk\n26g8mwi6GREjqIw+cYyubuNMwNFj7vi9boWaqFtLHqDxv/2YlxYDZhGcihuP\nQ5+/CI71jyu4GIQRNdj8KPpiyhRU3O8lFNYXHkMEOQNwjOxfc3MNKlcqZcit\n/X5kiXSG6GkbX0Om9IUt0h6DrpqE28r8CCN/f4DlhU/rmRslKqGNxO9bhtsf\nbInTbjTWBRGlF/Vstz/RG7rHdmfGQ5VsbtRUhnO3yiwScZVZc7YyhXkCI9ta\ncBVt/1miV0zdZxVXEKPbnwenWzQGGT1vg7zyoKA0FU898O8mhK5359EbTHj3\nOsyS+nytAhnLHJ6YdA10N9FyoYN2Xl0bHL7ORmZGd6yaZQTXeoW/vXIZryTC\nZ3qIQsSu7W4S/GncvJxIvPBfHC3TJZf8U0pgFJ1iIkDl51VNkxhNZPlovHbH\nNcEu+BZSDFtY7ZN9yx8U9Oz6S1dvS8dUVcpuRk1r8t4DvP4oVFYMSO5AFgr8\nmdTF\r\n=pHhD\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCTEZQ2HTZQTEGlnDIBIjir6ZloaSUCD/8++4pzREkscQIgYgeLkRtoj/UV/oApZWOuqPaqOe7qXjF6hAnBALEf/to="}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"},{"email":"bernd@brainbot.com","name":"trustlines-deploy"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.12.2-0-dev.20200422T154216Z.e6bce9b_1587570775506_0.7426798298421773"},"_hasShrinkwrap":false},"0.13.0":{"name":"trustlines-clientlib","version":"0.13.0","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"typedoc --options tdconfig.json","lint":"tslint -c tslint.json './src/**/**.ts' './tests/**/**.ts'","prettier":"prettier --write './{src,tests}/**/*.ts'","prettier:check":"prettier --check './{src,tests}/**/*.ts'","prettier:big-tabs":"prettier --write --print-width 120 --no-semi --single-quote --tab-width 4  './{src,tests}/**/*.ts'","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","coverage":"nyc report --reporter=text-lcov > coverage.lcov && codecov","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump":"./bump.sh","serve":"webpack && cp -r ./_bundles ./examples/injected-web3 && http-server ./examples/injected-web3"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{ts,js,json,css,md}":["prettier --write","git add"],"*.ts":["tslint -c tslint.json --fix","git add"]},"nyc":{"extension":[".ts"],"include":["src"],"reporter":["text"],"all":true},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.5.2","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","codecov":"^3.5.0","es6-promise":"^4.1.1","fetch-mock":"^7.2.5","fluid-publish":"^2.2.0","http-server":"^0.11.1","husky":"^2.4.0","isomorphic-fetch":"^2.2.1","lint-staged":"^8.2.0","mocha":"^5.2.0","nyc":"^14.1.0","prettier":"^1.15.2","ts-node":"^7.0.0","tslint":"^5.17.0","tslint-config-prettier":"^1.18.0","typedoc":"^0.16.9","types-ethereumjs-util":"0.0.8","typescript":"^2.9.2","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"bignumber.js":"7.2.1","ethereumjs-util":"^5.2.0","ethers":"^4.0.23","reconnecting-websocket":"^4.1.10","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","trustlines-contracts-abi":"dev","typedoc-plugin-markdown":"^2.2.16","ws":"^6.2.1"},"licenseText":"MIT License\n\nCopyright (c) 2017 Trustlines Network\nCopyright (c) 2019 Trustlines Foundation\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"trustlines-clientlib@0.13.0","dist":{"shasum":"48c053e49b3ccdbd206841025d786d481483d461","integrity":"sha512-xuZw2qxTqZ6pzdjYWZkVJRGWXTJ+UeFTkveOzuBcsnL+SG6J7pCVYlm4unewDj/bO2RDfBQE3Nu7KNch/kTwIg==","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.13.0.tgz","fileCount":79,"unpackedSize":484286,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeoWPtCRA9TVsSAnZWagAAKJEP/1alBzRARhXsyEydUnmg\nhfmY94l+dEpXwHsVy84GhLy9rMvN6vE7SwVujcYCMW4cwUF7+VaHJSOaQNg8\n0oveOgNqD9F+UZyfP2XfD5df8lWfai3hx8xiGvwi37EdheKcw9t55rGG/CWE\nT3rmyfWCPoxRG1LNry02ZrP/ylKvq5h+wm65E170eFhyeuVUj6y5m3q1kf0i\nTRIEUZx8tx5gQuGOg9ikbXYADNoSXAW8qc7aCtHbmS+aZMJiWLPYMVPTfc7M\n2HeHfwUFSxLlcLuRJAPAqsmbQsH1S/QqARfP2SS32jAvLsVKRYLmdnEdKgfN\n60oYEd1wgEyOuSp9TzpqcuBEuXfDGmuhsyBzeqwmSjcRe0oVxad6E4MTSSim\nenBckrzgf4liVliOg2lv5EqdiyYe64gpf4Pf+bAxDQw7wTMfoC4rvkGo8XCe\ns9o5/iBk0KbGUI1vLszwvr3bQmyfZ3dUkg2lTxgubPyKq7bBn1WAWa3YkN5h\nTPvklM4rhJVpnoB4dJ++po5qVHAdEV3udKKsm87KwhPhrgBU/l6mtb3Tj+iN\n9QugStQcymdGvD+V2Tk91DkXsd2k7x4J2u93fI7ophYBtwstMkJ0JEe9CIEI\ndjNyzZyZi9fMcByNp/M1c2i7Byl73FVo79IMIwxuQ//rgCYwiGYI/Vcq3eQG\nPaZ9\r\n=YhbR\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD5c4Ymts6ZV1MgH99uIEbhWsFWtINyLaqrR2jDdoTDygIgG/cnd3GudM+Iqj53xUPGsR8LR/LIWxVIbcM1QBYHnms="}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"},{"email":"bernd@brainbot.com","name":"trustlines-deploy"}],"_npmUser":{"name":"trustlines-deploy","email":"bernd@brainbot.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.13.0_1587635181107_0.5814680737931879"},"_hasShrinkwrap":false,"deprecated":"Package was moved to the @trustlines organisation. Intall latest version with npm install @trustlines/trustlines-clientlib"},"0.12.2-0-dev.20200424T084149Z.0fcd19c":{"name":"trustlines-clientlib","version":"0.12.2-0-dev.20200424T084149Z.0fcd19c","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"typedoc --options tdconfig.json","lint":"tslint -c tslint.json './src/**/**.ts' './tests/**/**.ts'","prettier":"prettier --write './{src,tests}/**/*.ts'","prettier:check":"prettier --check './{src,tests}/**/*.ts'","prettier:big-tabs":"prettier --write --print-width 120 --no-semi --single-quote --tab-width 4  './{src,tests}/**/*.ts'","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","coverage":"nyc report --reporter=text-lcov > coverage.lcov && codecov","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump":"./bump.sh","serve":"webpack && cp -r ./_bundles ./examples/injected-web3 && http-server ./examples/injected-web3"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{ts,js,json,css,md}":["prettier --write","git add"],"*.ts":["tslint -c tslint.json --fix","git add"]},"nyc":{"extension":[".ts"],"include":["src"],"reporter":["text"],"all":true},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.17.21","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","codecov":"^3.5.0","es6-promise":"^4.1.1","fetch-mock":"^7.2.5","fluid-publish":"^2.2.0","http-server":"^0.11.1","husky":"^2.4.0","isomorphic-fetch":"^2.2.1","lint-staged":"^8.2.0","mocha":"^5.2.0","nyc":"^14.1.0","prettier":"^1.15.2","ts-node":"^7.0.0","tslint":"^5.17.0","tslint-config-prettier":"^1.18.0","typedoc":"^0.16.9","types-ethereumjs-util":"0.0.8","typescript":"^3.0.0","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"@msgpack/msgpack":"^1.12.1","bignumber.js":"7.2.1","ethereumjs-util":"^5.2.0","ethers":"^4.0.23","reconnecting-websocket":"^4.1.10","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","trustlines-contracts-abi":"dev","typedoc-plugin-markdown":"^2.2.16","ws":"^6.2.1"},"readme":"# Trustlines Clientlib\n\n[![npm](https://img.shields.io/npm/v/trustlines-clientlib.svg)](https://www.npmjs.com/package/trustlines-clientlib)\n[![CircleCI branch](https://img.shields.io/circleci/project/github/trustlines-protocol/clientlib/master.svg)](https://circleci.com/gh/trustlines-protocol/clientlib)\n[![Codecov branch](https://img.shields.io/codecov/c/github/trustlines-protocol/clientlib/master.svg)](https://codecov.io/gh/trustlines-protocol/clientlib)\n\nA TypeScript/JavaScript library for interacting with the [Trustlines Network Protocol](https://trustlines.network/).\n\n## Installation\n\n### Install via package manager\n\nWe publish the trustlines-clientlib to npm as a ES6 module.\n\n#### Using npm\n\n```bash\n$ npm i trustlines-clientlib\n```\n\n#### Using yarn\n\n```bash\n$ yarn add trustlines-clientlib\n```\n\n### Build from source\n\nIf you want to build the library from source run\n\n```bash\ngit clone git@github.com:trustlines-protocol/clientlib.git\ncd clientlib\nyarn && yarn build\n```\n\nThis will create three different builds:\n\n- ES6 module in `./lib-esm`\n- CommonJS module in `./lib`\n- Bundled JS injectable into browser in `./_bundles`\n\n## Get started\n\nWe assume the usage of the `trustlines-clientlib` ES6 module in the following.\n\n### Configuration\n\nTo start using the trustlines-clientlib you first have to configure the [relay server](https://github.com/trustlines-protocol/relay) you want to connect to.\nYou can either connect to a local develop relay server or use publicly available ones.\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n\n// Instance using a relay connected to the Laika Testnet\nconst laika = new TLNetwork({\n  relayUrl: {\n    protocol: 'https',\n    port: '80',\n    host: 'relay0.testnet.trustlines.network',\n    path: '/api/v1'\n  },\n  messagingUrl: {\n    protocol: 'https',\n    port: '80',\n    host: 'relay0.testnet.trustlines.network',\n    path: '/api/v1'\n  }\n\n  // ...\n})\n\n// Instance using a relay connected to the TLBC\nconst tlbc = new TLNetwork({\n  relayUrl: 'https://tlbc.relay.anyblock.tools/api/v1',\n  messagingUrl: 'https://messaging.trustlines.app/api/v1'\n  // ...\n})\n```\n\n### Example usage\n\nThis library is a promise-based library.\nSo every asynchronous call will return a native JavaScript promise.\nIf an error occurs the library will throw it.\nThe caller has to handle it appropriately.\n\n```javascript\ntry {\n  const networks = await laika.currencyNetwork.getAll()\n} catch (error) {\n  console.log('Caught error:', error)\n}\n```\n\n### Read our [documentation]() for more\n\n## Run Tests\n\n```bash\n# All tests\nyarn test\n\n# Unit tests\nyarn test:unit\n\n# Integration tests\nyarn test:integration\n\n# end2end tests\nyarn test:e2e\n```\n\n### Note on end2end tests\n\nYou have to have all components of the trustlines protocol running.\nA convenient way to achieve this is by using our [end2end](https://github.com/trustlines-protocol/end2end) setup.\n\n## Documentation\n\nYou can find the documentation for the trustlines-clientlib [here](https://dev.trustlines.network/docs/clientlib/clientlib.html).\nThe underlying markdown files of the documentation can be found in this repository under the `./docs` directory.\nTo generate the [typedoc](https://typedoc.org/) API reference documentation for this library run `yarn doc`.\n\n## Running injected web3 example\n\nTo run the example make sure to have [MetaMask](https://metamask.io/) installed and connected to a JSON RPC.\n\n```bash\nyarn serve\n```\n\nThis serves the injected web3 example app on `http://127.0.0.1:8080`. You can find the app under `./examples/injected-web3`.\n\n## Change log\n\nSee [CHANGELOG](./CHANGELOG.md)\n","readmeFilename":"README.md","gitHead":"0fcd19ca7f153ed36f726ecad01ef6998e8404e8","_id":"trustlines-clientlib@0.12.2-0-dev.20200424T084149Z.0fcd19c","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"trustlines-deploy","email":"bernd@brainbot.com"},"dist":{"integrity":"sha512-g9P3ibV+KMffEB2L0XjuunGRCFcfDw/hWdU7SCTj14Ks1ML7k4Aej0X6r+I9IDOJdtt+CTcIPBHbZaq9V7xGRg==","shasum":"0838d127df815bbdeccba8bf238e51d6db2e61e7","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.12.2-0-dev.20200424T084149Z.0fcd19c.tgz","fileCount":75,"unpackedSize":496895,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeoqi0CRA9TVsSAnZWagAA6PMP/RLCbD30fXcVKTSFUu3z\nK82bEK2eTAZDrQhfFXtrA58MroUIubxgo+lswq2aQuWQDv3BDv44GoNiZ7Gv\nekY89Q5GKkcqlpL+o09QUeHbDo3oAJMUMS29PsVBmKX+YtlQkwMzuirUsKp3\nbsYH5rkKtejNNZ6ECbY19GVU9QIgZ2OACfp+w+D8zfDec3pUViSdWaQRspuf\nt6gKFABDvaCwqsYSVJO7WLDm0nSbqJ4jpbjCb4gBGcjkIhReWjea2ueAqJAv\nZNV8wdug2Twz9ixgKFPtBdHkJUP9WOyjU0JusjQTlDej1jaNklmnpYG/4Dnq\nJRvAklbSuvq7qCNUiLMNzblrXHTUB7tFpvVnCxh9OOKGutynK3PVTJa/NA+y\nJyZ08p4ADJE/jZb/H/aY1+BVp6g/utxfgeMygIJFoQyT/mt7iHImnZs7K7Ba\nNz47KS5yeXw5MSXMCPhieqZyP/+myFAZqKMy4QKPjdlE34PPygcWdPtEPMNg\nUQQyKYeP/X5AORCKqtGMWv2exUZijdnbojM/lfYerct+U3JHUnKrz7LRXcyB\npG4yApPwKOd8tsDv/3m6uc/BeS4Eo1reKrbJ9KeHFAPq8M4aX6ZxyvK8W6Xc\nkm6/sCVF3ow7LPQb4eaIxpBnbkjggBeP4/RL6ZXzEUC2gbTHyJeOOw60Gx8X\nQy2q\r\n=Of3X\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCXfFsClKL7rjfNbLXLRAur2RzV1u8+1XtGryg20es/2QIgYb4QZFA+xeu6U5xAoN0GYxG77GFyBG2QvPCkUMDJOCI="}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"},{"email":"bernd@brainbot.com","name":"trustlines-deploy"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.12.2-0-dev.20200424T084149Z.0fcd19c_1587718323923_0.8965397642351289"},"_hasShrinkwrap":false},"0.12.2-0-dev.20200430T203150Z.a22a00d":{"name":"trustlines-clientlib","version":"0.12.2-0-dev.20200430T203150Z.a22a00d","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"typedoc --options tdconfig.json","lint":"tslint -c tslint.json './src/**/**.ts' './tests/**/**.ts'","prettier":"prettier --write './{src,tests}/**/*.ts'","prettier:check":"prettier --check './{src,tests}/**/*.ts'","prettier:big-tabs":"prettier --write --print-width 120 --no-semi --single-quote --tab-width 4  './{src,tests}/**/*.ts'","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","coverage":"nyc report --reporter=text-lcov > coverage.lcov && codecov","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump":"./bump.sh","serve":"webpack && cp -r ./_bundles ./examples/injected-web3 && http-server ./examples/injected-web3"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{ts,js,json,css,md}":["prettier --write","git add"],"*.ts":["tslint -c tslint.json --fix","git add"]},"nyc":{"extension":[".ts"],"include":["src"],"reporter":["text"],"all":true},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.17.21","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","codecov":"^3.5.0","es6-promise":"^4.1.1","fetch-mock":"^7.2.5","fluid-publish":"^2.2.0","http-server":"^0.11.1","husky":"^2.4.0","isomorphic-fetch":"^2.2.1","lint-staged":"^8.2.0","mocha":"^5.2.0","nyc":"^14.1.0","prettier":"^1.15.2","ts-node":"^7.0.0","tslint":"^5.17.0","tslint-config-prettier":"^1.18.0","typedoc":"^0.16.9","types-ethereumjs-util":"0.0.8","typescript":"^3.0.0","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"@msgpack/msgpack":"^1.12.1","bignumber.js":"7.2.1","ethereumjs-util":"^5.2.0","ethers":"^4.0.23","reconnecting-websocket":"^4.1.10","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","trustlines-contracts-abi":"dev","typedoc-plugin-markdown":"^2.2.16","ws":"^6.2.1"},"readme":"# Trustlines Clientlib\n\n[![npm](https://img.shields.io/npm/v/trustlines-clientlib.svg)](https://www.npmjs.com/package/trustlines-clientlib)\n[![CircleCI branch](https://img.shields.io/circleci/project/github/trustlines-protocol/clientlib/master.svg)](https://circleci.com/gh/trustlines-protocol/clientlib)\n[![Codecov branch](https://img.shields.io/codecov/c/github/trustlines-protocol/clientlib/master.svg)](https://codecov.io/gh/trustlines-protocol/clientlib)\n\nA TypeScript/JavaScript library for interacting with the [Trustlines Network Protocol](https://trustlines.network/).\n\n## Installation\n\n### Install via package manager\n\nWe publish the trustlines-clientlib to npm as a ES6 module.\n\n#### Using npm\n\n```bash\n$ npm i trustlines-clientlib\n```\n\n#### Using yarn\n\n```bash\n$ yarn add trustlines-clientlib\n```\n\n### Build from source\n\nIf you want to build the library from source run\n\n```bash\ngit clone git@github.com:trustlines-protocol/clientlib.git\ncd clientlib\nyarn && yarn build\n```\n\nThis will create three different builds:\n\n- ES6 module in `./lib-esm`\n- CommonJS module in `./lib`\n- Bundled JS injectable into browser in `./_bundles`\n\n## Get started\n\nWe assume the usage of the `trustlines-clientlib` ES6 module in the following.\n\n### Configuration\n\nTo start using the trustlines-clientlib you first have to configure the [relay server](https://github.com/trustlines-protocol/relay) you want to connect to.\nYou can either connect to a local develop relay server or use publicly available ones.\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n\n// Instance using a relay connected to the Laika Testnet\nconst laika = new TLNetwork({\n  relayUrl: {\n    protocol: 'https',\n    port: '80',\n    host: 'relay0.testnet.trustlines.network',\n    path: '/api/v1'\n  },\n  messagingUrl: {\n    protocol: 'https',\n    port: '80',\n    host: 'relay0.testnet.trustlines.network',\n    path: '/api/v1'\n  }\n\n  // ...\n})\n\n// Instance using a relay connected to the TLBC\nconst tlbc = new TLNetwork({\n  relayUrl: 'https://tlbc.relay.anyblock.tools/api/v1',\n  messagingUrl: 'https://messaging.trustlines.app/api/v1'\n  // ...\n})\n```\n\n### Example usage\n\nThis library is a promise-based library.\nSo every asynchronous call will return a native JavaScript promise.\nIf an error occurs the library will throw it.\nThe caller has to handle it appropriately.\n\n```javascript\ntry {\n  const networks = await laika.currencyNetwork.getAll()\n} catch (error) {\n  console.log('Caught error:', error)\n}\n```\n\n### Read our [documentation]() for more\n\n## Run Tests\n\n```bash\n# All tests\nyarn test\n\n# Unit tests\nyarn test:unit\n\n# Integration tests\nyarn test:integration\n\n# end2end tests\nyarn test:e2e\n```\n\n### Note on end2end tests\n\nYou have to have all components of the trustlines protocol running.\nA convenient way to achieve this is by using our [end2end](https://github.com/trustlines-protocol/end2end) setup.\n\n## Documentation\n\nYou can find the documentation for the trustlines-clientlib [here](https://dev.trustlines.network/docs/clientlib/clientlib.html).\nThe underlying markdown files of the documentation can be found in this repository under the `./docs` directory.\nTo generate the [typedoc](https://typedoc.org/) API reference documentation for this library run `yarn doc`.\n\n## Running injected web3 example\n\nTo run the example make sure to have [MetaMask](https://metamask.io/) installed and connected to a JSON RPC.\n\n```bash\nyarn serve\n```\n\nThis serves the injected web3 example app on `http://127.0.0.1:8080`. You can find the app under `./examples/injected-web3`.\n\n## Change log\n\nSee [CHANGELOG](./CHANGELOG.md)\n","readmeFilename":"README.md","gitHead":"a22a00dd2b8ca5154b1faede7285b8762cdb933c","_id":"trustlines-clientlib@0.12.2-0-dev.20200430T203150Z.a22a00d","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"trustlines-deploy","email":"bernd@brainbot.com"},"dist":{"integrity":"sha512-YVIdDCaC2CWiIHoLC6wh9Bj9hr58zu46R2X73/Dx7dwJGxkEG7XBK3bBenrBYRgebRt0MWLHAYfBpiY7L29dsw==","shasum":"d05ff4206687c337e62c59236181bede1f90de4a","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.12.2-0-dev.20200430T203150Z.a22a00d.tgz","fileCount":75,"unpackedSize":501467,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeqzhICRA9TVsSAnZWagAA980P/RYjzrIgDCnSYGpPMOI4\n8CELKHK+2zAKJYypjr3B8l+Rsc/C6glbdHg42aOLYazRCRyLlJn9STef/h7o\nT3DH3RkmSFOOzR8zBON9a1RzTHoYUWLH2TENjAFJ2eQIPClXC8l8pZbADW3k\n9NllgmFBtG/P3NiU3IReWM/KIGR7FCuEaHID7gJkx+/N+5HPMT2LRgM+yms/\npJpn+9lcXqfz7Pt1B2MqzxrsfD8yhSNgqHlqM8Fzqby5iFzZ4M9gzwcbuLtM\n0bUAeyORG3Ptyc2PHieZq4JCo/H70KqPDxVXkQlIf70+wxEaxLR9Ga+o88v5\n0uMZyA1lghOtBrYRNRwfdoL0XRyHOWYbxsbg7D6ie0scf55NNDnQoJKQDd+x\n6uygJbajGhtV0OCcvJ3Kj4JkRUdiP+jll0THTzFo+GgF87AsP/+GOjNnTGBh\nH8ewis4Hka4kcUoPIc//ZL/6qef2nXa1tcEg6oPZ7Ds+ADOnUn//rVMH5anq\n31r75VjCHc/sGq55Wrk1Zbkc5e/KZJgebBNFec8MMudqdNuM+zOQZQuQKwac\n1CGPgMY/nwIyv66QyX486CSB6G27yKK8vwX1OgGMhvQ5XR+RQOg7r6QxVIki\nC3XLLrLC6u4wv8vFy6RsCpJxhWnWjiK25kqp5Wbx+O6cksCpnjWHkZmiuSkN\nUdF4\r\n=qwxC\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAoUUOngnUPcIPtaCOIbuK2OiGI2jhEQ1ipCY4rh3ITtAiEA/qzvOfEPMB0cEkrLMk7xXWMJD1X0SE4i3auV5iv4AsI="}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"},{"email":"bernd@brainbot.com","name":"trustlines-deploy"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.12.2-0-dev.20200430T203150Z.a22a00d_1588279368274_0.04092522866490711"},"_hasShrinkwrap":false},"0.12.2-0-dev.20200430T212603Z.6e3f39d":{"name":"trustlines-clientlib","version":"0.12.2-0-dev.20200430T212603Z.6e3f39d","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"typedoc --options tdconfig.json","lint":"tslint -c tslint.json './src/**/**.ts' './tests/**/**.ts'","prettier":"prettier --write './{src,tests}/**/*.ts'","prettier:check":"prettier --check './{src,tests}/**/*.ts'","prettier:big-tabs":"prettier --write --print-width 120 --no-semi --single-quote --tab-width 4  './{src,tests}/**/*.ts'","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","coverage":"nyc report --reporter=text-lcov > coverage.lcov && codecov","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump":"./bump.sh","serve":"webpack && cp -r ./_bundles ./examples/injected-web3 && http-server ./examples/injected-web3"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{ts,js,json,css,md}":["prettier --write","git add"],"*.ts":["tslint -c tslint.json --fix","git add"]},"nyc":{"extension":[".ts"],"include":["src"],"reporter":["text"],"all":true},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.17.21","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","codecov":"^3.5.0","es6-promise":"^4.1.1","fetch-mock":"^7.2.5","fluid-publish":"^2.2.0","http-server":"^0.11.1","husky":"^2.4.0","isomorphic-fetch":"^2.2.1","lint-staged":"^8.2.0","mocha":"^5.2.0","nyc":"^14.1.0","prettier":"^1.15.2","ts-node":"^7.0.0","tslint":"^5.17.0","tslint-config-prettier":"^1.18.0","typedoc":"^0.16.9","types-ethereumjs-util":"0.0.8","typescript":"^3.0.0","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"@msgpack/msgpack":"^1.12.1","bignumber.js":"7.2.1","ethereumjs-util":"^5.2.0","ethers":"^4.0.23","reconnecting-websocket":"^4.1.10","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","trustlines-contracts-abi":"dev","typedoc-plugin-markdown":"^2.2.16","ws":"^6.2.1"},"readme":"# Trustlines Clientlib\n\n[![npm](https://img.shields.io/npm/v/trustlines-clientlib.svg)](https://www.npmjs.com/package/trustlines-clientlib)\n[![CircleCI branch](https://img.shields.io/circleci/project/github/trustlines-protocol/clientlib/master.svg)](https://circleci.com/gh/trustlines-protocol/clientlib)\n[![Codecov branch](https://img.shields.io/codecov/c/github/trustlines-protocol/clientlib/master.svg)](https://codecov.io/gh/trustlines-protocol/clientlib)\n\nA TypeScript/JavaScript library for interacting with the [Trustlines Network Protocol](https://trustlines.network/).\n\n## Installation\n\n### Install via package manager\n\nWe publish the trustlines-clientlib to npm as a ES6 module.\n\n#### Using npm\n\n```bash\n$ npm i trustlines-clientlib\n```\n\n#### Using yarn\n\n```bash\n$ yarn add trustlines-clientlib\n```\n\n### Build from source\n\nIf you want to build the library from source run\n\n```bash\ngit clone git@github.com:trustlines-protocol/clientlib.git\ncd clientlib\nyarn && yarn build\n```\n\nThis will create three different builds:\n\n- ES6 module in `./lib-esm`\n- CommonJS module in `./lib`\n- Bundled JS injectable into browser in `./_bundles`\n\n## Get started\n\nWe assume the usage of the `trustlines-clientlib` ES6 module in the following.\n\n### Configuration\n\nTo start using the trustlines-clientlib you first have to configure the [relay server](https://github.com/trustlines-protocol/relay) you want to connect to.\nYou can either connect to a local develop relay server or use publicly available ones.\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n\n// Instance using a relay connected to the Laika Testnet\nconst laika = new TLNetwork({\n  relayUrl: {\n    protocol: 'https',\n    port: '80',\n    host: 'relay0.testnet.trustlines.network',\n    path: '/api/v1'\n  },\n  messagingUrl: {\n    protocol: 'https',\n    port: '80',\n    host: 'relay0.testnet.trustlines.network',\n    path: '/api/v1'\n  }\n\n  // ...\n})\n\n// Instance using a relay connected to the TLBC\nconst tlbc = new TLNetwork({\n  relayUrl: 'https://tlbc.relay.anyblock.tools/api/v1',\n  messagingUrl: 'https://messaging.trustlines.app/api/v1'\n  // ...\n})\n```\n\n### Example usage\n\nThis library is a promise-based library.\nSo every asynchronous call will return a native JavaScript promise.\nIf an error occurs the library will throw it.\nThe caller has to handle it appropriately.\n\n```javascript\ntry {\n  const networks = await laika.currencyNetwork.getAll()\n} catch (error) {\n  console.log('Caught error:', error)\n}\n```\n\n### Read our [documentation]() for more\n\n## Run Tests\n\n```bash\n# All tests\nyarn test\n\n# Unit tests\nyarn test:unit\n\n# Integration tests\nyarn test:integration\n\n# end2end tests\nyarn test:e2e\n```\n\n### Note on end2end tests\n\nYou have to have all components of the trustlines protocol running.\nA convenient way to achieve this is by using our [end2end](https://github.com/trustlines-protocol/end2end) setup.\n\n## Documentation\n\nYou can find the documentation for the trustlines-clientlib [here](https://dev.trustlines.network/docs/clientlib/clientlib.html).\nThe underlying markdown files of the documentation can be found in this repository under the `./docs` directory.\nTo generate the [typedoc](https://typedoc.org/) API reference documentation for this library run `yarn doc`.\n\n## Running injected web3 example\n\nTo run the example make sure to have [MetaMask](https://metamask.io/) installed and connected to a JSON RPC.\n\n```bash\nyarn serve\n```\n\nThis serves the injected web3 example app on `http://127.0.0.1:8080`. You can find the app under `./examples/injected-web3`.\n\n## Change log\n\nSee [CHANGELOG](./CHANGELOG.md)\n","readmeFilename":"README.md","gitHead":"6e3f39d2d67446bce900b4434757ea6a5b71852d","_id":"trustlines-clientlib@0.12.2-0-dev.20200430T212603Z.6e3f39d","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"trustlines-deploy","email":"bernd@brainbot.com"},"dist":{"integrity":"sha512-yl4W2EbZ2tmZr1g0yJNGE9Vp8kfypdFOURqlBEa2vp9FdLH/z4cQdPJtYkR8fh7g50RsGhVf9Gp6O4LRk+4Rtw==","shasum":"8eb41850783786e74cf540844a6a5fb78400c5b2","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.12.2-0-dev.20200430T212603Z.6e3f39d.tgz","fileCount":75,"unpackedSize":501738,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeq0UUCRA9TVsSAnZWagAAknEP/08fzbTcJaYTABGL1Gsq\nK6L0R5NKPyhwiItD/9JbPmO9D75lG8UOlgBhZ5XNNYxZtN4kUNDdAk6kbIzB\n1hbAxj+0z9sIufUM9qswSlMDiB+1Y+Gaw0IyKUnrlIblNAjSH7SQDSZjhPs3\nY0/6ZHwVxYX+rnBhOb6ovKP+c+zNunwxvsehH7yrB7aEW2gADrIoq8bOI3Tx\nvhTsm+zF6p0cIFIoMXWMF+xnCdFbQcXg8qenfuTCKbRpnl9uneBn6SFz2nes\nDofJVd4DKYOAwd0+EH+57O6ipB6/7zp24n2OXABi2mnnqQnQRGsTu9Gobui6\n4VHKMCMrlHtgeoaC9K5IuRbOb2Wr0NUuLLO0lfI5e0Q51yhiwZWwXLtHAclv\nENR6VTpohdsZiq3KzYhxnsX+wi63+Mss3msgb2mq0wsWhpRbQCYjLJmkTTx2\nMuBGsrDEpBV5L2TGBRqrJNtpRVIlBJMeTmszbVlQgcNgAcib5hjpKatSCl6t\nc7ZPMHLWfDSMUYQjYDa4mIOokPpgVztNJjq5JCvvwklfqLgNie5X39w+zDMb\n0BPxaj17/V+GzJ77qZ1G7K/dGNaPDjGrYAeJhEaxiVeVYvQqjn0gGKnJOOSE\nQO2Et0wTTOksMay4uEVaQcoaGumQ05Ji4pWEeo0EnOSqaz9N3R4h+wiVZghf\nABIr\r\n=/R3H\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGfumJgQ/b9g7eAVMs13aA/bFBqkoaC8dG5PJF0r2/esAiAgk+9jgfQhZS3+JbCHG6EOAfF/BONIJ8ZT/PTlkaxMvg=="}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"},{"email":"bernd@brainbot.com","name":"trustlines-deploy"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.12.2-0-dev.20200430T212603Z.6e3f39d_1588282644171_0.221630107422653"},"_hasShrinkwrap":false},"0.12.2-0-dev.20200504T221028Z.7bdf458":{"name":"trustlines-clientlib","version":"0.12.2-0-dev.20200504T221028Z.7bdf458","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"typedoc --options tdconfig.json","lint":"tslint -c tslint.json './src/**/**.ts' './tests/**/**.ts'","prettier":"prettier --write './{src,tests}/**/*.ts'","prettier:check":"prettier --check './{src,tests}/**/*.ts'","prettier:big-tabs":"prettier --write --print-width 120 --no-semi --single-quote --tab-width 4  './{src,tests}/**/*.ts'","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","coverage":"nyc report --reporter=text-lcov > coverage.lcov && codecov","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump":"./bump.sh","serve":"webpack && cp -r ./_bundles ./examples/injected-web3 && http-server ./examples/injected-web3"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{ts,js,json,css,md}":["prettier --write","git add"],"*.ts":["tslint -c tslint.json --fix","git add"]},"nyc":{"extension":[".ts"],"include":["src"],"reporter":["text"],"all":true},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.17.21","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","codecov":"^3.5.0","es6-promise":"^4.1.1","fetch-mock":"^7.2.5","fluid-publish":"^2.2.0","http-server":"^0.11.1","husky":"^2.4.0","isomorphic-fetch":"^2.2.1","lint-staged":"^8.2.0","mocha":"^5.2.0","nyc":"^14.1.0","prettier":"^1.15.2","ts-node":"^7.0.0","tslint":"^5.17.0","tslint-config-prettier":"^1.18.0","typedoc":"^0.16.9","types-ethereumjs-util":"0.0.8","typescript":"^3.0.0","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"@msgpack/msgpack":"^1.12.1","bignumber.js":"7.2.1","ethereumjs-util":"^5.2.0","ethers":"^4.0.23","reconnecting-websocket":"^4.1.10","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","trustlines-contracts-abi":"dev","typedoc-plugin-markdown":"^2.2.16","ws":"^6.2.1"},"readme":"# Trustlines Clientlib\n\n[![npm](https://img.shields.io/npm/v/trustlines-clientlib.svg)](https://www.npmjs.com/package/trustlines-clientlib)\n[![CircleCI branch](https://img.shields.io/circleci/project/github/trustlines-protocol/clientlib/master.svg)](https://circleci.com/gh/trustlines-protocol/clientlib)\n[![Codecov branch](https://img.shields.io/codecov/c/github/trustlines-protocol/clientlib/master.svg)](https://codecov.io/gh/trustlines-protocol/clientlib)\n\nA TypeScript/JavaScript library for interacting with the [Trustlines Network Protocol](https://trustlines.network/).\n\n## Installation\n\n### Install via package manager\n\nWe publish the trustlines-clientlib to npm as a ES6 module.\n\n#### Using npm\n\n```bash\n$ npm i trustlines-clientlib\n```\n\n#### Using yarn\n\n```bash\n$ yarn add trustlines-clientlib\n```\n\n### Build from source\n\nIf you want to build the library from source run\n\n```bash\ngit clone git@github.com:trustlines-protocol/clientlib.git\ncd clientlib\nyarn && yarn build\n```\n\nThis will create three different builds:\n\n- ES6 module in `./lib-esm`\n- CommonJS module in `./lib`\n- Bundled JS injectable into browser in `./_bundles`\n\n## Get started\n\nWe assume the usage of the `trustlines-clientlib` ES6 module in the following.\n\n### Configuration\n\nTo start using the trustlines-clientlib you first have to configure the [relay server](https://github.com/trustlines-protocol/relay) you want to connect to.\nYou can either connect to a local develop relay server or use publicly available ones.\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n\n// Instance using a relay connected to the Laika Testnet\nconst laika = new TLNetwork({\n  relayUrl: {\n    protocol: 'https',\n    port: '80',\n    host: 'relay0.testnet.trustlines.network',\n    path: '/api/v1'\n  },\n  messagingUrl: {\n    protocol: 'https',\n    port: '80',\n    host: 'relay0.testnet.trustlines.network',\n    path: '/api/v1'\n  }\n\n  // ...\n})\n\n// Instance using a relay connected to the TLBC\nconst tlbc = new TLNetwork({\n  relayUrl: 'https://tlbc.relay.anyblock.tools/api/v1',\n  messagingUrl: 'https://messaging.trustlines.app/api/v1'\n  // ...\n})\n```\n\n### Example usage\n\nThis library is a promise-based library.\nSo every asynchronous call will return a native JavaScript promise.\nIf an error occurs the library will throw it.\nThe caller has to handle it appropriately.\n\n```javascript\ntry {\n  const networks = await laika.currencyNetwork.getAll()\n} catch (error) {\n  console.log('Caught error:', error)\n}\n```\n\n### Read our [documentation]() for more\n\n## Run Tests\n\n```bash\n# All tests\nyarn test\n\n# Unit tests\nyarn test:unit\n\n# Integration tests\nyarn test:integration\n\n# end2end tests\nyarn test:e2e\n```\n\n### Note on end2end tests\n\nYou have to have all components of the trustlines protocol running.\nA convenient way to achieve this is by using our [end2end](https://github.com/trustlines-protocol/end2end) setup.\n\n## Documentation\n\nYou can find the documentation for the trustlines-clientlib [here](https://dev.trustlines.network/docs/clientlib/clientlib.html).\nThe underlying markdown files of the documentation can be found in this repository under the `./docs` directory.\nTo generate the [typedoc](https://typedoc.org/) API reference documentation for this library run `yarn doc`.\n\n## Running injected web3 example\n\nTo run the example make sure to have [MetaMask](https://metamask.io/) installed and connected to a JSON RPC.\n\n```bash\nyarn serve\n```\n\nThis serves the injected web3 example app on `http://127.0.0.1:8080`. You can find the app under `./examples/injected-web3`.\n\n## Change log\n\nSee [CHANGELOG](./CHANGELOG.md)\n","readmeFilename":"README.md","gitHead":"7bdf458d809cca47644e2c551fba1fb8b240f99d","_id":"trustlines-clientlib@0.12.2-0-dev.20200504T221028Z.7bdf458","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"trustlines-deploy","email":"bernd@brainbot.com"},"dist":{"integrity":"sha512-iNt9B7HJwk5G2n8q3/pAVWAdWgVRFciMOICLEItc0Pgwg5s09lot9h70Pkdho6YivZNkgX6Bzc5E20fLyaZNUQ==","shasum":"91377b7a2848e85c59435cd9bc8be75582cef477","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.12.2-0-dev.20200504T221028Z.7bdf458.tgz","fileCount":75,"unpackedSize":506009,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJesJV5CRA9TVsSAnZWagAAJlkP/0zE+JncTizSotr0Oh8Y\nafpKP5Vq+tztOn4honAOB/MCoGLSYqv1fsZ8ZTk8Nfqm1Ti1IZAl5c2eQXEg\nfPJxI747nra9Div1rDM/ZTRQ4R2myqSSi1B1BedNg8dmwzC13VsIZf7q7LWI\n5t87Ujohom8o4kcT31X+1/uoDwuWFSxlulpg8sz+n7dOGngagbWfDHuv5Yp0\nClmhdxjculBpcn2oZ4S2BtGmj+cEzYpi3bdiHI3U+emlBEcCbaCwlmROOxtb\nWc8kfOnjAcJB8KLJLMJntGs/yeCZfZcDuiRCnup0vzNTJt3had5K1o13SLd9\nyT7RL7AKodNEzo/h4SW8Eofm42U1eg7QacgWjam/Uk8uauZJwOllC+xivRlw\nazjdOaHZAOC1LuGin8oaHrM8ReT/ZWAcvF/Y5/Y5OFSc/U/4DZdadchf3PyN\nv5CslzC30enbznK28XofmV1Ftk15JyTh9SF/dzilOQF/LoSTimvUWTMHOQjS\nmTse8HcdcOb/J5lGmLkMxFwaRZSlERpwrX8H6ON5a6l+zxfWJ7jU19nCyaau\n1oNy+shdaU+sqm/pbYXgiOyjU76lZAnYgtvxBZvaQYAGIJkv723uShsrRlWZ\nORtz3Dc+IjxVYlS8g6Id7x+ZArr4LXGXd+hhc7b73tgfpI8Gy9XGpE3J9Z4k\nQOPg\r\n=qWyM\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGlt4aOhE22x7kEBUa3OsyQtO/5DrT+4eyYKJv9kWfIpAiAqWwOmu5/ptzORJsfXbfubHMqoWfr9FwFjddpQcMqyNA=="}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"},{"email":"bernd@brainbot.com","name":"trustlines-deploy"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.12.2-0-dev.20200504T221028Z.7bdf458_1588630904826_0.4881463618067312"},"_hasShrinkwrap":false},"0.12.2-0-dev.20200504T225943Z.eb26d38":{"name":"trustlines-clientlib","version":"0.12.2-0-dev.20200504T225943Z.eb26d38","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"typedoc --options tdconfig.json","lint":"tslint -c tslint.json './src/**/**.ts' './tests/**/**.ts'","prettier":"prettier --write './{src,tests}/**/*.ts'","prettier:check":"prettier --check './{src,tests}/**/*.ts'","prettier:big-tabs":"prettier --write --print-width 120 --no-semi --single-quote --tab-width 4  './{src,tests}/**/*.ts'","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","coverage":"nyc report --reporter=text-lcov > coverage.lcov && codecov","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump":"./bump.sh","serve":"webpack && cp -r ./_bundles ./examples/injected-web3 && http-server ./examples/injected-web3"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{ts,js,json,css,md}":["prettier --write","git add"],"*.ts":["tslint -c tslint.json --fix","git add"]},"nyc":{"extension":[".ts"],"include":["src"],"reporter":["text"],"all":true},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.17.21","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","codecov":"^3.5.0","es6-promise":"^4.1.1","fetch-mock":"^7.2.5","fluid-publish":"^2.2.0","http-server":"^0.11.1","husky":"^2.4.0","isomorphic-fetch":"^2.2.1","lint-staged":"^8.2.0","mocha":"^5.2.0","nyc":"^14.1.0","prettier":"^1.15.2","ts-node":"^7.0.0","tslint":"^5.17.0","tslint-config-prettier":"^1.18.0","typedoc":"^0.16.9","types-ethereumjs-util":"0.0.8","typescript":"^3.0.0","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"@msgpack/msgpack":"^1.12.1","bignumber.js":"7.2.1","ethereumjs-util":"^5.2.0","ethers":"^4.0.23","reconnecting-websocket":"^4.1.10","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","trustlines-contracts-abi":"dev","typedoc-plugin-markdown":"^2.2.16","ws":"^6.2.1"},"readme":"# Trustlines Clientlib\n\n[![npm](https://img.shields.io/npm/v/trustlines-clientlib.svg)](https://www.npmjs.com/package/trustlines-clientlib)\n[![CircleCI branch](https://img.shields.io/circleci/project/github/trustlines-protocol/clientlib/master.svg)](https://circleci.com/gh/trustlines-protocol/clientlib)\n[![Codecov branch](https://img.shields.io/codecov/c/github/trustlines-protocol/clientlib/master.svg)](https://codecov.io/gh/trustlines-protocol/clientlib)\n\nA TypeScript/JavaScript library for interacting with the [Trustlines Network Protocol](https://trustlines.network/).\n\n## Installation\n\n### Install via package manager\n\nWe publish the trustlines-clientlib to npm as a ES6 module.\n\n#### Using npm\n\n```bash\n$ npm i trustlines-clientlib\n```\n\n#### Using yarn\n\n```bash\n$ yarn add trustlines-clientlib\n```\n\n### Build from source\n\nIf you want to build the library from source run\n\n```bash\ngit clone git@github.com:trustlines-protocol/clientlib.git\ncd clientlib\nyarn && yarn build\n```\n\nThis will create three different builds:\n\n- ES6 module in `./lib-esm`\n- CommonJS module in `./lib`\n- Bundled JS injectable into browser in `./_bundles`\n\n## Get started\n\nWe assume the usage of the `trustlines-clientlib` ES6 module in the following.\n\n### Configuration\n\nTo start using the trustlines-clientlib you first have to configure the [relay server](https://github.com/trustlines-protocol/relay) you want to connect to.\nYou can either connect to a local develop relay server or use publicly available ones.\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n\n// Instance using a relay connected to the Laika Testnet\nconst laika = new TLNetwork({\n  relayUrl: {\n    protocol: 'https',\n    port: '80',\n    host: 'relay0.testnet.trustlines.network',\n    path: '/api/v1'\n  },\n  messagingUrl: {\n    protocol: 'https',\n    port: '80',\n    host: 'relay0.testnet.trustlines.network',\n    path: '/api/v1'\n  }\n\n  // ...\n})\n\n// Instance using a relay connected to the TLBC\nconst tlbc = new TLNetwork({\n  relayUrl: 'https://tlbc.relay.anyblock.tools/api/v1',\n  messagingUrl: 'https://messaging.trustlines.app/api/v1'\n  // ...\n})\n```\n\n### Example usage\n\nThis library is a promise-based library.\nSo every asynchronous call will return a native JavaScript promise.\nIf an error occurs the library will throw it.\nThe caller has to handle it appropriately.\n\n```javascript\ntry {\n  const networks = await laika.currencyNetwork.getAll()\n} catch (error) {\n  console.log('Caught error:', error)\n}\n```\n\n### Read our [documentation]() for more\n\n## Run Tests\n\n```bash\n# All tests\nyarn test\n\n# Unit tests\nyarn test:unit\n\n# Integration tests\nyarn test:integration\n\n# end2end tests\nyarn test:e2e\n```\n\n### Note on end2end tests\n\nYou have to have all components of the trustlines protocol running.\nA convenient way to achieve this is by using our [end2end](https://github.com/trustlines-protocol/end2end) setup.\n\n## Documentation\n\nYou can find the documentation for the trustlines-clientlib [here](https://dev.trustlines.network/docs/clientlib/clientlib.html).\nThe underlying markdown files of the documentation can be found in this repository under the `./docs` directory.\nTo generate the [typedoc](https://typedoc.org/) API reference documentation for this library run `yarn doc`.\n\n## Running injected web3 example\n\nTo run the example make sure to have [MetaMask](https://metamask.io/) installed and connected to a JSON RPC.\n\n```bash\nyarn serve\n```\n\nThis serves the injected web3 example app on `http://127.0.0.1:8080`. You can find the app under `./examples/injected-web3`.\n\n## Change log\n\nSee [CHANGELOG](./CHANGELOG.md)\n","readmeFilename":"README.md","gitHead":"eb26d38fd78836c2c14161e88ed2f5ee6cd5be46","_id":"trustlines-clientlib@0.12.2-0-dev.20200504T225943Z.eb26d38","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"trustlines-deploy","email":"bernd@brainbot.com"},"dist":{"integrity":"sha512-d9n8Rw/zoaEXQrnN+3WXGC+SlYmKaWYO1vj8tu9waPkJE/UjKC+W/FqXcqm/taPjkO5HndB8cMUK+BTZJ/A4wg==","shasum":"ddbb22dc1d3a9eb0206e7b3bd0fc96cd05192b40","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.12.2-0-dev.20200504T225943Z.eb26d38.tgz","fileCount":75,"unpackedSize":509395,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJesKD2CRA9TVsSAnZWagAAtXcP/RjgslTpY+8oZae1ztaq\nk2SEQSJDJ7qaOwmxlyR1QphalK2u8k8K6FbrjWlK06YiX/tDJpRd1oIciPkD\nXJZ92gciXokU1Wt71kkOSF4Rcm0IvMra55/FH2Y7RoEGxTbJ17m7yFEJBuMd\no7Lx5QPpYgVZ4Rle7rW5Baa/nLec7j0CLPU6txnmmK5iWo7NZIKIjd+iy15K\n8BM4sTPfO8R4FfbGx2UAWaHW+ijZ63MMMpq8DRBLji/zLhP0WE96m8JTGJgK\n+7CFMbi/dvC2J7joH4EjeNOze+5FBlz6g0mS/48AZ1tt2CzfeoMzavnGKG9D\nfAQGhAPP35ygk3TlxA+LK1ETkeSS137tRAjtIxT77uj/YGal+6h8nCzlkCEd\nVSD7H/4FoNhkRP3xyInt27pznSFMv4QItL02tV15XT+YeNl8ErlWQ3+REUrI\nSW/eYQXQjti5oJfaTJ8fKfhHPnIR0YiWe9LqBh7nb4+Lw/W9ONLWWHKTzWGI\nTKnkY9qvtxwsXGPnRwEgzikqiI6QRx5BPTcNQurHs7kgUT35PKNTAoisps2C\n8CEuej2+U8ZRI29EcfstS0YqjKyf/+j5W63Q52icNta0WEtlf/plwTMslzzP\nHPEql+3fCqrKceCvTGEQ/KslLNbGYga/rV/Q62YM9BE5OD0wTiPrD2rCkwWh\n5gtp\r\n=vgQZ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEEnZGVVb23ZPep1E+24OsesTGM1pl0x9pYM+wSslV0qAiEAvF47nesq36fQl8RnvrPuoVwGAaq3HXAHxP+0zUEKEws="}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"},{"email":"bernd@brainbot.com","name":"trustlines-deploy"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.12.2-0-dev.20200504T225943Z.eb26d38_1588633846324_0.6560386551655555"},"_hasShrinkwrap":false},"0.12.2-0-dev.20200505T134809Z.29a775f":{"name":"trustlines-clientlib","version":"0.12.2-0-dev.20200505T134809Z.29a775f","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"typedoc --options tdconfig.json","lint":"tslint -c tslint.json './src/**/**.ts' './tests/**/**.ts'","prettier":"prettier --write './{src,tests}/**/*.ts'","prettier:check":"prettier --check './{src,tests}/**/*.ts'","prettier:big-tabs":"prettier --write --print-width 120 --no-semi --single-quote --tab-width 4  './{src,tests}/**/*.ts'","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","coverage":"nyc report --reporter=text-lcov > coverage.lcov && codecov","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump":"./bump.sh","serve":"webpack && cp -r ./_bundles ./examples/injected-web3 && http-server ./examples/injected-web3"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{ts,js,json,css,md}":["prettier --write","git add"],"*.ts":["tslint -c tslint.json --fix","git add"]},"nyc":{"extension":[".ts"],"include":["src"],"reporter":["text"],"all":true},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.17.21","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","codecov":"^3.5.0","es6-promise":"^4.1.1","fetch-mock":"^7.2.5","fluid-publish":"^2.2.0","http-server":"^0.11.1","husky":"^2.4.0","isomorphic-fetch":"^2.2.1","lint-staged":"^8.2.0","mocha":"^5.2.0","nyc":"^14.1.0","prettier":"^1.15.2","ts-node":"^7.0.0","tslint":"^5.17.0","tslint-config-prettier":"^1.18.0","typedoc":"^0.16.9","types-ethereumjs-util":"0.0.8","typescript":"^3.0.0","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"@msgpack/msgpack":"^1.12.1","bignumber.js":"7.2.1","ethereumjs-util":"^5.2.0","ethers":"^4.0.23","reconnecting-websocket":"^4.1.10","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","trustlines-contracts-abi":"dev","typedoc-plugin-markdown":"^2.2.16","ws":"^6.2.1"},"readme":"# Trustlines Clientlib\n\n[![npm](https://img.shields.io/npm/v/trustlines-clientlib.svg)](https://www.npmjs.com/package/trustlines-clientlib)\n[![CircleCI branch](https://img.shields.io/circleci/project/github/trustlines-protocol/clientlib/master.svg)](https://circleci.com/gh/trustlines-protocol/clientlib)\n[![Codecov branch](https://img.shields.io/codecov/c/github/trustlines-protocol/clientlib/master.svg)](https://codecov.io/gh/trustlines-protocol/clientlib)\n\nA TypeScript/JavaScript library for interacting with the [Trustlines Network Protocol](https://trustlines.network/).\n\n## Installation\n\n### Install via package manager\n\nWe publish the trustlines-clientlib to npm as a ES6 module.\n\n#### Using npm\n\n```bash\n$ npm i trustlines-clientlib\n```\n\n#### Using yarn\n\n```bash\n$ yarn add trustlines-clientlib\n```\n\n### Build from source\n\nIf you want to build the library from source run\n\n```bash\ngit clone git@github.com:trustlines-protocol/clientlib.git\ncd clientlib\nyarn && yarn build\n```\n\nThis will create three different builds:\n\n- ES6 module in `./lib-esm`\n- CommonJS module in `./lib`\n- Bundled JS injectable into browser in `./_bundles`\n\n## Get started\n\nWe assume the usage of the `trustlines-clientlib` ES6 module in the following.\n\n### Configuration\n\nTo start using the trustlines-clientlib you first have to configure the [relay server](https://github.com/trustlines-protocol/relay) you want to connect to.\nYou can either connect to a local develop relay server or use publicly available ones.\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n\n// Instance using a relay connected to the Laika Testnet\nconst laika = new TLNetwork({\n  relayUrl: {\n    protocol: 'https',\n    port: '80',\n    host: 'relay0.testnet.trustlines.network',\n    path: '/api/v1'\n  },\n  messagingUrl: {\n    protocol: 'https',\n    port: '80',\n    host: 'relay0.testnet.trustlines.network',\n    path: '/api/v1'\n  }\n\n  // ...\n})\n\n// Instance using a relay connected to the TLBC\nconst tlbc = new TLNetwork({\n  relayUrl: 'https://tlbc.relay.anyblock.tools/api/v1',\n  messagingUrl: 'https://messaging.trustlines.app/api/v1'\n  // ...\n})\n```\n\n### Example usage\n\nThis library is a promise-based library.\nSo every asynchronous call will return a native JavaScript promise.\nIf an error occurs the library will throw it.\nThe caller has to handle it appropriately.\n\n```javascript\ntry {\n  const networks = await laika.currencyNetwork.getAll()\n} catch (error) {\n  console.log('Caught error:', error)\n}\n```\n\n### Read our [documentation]() for more\n\n## Run Tests\n\n```bash\n# All tests\nyarn test\n\n# Unit tests\nyarn test:unit\n\n# Integration tests\nyarn test:integration\n\n# end2end tests\nyarn test:e2e\n```\n\n### Note on end2end tests\n\nYou have to have all components of the trustlines protocol running.\nA convenient way to achieve this is by using our [end2end](https://github.com/trustlines-protocol/end2end) setup.\n\n## Documentation\n\nYou can find the documentation for the trustlines-clientlib [here](https://dev.trustlines.network/docs/clientlib/clientlib.html).\nThe underlying markdown files of the documentation can be found in this repository under the `./docs` directory.\nTo generate the [typedoc](https://typedoc.org/) API reference documentation for this library run `yarn doc`.\n\n## Running injected web3 example\n\nTo run the example make sure to have [MetaMask](https://metamask.io/) installed and connected to a JSON RPC.\n\n```bash\nyarn serve\n```\n\nThis serves the injected web3 example app on `http://127.0.0.1:8080`. You can find the app under `./examples/injected-web3`.\n\n## Change log\n\nSee [CHANGELOG](./CHANGELOG.md)\n","readmeFilename":"README.md","gitHead":"29a775f83e830d01485b0ce71ebff7141a29d517","_id":"trustlines-clientlib@0.12.2-0-dev.20200505T134809Z.29a775f","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"trustlines-deploy","email":"bernd@brainbot.com"},"dist":{"integrity":"sha512-q0Yj9OhabHU8WrQSmAEbDrMMY7UhkRBmmpVsotlAdJo4E2v6rkTWLbZzmRh+vKYIDIgYaj0Igcvw5eLzlWkbIA==","shasum":"e73ba150bf143c48a3fe4b31885c6bfdab71bb57","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.12.2-0-dev.20200505T134809Z.29a775f.tgz","fileCount":75,"unpackedSize":509888,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJesXEqCRA9TVsSAnZWagAA3XoP/0BTZwrqnL7ywN4SqhRs\nsocVXXOwZTsf2Qw6BBxQUJ6tl8Lh3Jp29lYuZ8KP4Y6tqQZn9LircgQIhKnW\ncpY1JCqfj/LtVpCVCMcVES14NRj7bQthRzzYiefY16sMtnZ7BR+AfNA1nxqc\ncASjBGXk860GIhCK8+DaO7NUf6knNfSmEj5PPx36Bp0KAp4eKQ4bUYvG/UOF\nAvGntkrWLXXZNcwejTqLC+zGxy2BAnajWrx6xatnsvoniKbjVxVFJagO84pr\nXxA91yUx0Fu0SIU4q0of/WeqfXnnlJuzULHqPWCvKyPkKpE38XYWRqt9C9pm\nfWlruSAg1UrtDzgiwCmUqn5fytHS9pz/7bTsySWI5gnACuO1xTJatojvWeog\n27U2ZB0hWtpdHXNNbmPedaaoxKNigGqtcTjw8mFfg/xLs93FpElKwTAHP2Hh\nMnjCmTnfEze3csD5PdWp8X87ki9cFl4paMST7kVdOROC7SBfpjFCsWL4oEu+\nGhTDpnEVLog4r1ugcUxGG12R+qyKHnYplUzAt/VTb1RvFReC3k7hxqd3hi1l\nPmUDtGJAuB0B0ih95DOd0dNmCY0udo6OmyDJn/sn4Lex6mWMx9DJRsoaPjsH\nv0rfnc9csbsm7Q1TMH0Y9BQxi4zaQnEgDjBR0jv9lwSlIMdd0w5MxNa2TTkV\ngtYJ\r\n=IHbe\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCBBMHWoR0ONAZElN41qwEvMPCgGwPweNXLvi+ayO0nIAIgGhFT2hUCi1s6mU8zT+ZxeU2KMTGMydy+2lFQhXIkOOc="}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"},{"email":"bernd@brainbot.com","name":"trustlines-deploy"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.12.2-0-dev.20200505T134809Z.29a775f_1588687146202_0.5267835742472806"},"_hasShrinkwrap":false},"0.12.2-0-dev.20200505T154159Z.9ba2f79":{"name":"trustlines-clientlib","version":"0.12.2-0-dev.20200505T154159Z.9ba2f79","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"typedoc --options tdconfig.json","lint":"tslint -c tslint.json './src/**/**.ts' './tests/**/**.ts'","prettier":"prettier --write './{src,tests}/**/*.ts'","prettier:check":"prettier --check './{src,tests}/**/*.ts'","prettier:big-tabs":"prettier --write --print-width 120 --no-semi --single-quote --tab-width 4  './{src,tests}/**/*.ts'","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","coverage":"nyc report --reporter=text-lcov > coverage.lcov && codecov","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump":"./bump.sh","serve":"webpack && cp -r ./_bundles ./examples/injected-web3 && http-server ./examples/injected-web3"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{ts,js,json,css,md}":["prettier --write","git add"],"*.ts":["tslint -c tslint.json --fix","git add"]},"nyc":{"extension":[".ts"],"include":["src"],"reporter":["text"],"all":true},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.17.21","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","codecov":"^3.5.0","es6-promise":"^4.1.1","fetch-mock":"^7.2.5","fluid-publish":"^2.2.0","http-server":"^0.11.1","husky":"^2.4.0","isomorphic-fetch":"^2.2.1","lint-staged":"^8.2.0","mocha":"^5.2.0","nyc":"^14.1.0","prettier":"^1.15.2","ts-node":"^7.0.0","tslint":"^5.17.0","tslint-config-prettier":"^1.18.0","typedoc":"^0.16.9","types-ethereumjs-util":"0.0.8","typescript":"^3.0.0","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"@msgpack/msgpack":"^1.12.1","bignumber.js":"7.2.1","ethereumjs-util":"^5.2.0","ethers":"^4.0.23","reconnecting-websocket":"^4.1.10","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","trustlines-contracts-abi":"dev","typedoc-plugin-markdown":"^2.2.16","ws":"^6.2.1"},"readme":"# Trustlines Clientlib\n\n[![npm](https://img.shields.io/npm/v/trustlines-clientlib.svg)](https://www.npmjs.com/package/trustlines-clientlib)\n[![CircleCI branch](https://img.shields.io/circleci/project/github/trustlines-protocol/clientlib/master.svg)](https://circleci.com/gh/trustlines-protocol/clientlib)\n[![Codecov branch](https://img.shields.io/codecov/c/github/trustlines-protocol/clientlib/master.svg)](https://codecov.io/gh/trustlines-protocol/clientlib)\n\nA TypeScript/JavaScript library for interacting with the [Trustlines Network Protocol](https://trustlines.network/).\n\n## Installation\n\n### Install via package manager\n\nWe publish the trustlines-clientlib to npm as a ES6 module.\n\n#### Using npm\n\n```bash\n$ npm i trustlines-clientlib\n```\n\n#### Using yarn\n\n```bash\n$ yarn add trustlines-clientlib\n```\n\n### Build from source\n\nIf you want to build the library from source run\n\n```bash\ngit clone git@github.com:trustlines-protocol/clientlib.git\ncd clientlib\nyarn && yarn build\n```\n\nThis will create three different builds:\n\n- ES6 module in `./lib-esm`\n- CommonJS module in `./lib`\n- Bundled JS injectable into browser in `./_bundles`\n\n## Get started\n\nWe assume the usage of the `trustlines-clientlib` ES6 module in the following.\n\n### Configuration\n\nTo start using the trustlines-clientlib you first have to configure the [relay server](https://github.com/trustlines-protocol/relay) you want to connect to.\nYou can either connect to a local develop relay server or use publicly available ones.\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n\n// Instance using a relay connected to the Laika Testnet\nconst laika = new TLNetwork({\n  relayUrl: {\n    protocol: 'https',\n    port: '80',\n    host: 'relay0.testnet.trustlines.network',\n    path: '/api/v1'\n  },\n  messagingUrl: {\n    protocol: 'https',\n    port: '80',\n    host: 'relay0.testnet.trustlines.network',\n    path: '/api/v1'\n  }\n\n  // ...\n})\n\n// Instance using a relay connected to the TLBC\nconst tlbc = new TLNetwork({\n  relayUrl: 'https://tlbc.relay.anyblock.tools/api/v1',\n  messagingUrl: 'https://messaging.trustlines.app/api/v1'\n  // ...\n})\n```\n\n### Example usage\n\nThis library is a promise-based library.\nSo every asynchronous call will return a native JavaScript promise.\nIf an error occurs the library will throw it.\nThe caller has to handle it appropriately.\n\n```javascript\ntry {\n  const networks = await laika.currencyNetwork.getAll()\n} catch (error) {\n  console.log('Caught error:', error)\n}\n```\n\n### Read our [documentation]() for more\n\n## Run Tests\n\n```bash\n# All tests\nyarn test\n\n# Unit tests\nyarn test:unit\n\n# Integration tests\nyarn test:integration\n\n# end2end tests\nyarn test:e2e\n```\n\n### Note on end2end tests\n\nYou have to have all components of the trustlines protocol running.\nA convenient way to achieve this is by using our [end2end](https://github.com/trustlines-protocol/end2end) setup.\n\n## Documentation\n\nYou can find the documentation for the trustlines-clientlib [here](https://dev.trustlines.network/docs/clientlib/clientlib.html).\nThe underlying markdown files of the documentation can be found in this repository under the `./docs` directory.\nTo generate the [typedoc](https://typedoc.org/) API reference documentation for this library run `yarn doc`.\n\n## Running injected web3 example\n\nTo run the example make sure to have [MetaMask](https://metamask.io/) installed and connected to a JSON RPC.\n\n```bash\nyarn serve\n```\n\nThis serves the injected web3 example app on `http://127.0.0.1:8080`. You can find the app under `./examples/injected-web3`.\n\n## Change log\n\nSee [CHANGELOG](./CHANGELOG.md)\n","readmeFilename":"README.md","gitHead":"9ba2f79755a72725851d800739298c32b51ebc43","_id":"trustlines-clientlib@0.12.2-0-dev.20200505T154159Z.9ba2f79","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"trustlines-deploy","email":"bernd@brainbot.com"},"dist":{"integrity":"sha512-AkqAQfj42WobAXum6wgfg44KtXGUEU24xQ7BRaPZh6VcDYc7Ocw294uAfEs2EgTHZNq2I0aCwP39hzYX/IHx4A==","shasum":"3e617c6639537047c632fc704e7db43d7215b74a","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.12.2-0-dev.20200505T154159Z.9ba2f79.tgz","fileCount":75,"unpackedSize":510586,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJesYwJCRA9TVsSAnZWagAAkhEP/1Yp2Ogyd6+4/Zni9Ai4\nRpImiqs03oXL1gxCu0TtleAWjzTSxiPEmiPEh9I9NisKVLhlWOG315ZQrr0s\njeNg5MIB2m64K3LwBGKD/X1Azvem7OqC84/pmn3uW5ZHrwdt4XmrQN5rtGgi\nQ31VwxpTi17+Y5cOn81ZiOt2hxDQD2705lP4T6WoJ1t1Qad2qKUAht+4MtVA\nGZHdiC310ka+wNenwgke0mSPiSl1NfWG+49ixA3rHUF2jrZ5v3BnAQE2BNKg\nd6LM+mfMt1cYYsDco6PsqXjVKz/47EOUesnwpopkMZDM5cQxYRo+tCyrjms/\nASagqC4PZyFd5YIJ8DodZLUZzLYuqGOJ6tc9E7Pw1OzgP1imjROL6MGh2nVI\nqPQyJz4a8NL9kmioKXLzQpyU8VRCfpNaQiuFbOhx4IZWdkJljdqUZb9uyxBw\n0s99okjWvMkK56fVtVbB8As7uaOPG8iGm2i5LdQpQemy38e30scsDUo3Yphb\nuEWJNUDqCB5VkF7GzfwPQ9S+C2w3Ziy4EkFgaqlvpvJiwyLLpQ6JpNOeNcqF\nAPuDiRk/udud2vxFwpZqxWDXzlZpHVh4oTm8Et0AbuzhTpbrkKSUc4m5evAq\ncFdo/fTN1TxO9qMvVsZqAzYPvZEFfVcfm6IItT5WsHEtxvDwMlc+M2zxIcCg\nB8Wn\r\n=NxZ1\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCmBgos3LiFffziPV7+gqm5Q/iYwtpGhqsJbG+XLSRzFwIhAMzEIaLiemxN3I3hoBBgWHWpgQ/xbzkMmqp9563lYZbn"}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"},{"email":"bernd@brainbot.com","name":"trustlines-deploy"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.12.2-0-dev.20200505T154159Z.9ba2f79_1588694024831_0.6805784387621219"},"_hasShrinkwrap":false},"0.12.2-0-dev.20200505T170216Z.76e31e5":{"name":"trustlines-clientlib","version":"0.12.2-0-dev.20200505T170216Z.76e31e5","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"typedoc --options tdconfig.json","lint":"tslint -c tslint.json './src/**/**.ts' './tests/**/**.ts'","prettier":"prettier --write './{src,tests}/**/*.ts'","prettier:check":"prettier --check './{src,tests}/**/*.ts'","prettier:big-tabs":"prettier --write --print-width 120 --no-semi --single-quote --tab-width 4  './{src,tests}/**/*.ts'","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","coverage":"nyc report --reporter=text-lcov > coverage.lcov && codecov","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump":"./bump.sh","serve":"webpack && cp -r ./_bundles ./examples/injected-web3 && http-server ./examples/injected-web3"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{ts,js,json,css,md}":["prettier --write","git add"],"*.ts":["tslint -c tslint.json --fix","git add"]},"nyc":{"extension":[".ts"],"include":["src"],"reporter":["text"],"all":true},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.17.21","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","codecov":"^3.5.0","es6-promise":"^4.1.1","fetch-mock":"^7.2.5","fluid-publish":"^2.2.0","http-server":"^0.11.1","husky":"^2.4.0","isomorphic-fetch":"^2.2.1","lint-staged":"^8.2.0","mocha":"^5.2.0","nyc":"^14.1.0","prettier":"^1.15.2","ts-node":"^7.0.0","tslint":"^5.17.0","tslint-config-prettier":"^1.18.0","typedoc":"^0.16.9","types-ethereumjs-util":"0.0.8","typescript":"^3.0.0","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"@msgpack/msgpack":"^1.12.1","bignumber.js":"7.2.1","ethereumjs-util":"^5.2.0","ethers":"^4.0.23","reconnecting-websocket":"^4.1.10","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","trustlines-contracts-abi":"dev","typedoc-plugin-markdown":"^2.2.16","ws":"^6.2.1"},"readme":"# Trustlines Clientlib\n\n[![npm](https://img.shields.io/npm/v/trustlines-clientlib.svg)](https://www.npmjs.com/package/trustlines-clientlib)\n[![CircleCI branch](https://img.shields.io/circleci/project/github/trustlines-protocol/clientlib/master.svg)](https://circleci.com/gh/trustlines-protocol/clientlib)\n[![Codecov branch](https://img.shields.io/codecov/c/github/trustlines-protocol/clientlib/master.svg)](https://codecov.io/gh/trustlines-protocol/clientlib)\n\nA TypeScript/JavaScript library for interacting with the [Trustlines Network Protocol](https://trustlines.network/).\n\n## Installation\n\n### Install via package manager\n\nWe publish the trustlines-clientlib to npm as a ES6 module.\n\n#### Using npm\n\n```bash\n$ npm i trustlines-clientlib\n```\n\n#### Using yarn\n\n```bash\n$ yarn add trustlines-clientlib\n```\n\n### Build from source\n\nIf you want to build the library from source run\n\n```bash\ngit clone git@github.com:trustlines-protocol/clientlib.git\ncd clientlib\nyarn && yarn build\n```\n\nThis will create three different builds:\n\n- ES6 module in `./lib-esm`\n- CommonJS module in `./lib`\n- Bundled JS injectable into browser in `./_bundles`\n\n## Get started\n\nWe assume the usage of the `trustlines-clientlib` ES6 module in the following.\n\n### Configuration\n\nTo start using the trustlines-clientlib you first have to configure the [relay server](https://github.com/trustlines-protocol/relay) you want to connect to.\nYou can either connect to a local develop relay server or use publicly available ones.\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n\n// Instance using a relay connected to the Laika Testnet\nconst laika = new TLNetwork({\n  relayUrl: {\n    protocol: 'https',\n    port: '80',\n    host: 'relay0.testnet.trustlines.network',\n    path: '/api/v1'\n  },\n  messagingUrl: {\n    protocol: 'https',\n    port: '80',\n    host: 'relay0.testnet.trustlines.network',\n    path: '/api/v1'\n  }\n\n  // ...\n})\n\n// Instance using a relay connected to the TLBC\nconst tlbc = new TLNetwork({\n  relayUrl: 'https://tlbc.relay.anyblock.tools/api/v1',\n  messagingUrl: 'https://messaging.trustlines.app/api/v1'\n  // ...\n})\n```\n\n### Example usage\n\nThis library is a promise-based library.\nSo every asynchronous call will return a native JavaScript promise.\nIf an error occurs the library will throw it.\nThe caller has to handle it appropriately.\n\n```javascript\ntry {\n  const networks = await laika.currencyNetwork.getAll()\n} catch (error) {\n  console.log('Caught error:', error)\n}\n```\n\n### Read our [documentation]() for more\n\n## Run Tests\n\n```bash\n# All tests\nyarn test\n\n# Unit tests\nyarn test:unit\n\n# Integration tests\nyarn test:integration\n\n# end2end tests\nyarn test:e2e\n```\n\n### Note on end2end tests\n\nYou have to have all components of the trustlines protocol running.\nA convenient way to achieve this is by using our [end2end](https://github.com/trustlines-protocol/end2end) setup.\n\n## Documentation\n\nYou can find the documentation for the trustlines-clientlib [here](https://dev.trustlines.network/docs/clientlib/clientlib.html).\nThe underlying markdown files of the documentation can be found in this repository under the `./docs` directory.\nTo generate the [typedoc](https://typedoc.org/) API reference documentation for this library run `yarn doc`.\n\n## Running injected web3 example\n\nTo run the example make sure to have [MetaMask](https://metamask.io/) installed and connected to a JSON RPC.\n\n```bash\nyarn serve\n```\n\nThis serves the injected web3 example app on `http://127.0.0.1:8080`. You can find the app under `./examples/injected-web3`.\n\n## Change log\n\nSee [CHANGELOG](./CHANGELOG.md)\n","readmeFilename":"README.md","gitHead":"76e31e5c0359b5efbf82ed8c64b212bee6476483","_id":"trustlines-clientlib@0.12.2-0-dev.20200505T170216Z.76e31e5","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"trustlines-deploy","email":"bernd@brainbot.com"},"dist":{"integrity":"sha512-/Q1S7gH8CoC1BZTn2SiHjJV//PvKQ1CQQrUPYL1hdDkANSGqzNSD1qrCIsq3hBIMUXz4gi2eZqnZHyXuCRyIow==","shasum":"1f3f0fa4e9e963466edbcd5da6489c1fded09ddd","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.12.2-0-dev.20200505T170216Z.76e31e5.tgz","fileCount":75,"unpackedSize":510689,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJesZ7CCRA9TVsSAnZWagAA8mEP/RNmr1KBWhN35F6pieHv\nbPOZV/ymDXHhW5o4H1DaEDqDM9BNE3SfIcXip8+5i7GVv4W0V3P/rVJz1SVJ\n6BY2ZJrkIojP1UbiIRoW6dUd3uufqakxZlPqJ/bj384qzmq6j1kv4AMh3XDx\nHcpfhZCtDSJ8WvQaf9V9eEZUtM9Cc3Izh2CVLo3+yHxDp3fH8VOF4uekAqkW\nnT7Uroxy+zGBsqrnoFkU9ybr2a2X9bBXKzzcRP91xxIqLaYyHbP6ShdsLT3n\nWlyp0IpKlzrd7sE/xo9HDZoDp2eZzenPfNHuYCzu2sxJUbCR3dshvVBRfOyE\n923f86mHVrxFi7AR1w/FF63MKuufqc+sjqQaGH+QttIY7DzkQRCmegEr1cIz\nvIPa6azoyHq1IdRB40ExAQQ1rpcWEXOJ4yH9YG7CO3zRyAs3wy6gd5iiCcjB\ngldAoJWYo2m8cFWISidhR+OsgS20w8sVfg4gFH4b2qbv/hWJ4Nweip/ZghVQ\n50uPp5cufm9X/hjrwJSOgy5X71Jni5/NBCywi5/FqyrlDLCLA7toF/CvxtVS\nZPHXgt7NtgtwBBLFoTnUeecCAQqNc6Xlya3+lFCkUWjOxkYySlBxFYkgHAcW\nRXEHnvziDdF9c74TpuQBdvVhpdGx+rotVprxor92cFZnEHgYZEq4HaBR3l8m\ns3+6\r\n=+YqD\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGQnMjrrdPe+e4X+19X/aRVjxbcs44N0U6TClFGV9iktAiB34PG0lYztOkeYiWHqQZdd0PMGZGrjddIc0B/vbLAfvg=="}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"},{"email":"bernd@brainbot.com","name":"trustlines-deploy"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.12.2-0-dev.20200505T170216Z.76e31e5_1588698818029_0.33739271426581663"},"_hasShrinkwrap":false},"0.12.2-0-dev.20200511T083150Z.73664e1":{"name":"trustlines-clientlib","version":"0.12.2-0-dev.20200511T083150Z.73664e1","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"typedoc --options tdconfig.json","lint":"tslint -c tslint.json './src/**/**.ts' './tests/**/**.ts'","prettier":"prettier --write './{src,tests}/**/*.ts'","prettier:check":"prettier --check './{src,tests}/**/*.ts'","prettier:big-tabs":"prettier --write --print-width 120 --no-semi --single-quote --tab-width 4  './{src,tests}/**/*.ts'","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","coverage":"nyc report --reporter=text-lcov > coverage.lcov && codecov","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump":"./bump.sh","serve":"webpack && cp -r ./_bundles ./examples/injected-web3 && http-server ./examples/injected-web3"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{ts,js,json,css,md}":["prettier --write","git add"],"*.ts":["tslint -c tslint.json --fix","git add"]},"nyc":{"extension":[".ts"],"include":["src"],"reporter":["text"],"all":true},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.17.21","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","codecov":"^3.5.0","es6-promise":"^4.1.1","fetch-mock":"^7.2.5","fluid-publish":"^2.2.0","http-server":"^0.11.1","husky":"^2.4.0","isomorphic-fetch":"^2.2.1","lint-staged":"^8.2.0","mocha":"^5.2.0","nyc":"^14.1.0","prettier":"^1.15.2","ts-node":"^7.0.0","tslint":"^5.17.0","tslint-config-prettier":"^1.18.0","typedoc":"^0.16.9","types-ethereumjs-util":"0.0.8","typescript":"^3.0.0","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"@msgpack/msgpack":"^1.12.1","bignumber.js":"7.2.1","ethereumjs-util":"^5.2.0","ethers":"^4.0.23","reconnecting-websocket":"^4.1.10","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","trustlines-contracts-abi":"dev","typedoc-plugin-markdown":"^2.2.16","ws":"^6.2.1"},"readme":"# Trustlines Clientlib\n\n[![npm](https://img.shields.io/npm/v/trustlines-clientlib.svg)](https://www.npmjs.com/package/trustlines-clientlib)\n[![CircleCI branch](https://img.shields.io/circleci/project/github/trustlines-protocol/clientlib/master.svg)](https://circleci.com/gh/trustlines-protocol/clientlib)\n[![Codecov branch](https://img.shields.io/codecov/c/github/trustlines-protocol/clientlib/master.svg)](https://codecov.io/gh/trustlines-protocol/clientlib)\n\nA TypeScript/JavaScript library for interacting with the [Trustlines Network Protocol](https://trustlines.network/).\n\n## Installation\n\n### Install via package manager\n\nWe publish the trustlines-clientlib to npm as a ES6 module.\n\n#### Using npm\n\n```bash\n$ npm i trustlines-clientlib\n```\n\n#### Using yarn\n\n```bash\n$ yarn add trustlines-clientlib\n```\n\n### Build from source\n\nIf you want to build the library from source run\n\n```bash\ngit clone git@github.com:trustlines-protocol/clientlib.git\ncd clientlib\nyarn && yarn build\n```\n\nThis will create three different builds:\n\n- ES6 module in `./lib-esm`\n- CommonJS module in `./lib`\n- Bundled JS injectable into browser in `./_bundles`\n\n## Get started\n\nWe assume the usage of the `trustlines-clientlib` ES6 module in the following.\n\n### Configuration\n\nTo start using the trustlines-clientlib you first have to configure the [relay server](https://github.com/trustlines-protocol/relay) you want to connect to.\nYou can either connect to a local develop relay server or use publicly available ones.\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n\n// Instance using a relay connected to the Laika Testnet\nconst laika = new TLNetwork({\n  relayUrl: {\n    protocol: 'https',\n    port: '80',\n    host: 'relay0.testnet.trustlines.network',\n    path: '/api/v1'\n  },\n  messagingUrl: {\n    protocol: 'https',\n    port: '80',\n    host: 'relay0.testnet.trustlines.network',\n    path: '/api/v1'\n  }\n\n  // ...\n})\n\n// Instance using a relay connected to the TLBC\nconst tlbc = new TLNetwork({\n  relayUrl: 'https://tlbc.relay.anyblock.tools/api/v1',\n  messagingUrl: 'https://messaging.trustlines.app/api/v1'\n  // ...\n})\n```\n\n### Example usage\n\nThis library is a promise-based library.\nSo every asynchronous call will return a native JavaScript promise.\nIf an error occurs the library will throw it.\nThe caller has to handle it appropriately.\n\n```javascript\ntry {\n  const networks = await laika.currencyNetwork.getAll()\n} catch (error) {\n  console.log('Caught error:', error)\n}\n```\n\n### Read our [documentation]() for more\n\n## Run Tests\n\n```bash\n# All tests\nyarn test\n\n# Unit tests\nyarn test:unit\n\n# Integration tests\nyarn test:integration\n\n# end2end tests\nyarn test:e2e\n```\n\n### Note on end2end tests\n\nYou have to have all components of the trustlines protocol running.\nA convenient way to achieve this is by using our [end2end](https://github.com/trustlines-protocol/end2end) setup.\n\n## Documentation\n\nYou can find the documentation for the trustlines-clientlib [here](https://dev.trustlines.network/docs/clientlib/clientlib.html).\nThe underlying markdown files of the documentation can be found in this repository under the `./docs` directory.\nTo generate the [typedoc](https://typedoc.org/) API reference documentation for this library run `yarn doc`.\n\n## Running injected web3 example\n\nTo run the example make sure to have [MetaMask](https://metamask.io/) installed and connected to a JSON RPC.\n\n```bash\nyarn serve\n```\n\nThis serves the injected web3 example app on `http://127.0.0.1:8080`. You can find the app under `./examples/injected-web3`.\n\n## Change log\n\nSee [CHANGELOG](./CHANGELOG.md)\n","readmeFilename":"README.md","gitHead":"73664e1276f85b00272fec5c6b995a95f62620ea","_id":"trustlines-clientlib@0.12.2-0-dev.20200511T083150Z.73664e1","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"trustlines-deploy","email":"bernd@brainbot.com"},"dist":{"integrity":"sha512-IBt6gTys6YzQ9nw6y/j3/cT2gwo5zxKZFzrtl4yARCpmkUCUoc+L+LGXtVTSOVMJMUKYo7iTbrcKzvL/zC42Bw==","shasum":"06b284a446ae04a156b606471a44e53684edcb77","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.12.2-0-dev.20200511T083150Z.73664e1.tgz","fileCount":75,"unpackedSize":512237,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeuRAbCRA9TVsSAnZWagAAWGQQAIz1t+kB3PUGk/WKUn+M\nEhfVgYXWNVfLTTP3AH8quyhqPwHWWR4HJdy5SANWWdOEKz7vd6bYJQ4XVYR1\nPjaAdLhgrEG4lvgKA9NIJB/CQ3stFCv7MMcNd3XjhU/N3eDeCGIL4CK4ipzq\nENdP/tUX0FD30gbX21MPY8E/l810oxTtK+FopP35lCMif9dOgouoRrJq1woX\nE2VhnI+QtZjJPPhW4cIgncWGScChh8Ekio4R1lrMLXy1HnSybiKjhC32MSPV\naWQA3J86nl7f6d9vZi0EAkKjG7c0LnWZL/1CCXGLvbSayfn2m824nas3Stq2\nuUOE8FD7ZcbY8kCNGc4IS+oEfytbiWuWICvk5oAJ83GIyRygwAYU+o2cPxn5\nfFRZkGIq6AZmxJ1j1GD4ADHK4hW9B5S1bQ5QxgGTP7yBp1ef5zcTIzcsTwgJ\nTunSFe1ISvSw+ywlsWD6PjXTi3vAq3XHAjKETr897QyCdANYFJXwV0VSXHj3\nL/2GTPlq42zRLCM435xyzS+LswIgwAqEd7RVG8OBREBgao0W8Nox0e48DgG1\n4Y+k7M0qgoaKMTNdYpjR7kvLNz9+Uby+C+Fye3hm6V5QxxZyrStzj8Sm3WNK\nIzBcj1CGoByeJCfOLesMZDG1FkXb1Ce/v/v2f60h1SyXEouc3TQSfVU/xA3/\nw/v3\r\n=lWcm\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCFd07WZx1Odd8pJ7e14+an2HY9sUtsQBwd3vPL5rvXEQIhAIlbcD721xu6kUt+t2mC5572T3jWO9KuqIj7PCMHlpzh"}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"},{"email":"bernd@brainbot.com","name":"trustlines-deploy"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.12.2-0-dev.20200511T083150Z.73664e1_1589186586719_0.6921876246256466"},"_hasShrinkwrap":false},"0.12.2-0-dev.20200511T122434Z.e768443":{"name":"trustlines-clientlib","version":"0.12.2-0-dev.20200511T122434Z.e768443","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"typedoc --options tdconfig.json","lint":"tslint -c tslint.json './src/**/**.ts' './tests/**/**.ts'","prettier":"prettier --write './{src,tests}/**/*.ts'","prettier:check":"prettier --check './{src,tests}/**/*.ts'","prettier:big-tabs":"prettier --write --print-width 120 --no-semi --single-quote --tab-width 4  './{src,tests}/**/*.ts'","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","coverage":"nyc report --reporter=text-lcov > coverage.lcov && codecov","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump":"./bump.sh","serve":"webpack && cp -r ./_bundles ./examples/injected-web3 && http-server ./examples/injected-web3"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{ts,js,json,css,md}":["prettier --write","git add"],"*.ts":["tslint -c tslint.json --fix","git add"]},"nyc":{"extension":[".ts"],"include":["src"],"reporter":["text"],"all":true},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.17.21","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","codecov":"^3.5.0","es6-promise":"^4.1.1","fetch-mock":"^7.2.5","fluid-publish":"^2.2.0","http-server":"^0.11.1","husky":"^2.4.0","isomorphic-fetch":"^2.2.1","lint-staged":"^8.2.0","mocha":"^5.2.0","nyc":"^14.1.0","prettier":"^1.15.2","ts-node":"^7.0.0","tslint":"^5.17.0","tslint-config-prettier":"^1.18.0","typedoc":"^0.16.9","types-ethereumjs-util":"0.0.8","typescript":"^3.0.0","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"@msgpack/msgpack":"^1.12.1","bignumber.js":"7.2.1","ethereumjs-util":"^5.2.0","ethers":"^4.0.23","reconnecting-websocket":"^4.1.10","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","trustlines-contracts-abi":"dev","typedoc-plugin-markdown":"^2.2.16","ws":"^6.2.1"},"readme":"# Trustlines Clientlib\n\n[![npm](https://img.shields.io/npm/v/trustlines-clientlib.svg)](https://www.npmjs.com/package/trustlines-clientlib)\n[![CircleCI branch](https://img.shields.io/circleci/project/github/trustlines-protocol/clientlib/master.svg)](https://circleci.com/gh/trustlines-protocol/clientlib)\n[![Codecov branch](https://img.shields.io/codecov/c/github/trustlines-protocol/clientlib/master.svg)](https://codecov.io/gh/trustlines-protocol/clientlib)\n\nA TypeScript/JavaScript library for interacting with the [Trustlines Network Protocol](https://trustlines.network/).\n\n## Installation\n\n### Install via package manager\n\nWe publish the trustlines-clientlib to npm as a ES6 module.\n\n#### Using npm\n\n```bash\n$ npm i trustlines-clientlib\n```\n\n#### Using yarn\n\n```bash\n$ yarn add trustlines-clientlib\n```\n\n### Build from source\n\nIf you want to build the library from source run\n\n```bash\ngit clone git@github.com:trustlines-protocol/clientlib.git\ncd clientlib\nyarn && yarn build\n```\n\nThis will create three different builds:\n\n- ES6 module in `./lib-esm`\n- CommonJS module in `./lib`\n- Bundled JS injectable into browser in `./_bundles`\n\n## Get started\n\nWe assume the usage of the `trustlines-clientlib` ES6 module in the following.\n\n### Configuration\n\nTo start using the trustlines-clientlib you first have to configure the [relay server](https://github.com/trustlines-protocol/relay) you want to connect to.\nYou can either connect to a local develop relay server or use publicly available ones.\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n\n// Instance using a relay connected to the Laika Testnet\nconst laika = new TLNetwork({\n  relayUrl: {\n    protocol: 'https',\n    port: '80',\n    host: 'relay0.testnet.trustlines.network',\n    path: '/api/v1'\n  },\n  messagingUrl: {\n    protocol: 'https',\n    port: '80',\n    host: 'relay0.testnet.trustlines.network',\n    path: '/api/v1'\n  }\n\n  // ...\n})\n\n// Instance using a relay connected to the TLBC\nconst tlbc = new TLNetwork({\n  relayUrl: 'https://tlbc.relay.anyblock.tools/api/v1',\n  messagingUrl: 'https://messaging.trustlines.app/api/v1'\n  // ...\n})\n```\n\n### Example usage\n\nThis library is a promise-based library.\nSo every asynchronous call will return a native JavaScript promise.\nIf an error occurs the library will throw it.\nThe caller has to handle it appropriately.\n\n```javascript\ntry {\n  const networks = await laika.currencyNetwork.getAll()\n} catch (error) {\n  console.log('Caught error:', error)\n}\n```\n\n### Read our [documentation]() for more\n\n## Run Tests\n\n```bash\n# All tests\nyarn test\n\n# Unit tests\nyarn test:unit\n\n# Integration tests\nyarn test:integration\n\n# end2end tests\nyarn test:e2e\n```\n\n### Note on end2end tests\n\nYou have to have all components of the trustlines protocol running.\nA convenient way to achieve this is by using our [end2end](https://github.com/trustlines-protocol/end2end) setup.\n\n## Documentation\n\nYou can find the documentation for the trustlines-clientlib [here](https://dev.trustlines.network/docs/clientlib/clientlib.html).\nThe underlying markdown files of the documentation can be found in this repository under the `./docs` directory.\nTo generate the [typedoc](https://typedoc.org/) API reference documentation for this library run `yarn doc`.\n\n## Running injected web3 example\n\nTo run the example make sure to have [MetaMask](https://metamask.io/) installed and connected to a JSON RPC.\n\n```bash\nyarn serve\n```\n\nThis serves the injected web3 example app on `http://127.0.0.1:8080`. You can find the app under `./examples/injected-web3`.\n\n## Change log\n\nSee [CHANGELOG](./CHANGELOG.md)\n","readmeFilename":"README.md","gitHead":"e768443b592f9b62874c06ebb79b3b293ef4faee","_id":"trustlines-clientlib@0.12.2-0-dev.20200511T122434Z.e768443","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"trustlines-deploy","email":"bernd@brainbot.com"},"dist":{"integrity":"sha512-VX/bFLLJPKvDWc8qv7X/4jssEsAwCIjqQv5Vi2RLrcKXZnCIrgg1+RuwdZU9+W3Py46u/eUsA1yuVtCPIlgcEA==","shasum":"c233143e93bef11829494eaf3bf98938c7bd5c78","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.12.2-0-dev.20200511T122434Z.e768443.tgz","fileCount":75,"unpackedSize":512237,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeuUaUCRA9TVsSAnZWagAAz9oP/jpsfXTwENcUgs52EWvV\nLBdRNDKkAH7zSxs3HmbrGHjgWdalggCON3iq+eMQOyHpd5afJ4hlv4byP44Z\nqSDTd1z/GJyv/y/W50bfmvoNlraHFab7jBnjKCyPVixYm7z8SABjR0k/BQ54\nFhR4cEBNAD3IVVef6lb0seg6akYYcLp/owNOTAw9cXxwE3Jr4NaYYe4907rI\nYR53zC5h1dN7qSyubz9U38JBADj18L4hNrqJMXCISIuEabab4ilalIHzMGWn\nHUfHaxZUmSON3AsaNUCJ8rJzqNhMPokB5K0J1nujTH1zVbFCTNFdUuHECXn/\nbcGL6cTrxQidlp+JvF73q0e62ugv/ygFBR3Hgb5MMuIFhmK8mbUhH8AqI8Ii\nQBlMrqlLKAead0mKoet4Xot3dfvPm9IYOzpixqFTs7iS5O6T9yiNUtheO+G/\nqwrlLXbMBqldFElQLIXkMIxOckvy7N3hbe18g5/FyzNUrq7IZkriYyaLejAt\nMFVI3oqN4B3OmpN6iCLbAR1l9MqdSb9Mu//WHGy4eQTHST32mQvPoiQPWnWY\nkCVdsXmCvN56ADqvgfWbVgTBRGx+7wfscJrfMEU/2hkzyb53TQb/ao1kSUKq\nD2kzeFZkgrb1fDV2ia/v8VZhhgQemgrKFG04m8+NmXdeBMYnAO1c/K5FyDv8\ne+IW\r\n=qCAz\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAP6SkqPAlWOzRPD0ccOtGHkDkW7E/Mbmup/SuOITQU3AiEA2XWYKVFuuqPXnr17OZw5CNvmHyK2JohiZHPrqJCa8hA="}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"},{"email":"bernd@brainbot.com","name":"trustlines-deploy"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.12.2-0-dev.20200511T122434Z.e768443_1589200531417_0.5690997362191821"},"_hasShrinkwrap":false},"0.12.2-0-dev.20200512T162528Z.5e9c2fe":{"name":"trustlines-clientlib","version":"0.12.2-0-dev.20200512T162528Z.5e9c2fe","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"typedoc --options tdconfig.json","lint":"tslint -c tslint.json './src/**/**.ts' './tests/**/**.ts'","prettier":"prettier --write './{src,tests}/**/*.ts'","prettier:check":"prettier --check './{src,tests}/**/*.ts'","prettier:big-tabs":"prettier --write --print-width 120 --no-semi --single-quote --tab-width 4  './{src,tests}/**/*.ts'","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","coverage":"nyc report --reporter=text-lcov > coverage.lcov && codecov","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump":"./bump.sh","serve":"webpack && cp -r ./_bundles ./examples/injected-web3 && http-server ./examples/injected-web3"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{ts,js,json,css,md}":["prettier --write","git add"],"*.ts":["tslint -c tslint.json --fix","git add"]},"nyc":{"extension":[".ts"],"include":["src"],"reporter":["text"],"all":true},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.17.21","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","codecov":"^3.5.0","es6-promise":"^4.1.1","fetch-mock":"^7.2.5","fluid-publish":"^2.2.0","http-server":"^0.11.1","husky":"^2.4.0","isomorphic-fetch":"^2.2.1","lint-staged":"^8.2.0","mocha":"^5.2.0","nyc":"^14.1.0","prettier":"^1.15.2","ts-node":"^7.0.0","tslint":"^5.17.0","tslint-config-prettier":"^1.18.0","typedoc":"^0.16.9","types-ethereumjs-util":"0.0.8","typescript":"^3.0.0","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"@msgpack/msgpack":"^1.12.1","bignumber.js":"7.2.1","ethereumjs-util":"^5.2.0","ethers":"^4.0.23","reconnecting-websocket":"^4.1.10","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","trustlines-contracts-abi":"dev","typedoc-plugin-markdown":"^2.2.16","ws":"^6.2.1"},"readme":"# Trustlines Clientlib\n\n[![npm](https://img.shields.io/npm/v/trustlines-clientlib.svg)](https://www.npmjs.com/package/trustlines-clientlib)\n[![CircleCI branch](https://img.shields.io/circleci/project/github/trustlines-protocol/clientlib/master.svg)](https://circleci.com/gh/trustlines-protocol/clientlib)\n[![Codecov branch](https://img.shields.io/codecov/c/github/trustlines-protocol/clientlib/master.svg)](https://codecov.io/gh/trustlines-protocol/clientlib)\n\nA TypeScript/JavaScript library for interacting with the [Trustlines Network Protocol](https://trustlines.network/).\n\n## Installation\n\n### Install via package manager\n\nWe publish the trustlines-clientlib to npm as a ES6 module.\n\n#### Using npm\n\n```bash\n$ npm i trustlines-clientlib\n```\n\n#### Using yarn\n\n```bash\n$ yarn add trustlines-clientlib\n```\n\n### Build from source\n\nIf you want to build the library from source run\n\n```bash\ngit clone git@github.com:trustlines-protocol/clientlib.git\ncd clientlib\nyarn && yarn build\n```\n\nThis will create three different builds:\n\n- ES6 module in `./lib-esm`\n- CommonJS module in `./lib`\n- Bundled JS injectable into browser in `./_bundles`\n\n## Get started\n\nWe assume the usage of the `trustlines-clientlib` ES6 module in the following.\n\n### Configuration\n\nTo start using the trustlines-clientlib you first have to configure the [relay server](https://github.com/trustlines-protocol/relay) you want to connect to.\nYou can either connect to a local develop relay server or use publicly available ones.\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n\n// Instance using a relay connected to the Laika Testnet\nconst laika = new TLNetwork({\n  relayUrl: {\n    protocol: 'https',\n    port: '80',\n    host: 'relay0.testnet.trustlines.network',\n    path: '/api/v1'\n  },\n  messagingUrl: {\n    protocol: 'https',\n    port: '80',\n    host: 'relay0.testnet.trustlines.network',\n    path: '/api/v1'\n  }\n\n  // ...\n})\n\n// Instance using a relay connected to the TLBC\nconst tlbc = new TLNetwork({\n  relayUrl: 'https://tlbc.relay.anyblock.tools/api/v1',\n  messagingUrl: 'https://messaging.trustlines.app/api/v1'\n  // ...\n})\n```\n\n### Example usage\n\nThis library is a promise-based library.\nSo every asynchronous call will return a native JavaScript promise.\nIf an error occurs the library will throw it.\nThe caller has to handle it appropriately.\n\n```javascript\ntry {\n  const networks = await laika.currencyNetwork.getAll()\n} catch (error) {\n  console.log('Caught error:', error)\n}\n```\n\n### Read our [documentation]() for more\n\n## Run Tests\n\n```bash\n# All tests\nyarn test\n\n# Unit tests\nyarn test:unit\n\n# Integration tests\nyarn test:integration\n\n# end2end tests\nyarn test:e2e\n```\n\n### Note on end2end tests\n\nYou have to have all components of the trustlines protocol running.\nA convenient way to achieve this is by using our [end2end](https://github.com/trustlines-protocol/end2end) setup.\n\n## Documentation\n\nYou can find the documentation for the trustlines-clientlib [here](https://dev.trustlines.network/docs/clientlib/clientlib.html).\nThe underlying markdown files of the documentation can be found in this repository under the `./docs` directory.\nTo generate the [typedoc](https://typedoc.org/) API reference documentation for this library run `yarn doc`.\n\n## Running injected web3 example\n\nTo run the example make sure to have [MetaMask](https://metamask.io/) installed and connected to a JSON RPC.\n\n```bash\nyarn serve\n```\n\nThis serves the injected web3 example app on `http://127.0.0.1:8080`. You can find the app under `./examples/injected-web3`.\n\n## Change log\n\nSee [CHANGELOG](./CHANGELOG.md)\n","readmeFilename":"README.md","gitHead":"5e9c2fe9f6eaf75d7830c13e3f7156690900a36f","_id":"trustlines-clientlib@0.12.2-0-dev.20200512T162528Z.5e9c2fe","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"trustlines-deploy","email":"bernd@brainbot.com"},"dist":{"integrity":"sha512-gzDet8w3bf0QO/QI8xJR4FuLUjreFQphq8jcJn0vEe9jQ+4C01W1uvC0wNjEqQX2xC0QK9SFAMSBPbLwTsHPrw==","shasum":"aadc32ef7872d2262d061f90fafe31cbc70c89ba","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.12.2-0-dev.20200512T162528Z.5e9c2fe.tgz","fileCount":75,"unpackedSize":512305,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeutB/CRA9TVsSAnZWagAAh8EP+wcGYJUrLXPiW3qHVk/Q\ncPJ5KT7e4KgJ4wRObo4pOnLnLmiEFSEmo+e4Yc/GNIHD+zv9uMj+2uvdiOiN\nqxutWoW4CN5OhC0uIj7M8QslwUX7z6ZWSGxziHckyC63ss4yq61koIqfziBy\n78PXT6QKVRXCI++Lz5V/9EX/VfpxGX3Am7s+nHMcLwfOD4UyCRWh+FrD0gyZ\ndRsTxrDaNDuCfdakWZn99Exgtw1pphOHNKrO2ezAoA3TsTjpphYLJQ6n2rcQ\nN6+EKGQ172P7Z+ljDXRLT2NWbAxAtdQou6rC+0wsYaseh1n1OReETq5+Dbi8\nUVJIMNlvqt8Hd5ajVptaC3i+vjKvYFDvwia5hTyUt4+JUcEFgdZWDEI5GW19\nlG0a8YKI/3m4HQPP5K0/SgH+QblzodMQMgtuWzT6fZASDsUgGDZnuon6m14r\nRdT0aPysMazg4M09zxP4SxOP5bXzfVBVRbRIkwdFDttDP0U3hkrLWvban+Yy\nbWF52c6Yj5f1tmuKKvHnjka50MO8sK8bKTDjEUdJofrZntUSu5Vp6SpaWnnp\naNNHT7Rbintmlws4Oq0aPcmcexOcgY4feUnxVJ42ZJp9mbFwrPtgeRGrEd1y\nQdySW/zAlFlbsHTmTVbb29RGHUI2ZZAfXXUtvUZjcIahPgSEXcigSnpgMDXM\nAiss\r\n=qp7o\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDKGAZ7rb+yjfOSX/hyy7mM5+KK22e6Udtco60C0HgwBAIgAJphu1B6SpuQaZ2BOLFXdda1AjM/5xlBS/UMVenyjuc="}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"},{"email":"bernd@brainbot.com","name":"trustlines-deploy"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.12.2-0-dev.20200512T162528Z.5e9c2fe_1589301375287_0.8157330273736605"},"_hasShrinkwrap":false},"0.12.2-0-dev.20200515T142956Z.bf78d4d":{"name":"trustlines-clientlib","version":"0.12.2-0-dev.20200515T142956Z.bf78d4d","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"typedoc --options tdconfig.json","lint":"tslint -c tslint.json './src/**/**.ts' './tests/**/**.ts'","prettier":"prettier --write './{src,tests}/**/*.ts'","prettier:check":"prettier --check './{src,tests}/**/*.ts'","prettier:big-tabs":"prettier --write --print-width 120 --no-semi --single-quote --tab-width 4  './{src,tests}/**/*.ts'","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","coverage":"nyc report --reporter=text-lcov > coverage.lcov && codecov","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump":"./bump.sh","serve":"webpack && cp -r ./_bundles ./examples/injected-web3 && http-server ./examples/injected-web3"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{ts,js,json,css,md}":["prettier --write","git add"],"*.ts":["tslint -c tslint.json --fix","git add"]},"nyc":{"extension":[".ts"],"include":["src"],"reporter":["text"],"all":true},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.17.21","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","codecov":"^3.5.0","es6-promise":"^4.1.1","fetch-mock":"^7.2.5","fluid-publish":"^2.2.0","http-server":"^0.11.1","husky":"^2.4.0","isomorphic-fetch":"^2.2.1","lint-staged":"^8.2.0","mocha":"^5.2.0","nyc":"^14.1.0","prettier":"^1.15.2","ts-node":"^7.0.0","tslint":"^5.17.0","tslint-config-prettier":"^1.18.0","typedoc":"^0.16.9","types-ethereumjs-util":"0.0.8","typescript":"^3.0.0","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"@msgpack/msgpack":"^1.12.1","bignumber.js":"7.2.1","ethereumjs-util":"^5.2.0","ethers":"^4.0.23","reconnecting-websocket":"^4.1.10","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","trustlines-contracts-abi":"dev","typedoc-plugin-markdown":"^2.2.16","ws":"^6.2.1"},"readme":"# Trustlines Clientlib\n\n[![npm](https://img.shields.io/npm/v/trustlines-clientlib.svg)](https://www.npmjs.com/package/trustlines-clientlib)\n[![CircleCI branch](https://img.shields.io/circleci/project/github/trustlines-protocol/clientlib/master.svg)](https://circleci.com/gh/trustlines-protocol/clientlib)\n[![Codecov branch](https://img.shields.io/codecov/c/github/trustlines-protocol/clientlib/master.svg)](https://codecov.io/gh/trustlines-protocol/clientlib)\n\nA TypeScript/JavaScript library for interacting with the [Trustlines Network Protocol](https://trustlines.network/).\n\n## Installation\n\n### Install via package manager\n\nWe publish the trustlines-clientlib to npm as a ES6 module.\n\n#### Using npm\n\n```bash\n$ npm i trustlines-clientlib\n```\n\n#### Using yarn\n\n```bash\n$ yarn add trustlines-clientlib\n```\n\n### Build from source\n\nIf you want to build the library from source run\n\n```bash\ngit clone git@github.com:trustlines-protocol/clientlib.git\ncd clientlib\nyarn && yarn build\n```\n\nThis will create three different builds:\n\n- ES6 module in `./lib-esm`\n- CommonJS module in `./lib`\n- Bundled JS injectable into browser in `./_bundles`\n\n## Get started\n\nWe assume the usage of the `trustlines-clientlib` ES6 module in the following.\n\n### Configuration\n\nTo start using the trustlines-clientlib you first have to configure the [relay server](https://github.com/trustlines-protocol/relay) you want to connect to.\nYou can either connect to a local develop relay server or use publicly available ones.\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n\n// Instance using a relay connected to the Laika Testnet\nconst laika = new TLNetwork({\n  relayUrl: {\n    protocol: 'https',\n    port: '80',\n    host: 'relay0.testnet.trustlines.network',\n    path: '/api/v1'\n  },\n  messagingUrl: {\n    protocol: 'https',\n    port: '80',\n    host: 'relay0.testnet.trustlines.network',\n    path: '/api/v1'\n  }\n\n  // ...\n})\n\n// Instance using a relay connected to the TLBC\nconst tlbc = new TLNetwork({\n  relayUrl: 'https://tlbc.relay.anyblock.tools/api/v1',\n  messagingUrl: 'https://messaging.trustlines.app/api/v1'\n  // ...\n})\n```\n\n### Example usage\n\nThis library is a promise-based library.\nSo every asynchronous call will return a native JavaScript promise.\nIf an error occurs the library will throw it.\nThe caller has to handle it appropriately.\n\n```javascript\ntry {\n  const networks = await laika.currencyNetwork.getAll()\n} catch (error) {\n  console.log('Caught error:', error)\n}\n```\n\n### Read our [documentation]() for more\n\n## Run Tests\n\n```bash\n# All tests\nyarn test\n\n# Unit tests\nyarn test:unit\n\n# Integration tests\nyarn test:integration\n\n# end2end tests\nyarn test:e2e\n```\n\n### Note on end2end tests\n\nYou have to have all components of the trustlines protocol running.\nA convenient way to achieve this is by using our [end2end](https://github.com/trustlines-protocol/end2end) setup.\n\n## Documentation\n\nYou can find the documentation for the trustlines-clientlib [here](https://dev.trustlines.network/docs/clientlib/clientlib.html).\nThe underlying markdown files of the documentation can be found in this repository under the `./docs` directory.\nTo generate the [typedoc](https://typedoc.org/) API reference documentation for this library run `yarn doc`.\n\n## Running injected web3 example\n\nTo run the example make sure to have [MetaMask](https://metamask.io/) installed and connected to a JSON RPC.\n\n```bash\nyarn serve\n```\n\nThis serves the injected web3 example app on `http://127.0.0.1:8080`. You can find the app under `./examples/injected-web3`.\n\n## Change log\n\nSee [CHANGELOG](./CHANGELOG.md)\n","readmeFilename":"README.md","gitHead":"bf78d4dfd17a8dea20cd7416a868004f3f320723","_id":"trustlines-clientlib@0.12.2-0-dev.20200515T142956Z.bf78d4d","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"trustlines-deploy","email":"bernd@brainbot.com"},"dist":{"integrity":"sha512-VN7i7g7MY+Gp+osG2h14P1GpPjHxbUcTJTQORbM2g/ccFPm+MY6Me9ze3umyv2Ol58atouETeL5ZEiT4nf2LHg==","shasum":"613a625704ddfeb0e2b267f37751ba12c5fc4369","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.12.2-0-dev.20200515T142956Z.bf78d4d.tgz","fileCount":75,"unpackedSize":514720,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJevqn4CRA9TVsSAnZWagAAVOYP+QFJoam3QimICtTrE6JI\nS9+zu+LzoXs8+Oua58I2cCBZclma+zfr3jtmP1zWOg+VvfJDESNaoRj0+5yI\nVe90nj6Yf5jg6XddxhICojL8O11hOy3jFQHKd/opbXVVUvhEEQFSHygmPIvd\nGrgXVQSD21tTl6Vv8lEZcDTJ9PrnSvkm1tdxtkB/TrwxUszNf697uWVHoA4g\nb+FXH0OVZ1cRmummyyEJAm03ohalbja5HXXjeYz8MeCo+YK+NSL4bzxaaT13\nUl5QgSDaWqR7/px4In3HGnRHfiBN4WWgK2L9z8QqHFrbzmSy7wk+mN9qf3dc\nqwi9mDtSkWHv7cReG1utnykdWG2mnxbktBULlXw3RCOncJ9KONWfjnwlL6Q0\nLmK6ueFxuFVJfbiHMFSWgF0iXkcAIPWXdHLSR1wxL8+ZKn+x8FqLEVk2XG1V\nJW0/xMKyuoCelhwb9gLP6cdyDaW7Mwx1+0AxX+l8DPA6EsxSveS3NH/es7El\nr+RPqWO9AXHW5vvR84TE9FZcHwkF+92ADwDRtZWTCsfKJbyATvGtEwHpo/mW\n/isjiQJCXFoLeGLX66McANOHQQxqlxpDW5k4F0twl6Y/tx74v5MowY0ityIV\nHJFOwvtreo9iyWqyTsqgjRBFtdw635LzZprejtL2ceFpXVSzSf/OTWIkcjiZ\n46yE\r\n=bLIx\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCngi9jHNz8f6KxqAUkx0bTbhQsPSKxXQl/8zlyGgat+QIgEnTfgW2TNEt7P2LoGJg1fUzWmpEV4Mm3w3SwNUXtqNw="}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"},{"email":"bernd@brainbot.com","name":"trustlines-deploy"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.12.2-0-dev.20200515T142956Z.bf78d4d_1589553655487_0.1795840575746599"},"_hasShrinkwrap":false},"0.12.2-0-dev.20200616T124621Z.c1039a0":{"name":"trustlines-clientlib","version":"0.12.2-0-dev.20200616T124621Z.c1039a0","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"typedoc --options tdconfig.json","lint":"tslint -c tslint.json './src/**/**.ts' './tests/**/**.ts'","prettier":"prettier --write './{src,tests}/**/*.ts'","prettier:check":"prettier --check './{src,tests}/**/*.ts'","prettier:big-tabs":"prettier --write --print-width 120 --no-semi --single-quote --tab-width 4  './{src,tests}/**/*.ts'","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","coverage":"nyc report --reporter=text-lcov > coverage.lcov && codecov","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump":"./bump.sh","serve":"webpack && cp -r ./_bundles ./examples/injected-web3 && http-server ./examples/injected-web3"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{ts,js,json,css,md}":["prettier --write","git add"],"*.ts":["tslint -c tslint.json --fix","git add"]},"nyc":{"extension":[".ts"],"include":["src"],"reporter":["text"],"all":true},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.17.21","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","codecov":"^3.5.0","es6-promise":"^4.1.1","fetch-mock":"^7.2.5","fluid-publish":"^2.2.0","http-server":"^0.11.1","husky":"^2.4.0","isomorphic-fetch":"^2.2.1","lint-staged":"^8.2.0","mocha":"^5.2.0","nyc":"^14.1.0","prettier":"^1.15.2","ts-node":"^7.0.0","tslint":"^5.17.0","tslint-config-prettier":"^1.18.0","typedoc":"^0.16.9","types-ethereumjs-util":"0.0.8","typescript":"^3.0.0","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"@msgpack/msgpack":"^1.12.1","bignumber.js":"7.2.1","ethereumjs-util":"^5.2.0","ethers":"^4.0.23","reconnecting-websocket":"^4.1.10","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","trustlines-contracts-abi":"dev","typedoc-plugin-markdown":"^2.2.16","ws":"^6.2.1"},"readme":"# Trustlines Clientlib\n\n[![npm](https://img.shields.io/npm/v/trustlines-clientlib.svg)](https://www.npmjs.com/package/trustlines-clientlib)\n[![CircleCI branch](https://img.shields.io/circleci/project/github/trustlines-protocol/clientlib/master.svg)](https://circleci.com/gh/trustlines-protocol/clientlib)\n[![Codecov branch](https://img.shields.io/codecov/c/github/trustlines-protocol/clientlib/master.svg)](https://codecov.io/gh/trustlines-protocol/clientlib)\n\nA TypeScript/JavaScript library for interacting with the [Trustlines Network Protocol](https://trustlines.network/).\n\n## Installation\n\n### Install via package manager\n\nWe publish the trustlines-clientlib to npm as a ES6 module.\n\n#### Using npm\n\n```bash\n$ npm i trustlines-clientlib\n```\n\n#### Using yarn\n\n```bash\n$ yarn add trustlines-clientlib\n```\n\n### Build from source\n\nIf you want to build the library from source run\n\n```bash\ngit clone git@github.com:trustlines-protocol/clientlib.git\ncd clientlib\nyarn && yarn build\n```\n\nThis will create three different builds:\n\n- ES6 module in `./lib-esm`\n- CommonJS module in `./lib`\n- Bundled JS injectable into browser in `./_bundles`\n\n## Get started\n\nWe assume the usage of the `trustlines-clientlib` ES6 module in the following.\n\n### Configuration\n\nTo start using the trustlines-clientlib you first have to configure the [relay server](https://github.com/trustlines-protocol/relay) you want to connect to.\nYou can either connect to a local develop relay server or use publicly available ones.\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n\n// Instance using a relay connected to the Laika Testnet\nconst laika = new TLNetwork({\n  relayUrl: {\n    protocol: 'https',\n    port: '80',\n    host: 'relay0.testnet.trustlines.network',\n    path: '/api/v1'\n  },\n  messagingUrl: {\n    protocol: 'https',\n    port: '80',\n    host: 'relay0.testnet.trustlines.network',\n    path: '/api/v1'\n  }\n\n  // ...\n})\n\n// Instance using a relay connected to the TLBC\nconst tlbc = new TLNetwork({\n  relayUrl: 'https://tlbc.relay.anyblock.tools/api/v1',\n  messagingUrl: 'https://messaging.trustlines.app/api/v1'\n  // ...\n})\n```\n\n### Example usage\n\nThis library is a promise-based library.\nSo every asynchronous call will return a native JavaScript promise.\nIf an error occurs the library will throw it.\nThe caller has to handle it appropriately.\n\n```javascript\ntry {\n  const networks = await laika.currencyNetwork.getAll()\n} catch (error) {\n  console.log('Caught error:', error)\n}\n```\n\n### Read our [documentation]() for more\n\n## Run Tests\n\n```bash\n# All tests\nyarn test\n\n# Unit tests\nyarn test:unit\n\n# Integration tests\nyarn test:integration\n\n# end2end tests\nyarn test:e2e\n```\n\n### Note on end2end tests\n\nYou have to have all components of the trustlines protocol running.\nA convenient way to achieve this is by using our [end2end](https://github.com/trustlines-protocol/end2end) setup.\n\n## Documentation\n\nYou can find the documentation for the trustlines-clientlib [here](https://dev.trustlines.network/docs/clientlib/clientlib.html).\nThe underlying markdown files of the documentation can be found in this repository under the `./docs` directory.\nTo generate the [typedoc](https://typedoc.org/) API reference documentation for this library run `yarn doc`.\n\n## Running injected web3 example\n\nTo run the example make sure to have [MetaMask](https://metamask.io/) installed and connected to a JSON RPC.\n\n```bash\nyarn serve\n```\n\nThis serves the injected web3 example app on `http://127.0.0.1:8080`. You can find the app under `./examples/injected-web3`.\n\n## Change log\n\nSee [CHANGELOG](./CHANGELOG.md)\n","readmeFilename":"README.md","gitHead":"c1039a06dfe11e0790f5404f2fd42b8a33f09558","_id":"trustlines-clientlib@0.12.2-0-dev.20200616T124621Z.c1039a0","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"trustlines-deploy","email":"bernd@brainbot.com"},"dist":{"integrity":"sha512-eN4wunj/WHbkcQoawoJcmliAXoj5UIhgd3ZlcX3MbDfvlUO8NnFqQ71O62NKxCBwN3mA5ieHU9O3fXUrJrFrAQ==","shasum":"97656622cd45832112d16967c7cda0ffa613fa0f","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.12.2-0-dev.20200616T124621Z.c1039a0.tgz","fileCount":75,"unpackedSize":514268,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe6MHSCRA9TVsSAnZWagAAIckP/jf22KddRyKkrxuzsQfV\ndLN5A1IQrb414nmIH2AYWGtYwHX7NDRTbizpVGl+1rlPZbhqQAxug3Dy9Yuq\neZOJdSD2LuDd3VHIn8+4hJcipkuLekKDpYeGdIg1+VrYUS362OfL3t2v9coD\nRej0lYbm2tglg45Zhuk+QJNwxOR1Uuc01SN1g2SMdJc/V+yVk9Dp52gBh9Wg\nwUdH5D4ZJiRfVyo1jDnZbfq4KYkLDJIfRayxpYzndXX9fDqwWl9PLmIaqqQY\nTCz6L0p6wT4kjraMqLxFz00MQboy/jTAVwzw2PkLzfcro3oQrPBf87ccB8eS\nIHfaqTUxmSi/L3/W47wAjX4u3cc+k0lbMq8Oe1jDj9KytKrMa2aFQaQjDHQg\nsDRzjY55einXSIYw7x1yBw2x1jgZfH+vH3smcg2v6/fBytRUT8jhmlZCYmof\n3tyNyKBVZZ8o35zOJmiXYgDv7+DPAxZuLGasH1jnbdg5fq32dxdKP1Z7vi96\nYqZ82NCkRo9X0kbe/0SVxJGYiiU5YlhPSCvoJ7csV7gMhbRefQYG/CJdXGBm\nGYK4eqWnZyvkck/hHgEEZ2+QfPBUHK5rARj98nzdqyEk67Umr0izHQkML0ya\nb4QJx79fOVtOvghn8fk4eItxckzQpPBVQMWGhQoBarq8DvzPIP9ToD+w1pDG\nTdsq\r\n=x18m\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCmUfMdvu222PKKO6i1i0zaPbHgmVmHLwwYJiWgeHr1wAIgN0xdaUPhOa5szaCqCgLeWePB1NlUiDmCIzDjrreNbB0="}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"},{"email":"bernd@brainbot.com","name":"trustlines-deploy"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.12.2-0-dev.20200616T124621Z.c1039a0_1592312274145_0.8362933672130568"},"_hasShrinkwrap":false},"0.13.2-0":{"name":"trustlines-clientlib","version":"0.13.2-0","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"typedoc --options tdconfig.json","lint":"tslint -c tslint.json './src/**/**.ts' './tests/**/**.ts'","prettier":"prettier --write './{src,tests}/**/*.ts'","prettier:check":"prettier --check './{src,tests}/**/*.ts'","prettier:big-tabs":"prettier --write --print-width 120 --no-semi --single-quote --tab-width 4  './{src,tests}/**/*.ts'","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","coverage":"nyc report --reporter=text-lcov > coverage.lcov && codecov","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump":"./bump.sh","serve":"webpack && cp -r ./_bundles ./examples/injected-web3 && http-server ./examples/injected-web3"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{ts,js,json,css,md}":["prettier --write","git add"],"*.ts":["tslint -c tslint.json --fix","git add"]},"nyc":{"extension":[".ts"],"include":["src"],"reporter":["text"],"all":true},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.17.21","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","codecov":"^3.5.0","es6-promise":"^4.1.1","fetch-mock":"^7.2.5","fluid-publish":"^2.2.0","http-server":"^0.11.1","husky":"^2.4.0","isomorphic-fetch":"^2.2.1","lint-staged":"^8.2.0","mocha":"^5.2.0","nyc":"^14.1.0","prettier":"^1.15.2","ts-node":"^7.0.0","tslint":"^5.17.0","tslint-config-prettier":"^1.18.0","typedoc":"^0.16.9","types-ethereumjs-util":"0.0.8","typescript":"^3.0.0","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"@msgpack/msgpack":"^1.12.1","bignumber.js":"7.2.1","ethereumjs-util":"^5.2.0","ethers":"^4.0.23","reconnecting-websocket":"^4.1.10","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","trustlines-contracts-abi":"dev","typedoc-plugin-markdown":"^2.2.16","ws":"^6.2.1"},"licenseText":"MIT License\n\nCopyright (c) 2017 Trustlines Network\nCopyright (c) 2019 Trustlines Foundation\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"trustlines-clientlib@0.13.2-0","dist":{"shasum":"58423cf59cff0571cf5fec0673aa01be0f2dfd14","integrity":"sha512-VnFw4Uub5gCaMQOSdNcz2nQsfkzuIJwA53pGMxGenKT+1lii1w/MueaQTjdA90dACwySjcZjaSuyBJvhr9ViSQ==","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.13.2-0.tgz","fileCount":82,"unpackedSize":514239,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe6zMICRA9TVsSAnZWagAAWTwP/icj4EDGozUdAwDISeEE\n+/H7qCyMryHcG7SO+t7oAvy9iLiHLxpBzq2Zv7bu005H4EWm+TSoZEEDuMiI\nT5rv+IW4OXlLG6rWHLLonz66nRVbXgfBPuh3pKXuLpPMonncXYESAXlDzwpt\n7wU66SISTxqaz+bErqCCpYQ9y2YEDDK35A1FR8AAvPRUQE3aT4rI6oDdjNsu\nyrc+wkuGUbwII8V1azcvNGJTv2u2w1ggOhpmzu2F0gTrsu64tbSgVqMmNmUe\nGqXeLIzKWIbluoiPmgjEAnMHsXflA7hDpWBaWBtV0z9Pb7BL2whrf0jOQKPX\nlinP2IXjY9C8wqAWyPb0pxVjukyJHAVeFPZCmnpXB/YeCju0vSBTVbWwkCND\nGHJ+FsfCZgfKai0aR//sS64WVDrdBqhSPS5H9PxKSt3vW304ESH0uHVzmnhu\nDl42pIrdxOWrq5NBPdVRzC7+pfODFxZWWx86VUeiVyc9AkA320zJtbl3flun\n1A6HSFAn1vWeigcgVP6ZUJIhJusCPSjqurOODRiqkpiEyT6VMOiKdr7oIUwd\nRYFMFlOy2uw8noG269U0wClpzf3XR3aLKsoBJQxZ09Pjr0bRp9mqlcEk/9tr\n+3OotU1pcjbX/Bbgu4bsvEKBkFG1HkpwzXn8sYVsPWgfet5Tzg1W/BKNY+/B\nsuH3\r\n=UcRG\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHQB5GzoVivpLngnDvY94bqPxnW+fvc5ogomWst9e1YUAiEAy7TN3hpcT8cjSdoyG+IPtOAJhhpKD2rpy+eUNP1y8cY="}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"},{"email":"bernd@brainbot.com","name":"trustlines-deploy"}],"_npmUser":{"name":"trustlines-deploy","email":"bernd@brainbot.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.13.2-0_1592472328047_0.09843563728914306"},"_hasShrinkwrap":false},"0.13.5-0-dev.20200618T163458Z.440297a":{"name":"trustlines-clientlib","version":"0.13.5-0-dev.20200618T163458Z.440297a","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"typedoc --options tdconfig.json","lint":"tslint -c tslint.json './src/**/**.ts' './tests/**/**.ts'","prettier":"prettier --write './{src,tests}/**/*.ts'","prettier:check":"prettier --check './{src,tests}/**/*.ts'","prettier:big-tabs":"prettier --write --print-width 120 --no-semi --single-quote --tab-width 4  './{src,tests}/**/*.ts'","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","coverage":"nyc report --reporter=text-lcov > coverage.lcov && codecov","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump":"./bump.sh","serve":"webpack && cp -r ./_bundles ./examples/injected-web3 && http-server ./examples/injected-web3"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{ts,js,json,css,md}":["prettier --write","git add"],"*.ts":["tslint -c tslint.json --fix","git add"]},"nyc":{"extension":[".ts"],"include":["src"],"reporter":["text"],"all":true},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.17.21","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","codecov":"^3.5.0","es6-promise":"^4.1.1","fetch-mock":"^7.2.5","fluid-publish":"^2.2.0","http-server":"^0.11.1","husky":"^2.4.0","isomorphic-fetch":"^2.2.1","lint-staged":"^8.2.0","mocha":"^5.2.0","nyc":"^14.1.0","prettier":"^1.15.2","ts-node":"^7.0.0","tslint":"^5.17.0","tslint-config-prettier":"^1.18.0","typedoc":"^0.16.9","types-ethereumjs-util":"0.0.8","typescript":"^3.0.0","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"@msgpack/msgpack":"^1.12.1","bignumber.js":"7.2.1","ethereumjs-util":"^5.2.0","ethers":"^4.0.23","reconnecting-websocket":"^4.1.10","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","trustlines-contracts-abi":"dev","typedoc-plugin-markdown":"^2.2.16","ws":"^6.2.1"},"readme":"# Trustlines Clientlib\n\n[![npm](https://img.shields.io/npm/v/trustlines-clientlib.svg)](https://www.npmjs.com/package/trustlines-clientlib)\n[![CircleCI branch](https://img.shields.io/circleci/project/github/trustlines-protocol/clientlib/master.svg)](https://circleci.com/gh/trustlines-protocol/clientlib)\n[![Codecov branch](https://img.shields.io/codecov/c/github/trustlines-protocol/clientlib/master.svg)](https://codecov.io/gh/trustlines-protocol/clientlib)\n\nA TypeScript/JavaScript library for interacting with the [Trustlines Network Protocol](https://trustlines.network/).\n\n## Installation\n\n### Install via package manager\n\nWe publish the trustlines-clientlib to npm as a ES6 module.\n\n#### Using npm\n\n```bash\n$ npm i trustlines-clientlib\n```\n\n#### Using yarn\n\n```bash\n$ yarn add trustlines-clientlib\n```\n\n### Build from source\n\nIf you want to build the library from source run\n\n```bash\ngit clone git@github.com:trustlines-protocol/clientlib.git\ncd clientlib\nyarn && yarn build\n```\n\nThis will create three different builds:\n\n- ES6 module in `./lib-esm`\n- CommonJS module in `./lib`\n- Bundled JS injectable into browser in `./_bundles`\n\n## Get started\n\nWe assume the usage of the `trustlines-clientlib` ES6 module in the following.\n\n### Configuration\n\nTo start using the trustlines-clientlib you first have to configure the [relay server](https://github.com/trustlines-protocol/relay) you want to connect to.\nYou can either connect to a local develop relay server or use publicly available ones.\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n\n// Instance using a relay connected to the Laika Testnet\nconst laika = new TLNetwork({\n  relayUrl: {\n    protocol: 'https',\n    port: '80',\n    host: 'relay0.testnet.trustlines.network',\n    path: '/api/v1'\n  },\n  messagingUrl: {\n    protocol: 'https',\n    port: '80',\n    host: 'relay0.testnet.trustlines.network',\n    path: '/api/v1'\n  }\n\n  // ...\n})\n\n// Instance using a relay connected to the TLBC\nconst tlbc = new TLNetwork({\n  relayUrl: 'https://tlbc.relay.anyblock.tools/api/v1',\n  messagingUrl: 'https://messaging.trustlines.app/api/v1'\n  // ...\n})\n```\n\n### Example usage\n\nThis library is a promise-based library.\nSo every asynchronous call will return a native JavaScript promise.\nIf an error occurs the library will throw it.\nThe caller has to handle it appropriately.\n\n```javascript\ntry {\n  const networks = await laika.currencyNetwork.getAll()\n} catch (error) {\n  console.log('Caught error:', error)\n}\n```\n\n### Read our [documentation]() for more\n\n## Run Tests\n\n```bash\n# All tests\nyarn test\n\n# Unit tests\nyarn test:unit\n\n# Integration tests\nyarn test:integration\n\n# end2end tests\nyarn test:e2e\n```\n\n### Note on end2end tests\n\nYou have to have all components of the trustlines protocol running.\nA convenient way to achieve this is by using our [end2end](https://github.com/trustlines-protocol/end2end) setup.\n\n## Documentation\n\nYou can find the documentation for the trustlines-clientlib [here](https://dev.trustlines.network/docs/clientlib/clientlib.html).\nThe underlying markdown files of the documentation can be found in this repository under the `./docs` directory.\nTo generate the [typedoc](https://typedoc.org/) API reference documentation for this library run `yarn doc`.\n\n## Running injected web3 example\n\nTo run the example make sure to have [MetaMask](https://metamask.io/) installed and connected to a JSON RPC.\n\n```bash\nyarn serve\n```\n\nThis serves the injected web3 example app on `http://127.0.0.1:8080`. You can find the app under `./examples/injected-web3`.\n\n## Change log\n\nSee [CHANGELOG](./CHANGELOG.md)\n","readmeFilename":"README.md","gitHead":"440297a1e7f8c3a5ced721f38f87cace0ace64c2","_id":"trustlines-clientlib@0.13.5-0-dev.20200618T163458Z.440297a","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"trustlines-deploy","email":"bernd@brainbot.com"},"dist":{"integrity":"sha512-9z1vnFNpzheOjb52dyqBBK/QauXzWr/UUtzUgBF4Kha+401Av27W9uEGrFhOgazwGO7nO21d36TFI6loMRwA+A==","shasum":"5045b2c626d1aac9d9202f4fea07890171040d7e","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.13.5-0-dev.20200618T163458Z.440297a.tgz","fileCount":75,"unpackedSize":514268,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe65o3CRA9TVsSAnZWagAABEYP/R3h+Nf/4SeKKIFpQg2W\nbPmqG+re6ethWi8bYjWvR1j+4uHJzXmkwcGX9t3fI9NJdxd3MFN9jQIloTDw\nhW490B0K48BIgmHIazChul24tDR4AjqkD6hRM3NlmwqHztuLfBe1rsxzxxHh\n56foPJ/tobbY/fX2N3d/Oz+LYpGIGw+X23GY/HoxBF5e+4gUvU0p4KgD9eeu\nsyv2noU8np5Xy5pX0lyAchMTwhp+ws16WGXh0lvU8QyVpU0PoJRJmUr6jLy1\nQT8wySdhnGYI6RaeyRVRb/MpXmYvKOl4R9qjQuXD4YmK+YN7jPgA0DhFuHk/\nNkAWRCOfxTrInw4aYaebUxeLNPdrIVFayRHtW7Z89WBmt1fYiUT1hhuU9ijV\nNDzHrfaL6itl9q8KgXbD5abFUOogCwuWdV6+CkYToEQO9jCKECjub2Z57ou1\nPTLXT0+AeMmAODEuHkngnonpqSbznEWv2gMaTYPICYghmpIAWFSir8SX3UlE\n28VNWAsgSyqwGKjDzoSoRgVpPAVVXsoonAl6+hUzAW/XZUQwdrmBzYMkZVyy\nX4PFaglg9ox6y6IbowR7ij090SNZpJlrLqB5beYVvR/ptJ0gPSZZz03GQbds\n8yRSsqaVc+NCADBTD8yAEalbWLznfdbg1DCYsEnKWkiPsN/FWM8013Kf09i1\nub86\r\n=JQly\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC+SM0ygMORKpkmiNyRMeNs0jpeuJkSH7A2H83/EAAbrgIhANkGOfr8OPcFxsV3z0EWJLC9TFKcf57WkbkzUe7eIWpP"}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"},{"email":"bernd@brainbot.com","name":"trustlines-deploy"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.13.5-0-dev.20200618T163458Z.440297a_1592498743231_0.8110216028201833"},"_hasShrinkwrap":false},"0.13.5-0-dev.20200701T132809Z.5a798e4":{"name":"trustlines-clientlib","version":"0.13.5-0-dev.20200701T132809Z.5a798e4","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"typedoc --options tdconfig.json","lint":"tslint -c tslint.json './src/**/**.ts' './tests/**/**.ts'","prettier":"prettier --write './{src,tests}/**/*.ts'","prettier:check":"prettier --check './{src,tests}/**/*.ts'","prettier:big-tabs":"prettier --write --print-width 120 --no-semi --single-quote --tab-width 4  './{src,tests}/**/*.ts'","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","coverage":"nyc report --reporter=text-lcov > coverage.lcov && codecov","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump":"./bump.sh","serve":"webpack && cp -r ./_bundles ./examples/injected-web3 && http-server ./examples/injected-web3"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{ts,js,json,css,md}":["prettier --write","git add"],"*.ts":["tslint -c tslint.json --fix","git add"]},"nyc":{"extension":[".ts"],"include":["src"],"reporter":["text"],"all":true},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.17.21","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","codecov":"^3.5.0","es6-promise":"^4.1.1","fetch-mock":"^7.2.5","fluid-publish":"^2.2.0","http-server":"^0.11.1","husky":"^2.4.0","isomorphic-fetch":"^2.2.1","lint-staged":"^8.2.0","mocha":"^5.2.0","nyc":"^14.1.0","prettier":"^1.15.2","ts-node":"^7.0.0","tslint":"^5.17.0","tslint-config-prettier":"^1.18.0","typedoc":"^0.16.9","types-ethereumjs-util":"0.0.8","typescript":"^3.0.0","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"@msgpack/msgpack":"^1.12.1","bignumber.js":"7.2.1","ethereumjs-util":"^5.2.0","ethers":"^4.0.23","reconnecting-websocket":"^4.1.10","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","trustlines-contracts-abi":"dev","typedoc-plugin-markdown":"^2.2.16","ws":"^6.2.1"},"readme":"# Trustlines Clientlib\n\n[![npm](https://img.shields.io/npm/v/trustlines-clientlib.svg)](https://www.npmjs.com/package/trustlines-clientlib)\n[![CircleCI branch](https://img.shields.io/circleci/project/github/trustlines-protocol/clientlib/master.svg)](https://circleci.com/gh/trustlines-protocol/clientlib)\n[![Codecov branch](https://img.shields.io/codecov/c/github/trustlines-protocol/clientlib/master.svg)](https://codecov.io/gh/trustlines-protocol/clientlib)\n\nA TypeScript/JavaScript library for interacting with the [Trustlines Network Protocol](https://trustlines.network/).\n\n## Installation\n\n### Install via package manager\n\nWe publish the trustlines-clientlib to npm as a ES6 module.\n\n#### Using npm\n\n```bash\n$ npm i trustlines-clientlib\n```\n\n#### Using yarn\n\n```bash\n$ yarn add trustlines-clientlib\n```\n\n### Build from source\n\nIf you want to build the library from source run\n\n```bash\ngit clone git@github.com:trustlines-protocol/clientlib.git\ncd clientlib\nyarn && yarn build\n```\n\nThis will create three different builds:\n\n- ES6 module in `./lib-esm`\n- CommonJS module in `./lib`\n- Bundled JS injectable into browser in `./_bundles`\n\n## Get started\n\nWe assume the usage of the `trustlines-clientlib` ES6 module in the following.\n\n### Configuration\n\nTo start using the trustlines-clientlib you first have to configure the [relay server](https://github.com/trustlines-protocol/relay) you want to connect to.\nYou can either connect to a local develop relay server or use publicly available ones.\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n\n// Instance using a relay connected to the Laika Testnet\nconst laika = new TLNetwork({\n  relayUrl: {\n    protocol: 'https',\n    port: '80',\n    host: 'relay0.testnet.trustlines.network',\n    path: '/api/v1'\n  },\n  messagingUrl: {\n    protocol: 'https',\n    port: '80',\n    host: 'relay0.testnet.trustlines.network',\n    path: '/api/v1'\n  }\n\n  // ...\n})\n\n// Instance using a relay connected to the TLBC\nconst tlbc = new TLNetwork({\n  relayUrl: 'https://tlbc.relay.anyblock.tools/api/v1',\n  messagingUrl: 'https://messaging.trustlines.app/api/v1'\n  // ...\n})\n```\n\n### Example usage\n\nThis library is a promise-based library.\nSo every asynchronous call will return a native JavaScript promise.\nIf an error occurs the library will throw it.\nThe caller has to handle it appropriately.\n\n```javascript\ntry {\n  const networks = await laika.currencyNetwork.getAll()\n} catch (error) {\n  console.log('Caught error:', error)\n}\n```\n\n### Read our [documentation]() for more\n\n## Run Tests\n\n```bash\n# All tests\nyarn test\n\n# Unit tests\nyarn test:unit\n\n# Integration tests\nyarn test:integration\n\n# end2end tests\nyarn test:e2e\n```\n\n### Note on end2end tests\n\nYou have to have all components of the trustlines protocol running.\nA convenient way to achieve this is by using our [end2end](https://github.com/trustlines-protocol/end2end) setup.\n\n## Documentation\n\nYou can find the documentation for the trustlines-clientlib [here](https://dev.trustlines.network/docs/clientlib/clientlib.html).\nThe underlying markdown files of the documentation can be found in this repository under the `./docs` directory.\nTo generate the [typedoc](https://typedoc.org/) API reference documentation for this library run `yarn doc`.\n\n## Running injected web3 example\n\nTo run the example make sure to have [MetaMask](https://metamask.io/) installed and connected to a JSON RPC.\n\n```bash\nyarn serve\n```\n\nThis serves the injected web3 example app on `http://127.0.0.1:8080`. You can find the app under `./examples/injected-web3`.\n\n## Change log\n\nSee [CHANGELOG](./CHANGELOG.md)\n","readmeFilename":"README.md","gitHead":"5a798e4db939427b32eea2fc93ed5406157b0869","_id":"trustlines-clientlib@0.13.5-0-dev.20200701T132809Z.5a798e4","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"trustlines-deploy","email":"bernd@brainbot.com"},"dist":{"integrity":"sha512-UK0225na/J22xQbxXHjIAq7ukA8rQFAds/phoPuqDnfEhq3a2Qd9fTAkEfdZ4wxepm+8KFGW7ozptxTHSRRbJg==","shasum":"8d0fc3bf700005f80925e3aa102e2740cfa2a89a","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.13.5-0-dev.20200701T132809Z.5a798e4.tgz","fileCount":75,"unpackedSize":519195,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe/JIDCRA9TVsSAnZWagAAnsgP/i3Jc604WqIv8pV5DSr4\n6AxmO/MoUMimU+imaV5tcuFqwTUgB7/Ruy1LFOKC1qEnxFuiTyl4tezr1cD/\niz7UFgI36wMUsEpsjDf6LOaGYflowHBmOjI9d/0gz07xf1ODzHWsqkqVxlln\n36VdZ05XCBVZ2NoeuKao6P32GCwnLs7EE+SQDhXcJmi8RdtrSST2oQ/q2E3L\nn0AIhPMoNTUL3G7QkhywQlhNCOLEeslcNB9M0KvVwpdBsp250dLcy7yl0Boq\n31lfZI3nkksC74PXWpx8DRERAM5uvddmCqQ/PVUFlIduHz0qYzVTf2xr9qao\nt7mO0atSSCvGijjcAvXdkRoEfapYgjXToCTPrv+zmYV566rgwmgBx6BNTyPo\nnoeckj7Pubphl7hc0bZ7bbWA62tDcmMQoMW0w2/Stp/DE6D0cGwsoecuNaXf\nvdK9OqBa/oIziV25SncVk/2R/NQHuiQAGvog6Iov4s1o+MvzLIEBUmfwpH2W\nXg/wUGEKgoHG23O0pBu+VfHnQosWjzu99VZKsXUEGbHdpsoGa5E+qSFdXrw7\nheFyzAAO+HKKbEHzg+EqfNp3lppXurmxGL86eDduJVPaJlQPKOLgtbQjMFRQ\nAFjtww1PHKCeiis9dyw2g9F/06+NcOKWA0HqVhxPn8OdQ6FZ2OIM3P+0uxlc\nHq93\r\n=LC4v\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDrOURLcslKgTiqQXgbm9DvXxfqQCUmupdZy3MZkqtf6gIhAKQLxPdmproGgVwB0FTfV/emMVUa1EoJKJxEwnxyWKq2"}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"},{"email":"bernd@brainbot.com","name":"trustlines-deploy"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.13.5-0-dev.20200701T132809Z.5a798e4_1593610754578_0.09639965216693169"},"_hasShrinkwrap":false},"0.13.5-0-dev.20200706T130628Z.ad89a4b":{"name":"trustlines-clientlib","version":"0.13.5-0-dev.20200706T130628Z.ad89a4b","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"typedoc --options tdconfig.json","lint":"tslint -c tslint.json './src/**/**.ts' './tests/**/**.ts'","prettier":"prettier --write './{src,tests}/**/*.ts'","prettier:check":"prettier --check './{src,tests}/**/*.ts'","prettier:big-tabs":"prettier --write --print-width 120 --no-semi --single-quote --tab-width 4  './{src,tests}/**/*.ts'","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","coverage":"nyc report --reporter=text-lcov > coverage.lcov && codecov","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump":"./bump.sh","serve":"webpack && cp -r ./_bundles ./examples/injected-web3 && http-server ./examples/injected-web3"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{ts,js,json,css,md}":["prettier --write","git add"],"*.ts":["tslint -c tslint.json --fix","git add"]},"nyc":{"extension":[".ts"],"include":["src"],"reporter":["text"],"all":true},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.17.21","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","codecov":"^3.5.0","es6-promise":"^4.1.1","fetch-mock":"^7.2.5","fluid-publish":"^2.2.0","http-server":"^0.11.1","husky":"^2.4.0","isomorphic-fetch":"^2.2.1","lint-staged":"^8.2.0","mocha":"^5.2.0","nyc":"^14.1.0","prettier":"^1.15.2","ts-node":"^7.0.0","tslint":"^5.17.0","tslint-config-prettier":"^1.18.0","typedoc":"^0.16.9","types-ethereumjs-util":"0.0.8","typescript":"^3.0.0","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"@msgpack/msgpack":"^1.12.1","bignumber.js":"7.2.1","ethereumjs-util":"^5.2.0","ethers":"^4.0.23","reconnecting-websocket":"^4.1.10","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","trustlines-contracts-abi":"dev","typedoc-plugin-markdown":"^2.2.16","ws":"^6.2.1"},"readme":"# Trustlines Clientlib\n\n[![npm](https://img.shields.io/npm/v/trustlines-clientlib.svg)](https://www.npmjs.com/package/trustlines-clientlib)\n[![CircleCI branch](https://img.shields.io/circleci/project/github/trustlines-protocol/clientlib/master.svg)](https://circleci.com/gh/trustlines-protocol/clientlib)\n[![Codecov branch](https://img.shields.io/codecov/c/github/trustlines-protocol/clientlib/master.svg)](https://codecov.io/gh/trustlines-protocol/clientlib)\n\nA TypeScript/JavaScript library for interacting with the [Trustlines Network Protocol](https://trustlines.network/).\n\n## Installation\n\n### Install via package manager\n\nWe publish the trustlines-clientlib to npm as a ES6 module.\n\n#### Using npm\n\n```bash\n$ npm i trustlines-clientlib\n```\n\n#### Using yarn\n\n```bash\n$ yarn add trustlines-clientlib\n```\n\n### Build from source\n\nIf you want to build the library from source run\n\n```bash\ngit clone git@github.com:trustlines-protocol/clientlib.git\ncd clientlib\nyarn && yarn build\n```\n\nThis will create three different builds:\n\n- ES6 module in `./lib-esm`\n- CommonJS module in `./lib`\n- Bundled JS injectable into browser in `./_bundles`\n\n## Get started\n\nWe assume the usage of the `trustlines-clientlib` ES6 module in the following.\n\n### Configuration\n\nTo start using the trustlines-clientlib you first have to configure the [relay server](https://github.com/trustlines-protocol/relay) you want to connect to.\nYou can either connect to a local develop relay server or use publicly available ones.\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n\n// Instance using a relay connected to the Laika Testnet\nconst laika = new TLNetwork({\n  relayUrl: {\n    protocol: 'https',\n    port: '80',\n    host: 'relay0.testnet.trustlines.network',\n    path: '/api/v1'\n  },\n  messagingUrl: {\n    protocol: 'https',\n    port: '80',\n    host: 'relay0.testnet.trustlines.network',\n    path: '/api/v1'\n  }\n\n  // ...\n})\n\n// Instance using a relay connected to the TLBC\nconst tlbc = new TLNetwork({\n  relayUrl: 'https://tlbc.relay.anyblock.tools/api/v1',\n  messagingUrl: 'https://messaging.trustlines.app/api/v1'\n  // ...\n})\n```\n\n### Example usage\n\nThis library is a promise-based library.\nSo every asynchronous call will return a native JavaScript promise.\nIf an error occurs the library will throw it.\nThe caller has to handle it appropriately.\n\n```javascript\ntry {\n  const networks = await laika.currencyNetwork.getAll()\n} catch (error) {\n  console.log('Caught error:', error)\n}\n```\n\n### Read our [documentation]() for more\n\n## Run Tests\n\n```bash\n# All tests\nyarn test\n\n# Unit tests\nyarn test:unit\n\n# Integration tests\nyarn test:integration\n\n# end2end tests\nyarn test:e2e\n```\n\n### Note on end2end tests\n\nYou have to have all components of the trustlines protocol running.\nA convenient way to achieve this is by using our [end2end](https://github.com/trustlines-protocol/end2end) setup.\n\n## Documentation\n\nYou can find the documentation for the trustlines-clientlib [here](https://dev.trustlines.network/docs/clientlib/clientlib.html).\nThe underlying markdown files of the documentation can be found in this repository under the `./docs` directory.\nTo generate the [typedoc](https://typedoc.org/) API reference documentation for this library run `yarn doc`.\n\n## Running injected web3 example\n\nTo run the example make sure to have [MetaMask](https://metamask.io/) installed and connected to a JSON RPC.\n\n```bash\nyarn serve\n```\n\nThis serves the injected web3 example app on `http://127.0.0.1:8080`. You can find the app under `./examples/injected-web3`.\n\n## Change log\n\nSee [CHANGELOG](./CHANGELOG.md)\n","readmeFilename":"README.md","gitHead":"ad89a4b9d136bf9d6a5b3340d37b0d47aef72d84","_id":"trustlines-clientlib@0.13.5-0-dev.20200706T130628Z.ad89a4b","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"trustlines-deploy","email":"bernd@brainbot.com"},"dist":{"integrity":"sha512-gv0YFuTSCTuT9zcO3xrTlLBD8iZen5ZBFUad+W18fhwp1LOrEvyWBfjuen2mkwm7QrrHDYkBUPNLrcOuc7/RZQ==","shasum":"6ce0b6a1b5175b93c68374fef679a0afd92af122","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.13.5-0-dev.20200706T130628Z.ad89a4b.tgz","fileCount":75,"unpackedSize":519605,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfAySBCRA9TVsSAnZWagAAnrQP/1/4COYb2oWZA77nKSQl\nO9D1Btu9S8ovutx/IsTkJOPaKFc3UxIWU2UqBFush1vJU226O/AJh/UGW6bF\np6SLTqyv1yBdHZzjFFyULNXA7T7zPfU7iUVqU3xSdwpGNGnU9sa52hx8YIpy\ntLaxninALyOGSfupTJfKYQ40+Atgu934IBoB0FBZyj5q777kWnAF4bd/FZES\n8fH9//x9e6iq5rHHYpdGedTvL569+OioI1NnSfnrDBRo2VTnus3WQxaquU+3\nOztJORdUWLL+2raPRMhYN5NEV0TG+a1nIanGA6jQkuiiElDhSBRfiKZBexzk\nWZpNRkkSWsqlqoYGZ7caE1ddRg21Wwx5skzRCjUXCa4BSlP3kOBsp5+sDYuh\nifFJQGmpU/YxkJISQq+e69y0S5xZsCYysG6cT6WxSiea4Y6x1+5aqbiS0A/M\nkleXmVv+9Gy0rYwMVa6/Uyh3UO3WmxUayVhtifZWrwlh0b9C49stQs9W5hry\nayK60vZR2NOVggbVub2vBHBxasBRsLyjh2xevG4VLYMVFtNpeqW0v8C5I7ta\nK3rM2fCVflc1OmSuafFMRfZSI1pOt9KGd2PIdJX4mi8LrBDfHmFyQPjDEatl\nfG0Sa3Zz5iUAtcrQOqdu/uKTQOjiZIfNsCh76oqU9XKQs0NjddcB16376cUB\ndNfP\r\n=jhom\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFK2vz5RvcE7SMIdBpumcaSVZhVym3+1zpophE6DPNl+AiEApUlp7lnX964XMbflPb9IStKGAHkoutyDv2bWUQOHxv4="}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"},{"email":"bernd@brainbot.com","name":"trustlines-deploy"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.13.5-0-dev.20200706T130628Z.ad89a4b_1594041472711_0.9673589100463797"},"_hasShrinkwrap":false},"0.13.5-0-dev.20200708T164003Z.19362e0":{"name":"trustlines-clientlib","version":"0.13.5-0-dev.20200708T164003Z.19362e0","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"typedoc --options tdconfig.json","lint":"tslint -c tslint.json './src/**/**.ts' './tests/**/**.ts'","prettier":"prettier --write './{src,tests}/**/*.ts'","prettier:check":"prettier --check './{src,tests}/**/*.ts'","prettier:big-tabs":"prettier --write --print-width 120 --no-semi --single-quote --tab-width 4  './{src,tests}/**/*.ts'","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","coverage":"nyc report --reporter=text-lcov > coverage.lcov && codecov","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump":"./bump.sh","serve":"webpack && cp -r ./_bundles ./examples/injected-web3 && http-server ./examples/injected-web3"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{ts,js,json,css,md}":["prettier --write","git add"],"*.ts":["tslint -c tslint.json --fix","git add"]},"nyc":{"extension":[".ts"],"include":["src"],"reporter":["text"],"all":true},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.17.21","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","codecov":"^3.5.0","es6-promise":"^4.1.1","fetch-mock":"^7.2.5","fluid-publish":"^2.2.0","http-server":"^0.11.1","husky":"^2.4.0","isomorphic-fetch":"^2.2.1","lint-staged":"^8.2.0","mocha":"^5.2.0","nyc":"^14.1.0","prettier":"^1.15.2","ts-node":"^7.0.0","tslint":"^5.17.0","tslint-config-prettier":"^1.18.0","typedoc":"^0.16.9","types-ethereumjs-util":"0.0.8","typescript":"^3.0.0","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"@msgpack/msgpack":"^1.12.1","bignumber.js":"7.2.1","ethereumjs-util":"^5.2.0","ethers":"^4.0.23","reconnecting-websocket":"^4.1.10","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","trustlines-contracts-abi":"dev","typedoc-plugin-markdown":"^2.2.16","ws":"^6.2.1"},"readme":"# Trustlines Clientlib\n\n[![npm](https://img.shields.io/npm/v/trustlines-clientlib.svg)](https://www.npmjs.com/package/trustlines-clientlib)\n[![CircleCI branch](https://img.shields.io/circleci/project/github/trustlines-protocol/clientlib/master.svg)](https://circleci.com/gh/trustlines-protocol/clientlib)\n[![Codecov branch](https://img.shields.io/codecov/c/github/trustlines-protocol/clientlib/master.svg)](https://codecov.io/gh/trustlines-protocol/clientlib)\n[![gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/trustlines/community)\n\nThe clientlib is a component of the [Trustlines Protocol](https://trustlines.foundation/protocol.html).\nThe Trustlines Protocol is a set of rules to allow the transfer of value on top of existing trust\nrelationships stored on a trustless infrastructure, here a blockchain.\n\nIn the technology stack, the clientlib is located on top of a [relay server](https://github.com/trustlines-protocol/relay),\nand a mobile application can be built on top of it.\n\nThe goal of the clientlib is to provide a user focused means to interact with Trustlines via a relay server.\nIt also provides a means to handle the wallet and key for the user.\nThe intent is to make it as easy as possible to build a user interface for Trustlines on top of it.\n\n## Get Up and Running\n\nThe trustlines-clientlib is published to npm as an ES6 module.\nYou can install it using either `npm` or `yarn`.\n\n#### Using npm\n\n```bash\n$ npm i trustlines-clientlib\n```\n\n#### Using yarn\n\n```bash\n$ yarn add trustlines-clientlib\n```\n\n#### Build from source\n\nIf you want to build the library from source, you can run:\n\n```bash\ngit clone git@github.com:trustlines-protocol/clientlib.git\ncd clientlib\nyarn && yarn build\n```\n\nThis will create three different builds:\n\n- ES6 module in `./lib-esm`\n- CommonJS module in `./lib`\n- Bundled JS injectable into browser in `./_bundles`\n\n#### Example\n\nWe assume the usage of the `trustlines-clientlib` ES6 module in the following.\n\nTo start using the trustlines-clientlib you first have to configure the [relay server](https://github.com/trustlines-protocol/relay)\nyou want to connect to. You can either connect to a local develop relay server or use publicly available ones.\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n\n// Instance using a relay connected to the Laika Testnet\nconst laika = new TLNetwork({\n  relayUrl: {\n    protocol: 'https',\n    port: '80',\n    host: 'relay0.testnet.trustlines.network',\n    path: '/api/v1'\n  },\n  messagingUrl: {\n    protocol: 'https',\n    port: '80',\n    host: 'relay0.testnet.trustlines.network',\n    path: '/api/v1'\n  }\n\n  // ...\n})\n\n// Instance using a relay connected to the TLBC\nconst tlbc = new TLNetwork({\n  relayUrl: 'https://tlbc.relay.anyblock.tools/api/v1',\n  messagingUrl: 'https://messaging.trustlines.app/api/v1'\n  // ...\n})\n```\n\nThis library is a promise-based library.\nSo every asynchronous call will return a native JavaScript promise.\nIf an error occurs the library will throw it.\nThe caller has to handle it appropriately.\n\n```javascript\ntry {\n  const networks = await laika.currencyNetwork.getAll()\n} catch (error) {\n  console.log('Caught error:', error)\n}\n```\n\n## Start developing\n\nIf you want to start developing on the clientlib, make sure you can run the tests:\n\n```bash\n# All tests\nyarn test\n\n# Unit tests\nyarn test:unit\n\n# Integration tests\nyarn test:integration\n\n# end2end tests\nyarn test:e2e\n```\n\nThe end2end tests are used to test how different components of the Trustlines protocol run together.\nYou need to have all components up before running them.\nA convenient way to achieve this is by using our [end2end](https://github.com/trustlines-protocol/end2end) setup.\n\n## Contributing\n\nContributions are highly appreciated, but please check our [contributing guidelines](CONTRIBUTING.md).\n\n## Release\n\nTo release a new version simply run:\n\n```\nyarn bump [patch|minor|major]\n```\n\nThis will update the version in the `package.json` file, add a git tag with the updated version to the current commit and eventually push to github.\nSubsequently, CircleCI will publish the tagged version to npm.\nMake sure to update the changelog accordingly.\n\nNote that we also fluidly publish the most recent commit on the `master` branch using [fluid-publish](https://github.com/fluid-project/fluid-publish).\n\n## Change log\n\nSee [CHANGELOG](./CHANGELOG.md)\n\n## Documentation\n\nTo generate the [typedoc](https://typedoc.org/) API reference documentation for this library run `yarn doc`.\nThis will generate output in the `docs` folder.\n","readmeFilename":"README.md","gitHead":"19362e0238a14b7590a5a45727489283a1e46eb1","_id":"trustlines-clientlib@0.13.5-0-dev.20200708T164003Z.19362e0","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"trustlines-deploy","email":"bernd@brainbot.com"},"dist":{"integrity":"sha512-xRrN7k2N277A0QJLdBoOfamqyzkhZFxp4170jdd8qz/13nDp6sjti6zEGWcV/YVZj6KsCA3ZQEwUnoMQc04h4g==","shasum":"0dbea5af3b1e2ba75ccae4c46ffd48732e2b0481","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.13.5-0-dev.20200708T164003Z.19362e0.tgz","fileCount":76,"unpackedSize":523858,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfBfmVCRA9TVsSAnZWagAAZDQP/2vMBmSv1g6fxW7xNi5W\nXxiKsLNsG2ObALHd7Kguo2hmyfD4eZ7KqaOAuxjrXtqTaKRjCheTpemC57FU\nzSfx7qhOtuqXa/ZtRPc6t/7xdt6Qila8FhHwz9qXMvONVWd+bL67g8UlptXQ\nv2S0KLX2qTg8Ro86NB16lkgf+FNk8ERHrhmGSD3LOMs5jBHJeFL1iqxVbpgk\ncGxMNrJwfg8G/5HGOdtUuTI71q/EBiWuXBITLw3rhx++NwkKlGpzEEcRR5i6\nrqUHyNPADk9/DCKDQv0qbqdYeJgaQn7H/XNI+/KCbJF/lf2LEJT64AppEHFY\noMe8TZ3jDXLu0vmpWATzXT2Ensgm4HPVRP6wDpCvwOm5j2y+1mNbDySe0r9Z\nBmnUP1j7MXjdLdH4jHF+5A4Fw/n0dtDDCoo8sJqsa4n6eqMGgdQOvwi8tDkL\n7RpwmzEy2GTtEuB5ihBj+ID94sTuRxYExsw2aQNBPlCHBC61JhgWP3F4X36x\nPHKyHE3pBK3OT4V0PQqFE/amAmKWvTSF9ahCNQ+455h25jCf5rz3BsBvBt4f\nKzouRDxJL2sQcFuDuUumKTjW0DhCLY1ycySsKBztL0Jey9WQKnTgvOHPqOON\nJS96pIGPKOZ79Q5zDmGfE/h3hUlAyuu/IYizrE5OxKBgmAzIV3+ZhYPA/JWx\nH14/\r\n=+aq1\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEHsOuTxI4YTWy/m+zegs0tyhRU/gO86cjPYHcHKCDMKAiEAkC1DqwyOl9FM0Lr2EFJrABYuSdwmFUGZEwDVfbm/NT0="}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"},{"email":"bernd@brainbot.com","name":"trustlines-deploy"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.13.5-0-dev.20200708T164003Z.19362e0_1594227092372_0.9312858515620612"},"_hasShrinkwrap":false},"0.13.5-0-dev.20200727T083650Z.399c5fc":{"name":"trustlines-clientlib","version":"0.13.5-0-dev.20200727T083650Z.399c5fc","description":"Javascript library for interacting with the trustlines network protocol","main":"lib-esm/TLNetwork.js","scripts":{"build":"tsc && tsc -m es6 --outDir lib-esm && webpack","build:esm":"tsc -m es6 --outDir lib-esm","doc":"typedoc --options tdconfig.json","lint":"tslint -c tslint.json './src/**/**.ts' './tests/**/**.ts'","prettier":"prettier --write './{src,tests}/**/*.ts'","prettier:check":"prettier --check './{src,tests}/**/*.ts'","prettier:big-tabs":"prettier --write --print-width 120 --no-semi --single-quote --tab-width 4  './{src,tests}/**/*.ts'","test":"mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/**/**.test.ts","test:e2e":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/**.test.ts","test:integration":"nyc mocha --timeout 5000 --require isomorphic-fetch -r ts-node/register tests/integration/**.test.ts","test:unit":"nyc mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/unit/**.test.ts","coverage":"nyc report --reporter=text-lcov > coverage.lcov && codecov","watch:esm":"tsc -w -m es6 --outDir lib-esm","bump":"./bump.sh","serve":"webpack && cp -r ./_bundles ./examples/injected-web3 && http-server ./examples/injected-web3"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{ts,js,json,css,md}":["prettier --write","git add"],"*.ts":["tslint -c tslint.json --fix","git add"]},"nyc":{"extension":[".ts"],"include":["src"],"reporter":["text"],"all":true},"repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"author":{"name":"trustlines-network"},"license":"ISC","bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"homepage":"https://github.com/trustlines-network/clientlib#readme","devDependencies":{"@types/chai":"^4.1.4","@types/chai-as-promised":"^7.1.0","@types/isomorphic-fetch":"0.0.34","@types/mocha":"^5.2.2","@types/node":"^10.17.21","awesome-typescript-loader":"^5.2.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","codecov":"^3.5.0","es6-promise":"^4.1.1","fetch-mock":"^7.2.5","fluid-publish":"^2.2.0","http-server":"^0.11.1","husky":"^2.4.0","isomorphic-fetch":"^2.2.1","lint-staged":"^8.2.0","mocha":"^5.2.0","nyc":"^14.1.0","prettier":"^1.15.2","ts-node":"^7.0.0","tslint":"^5.17.0","tslint-config-prettier":"^1.18.0","typedoc":"^0.16.9","types-ethereumjs-util":"0.0.8","typescript":"^3.0.0","webpack":"^4.16.0","webpack-cli":"^3.0.8"},"dependencies":{"@msgpack/msgpack":"^1.12.1","bignumber.js":"7.2.1","ethereumjs-util":"^5.2.0","ethers":"^4.0.23","reconnecting-websocket":"^4.1.10","rxjs":"^5.4.1","simple-jsonrpc-js":"0.0.10","trustlines-contracts-abi":"dev","typedoc-plugin-markdown":"^2.2.16","ws":"^6.2.1"},"readme":"# Trustlines Clientlib\n\n[![npm](https://img.shields.io/npm/v/trustlines-clientlib.svg)](https://www.npmjs.com/package/trustlines-clientlib)\n[![CircleCI branch](https://img.shields.io/circleci/project/github/trustlines-protocol/clientlib/master.svg)](https://circleci.com/gh/trustlines-protocol/clientlib)\n[![Codecov branch](https://img.shields.io/codecov/c/github/trustlines-protocol/clientlib/master.svg)](https://codecov.io/gh/trustlines-protocol/clientlib)\n[![gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/trustlines/community)\n\nThe clientlib is a component of the [Trustlines Protocol](https://trustlines.foundation/protocol.html).\nThe Trustlines Protocol is a set of rules to allow the transfer of value on top of existing trust\nrelationships stored on a trustless infrastructure, here a blockchain.\n\nIn the technology stack, the clientlib is located on top of a [relay server](https://github.com/trustlines-protocol/relay),\nand a mobile application can be built on top of it.\n\nThe goal of the clientlib is to provide a user focused means to interact with Trustlines via a relay server.\nIt also provides a means to handle the wallet and key for the user.\nThe intent is to make it as easy as possible to build a user interface for Trustlines on top of it.\n\n## Get Up and Running\n\nThe trustlines-clientlib is published to npm as an ES6 module.\nYou can install it using either `npm` or `yarn`.\n\n#### Using npm\n\n```bash\n$ npm i trustlines-clientlib\n```\n\n#### Using yarn\n\n```bash\n$ yarn add trustlines-clientlib\n```\n\n#### Build from source\n\nIf you want to build the library from source, you can run:\n\n```bash\ngit clone git@github.com:trustlines-protocol/clientlib.git\ncd clientlib\nyarn && yarn build\n```\n\nThis will create three different builds:\n\n- ES6 module in `./lib-esm`\n- CommonJS module in `./lib`\n- Bundled JS injectable into browser in `./_bundles`\n\n#### Example\n\nWe assume the usage of the `trustlines-clientlib` ES6 module in the following.\n\nTo start using the trustlines-clientlib you first have to configure the [relay server](https://github.com/trustlines-protocol/relay)\nyou want to connect to. You can either connect to a local develop relay server or use publicly available ones.\n\n```javascript\nimport { TLNetwork } from 'trustlines-clientlib'\n\n// Instance using a relay connected to the Laika Testnet\nconst laika = new TLNetwork({\n  relayUrl: {\n    protocol: 'https',\n    port: '80',\n    host: 'relay0.testnet.trustlines.network',\n    path: '/api/v1'\n  },\n  messagingUrl: {\n    protocol: 'https',\n    port: '80',\n    host: 'relay0.testnet.trustlines.network',\n    path: '/api/v1'\n  }\n\n  // ...\n})\n\n// Instance using a relay connected to the TLBC\nconst tlbc = new TLNetwork({\n  relayUrl: 'https://tlbc.relay.anyblock.tools/api/v1',\n  messagingUrl: 'https://messaging.trustlines.app/api/v1'\n  // ...\n})\n```\n\nThis library is a promise-based library.\nSo every asynchronous call will return a native JavaScript promise.\nIf an error occurs the library will throw it.\nThe caller has to handle it appropriately.\n\n```javascript\ntry {\n  const networks = await laika.currencyNetwork.getAll()\n} catch (error) {\n  console.log('Caught error:', error)\n}\n```\n\n## Start developing\n\nIf you want to start developing on the clientlib, make sure you can run the tests:\n\n```bash\n# All tests\nyarn test\n\n# Unit tests\nyarn test:unit\n\n# Integration tests\nyarn test:integration\n\n# end2end tests\nyarn test:e2e\n```\n\nThe end2end tests are used to test how different components of the Trustlines protocol run together.\nYou need to have all components up before running them.\nA convenient way to achieve this is by using our [end2end](https://github.com/trustlines-protocol/end2end) setup.\n\n## Contributing\n\nContributions are highly appreciated, but please check our [contributing guidelines](CONTRIBUTING.md).\n\n## Release\n\nTo release a new version simply run:\n\n```\nyarn bump [patch|minor|major]\n```\n\nThis will update the version in the `package.json` file, add a git tag with the updated version to the current commit and eventually push to github.\nSubsequently, CircleCI will publish the tagged version to npm.\nMake sure to update the changelog accordingly.\n\nNote that we also fluidly publish the most recent commit on the `master` branch using [fluid-publish](https://github.com/fluid-project/fluid-publish).\n\n## Change log\n\nSee [CHANGELOG](./CHANGELOG.md)\n\n## Documentation\n\nYou can read more about the clientlib api in the [clientlib-docs](https://trustlines-protocol.github.io/clientlib-docs/)\npage.\n\nTo generate the [typedoc](https://typedoc.org/) API reference documentation for this library run `yarn doc`.\nThis will generate output in the `docs` folder.\n","readmeFilename":"README.md","gitHead":"399c5fc8e29ba7544821f47b39a3457a242fd082","_id":"trustlines-clientlib@0.13.5-0-dev.20200727T083650Z.399c5fc","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"trustlines-deploy","email":"bernd@brainbot.com"},"dist":{"integrity":"sha512-p1rplChgCKDgp6kT5cT6WF7b8Sj9EBy7Occ91f4WjSKh73HplyRnoKJboUVcbgB5Fiumqs/sym7xhomvf++sig==","shasum":"eeeecc877570b6ea53e19aedd102449cc98406f9","tarball":"https://registry.npmjs.org/trustlines-clientlib/-/trustlines-clientlib-0.13.5-0-dev.20200727T083650Z.399c5fc.tgz","fileCount":76,"unpackedSize":523986,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfHpVTCRA9TVsSAnZWagAA+7gP/iX6sYm0+PpTbtaWDzxl\nNKHDJE58Y/y1VQgKi4oMSl6FpCNquNFz6HHbHjqz76dOZe75LKopD5wqd/La\nHVNITcVFL//kYwJQK/i/9sIf8jvGpRqICp10BoMQ+ng07Dddp2N2K+9lVzLS\no0Wr1DKDzevXGmbmrMvzu20EKHsAS6ua8lDVvKspqKErbmt4TluoDSkudMVU\nrzUzEfl+Py0rnZtGRP7Iz5tXcRmfsSjWKNGTfl5jciCu7uge5DqocB/FkM3O\nVR9BDG/O8kVtXNy2PkMOWS0HvHpO3HY7ozHibdU6ArceucK7jd8lOhBaZlL4\nxMW2CjCteG5oQxRiPlX6GCKJoWDudp3lfwOfR4kYwXzaVrykodJbNPsd4Qlm\nYNU0ecC2FliquDNEUQ8R8q6mFWsqUpQV1PioN2wekt5T0OBgud5nB+RxKOP2\nAvPcR81ZVz+5gH4KASEIsJHhWrtoTA91gvgTB/kOfrOXL4dwdUhAZV1RfQrt\n2QpuCiFHVF9PntZcoLZDMzmyac5ABUohn/9HH1oYqLwPhG3COipIhk4tDz/r\nA+ETtG8gBBMWyF7SJhr11PPL733RMtPGZD6jnb+TA1fc78XFDYgtfusryyGL\n708Xw+W/cq06XuyiKTeUKPN2Z1Y2s3v/znFLRWxVkuu9pB06LObXKMYoQpdc\nQsIV\r\n=LrOK\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCxWSKyglhW5Ocq6pdLO0SpB1Fc1ErNewpRbODQg8L9SQIgam0Dcqbd5CqOmhiqsXq4y1mb6MIr81pMYSiq3juBYA4="}]},"maintainers":[{"email":"dongha.kim210@gmail.com","name":"dakingha69"},{"email":"jens@brainbot.com","name":"jens_n"},{"email":"bernd@brainbot.com","name":"trustlines-deploy"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trustlines-clientlib_0.13.5-0-dev.20200727T083650Z.399c5fc_1595839826508_0.26947254031188583"},"_hasShrinkwrap":false}},"time":{"created":"2018-08-01T09:18:19.472Z","0.0.1":"2018-08-01T09:18:19.584Z","modified":"2022-06-27T21:53:30.635Z","0.1.0":"2018-08-02T10:46:44.721Z","0.1.1":"2018-08-02T16:54:51.813Z","0.1.2":"2018-08-07T15:37:58.284Z","0.1.2-dev.20180816T093610Z.7f62300.HEAD":"2018-08-16T09:40:47.935Z","0.1.2-next.20180816T100742Z.fdb2685.HEAD":"2018-08-16T10:16:10.561Z","0.1.2-dev.20180816T103808Z.2e313bb.HEAD":"2018-08-16T10:48:48.561Z","0.1.2-dev.20180817T100838Z.3438646.HEAD":"2018-08-17T10:16:21.870Z","0.1.2-dev.20180817T101709Z.d1e6622.HEAD":"2018-08-17T10:33:31.433Z","0.1.2-dev.20180820T070359Z.826cf38.HEAD":"2018-08-20T07:24:51.452Z","0.1.3-dev.20180822T082547Z.24cba90.HEAD":"2018-08-22T09:05:50.059Z","0.1.3-dev.20180822T102431Z.1969074.HEAD":"2018-08-22T10:51:40.910Z","0.1.3":"2018-08-22T11:02:35.122Z","0.1.3-dev.20181009T153444Z.871eaa3.HEAD":"2018-10-09T15:41:23.382Z","0.1.3-dev.20181011T124854Z.953e548.HEAD":"2018-10-11T12:55:44.426Z","0.1.3-dev.20181113T171213Z.6d797ce.HEAD":"2018-11-13T17:22:28.137Z","0.1.3-dev.20181114T123018Z.b2222c4.HEAD":"2018-11-14T12:37:16.245Z","0.1.3-dev.20181114T140340Z.dfd8471.HEAD":"2018-11-14T14:11:02.375Z","0.1.4":"2018-11-14T15:33:12.960Z","0.1.5-dev.20181114T152441Z.5f4d690.HEAD":"2018-11-14T15:33:27.486Z","0.1.5-dev.20181114T155919Z.48fe055.HEAD":"2018-11-14T16:08:21.352Z","0.1.5-dev.20181114T161947Z.c2ae077.HEAD":"2018-11-14T16:27:05.495Z","0.2.0-dev.20181115T123614Z.959b6f9.HEAD":"2018-11-15T12:44:03.670Z","0.2.1-dev.20181115T132422Z.8798c79.HEAD":"2018-11-15T13:31:27.758Z","0.2.0":"2018-11-15T13:32:00.075Z","0.2.1":"2018-11-15T13:33:50.043Z","0.2.2-0-dev.20181115T132855Z.015d698.HEAD":"2018-11-15T13:36:36.813Z","0.2.2-0-dev.20181130T153121Z.a71eef2.HEAD":"2018-11-30T15:38:38.838Z","0.2.2-0-dev.20181130T164335Z.ce12130.HEAD":"2018-11-30T16:53:11.010Z","0.2.2-0-dev.20181205T085901Z.87fb174.HEAD":"2018-12-05T09:09:29.035Z","0.2.2-0-dev.20181205T161129Z.364804f.HEAD":"2018-12-05T16:22:30.008Z","0.2.2-0-dev.20181211T074901Z.332295b.HEAD":"2018-12-11T08:00:26.253Z","0.2.2-0-dev.20181211T100239Z.8df1728.HEAD":"2018-12-11T10:12:14.482Z","0.2.2-0-dev.20181213T115912Z.b878235.HEAD":"2018-12-13T12:09:16.163Z","0.2.2":"2018-12-18T11:03:54.876Z","0.2.3-0-dev.20181218T105243Z.da11882.HEAD":"2018-12-18T11:03:58.848Z","0.2.3-0-dev.20181218T113352Z.83173ad.HEAD":"2018-12-18T11:43:29.904Z","0.2.3-0-dev.20190103T094750Z.7a80dcc.HEAD":"2019-01-03T10:01:12.122Z","0.2.3-0-dev.20190103T145740Z.f2cfdf3.HEAD":"2019-01-03T15:08:06.790Z","0.2.3-0":"2019-01-11T15:09:31.310Z","0.2.3-0-dev.20190115T153223Z.2a980d2.develop":"2019-01-15T15:40:22.452Z","0.2.3-0-dev.20190115T160817Z.ae4001d.develop":"2019-01-15T16:15:31.617Z","0.2.3-0-dev.20190116T093637Z.f082941.develop":"2019-01-16T09:43:53.528Z","0.2.3-0-dev.20190121T081412Z.e108eac.develop":"2019-01-21T12:18:43.085Z","0.2.3-0-dev.20190124T110658Z.3c09440.develop":"2019-01-24T11:15:10.643Z","0.2.3-0-dev.20190206T133014Z.0a2df72.develop":"2019-02-06T13:38:19.509Z","0.2.3-0-dev.20190211T154519Z.9a4abc6.develop":"2019-02-11T16:00:06.657Z","0.2.3-0-dev.20190212T164719Z.d830113.develop":"2019-02-12T16:57:06.645Z","0.2.3-0-dev.20190214T121558Z.67cd815.develop":"2019-02-14T12:24:01.590Z","0.3.0":"2019-02-15T09:42:09.602Z","0.3.1-0-dev.20190215T094103Z.540df19.develop":"2019-02-15T09:50:08.671Z","0.3.1-0-dev.20190215T095707Z.ebfe91d.develop":"2019-02-15T10:04:50.702Z","0.3.1-0-dev.20190218T080704Z.fbbea39.develop":"2019-02-18T08:15:50.767Z","0.3.1-0-dev.20190228T092245Z.38bbe25.develop":"2019-02-28T13:11:03.013Z","0.3.1-0-dev.20190308T095219Z.ce986d5.develop":"2019-03-08T10:01:30.213Z","0.3.1-0-dev.20190312T132411Z.585b7c9.develop":"2019-03-12T13:33:37.926Z","0.3.1-0-dev.20190320T134048Z.c3753de.develop":"2019-03-20T13:49:10.557Z","0.3.1-0-dev.20190322T140908Z.b45e062.develop":"2019-03-22T14:18:15.415Z","0.3.1-0-dev.20190327T115420Z.e34adb5.develop":"2019-03-27T12:02:12.422Z","0.3.1-0-dev.20190327T174347Z.98ce77e.develop":"2019-03-27T17:52:33.608Z","0.3.1-0-dev.20190329T154941Z.f1b6bfa.develop":"2019-03-29T16:00:58.882Z","0.3.1-0-dev.20190401T152935Z.be0e3de.develop":"2019-04-01T15:40:11.634Z","0.3.1-0-dev.20190403T073929Z.4d933ad.develop":"2019-04-03T07:49:21.794Z","0.4.0":"2019-04-12T08:58:45.422Z","0.4.1-0-dev.20190417T143405Z.07adc8d":"2019-04-17T14:44:58.918Z","0.4.1":"2019-04-17T15:07:14.217Z","0.4.2-0-dev.20190417T150508Z.eb601b3":"2019-04-17T15:16:29.208Z","0.4.2-0-dev.20190418T135212Z.62d9890":"2019-04-18T14:03:01.650Z","0.4.2":"2019-04-18T15:12:21.408Z","0.4.3-0-dev.20190418T151117Z.e4ec0fe":"2019-04-18T15:21:58.091Z","0.4.3-0-dev.20190528T135839Z.533abe6":"2019-05-28T14:04:20.531Z","0.4.3-0-dev.20190529T083135Z.94850b0":"2019-05-29T08:36:20.958Z","0.4.3":"2019-05-29T08:39:15.700Z","0.4.4-0-dev.20190529T083751Z.b56a3a9":"2019-05-29T08:42:09.558Z","0.4.4-0-dev.20190606T213820Z.f819380":"2019-06-06T21:48:42.133Z","0.4.4-0-dev.20190625T112449Z.5df7e43":"2019-06-25T11:34:41.375Z","0.5.0":"2019-06-25T13:42:57.086Z","0.5.1-0-dev.20190625T134120Z.8628864":"2019-06-25T13:51:15.944Z","0.5.1-0-dev.20190808T145629Z.e245f68":"2019-08-08T15:06:50.565Z","0.5.1-0":"2019-08-08T15:25:19.073Z","0.5.1-0-dev.20190808T151818Z.0abe49d":"2019-08-08T15:28:23.577Z","0.6.1-0-dev.20190808T154509Z.2e681da":"2019-08-08T15:57:01.085Z","0.6.0":"2019-08-08T15:57:06.058Z","0.6.1-0-dev.20190808T163517Z.ced105a":"2019-08-08T16:45:42.910Z","0.6.1-0-dev.20190814T103512Z.61ce35c":"2019-08-14T10:45:24.134Z","0.6.1-0-dev.20190814T115743Z.6e15e92":"2019-08-14T12:09:10.713Z","0.6.1-0-dev.20190815T150616Z.340e50f":"2019-08-15T15:16:41.355Z","0.6.1-0-dev.20190902T144921Z.a5d0195":"2019-09-02T15:03:48.930Z","0.7.0-dev.20190903T122838Z.3bb304b":"2019-09-03T12:39:03.881Z","0.7.0":"2019-09-03T12:59:39.009Z","0.7.0-dev.20190911T162559Z.48e006a":"2019-09-11T16:36:11.028Z","0.7.0-dev.20190924T101028Z.46a3ef3":"2019-09-24T10:22:03.511Z","0.7.0-dev.20190924T101243Z.5a33b6d":"2019-09-24T10:22:36.612Z","0.7.0-dev.20190924T170958Z.fe01ebd":"2019-09-24T17:24:24.263Z","0.8.0":"2019-10-01T12:33:59.142Z","0.7.0-dev.20191001T122713Z.b943341":"2019-10-01T12:37:26.397Z","0.7.1-0-dev.20191001T123015Z.f693f61":"2019-10-01T12:40:29.593Z","0.8.1-0-dev.20191001T123223Z.adaa263":"2019-10-01T12:42:21.552Z","0.9.0":"2019-10-05T13:55:29.632Z","0.9.1-0-dev.20191005T134914Z.baf25fe":"2019-10-05T14:05:30.801Z","0.9.1-0-dev.20191010T135917Z.4d1e3b7":"2019-10-10T14:10:18.606Z","0.9.1-0-dev.20191016T102900Z.9c85e3c":"2019-10-16T10:39:24.640Z","0.9.1-0-dev.20191028T145854Z.cc7dfa4":"2019-10-28T15:10:06.467Z","0.9.1-0-dev.20191031T095503Z.2793a74":"2019-10-31T10:05:57.628Z","0.9.1-0-dev.20191104T212549Z.9cb54b6":"2019-11-04T21:34:50.326Z","0.9.1-0-dev.20191104T212736Z.0bbfb68":"2019-11-04T21:36:42.061Z","0.9.1-0-dev.20191104T214447Z.d76511f":"2019-11-04T21:53:35.132Z","0.9.1-0-dev.20191104T214507Z.dcb2a6e":"2019-11-04T21:54:23.481Z","0.10.0":"2019-11-05T17:15:13.633Z","0.9.1-0-dev.20191105T171044Z.a090e63":"2019-11-05T17:20:18.513Z","0.10.1-0-dev.20191105T171355Z.d43bcf2":"2019-11-05T18:39:41.419Z","0.10.1-0-dev.20191113T152453Z.f31ede4":"2019-11-13T15:36:41.237Z","0.10.1-0-dev.20191119T111631Z.bb35612":"2019-11-19T11:26:53.537Z","0.10.1-0-dev.20191120T103440Z.568fe78":"2019-11-20T10:43:51.412Z","0.10.1-0-dev.20191209T092751Z.07dfdd0":"2019-12-09T13:04:42.025Z","0.10.1-0-dev.20191216T135336Z.fafab5e":"2019-12-16T14:03:58.589Z","0.10.1-0-dev.20191218T142402Z.46014a2":"2019-12-18T14:33:16.862Z","0.10.1-0-dev.20200103T102554Z.03097b8":"2020-01-03T10:35:41.021Z","0.10.1-0-dev.20200103T142216Z.769b995":"2020-01-03T14:31:18.638Z","0.10.1-0-dev.20200106T163702Z.19679d8":"2020-01-07T07:52:08.719Z","0.10.1-0-dev.20200107T095028Z.d2e7308":"2020-01-07T10:12:02.256Z","0.10.1-0-dev.20200110T105615Z.46d8a80":"2020-01-10T11:05:38.219Z","0.10.1-0-dev.20200110T160740Z.4f8b9c8":"2020-01-10T16:18:06.099Z","0.10.1-0-dev.20200113T104855Z.0735e7e":"2020-01-13T11:21:29.847Z","0.10.1-0-dev.20200113T112057Z.138f447":"2020-01-13T11:31:03.614Z","0.10.1-0-dev.20200113T112528Z.1835bc5":"2020-01-13T11:34:48.708Z","0.10.1-0":"2020-01-13T11:39:22.923Z","0.11.0":"2020-01-13T11:47:22.423Z","0.11.1-0-dev.20200113T114427Z.ef9c911":"2020-01-13T11:54:36.176Z","0.11.1-0-dev.20200121T103743Z.b538bfc":"2020-01-21T11:54:29.525Z","0.11.1-0-dev.20200121T131529Z.7e4b6c9":"2020-01-21T13:25:32.437Z","0.11.1-0-dev.20200123T130708Z.c1dcc32":"2020-01-23T13:17:23.252Z","0.11.1-0-dev.20200129T091457Z.f017c11":"2020-01-29T09:24:51.081Z","0.11.1-0-dev.20200130T163432Z.9d26add":"2020-01-30T16:44:28.352Z","0.11.1-0-dev.20200204T162241Z.1479fb5":"2020-02-04T16:32:41.856Z","0.11.1-0-dev.20200205T164236Z.1fe40bd":"2020-02-05T16:52:23.594Z","0.11.1-0-dev.20200210T125928Z.835225e":"2020-02-10T13:09:17.738Z","0.11.1-0-dev.20200212T165530Z.317e60b":"2020-02-12T17:05:50.450Z","0.11.1-0-dev.20200213T140149Z.be6fa17":"2020-02-13T14:12:40.592Z","0.11.1-0-dev.20200218T090125Z.87d6cfc":"2020-02-18T09:11:51.552Z","0.11.1-0-dev.20200219T141958Z.3b22a28":"2020-02-19T14:29:58.741Z","0.11.1-0-dev.20200219T155723Z.7879441":"2020-02-19T16:07:46.951Z","0.12.0":"2020-02-19T16:23:50.195Z","0.12.1-0-dev.20200219T162132Z.cb9c6a9":"2020-02-19T16:32:49.549Z","0.12.1-0-dev.20200220T160636Z.4dbea9d":"2020-02-20T16:17:17.406Z","0.12.1":"2020-02-20T16:18:07.550Z","0.12.2-0-dev.20200220T161539Z.1a47551":"2020-02-20T16:26:21.918Z","0.12.2-0-dev.20200221T105705Z.00da723":"2020-02-21T11:07:05.504Z","0.12.2-0-dev.20200221T105808Z.0261a1d":"2020-02-21T11:08:39.102Z","0.12.2-0-dev.20200226T134432Z.5ea7193":"2020-02-26T13:55:32.285Z","0.12.2-0-dev.20200227T142950Z.328bb9a":"2020-02-27T14:49:54.607Z","0.12.2-0-dev.20200309T152304Z.13aded2":"2020-03-09T15:34:56.511Z","0.11.1-0":"2020-03-15T18:00:57.056Z","0.12.2-0-dev.20200326T215704Z.23649dd":"2020-03-26T22:07:23.403Z","0.12.2-0-dev.20200330T182309Z.1646d3f":"2020-03-30T19:24:15.695Z","0.12.2-0-dev.20200331T152223Z.0b380bb":"2020-03-31T15:32:52.905Z","0.12.2-0-dev.20200331T161352Z.b9f6af2":"2020-03-31T16:24:04.909Z","0.12.2-0-dev.20200331T190903Z.6e910f2":"2020-03-31T19:19:32.711Z","0.12.2-0-dev.20200403T132120Z.f1a49e8":"2020-04-03T13:32:54.106Z","0.12.2-0-dev.20200408T153459Z.1b5357a":"2020-04-08T15:45:29.849Z","0.12.2-0-dev.20200409T103159Z.e9254e8":"2020-04-09T10:42:24.375Z","0.12.2-0-dev.20200414T141524Z.9308250":"2020-04-14T14:43:04.117Z","0.12.2-0-dev.20200414T223418Z.74bec49":"2020-04-14T22:44:31.494Z","0.12.2-0-dev.20200416T215155Z.8f03947":"2020-04-16T22:02:59.702Z","0.12.2-0-dev.20200421T113040Z.11b5053":"2020-04-21T11:41:19.363Z","0.12.2-0-dev.20200421T140312Z.099c7c6":"2020-04-21T14:13:35.380Z","0.12.2-0-dev.20200421T142716Z.5a47c31":"2020-04-21T14:39:06.093Z","0.12.2-0-dev.20200421T142922Z.8da87ce":"2020-04-21T14:40:01.001Z","0.12.2-0-dev.20200421T143023Z.86bdd00":"2020-04-21T14:43:10.095Z","0.12.2-0-dev.20200422T154216Z.e6bce9b":"2020-04-22T15:52:55.651Z","0.13.0":"2020-04-23T09:46:21.413Z","0.12.2-0-dev.20200424T084149Z.0fcd19c":"2020-04-24T08:52:04.223Z","0.12.2-0-dev.20200430T203150Z.a22a00d":"2020-04-30T20:42:48.434Z","0.12.2-0-dev.20200430T212603Z.6e3f39d":"2020-04-30T21:37:24.427Z","0.12.2-0-dev.20200504T221028Z.7bdf458":"2020-05-04T22:21:44.946Z","0.12.2-0-dev.20200504T225943Z.eb26d38":"2020-05-04T23:10:46.481Z","0.12.2-0-dev.20200505T134809Z.29a775f":"2020-05-05T13:59:06.461Z","0.12.2-0-dev.20200505T154159Z.9ba2f79":"2020-05-05T15:53:45.080Z","0.12.2-0-dev.20200505T170216Z.76e31e5":"2020-05-05T17:13:38.173Z","0.12.2-0-dev.20200511T083150Z.73664e1":"2020-05-11T08:43:06.847Z","0.12.2-0-dev.20200511T122434Z.e768443":"2020-05-11T12:35:31.744Z","0.12.2-0-dev.20200512T162528Z.5e9c2fe":"2020-05-12T16:36:15.432Z","0.12.2-0-dev.20200515T142956Z.bf78d4d":"2020-05-15T14:40:55.759Z","0.12.2-0-dev.20200616T124621Z.c1039a0":"2020-06-16T12:57:54.303Z","0.13.2-0":"2020-06-18T09:25:28.172Z","0.13.5-0-dev.20200618T163458Z.440297a":"2020-06-18T16:45:43.423Z","0.13.5-0-dev.20200701T132809Z.5a798e4":"2020-07-01T13:39:14.777Z","0.13.5-0-dev.20200706T130628Z.ad89a4b":"2020-07-06T13:17:52.945Z","0.13.5-0-dev.20200708T164003Z.19362e0":"2020-07-08T16:51:32.511Z","0.13.5-0-dev.20200727T083650Z.399c5fc":"2020-07-27T08:50:26.635Z"},"maintainers":[{"email":"jens@brainbot.com","name":"jens_n"}],"description":"Javascript library for interacting with the trustlines network protocol","homepage":"https://github.com/trustlines-network/clientlib#readme","repository":{"type":"git","url":"git+https://github.com/trustlines-network/clientlib.git"},"bugs":{"url":"https://github.com/trustlines-network/clientlib/issues"},"license":"ISC","readme":"","readmeFilename":"","author":{"name":"trustlines-network"}}