{"_id":"rpc-websocket-client","_rev":"9-313135452bcdcd191be39e93b2d15722","name":"rpc-websocket-client","dist-tags":{"latest":"1.1.4"},"versions":{"1.0.0":{"name":"rpc-websocket-client","version":"1.0.0","description":"WebSocket Client written in typescript. JSON-RPC 2.0.","main":"build/main/index.js","typings":"build/main/index.d.ts","module":"build/module/index.js","repository":{"type":"git","url":"git+https://github.com/radarsu/rpc-websocket-client.git"},"license":"MIT","keywords":[],"scripts":{"info":"npm-scripts-info","build":"run-s clean && run-p build:*","build:main":"tsc -p tsconfig.json","build:module":"tsc -p tsconfig.module.json","fix":"run-s fix:*","fix:prettier":"prettier \"src/**/*.ts\" --write","fix:tslint":"tslint --fix --project .","test":"run-s build test:*","test:lint":"tslint --project . && prettier \"src/**/*.ts\" --list-different","test:unit":"nyc --silent ava","watch":"run-s clean build:main && run-p \"build:main -- -w\" \"test:unit -- --watch\"","cov":"run-s build test:unit cov:html && opn coverage/index.html","cov:html":"nyc report --reporter=html","cov:send":"nyc report --reporter=lcov > coverage.lcov && codecov","cov:check":"nyc report && nyc check-coverage --lines 100 --functions 100 --branches 100","doc":"run-s doc:html && opn build/docs/index.html","doc:html":"typedoc src/ --target ES6 --mode file --out build/docs","doc:json":"typedoc src/ --target ES6 --mode file --json build/docs/typedoc.json","doc:publish":"gh-pages -m \"[ci skip] Updates\" -d build/docs","version":"standard-version","reset":"git clean -dfx && git reset --hard && npm i","clean":"trash build test","all":"run-s reset test cov:check doc:html","prepare-release":"run-s all version doc:publish"},"scripts-info":{"info":"Display information about the package scripts","build":"Clean and rebuild the project","fix":"Try to automatically fix any linting problems","test":"Lint and unit test the project","watch":"Watch and rebuild the project on save, then rerun relevant tests","cov":"Rebuild, run tests, then create and open the coverage report","doc":"Generate HTML API documentation and open it in a browser","doc:json":"Generate API documentation in typedoc JSON format","version":"Bump package.json version, update CHANGELOG.md, tag release","reset":"Delete all untracked files and reset the repo to the last commit","prepare-release":"One-step: clean, build, test, publish docs, and prep a release"},"engines":{"node":">=8.9"},"dependencies":{"fast-json-stringify":"^1.9.1","sha.js":"^2.4.11","uuid":"^3.3.2"},"devDependencies":{"@types/uuid":"^3.4.4","ava":"1.0.0-beta.7","codecov":"^3.1.0","cz-conventional-changelog":"^2.1.0","gh-pages":"^2.0.0","npm-run-all":"^4.1.3","nyc":"^13.0.1","opn-cli":"^3.1.0","prettier":"^1.14.3","standard-version":"^4.4.0","trash-cli":"^1.4.0","tslint":"^5.11.0","tslint-config-prettier":"^1.15.0","tslint-immutable":"^4.7.0","typedoc":"^0.13.0","typescript":"^3.0.3"},"ava":{"failFast":true,"files":["build/main/**/*.spec.js"],"sources":["build/main/**/*.js"]},"config":{"commitizen":{"path":"cz-conventional-changelog"}},"prettier":{"singleQuote":true},"nyc":{"exclude":["**/*.spec.js"]},"gitHead":"84ae8f3bd08e223a1366654faa107915b7b9cf1d","bugs":{"url":"https://github.com/radarsu/rpc-websocket-client/issues"},"homepage":"https://github.com/radarsu/rpc-websocket-client#readme","_id":"rpc-websocket-client@1.0.0","_npmVersion":"6.4.1","_nodeVersion":"11.0.0","_npmUser":{"name":"radarsu","email":"rkrohmorath@gmail.com"},"dist":{"integrity":"sha512-ZVzFozCaJ+zenwKgE+/FKgk8sLAzTOlxBEJjSlHtvmSqeqNQ2AoNDZo+PgRk9p23Wz/48pbkFRXVsxbsD7adlQ==","shasum":"afb7156c17dc875535248b0eb8f2cbf858fe1d92","tarball":"https://registry.npmjs.org/rpc-websocket-client/-/rpc-websocket-client-1.0.0.tgz","fileCount":12,"unpackedSize":57594,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb3h93CRA9TVsSAnZWagAA2B0P/3rwHfodq+Mpa4oTTk0q\n+mmmH/ksVldXVltT1L7ekZKieU6e99ebDlQivzr0AiUlU6fzCM9Mj0QifryK\ns6t7Pt++68WEqeYZ/mNWhFV4gHxDUcGNswi/pSVTUPaDGvW1qGhUzK+C4Rb6\nhftLuH93ft7r6noVSLkFvz0YDO7+pbPTYKcQ9NhYT3vFN26DeYgjysnBXxb+\n0CyVpHC07n3q+TX1LvUekWM/laELsAWaRnbiarsNH7JUvm604sP5y43wlDk3\naoMydOTttVgVy3T6/igt/ogKfGPzLT4zJZ9Dq78+JkJenZ9Jf6peYj1hCOGg\nqEEE3iRBEn7MTR9JbRrWCWkyK+t0CbK3etbuY2j68fl38D+xnZyEU2zguUSN\n979mGWbhD1bRKfBof6sj64/K4iIJAiHrC7SvogVP65MCWj3HJEWQdsI3jGSM\n5YOljwqhU/NoMNjtpCvZP1XAZZm45OEG32bMA6WyPgDyYlvsxPR62sp13V4i\nlzqySWu9Ejvg1gF9393XbxTyd2hCcF6H6Xw14RTIn1mPtA5/sp6sWT4eKTFA\n1PsQnotRvFPRLH4Y1D0bdJvOMb+TWV+JNpNV082OjkgEo84IT/sxiRYAlm0x\n4mVXVaX2IdiQcc4bwMK3RL61/04yktFrYt3/0B6LnGliCp6kb6/vFMlqMxtE\naHaA\r\n=mImn\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC9D2bn7Pld27Vyqnv9M8GvLDR7huEWa9Brk/prJe7t3wIhAI4qik1ZHvvhE8mwWa0A8Frl0WBDOL3RsHymR/BCDKc+"}]},"maintainers":[{"name":"radarsu","email":"rkrohmorath@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rpc-websocket-client_1.0.0_1541283703046_0.6914861233794214"},"_hasShrinkwrap":false},"1.0.1":{"name":"rpc-websocket-client","version":"1.0.1","description":"WebSocket Client written in typescript. JSON-RPC 2.0.","main":"build/main/index.js","typings":"build/main/index.d.ts","module":"build/module/index.js","repository":{"type":"git","url":"git+https://github.com/radarsu/rpc-websocket-client.git"},"license":"MIT","keywords":[],"scripts":{"build:main":"tsc -p tsconfig.json","build:module":"tsc -p tsconfig.module.json","build":"run-s clean && run-p build:*","clean":"trash build test","cov:check":"nyc report && nyc check-coverage --lines 100 --functions 100 --branches 100","cov:html":"nyc report --reporter=html","cov:send":"nyc report --reporter=lcov > coverage.lcov && codecov","cov":"run-s build test:unit cov:html && opn coverage/index.html","doc:html":"typedoc src/ --target ES6 --mode file --out build/docs","doc:json":"typedoc src/ --target ES6 --mode file --json build/docs/typedoc.json","doc:publish":"gh-pages -m \"[ci skip] Updates\" -d build/docs","doc":"run-s doc:html && opn build/docs/index.html","fix:prettier":"prettier \"src/**/*.ts\" --write","fix:tslint":"tslint --fix --project .","fix":"run-s fix:*","info":"npm-scripts-info","publish":"npm run build && git add . && git commit -m 'fix' && git push && npm publish","reset":"git clean -dfx && git reset --hard && npm i","test:lint":"tslint --project . && prettier \"src/**/*.ts\" --list-different","test:unit":"nyc --silent ava","test":"run-s build test:*","version":"standard-version","watch":"run-s clean build:main && run-p \"build:main -- -w\" \"test:unit -- --watch\"","all":"run-s reset test cov:check doc:html","prepare-release":"run-s all version doc:publish"},"scripts-info":{"info":"Display information about the package scripts","build":"Clean and rebuild the project","fix":"Try to automatically fix any linting problems","test":"Lint and unit test the project","watch":"Watch and rebuild the project on save, then rerun relevant tests","cov":"Rebuild, run tests, then create and open the coverage report","doc":"Generate HTML API documentation and open it in a browser","doc:json":"Generate API documentation in typedoc JSON format","version":"Bump package.json version, update CHANGELOG.md, tag release","reset":"Delete all untracked files and reset the repo to the last commit","prepare-release":"One-step: clean, build, test, publish docs, and prep a release"},"engines":{"node":">=8.9"},"dependencies":{"fast-json-stringify":"^1.9.1","sha.js":"^2.4.11","uuid":"^3.3.2"},"devDependencies":{"@types/uuid":"^3.4.4","ava":"1.0.0-beta.7","codecov":"^3.1.0","cz-conventional-changelog":"^2.1.0","gh-pages":"^2.0.0","npm-run-all":"^4.1.3","nyc":"^13.0.1","opn-cli":"^3.1.0","prettier":"^1.14.3","standard-version":"^4.4.0","trash-cli":"^1.4.0","tslint":"^5.11.0","tslint-config-prettier":"^1.15.0","tslint-immutable":"^4.7.0","typedoc":"^0.13.0","typescript":"^3.0.3"},"ava":{"failFast":true,"files":["build/main/**/*.spec.js"],"sources":["build/main/**/*.js"]},"config":{"commitizen":{"path":"cz-conventional-changelog"}},"prettier":{"singleQuote":true},"nyc":{"exclude":["**/*.spec.js"]},"gitHead":"e124219e42e162984ffc63898a5a1de77171a3b2","bugs":{"url":"https://github.com/radarsu/rpc-websocket-client/issues"},"homepage":"https://github.com/radarsu/rpc-websocket-client#readme","_id":"rpc-websocket-client@1.0.1","_npmVersion":"6.4.1","_nodeVersion":"11.0.0","_npmUser":{"name":"radarsu","email":"rkrohmorath@gmail.com"},"dist":{"integrity":"sha512-SO79VGpe0o/o3jh4kkjQ5KO64CCWLFifUsnHAv03lGMEHo95zb0J1ssaoCoskBayV6pYWJ79QgmrqVRybPMnpQ==","shasum":"19247ece72c1c7e49c3ba4ec9f36217770b9eb79","tarball":"https://registry.npmjs.org/rpc-websocket-client/-/rpc-websocket-client-1.0.1.tgz","fileCount":12,"unpackedSize":57759,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb3iKVCRA9TVsSAnZWagAA3YIP/16yhcbDWPvpQ0jZh26J\n1HnjmYYYaUtWgBjzQ15XpZZ2ipihL0VHJG13L/ib1omK49KFstmP58IJbSwU\nxbZHHs99jyrcKT841q/80grfUB5VwbtVngXtHdJLe9tkcoFRdeHu4TW3PuqI\n6p9gZsKo0cgaJf+hBDRtE3QsYSYP1uR98FR/FvT/giQYsZi3so5NHoWm+cV2\nl4GF9+bWFsd6B2d8PRq6bo9w9K2HVCxsxLn86YGSjG5frBbeDb+arAc55zgc\nH7XJq9cA/yGBL4TeRXYQ7A0UTCzsz8Cv0cFlRu5SqkmNg/ii2c9w6e4Zgf1h\nVpvw92MR24W2Ig2160M390/TKf9ZIttmqZ5Yf9eEg8lnwln7yBwpy+sAVwca\nR5BtOdpttRAgPblTTEv654ZMPGcNFPqxowRrNZ6aXW0zlX/0kFGHUupVBKMt\n/uVXo+Ka6pj+rwkaKxAkrBNKKqwzsfD9yOI7PZf+dsEuLxdBjoYUtJw0/tFZ\nuYc7G7g2vGOcvwPdsyiWNb/3FbXbxCrXDkEfDTMKKtF2m1TXgBtdk20ROMfD\n+ii/Ahu34mWeMfk9e2UE1tTTUVfMzhLX25hjn2PnBsdpS2BZtDgRXIB/gkk1\nz4pViaag1+pDBnRJKJ3QClTPKsZa/0NT1/cTJ1oD+5S6IQchgcOzArv9+ew9\nzCgM\r\n=0pSE\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDuSu8hmFeIXA/wQsbf7SSsZaRE+5CT61LYdF/ok33PrgIgIpwFtcnYMNwyoZm6cz3TLAnWpCpQu66+quQXVOfIW+0="}]},"maintainers":[{"name":"radarsu","email":"rkrohmorath@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rpc-websocket-client_1.0.1_1541284501004_0.5837952104851198"},"_hasShrinkwrap":false},"1.0.2":{"name":"rpc-websocket-client","version":"1.0.2","description":"Fast JSON RPC 2.0 written in TypeScript.","main":"build/main/index.js","typings":"build/main/index.d.ts","module":"build/module/index.js","repository":{"type":"git","url":"git+https://github.com/radarsu/rpc-websocket-client.git"},"license":"MIT","keywords":[],"scripts":{"build:main":"tsc -p tsconfig.json","build:module":"tsc -p tsconfig.module.json","build":"run-s clean && run-p build:*","clean":"trash build test","cov:check":"nyc report && nyc check-coverage --lines 100 --functions 100 --branches 100","cov:html":"nyc report --reporter=html","cov:send":"nyc report --reporter=lcov > coverage.lcov && codecov","cov":"run-s build test:unit cov:html && opn coverage/index.html","doc:html":"typedoc src/ --target ES6 --mode file --out build/docs","doc:json":"typedoc src/ --target ES6 --mode file --json build/docs/typedoc.json","doc:publish":"gh-pages -m \"[ci skip] Updates\" -d build/docs","doc":"run-s doc:html && opn build/docs/index.html","fix:prettier":"prettier \"src/**/*.ts\" --write","fix:tslint":"tslint --fix --project .","fix":"run-s fix:*","info":"npm-scripts-info","reset":"git clean -dfx && git reset --hard && npm i","test:lint":"tslint --project . && prettier \"src/**/*.ts\" --list-different","test:unit":"nyc --silent ava","test":"run-s build test:*","version":"standard-version","watch":"run-s clean build:main && run-p \"build:main -- -w\" \"test:unit -- --watch\"","all":"run-s reset test cov:check doc:html","prepare-release":"run-s all version doc:publish"},"scripts-info":{"info":"Display information about the package scripts","build":"Clean and rebuild the project","fix":"Try to automatically fix any linting problems","test":"Lint and unit test the project","watch":"Watch and rebuild the project on save, then rerun relevant tests","cov":"Rebuild, run tests, then create and open the coverage report","doc":"Generate HTML API documentation and open it in a browser","doc:json":"Generate API documentation in typedoc JSON format","version":"Bump package.json version, update CHANGELOG.md, tag release","reset":"Delete all untracked files and reset the repo to the last commit","prepare-release":"One-step: clean, build, test, publish docs, and prep a release"},"engines":{"node":">=8.9"},"dependencies":{"fast-json-stringify":"^1.9.1","sha.js":"^2.4.11","uuid":"^3.3.2"},"devDependencies":{"@types/uuid":"^3.4.4","ava":"1.0.0-beta.7","codecov":"^3.1.0","cz-conventional-changelog":"^2.1.0","gh-pages":"^2.0.0","npm-run-all":"^4.1.3","nyc":"^13.0.1","opn-cli":"^3.1.0","prettier":"^1.14.3","standard-version":"^4.4.0","trash-cli":"^1.4.0","tslint":"^5.11.0","tslint-config-prettier":"^1.15.0","tslint-immutable":"^4.7.0","typedoc":"^0.13.0","typescript":"^3.0.3"},"ava":{"failFast":true,"files":["build/main/**/*.spec.js"],"sources":["build/main/**/*.js"]},"config":{"commitizen":{"path":"cz-conventional-changelog"}},"prettier":{"singleQuote":true},"nyc":{"exclude":["**/*.spec.js"]},"gitHead":"5f71e7760e6b6a4504a21c6fbe03fb0d78a84ca0","bugs":{"url":"https://github.com/radarsu/rpc-websocket-client/issues"},"homepage":"https://github.com/radarsu/rpc-websocket-client#readme","_id":"rpc-websocket-client@1.0.2","_npmVersion":"6.4.1","_nodeVersion":"11.0.0","_npmUser":{"name":"radarsu","email":"rkrohmorath@gmail.com"},"dist":{"integrity":"sha512-NcY+tcvccv1RHLGF1J4mD6teW3Olvj7oSKrzANj9kdcaJvkMZGg9NFdnFHFjhgbAaidcR1aJUYbo1rYD1fRjwQ==","shasum":"4756a6dab0d2af246b6617465b4361629e629a40","tarball":"https://registry.npmjs.org/rpc-websocket-client/-/rpc-websocket-client-1.0.2.tgz","fileCount":15,"unpackedSize":236068,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcUyhgCRA9TVsSAnZWagAAH4kQAIJXl+oxirAy3nXhuwHd\nGJQi5flYIddK/m7HiOrPBS6x+W478g8O/srkXvWfL6+8j6RAlMKScwDfv1KK\nA6HxbKe9h/eYyFzd28Gpl73uG6ASN83qSxr5cAovLhuZYxpczcFl6tUj/xxY\nTRa2K7A9PMLEL+7nMJess7nJGWwWaB2y/EpDHPxhmrllGvCSRsswEX+H4lBm\n6dHgrA7Ag2EPQIyXXV8g8xzssZbDK9/HMBgxiGUfhskT+MRdo0BtW3z1va/q\nAGDgTpIJVzI6D1fUupsRKg5Y6KhaXI4yv8XCg2yRJmiJUJbocMLBlEDTw9wB\nm0DsjF9gEs8WBY+2LIH/I1dMrozyMf8A2uGEp5L6BukQG6iDTh4IacG1HXFX\nORp1R5aoITtRVsQp7oxpgOeWielBZ3mqNYFo2yv2mehqscRfivH3HGhb4uxs\ntZw8EmsqOjLJ7CONWQqZQkNHU/66pJR1/EoaTpePKFmSaDudreKMrbK3X9j4\nTJMWJywwWIuaNPEV+l6yPUALJgGapf0B9hqFvogYFRZfH5m7i2nOJnN3j+Rk\nCo8KQ9se7q0UMRr+nER4+ynzMwgxiXXO2iOWnY9qYfS3oPfNSSZKuIisTwH8\ndEN/rNi1nhLcw+FFvDpRgyRSXxV5VUk7I/hrCeKr5BsNSHrK/PQJ3fCWFEi4\nhTDF\r\n=LCRW\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCPre6uj5ZVrNexoOey7hHyULL+0oqJP2Yx8IH9LdTFSgIhAL2Wb50ububqOyKIJbNUmt3dnEDQ+oLOq6XlYW/7a7ns"}]},"maintainers":[{"name":"radarsu","email":"rkrohmorath@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rpc-websocket-client_1.0.2_1548953695998_0.8043052921293226"},"_hasShrinkwrap":false},"1.0.3":{"name":"rpc-websocket-client","version":"1.0.3","description":"Fast JSON RPC 2.0 written in TypeScript.","main":"build/main/index.js","typings":"build/main/index.d.ts","module":"build/module/index.js","repository":{"type":"git","url":"git+https://github.com/radarsu/rpc-websocket-client.git"},"license":"MIT","keywords":[],"scripts":{"build:main":"tsc -p tsconfig.json","build:module":"tsc -p tsconfig.module.json","build":"run-s clean && run-p build:*","clean":"trash build test","cov:check":"nyc report && nyc check-coverage --lines 100 --functions 100 --branches 100","cov:html":"nyc report --reporter=html","cov:send":"nyc report --reporter=lcov > coverage.lcov && codecov","cov":"run-s build test:unit cov:html && opn coverage/index.html","doc:html":"typedoc src/ --target ES6 --mode file --out build/docs","doc:json":"typedoc src/ --target ES6 --mode file --json build/docs/typedoc.json","doc:publish":"gh-pages -m \"[ci skip] Updates\" -d build/docs","doc":"run-s doc:html && opn build/docs/index.html","fix:prettier":"prettier \"src/**/*.ts\" --write","fix:tslint":"tslint --fix --project .","fix":"run-s fix:*","info":"npm-scripts-info","reset":"git clean -dfx && git reset --hard && npm i","test:lint":"tslint --project . && prettier \"src/**/*.ts\" --list-different","test:unit":"nyc --silent ava","test":"run-s build test:*","version":"standard-version","watch":"run-s clean build:main && run-p \"build:main -- -w\" \"test:unit -- --watch\"","all":"run-s reset test cov:check doc:html","prepare-release":"run-s all version doc:publish"},"scripts-info":{"info":"Display information about the package scripts","build":"Clean and rebuild the project","fix":"Try to automatically fix any linting problems","test":"Lint and unit test the project","watch":"Watch and rebuild the project on save, then rerun relevant tests","cov":"Rebuild, run tests, then create and open the coverage report","doc":"Generate HTML API documentation and open it in a browser","doc:json":"Generate API documentation in typedoc JSON format","version":"Bump package.json version, update CHANGELOG.md, tag release","reset":"Delete all untracked files and reset the repo to the last commit","prepare-release":"One-step: clean, build, test, publish docs, and prep a release"},"engines":{"node":">=8.9"},"dependencies":{"fast-json-stringify":"^1.9.1","isomorphic-ws":"^4.0.1","sha.js":"^2.4.11","uuid":"^3.3.2"},"devDependencies":{"@types/uuid":"^3.4.4","ava":"1.0.0-beta.7","codecov":"^3.1.0","cz-conventional-changelog":"^2.1.0","gh-pages":"^2.0.0","npm-run-all":"^4.1.3","nyc":"^13.0.1","opn-cli":"^3.1.0","prettier":"^1.14.3","standard-version":"^4.4.0","trash-cli":"^1.4.0","tslint":"^5.11.0","tslint-config-prettier":"^1.15.0","tslint-immutable":"^4.7.0","typedoc":"^0.13.0","typescript":"^3.0.3"},"ava":{"failFast":true,"files":["build/main/**/*.spec.js"],"sources":["build/main/**/*.js"]},"config":{"commitizen":{"path":"cz-conventional-changelog"}},"prettier":{"singleQuote":true},"nyc":{"exclude":["**/*.spec.js"]},"gitHead":"38ca29ca84c534eb456e30e958f996638e1a36ef","bugs":{"url":"https://github.com/radarsu/rpc-websocket-client/issues"},"homepage":"https://github.com/radarsu/rpc-websocket-client#readme","_id":"rpc-websocket-client@1.0.3","_npmVersion":"6.4.1","_nodeVersion":"11.0.0","_npmUser":{"name":"radarsu","email":"rkrohmorath@gmail.com"},"dist":{"integrity":"sha512-oW96mxpRQ/F0lDqS++no/Dt+g3MjfO8AaBKPFlw1VhdDSEJTL3hc1C1VgUCklSSVieIhnehlo4XJq3XwbYTNlA==","shasum":"006d917868bb408c33d4cd3ed7a4c17731e2870e","tarball":"https://registry.npmjs.org/rpc-websocket-client/-/rpc-websocket-client-1.0.3.tgz","fileCount":14,"unpackedSize":68206,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcWI5NCRA9TVsSAnZWagAASEEP/RX3JLOJrOxolPAQYuRX\nuC1FkiE0aWcw4GO7ZhSrr2LY82RySijmT9Wy9wfRqjin+sFdHBHBJzxdyym/\n443F1hs4GnDOrRfDgBfALGnG3XxEb1BK6F/YVUa/PTuSTUJTx6Cp9ouu5Pwq\nzWyOgiEO8Pdk+HEq+CNMfy18rEDAT+4JGzd3PXrSHjhxLEvWMSAPOtLsJfdq\nU48/h5RrUCFuvNW3QWMqFJWY4ASz00ZPAuvO7PnhwEQfBsrL83izDhbldYwI\nd94UkYGHxaZPW0oaWrDPY7nNRfHjgnz+Gibj1tb9eAqR5t38f5vDXH/5nt1m\nMYETecxwsofAbbSb1JDe2Mz4qhc6aWk/Hg+3a45VZ/9J7aketpIC+0qZoT63\nWXyzWPfMZntoDhkh4C6RS2GnE0efZALN1JEscEDWLVAcQyLwuSFBuD/JpeeA\nsuv8aUQNsFqxte+7dQznsxMTP6OC5G4NLZKP4WrW3Xo/OlVumfszGT8O5bNJ\nh0ZvOTj27yb547YWJIvBDOg5dwvDQBXW/B0weTEtQ05yzfTa0EDII2yvR/It\nmMnt0u8EkA7faofQaOPDY8UQZro5qgVZncLjYB4CUXwDBrXGj51nLUvEidYC\nOC0rIY89JOxbwIfyvT0R5z5/s7xezCxZjw1oebJmWa4g6/P/91cSDIS6Y2I9\njbie\r\n=9HOK\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBQjVTeTQySKcmdNyLEt/nWu/R4FXOjt1c2KsEv0AyyoAiA4035UC1MeELnPPrjUHNDBp3YaIxJrKapBmlckrSwhZg=="}]},"maintainers":[{"name":"radarsu","email":"rkrohmorath@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rpc-websocket-client_1.0.3_1549307468843_0.16094984796619327"},"_hasShrinkwrap":false},"1.1.0":{"name":"rpc-websocket-client","version":"1.1.0","description":"Fast JSON RPC 2.0 written in TypeScript.","main":"build/main/index.js","typings":"build/main/index.d.ts","module":"build/module/index.js","repository":{"type":"git","url":"git+https://github.com/radarsu/rpc-websocket-client.git"},"license":"MIT","keywords":["websocket","client","typescript","fast","json rpc","2.0"],"scripts":{"build:main":"tsc -p tsconfig.json","build:module":"tsc -p tsconfig.module.json","build":"run-s clean && run-p build:*","clean":"trash build test","cov:check":"nyc report && nyc check-coverage --lines 100 --functions 100 --branches 100","cov:html":"nyc report --reporter=html","cov:send":"nyc report --reporter=lcov > coverage.lcov && codecov","cov":"run-s build test:unit cov:html && opn coverage/index.html","doc:html":"typedoc src/ --target ES6 --mode file --out build/docs","doc:json":"typedoc src/ --target ES6 --mode file --json build/docs/typedoc.json","doc:publish":"gh-pages -m \"[ci skip] Updates\" -d build/docs","doc":"run-s doc:html && opn build/docs/index.html","fix:prettier":"prettier \"src/**/*.ts\" --write","fix:tslint":"tslint --fix --project .","fix":"run-s fix:*","info":"npm-scripts-info","reset":"git clean -dfx && git reset --hard && npm i","test:lint":"tslint --project . && prettier \"src/**/*.ts\" --list-different","test:unit":"nyc --silent ava","test":"run-s build test:*","version":"standard-version","watch":"run-s clean build:main && run-p \"build:main -- -w\" \"test:unit -- --watch\"","all":"run-s reset test cov:check doc:html","prepare-release":"run-s all version doc:publish"},"scripts-info":{"info":"Display information about the package scripts","build":"Clean and rebuild the project","fix":"Try to automatically fix any linting problems","test":"Lint and unit test the project","watch":"Watch and rebuild the project on save, then rerun relevant tests","cov":"Rebuild, run tests, then create and open the coverage report","doc":"Generate HTML API documentation and open it in a browser","doc:json":"Generate API documentation in typedoc JSON format","version":"Bump package.json version, update CHANGELOG.md, tag release","reset":"Delete all untracked files and reset the repo to the last commit","prepare-release":"One-step: clean, build, test, publish docs, and prep a release"},"engines":{"node":">=8.9"},"dependencies":{"fast-json-stringify":"^1.9.1","isomorphic-ws":"^4.0.1","uuid":"^3.3.2"},"devDependencies":{"@types/uuid":"^3.4.4","ava":"1.0.0-beta.7","codecov":"^3.1.0","cz-conventional-changelog":"^2.1.0","gh-pages":"^2.0.0","npm-run-all":"^4.1.3","nyc":"^13.0.1","opn-cli":"^3.1.0","prettier":"^1.14.3","standard-version":"^4.4.0","trash-cli":"^1.4.0","tslint":"^5.11.0","tslint-config-prettier":"^1.15.0","tslint-immutable":"^4.7.0","typedoc":"^0.13.0","typescript":"^3.0.3"},"ava":{"failFast":true,"files":["build/main/**/*.spec.js"],"sources":["build/main/**/*.js"]},"config":{"commitizen":{"path":"cz-conventional-changelog"}},"prettier":{"singleQuote":true},"nyc":{"exclude":["**/*.spec.js"]},"gitHead":"ce043b7e3971b04b763f4932c1a036aed19a98a7","bugs":{"url":"https://github.com/radarsu/rpc-websocket-client/issues"},"homepage":"https://github.com/radarsu/rpc-websocket-client#readme","_id":"rpc-websocket-client@1.1.0","_nodeVersion":"12.6.0","_npmVersion":"6.11.2","dist":{"integrity":"sha512-hKmqbs56NbN0jUvwrlurGvkmVvWIBfLcBd2BkPIc/tksmr1DcV/m1NojS0TiV5q8QZ2v6Jt07N+zI7zCTQV+2Q==","shasum":"68311ecae8c6e748a3c4ba1c98f03180712d3a1a","tarball":"https://registry.npmjs.org/rpc-websocket-client/-/rpc-websocket-client-1.1.0.tgz","fileCount":12,"unpackedSize":57824,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdb/klCRA9TVsSAnZWagAA0SkQAIMVBQ2VsapOvJR623+2\nwFUMPPoYhjuZStWEmh/gdfSYHtsmJ92IkajHo52rEABDeOZ0516WgDqOxZGl\n1P9MR/rcI1J+Qy8fTh2cE3jNi1zDhjtDc4Al3+KKe76eOIN7xS1LuW4j1jbM\nzeXhSeJtuvIffUK7hcuvt4yVlS80e6LXP//0ny0ui7/WYtTeKG4Kl+ndK1Hq\n2G+uYsK736ClTcW178vQQ38h52VhibXrk1MmY2k3YkRY11ij1MaJ91oGkgtv\n3OtILT6T3+ACAGsNs/uJ/4s0/Ru9ms9bMYzuYiYZ5PEw7FdgeuS+r8M4CcA0\nj3nsiWrRQ6+aPxlooaYfwOqa2S7kQGY4p16hxHdHD5t04mvpIOcAdn7AE5n2\ntpZGt5j4EUtC5nesEYUI3PEhqvlsboH7ZigR2HqyelB6K3S3nRi7X2AYbYgl\nq9JZvECTSsJ+efcZHttMXc4VPEGXsNLttu861apiAUoS4IyNmWUtXe7eYTTw\nYw6bjv86zerLkZQXrYXXTvhIpiMlqOHUwhzb4Tooy3mxo64gFqctEH/IPKjG\nwNutDs6NVmmIIi4k6Puw7o1PukxMlbsbPhahaJj4/QKTlIMJZtf6Sidp6/fp\nxnCFJ409Fdsb7mIbP7kotbTDfR68gJbTECum1WFiut5Dd9+WbsAwOVsuH19g\ntWZP\r\n=8+8j\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDb0OpTO9yp5GhGC/7679qU6aqAyuAkHeJn/pPAfIh6aAiEAzfBDLf7HZdMbeEhPIBHf3f907iV0W+cyB4MjpGWWFMU="}]},"maintainers":[{"name":"radarsu","email":"rkrohmorath@gmail.com"}],"_npmUser":{"name":"radarsu","email":"rkrohmorath@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rpc-websocket-client_1.1.0_1567619365233_0.13349241414511837"},"_hasShrinkwrap":false},"1.1.1":{"name":"rpc-websocket-client","version":"1.1.1","description":"<p align=\"center\">\r     <a href=\"https://github.com/radarsu/rpc-websocket-client/\" target=\"blank\"><img src=\"https://raw.githubusercontent.com/radarsu/rpc-websocket-client/master/assets/logo.png\" alt=\"rpc-websocket-client\" /></a><br/>\r     <strong>Fast JSO","keywords":["websocket","client","typescript","json rpc","2.0","fast"],"main":"dist/rpc-websocket-client.umd.js","module":"dist/rpc-websocket-client.es5.js","typings":"dist/types/rpc-websocket-client.d.ts","author":{"name":"Artur Kurowski","email":"radarsu@gmail.com"},"repository":{"type":"git","url":""},"license":"MIT","engines":{"node":">=6.0.0"},"scripts":{"lint":"tslint  --project tsconfig.json -t codeFrame 'src/**/*.ts' 'test/**/*.ts'","prebuild":"rimraf dist","build":"tsc --project tsconfig.build.json && rollup -c rollup.config.ts && typedoc --out docs --target es6 --theme minimal --mode file src","start":"rollup -c rollup.config.ts -w","test":"jest","test:debug":"node --inspect-brk node_modules/.bin/jest --runInBand","test:watch":"jest --watch","test:prod":"npm run lint && npm run test -- --no-cache","deploy-docs":"ts-node tools/gh-pages-publish","report-coverage":"cat ./coverage/lcov.info | coveralls","commit":"git-cz","semantic-release":"semantic-release","semantic-release-prepare":"ts-node tools/semantic-release-prepare","precommit":"lint-staged","travis-deploy-once":"travis-deploy-once"},"lint-staged":{"{src,test}/**/*.ts":["prettier --write","git add"]},"config":{"commitizen":{"path":"node_modules/cz-conventional-changelog"}},"prettier":{"singleQuote":true},"commitlint":{"extends":["@commitlint/config-conventional"]},"devDependencies":{"@commitlint/cli":"^7.1.2","@commitlint/config-conventional":"^7.1.2","@nestjs/common":"^6.6.7","@nestjs/core":"^6.6.7","@nestjs/platform-express":"^6.6.7","@nestjs/platform-socket.io":"^6.6.7","@nestjs/platform-ws":"^6.6.7","@nestjs/testing":"^6.6.7","@nestjs/websockets":"^6.6.7","@types/jest":"^23.3.14","@types/node":"^10.11.0","@types/uuid":"^3.4.5","@types/ws":"^6.0.3","colors":"^1.3.2","commitizen":"^3.0.0","coveralls":"^3.0.2","cross-env":"^5.2.0","cz-conventional-changelog":"^2.1.0","husky":"^1.0.1","jest":"^23.6.0","jest-config":"^23.6.0","lint-staged":"^8.0.0","lodash.camelcase":"^4.3.0","prettier":"^1.14.3","prompt":"^1.0.0","reflect-metadata":"^0.1.13","replace-in-file":"^3.4.2","rimraf":"^2.6.2","rollup":"^0.67.0","rollup-plugin-commonjs":"^9.3.4","rollup-plugin-json":"^3.1.0","rollup-plugin-node-resolve":"^3.4.0","rollup-plugin-sourcemaps":"^0.4.2","rollup-plugin-typescript2":"^0.24.0","rxjs":"^6.5.3","semantic-release":"^15.9.16","shelljs":"^0.8.3","travis-deploy-once":"^5.0.9","ts-jest":"^23.10.2","ts-node":"^7.0.1","tslint":"^5.11.0","tslint-config-prettier":"^1.15.0","tslint-config-standard":"^8.0.1","typedoc":"^0.15.0","typescript":"^3.0.3"},"dependencies":{"isomorphic-ws":"^4.0.1","uuid":"^3.3.3","ws":"^7.1.2"},"gitHead":"41e0732c9e91832872f649bb0859904f6b55065e","_id":"rpc-websocket-client@1.1.1","_nodeVersion":"12.6.0","_npmVersion":"6.11.2","dist":{"integrity":"sha512-vE949Nuh9Xf2bt79mcTDGOYLDZXU9PgX6ACxbKcPPi4H68M/iD2i92WK4xlDGmLbd/6+MhTeHDeUu9OZwrUD3Q==","shasum":"f35593c7720944345d96dbdbdb7310280138100c","tarball":"https://registry.npmjs.org/rpc-websocket-client/-/rpc-websocket-client-1.1.1.tgz","fileCount":11,"unpackedSize":100360,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdcECmCRA9TVsSAnZWagAAfjEQAJ9kJ2rw2J2VQ9p69pcF\nLVlnEPr2NE00d94dp8PsUphLQ64AAFmj6vsGmAAirK+0qrwcbcwcoAPnVg/8\najwWNHLo2fUN05Lgp52PHNmpJ8kFJrjD0ILW0RCJKS/vPiOJ6jodpQsvNN0q\nnT5OjiMl4y7BUcIw/G8T36UmhFdtvFW7NqEnWCiL3IcCKJJl22bpPXtQDNoI\nO61o7utvZ1wlCxksoteI/JI0kLldBC4jw7uGqAvCEbSMUyjLgpJiH6koQguM\nrAhGOEmMfe5RJOxID40bzs1+elxxkw1Oe+XyJU7FGYlhgiDkVqh+K4sLSF2v\nVHapl3wug30DvxOP/q8KIkoqiis4AU/vUmk+p0lA+F0tiP4g6w6fvhr5w6E5\neGTY4gByJp8PwgTKJXcImCAuOR5i2MDS9RAMLeWkD54owIXZmRpbl3FsJEvV\nBsmVS2hy25L/6IVL1HM39nLYSakU+OKmZxKZhB0R+0sLK65uWOEe2wfURHFJ\nVOCIXabBl94qRs6p83r1ekUC+H4uBieA84rTq1qi3RDr4SIrM2bx4SyrSDd9\nY1x+Eo/EFJ9P7lY27bz+7lAhBjdoBAZo+yE7RnJHrsabU1sPba00ROtB7kLZ\nC6EZHXKZPbMwhlGlVugkTB9JNRwZnXdJ1Is0Zp8oxapxtWT4MgAoO0oQ774n\n/sZJ\r\n=s8RQ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIG4OEE9waacsS2u7iWz3GFP81vYub/NLevSQXxzEHKHnAiEA3IRPFZNcjSh2kowkG8+Y385Zd75ydwZ6C+YHsm9CVAc="}]},"maintainers":[{"name":"radarsu","email":"rkrohmorath@gmail.com"}],"_npmUser":{"name":"radarsu","email":"rkrohmorath@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rpc-websocket-client_1.1.1_1567637669537_0.052014769539142414"},"_hasShrinkwrap":false},"1.1.2":{"name":"rpc-websocket-client","version":"1.1.2","description":"<p align=\"center\">\r     <a href=\"https://github.com/radarsu/rpc-websocket-client/\" target=\"blank\"><img src=\"https://raw.githubusercontent.com/radarsu/rpc-websocket-client/master/assets/logo.png\" alt=\"rpc-websocket-client\" /></a><br/>\r     <strong>Fast JSO","keywords":["websocket","client","typescript","json rpc","2.0","fast"],"main":"dist/rpc-websocket-client.umd.js","module":"dist/rpc-websocket-client.es5.js","typings":"dist/types/rpc-websocket-client.d.ts","author":{"name":"Artur Kurowski","email":"radarsu@gmail.com"},"repository":{"type":"git","url":""},"license":"MIT","engines":{"node":">=6.0.0"},"scripts":{"lint":"tslint  --project tsconfig.json -t codeFrame 'src/**/*.ts' 'test/**/*.ts'","prebuild":"rimraf dist","build":"tsc --project tsconfig.build.json && rollup -c rollup.config.ts && typedoc --out docs --target es6 --theme minimal --mode file src","start":"rollup -c rollup.config.ts -w","test":"jest","test:debug":"node --inspect-brk node_modules/.bin/jest --runInBand","test:watch":"jest --watch","test:prod":"npm run lint && npm run test -- --no-cache","deploy-docs":"ts-node tools/gh-pages-publish","report-coverage":"cat ./coverage/lcov.info | coveralls","commit":"git-cz","semantic-release":"semantic-release","semantic-release-prepare":"ts-node tools/semantic-release-prepare","precommit":"lint-staged","travis-deploy-once":"travis-deploy-once"},"lint-staged":{"{src,test}/**/*.ts":["prettier --write","git add"]},"config":{"commitizen":{"path":"node_modules/cz-conventional-changelog"}},"prettier":{"singleQuote":true},"commitlint":{"extends":["@commitlint/config-conventional"]},"devDependencies":{"@commitlint/cli":"^7.1.2","@commitlint/config-conventional":"^7.1.2","@nestjs/common":"^6.6.7","@nestjs/core":"^6.6.7","@nestjs/platform-express":"^6.6.7","@nestjs/platform-socket.io":"^6.6.7","@nestjs/platform-ws":"^6.6.7","@nestjs/testing":"^6.6.7","@nestjs/websockets":"^6.6.7","@types/jest":"^23.3.14","@types/node":"^10.11.0","@types/uuid":"^3.4.5","@types/ws":"^6.0.3","colors":"^1.3.2","commitizen":"^3.0.0","coveralls":"^3.0.2","cross-env":"^5.2.0","cz-conventional-changelog":"^2.1.0","husky":"^1.0.1","jest":"^23.6.0","jest-config":"^23.6.0","lint-staged":"^8.0.0","lodash.camelcase":"^4.3.0","prettier":"^1.14.3","prompt":"^1.0.0","reflect-metadata":"^0.1.13","replace-in-file":"^3.4.2","rimraf":"^2.6.2","rollup":"^0.67.0","rollup-plugin-commonjs":"^9.3.4","rollup-plugin-json":"^3.1.0","rollup-plugin-node-resolve":"^3.4.0","rollup-plugin-sourcemaps":"^0.4.2","rollup-plugin-typescript2":"^0.24.0","rxjs":"^6.5.3","semantic-release":"^15.9.16","shelljs":"^0.8.3","travis-deploy-once":"^5.0.9","ts-jest":"^23.10.2","ts-node":"^7.0.1","tslint":"^5.11.0","tslint-config-prettier":"^1.15.0","tslint-config-standard":"^8.0.1","typedoc":"^0.15.0","typescript":"^3.0.3"},"dependencies":{"isomorphic-ws":"^4.0.1","uuid":"^3.3.3","ws":"^7.1.2"},"gitHead":"0f6e81c8a1ec25ab03a99d092d3b1308e504610f","_id":"rpc-websocket-client@1.1.2","_nodeVersion":"12.7.0","_npmVersion":"6.10.0","dist":{"integrity":"sha512-EBYNKOa8yQK9xDPg3M99E2pxxPkegWsMe+wvS3MyC6QAV2NxdADxEOUsNg8AXrBe2n1leBxTwAcD5NZW/dTqyQ==","shasum":"d8218183d97b3dc872231db7124facab4d7ac438","tarball":"https://registry.npmjs.org/rpc-websocket-client/-/rpc-websocket-client-1.1.2.tgz","fileCount":3,"unpackedSize":9078,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdnlORCRA9TVsSAnZWagAAO7YQAIwHGspicTiZaMxMkigd\naDlximJceo0XX5ODWyS59SMEYcLACf39TIfqaVJo2bXZ4zNlJT3CzPYveaeg\nbKBM1L6+uUdQTOxsjtvn2mIp/nw9LVcroci0IrvdR6805we0f0wDLivlVUaS\nHD+1GHgnLDevo8JeR+CwE8p69yPkE6KRhAJWyLB8a28Dp3Vx6cCj6ZltHWBs\nkV8fbdN5R3a8oA5SWsH4Z9skqcuQNIuiDIaz1MQ+RnzqrOcLBeTAJPL/cRVh\n6GMPv8hUBTnUr/6UT0VhxtoPlc4PD0YAm4MEwb8Ck4gt3tEfBBxNki2q3BPN\nP6Vy30TkmCu4Pivdy/cNRpe8FH0k9fBi9HC7BTc+tQBZs+0cPTvXbckzge8D\nGaVGyh55h0cf4NvjEcF0T4w12sLxSaUIfHx9PwoHrUGr2qOCSjv4D7DJ/+1P\nPx5DoQ1U7zIZCfip/YwqglsPX3ggqDRBZ5BIKWZUqqYrM62NFZAMU/F2d42d\nj9eNvd220lHF7AuchE1gwxLIkbgIND1eOitFP+4BP+grh+LzAungAGtv/df7\n4a8zDrKRRpY9aVW9hpAzzKKyPkicS8DUhGtcY9Qeja/+W4NivAIoP8sB1bmg\nDi21hqTYuZeZAgNWCsF3oKQLlf/kssbsCOrtTANgpCJSlhtQJUGgGMOGeMfS\n2HKf\r\n=KfwE\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEDmtM50gbPhOOw3hTStkrL1Ws9dmx/grJd2zcjL0MYTAiEAlNQkCB0b6d9PBf/4PWPRDfMhK1FYQL/El+BuEjhpZM4="}]},"maintainers":[{"name":"radarsu","email":"rkrohmorath@gmail.com"}],"_npmUser":{"name":"radarsu","email":"rkrohmorath@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rpc-websocket-client_1.1.2_1570657168932_0.43040155196869456"},"_hasShrinkwrap":false},"1.1.3":{"name":"rpc-websocket-client","version":"1.1.3","description":"<p align=\"center\">\r     <a href=\"https://github.com/radarsu/rpc-websocket-client/\" target=\"blank\"><img src=\"https://raw.githubusercontent.com/radarsu/rpc-websocket-client/master/assets/logo.png\" alt=\"rpc-websocket-client\" /></a><br/>\r     <strong>Fast JSO","keywords":["websocket","client","typescript","json rpc","2.0","fast"],"main":"dist/rpc-websocket-client.umd.js","module":"dist/rpc-websocket-client.es5.js","typings":"dist/types/rpc-websocket-client.d.ts","author":{"name":"Artur Kurowski","email":"radarsu@gmail.com"},"repository":{"type":"git","url":""},"license":"MIT","engines":{"node":">=6.0.0"},"scripts":{"lint":"tslint  --project tsconfig.json -t codeFrame 'src/**/*.ts' 'test/**/*.ts'","prebuild":"rimraf dist","build":"tsc --project tsconfig.build.json && rollup -c rollup.config.ts && typedoc --out docs --target es6 --theme minimal --mode file src","start":"rollup -c rollup.config.ts -w","test":"jest","test:debug":"node --inspect-brk node_modules/.bin/jest --runInBand","test:watch":"jest --watch","test:prod":"npm run lint && npm run test -- --no-cache","deploy-docs":"ts-node tools/gh-pages-publish","report-coverage":"cat ./coverage/lcov.info | coveralls","commit":"git-cz","semantic-release":"semantic-release","semantic-release-prepare":"ts-node tools/semantic-release-prepare","precommit":"lint-staged","travis-deploy-once":"travis-deploy-once"},"lint-staged":{"{src,test}/**/*.ts":["prettier --write","git add"]},"config":{"commitizen":{"path":"node_modules/cz-conventional-changelog"}},"prettier":{"singleQuote":true},"commitlint":{"extends":["@commitlint/config-conventional"]},"devDependencies":{"@commitlint/cli":"^7.1.2","@commitlint/config-conventional":"^7.1.2","@nestjs/common":"^6.6.7","@nestjs/core":"^6.6.7","@nestjs/platform-express":"^6.6.7","@nestjs/platform-socket.io":"^6.6.7","@nestjs/platform-ws":"^6.6.7","@nestjs/testing":"^6.6.7","@nestjs/websockets":"^6.6.7","@types/jest":"^23.3.14","@types/node":"^10.11.0","@types/uuid":"^3.4.5","@types/ws":"^6.0.3","colors":"^1.3.2","commitizen":"^3.0.0","coveralls":"^3.0.2","cross-env":"^5.2.0","cz-conventional-changelog":"^2.1.0","husky":"^1.0.1","jest":"^23.6.0","jest-config":"^23.6.0","lint-staged":"^8.0.0","lodash.camelcase":"^4.3.0","prettier":"^1.14.3","prompt":"^1.0.0","reflect-metadata":"^0.1.13","replace-in-file":"^3.4.2","rimraf":"^2.6.2","rollup":"^0.67.0","rollup-plugin-commonjs":"^9.3.4","rollup-plugin-json":"^3.1.0","rollup-plugin-node-resolve":"^3.4.0","rollup-plugin-sourcemaps":"^0.4.2","rollup-plugin-typescript2":"^0.24.0","rxjs":"^6.5.3","semantic-release":"^15.9.16","shelljs":"^0.8.3","travis-deploy-once":"^5.0.9","ts-jest":"^23.10.2","ts-node":"^7.0.1","tslint":"^5.11.0","tslint-config-prettier":"^1.15.0","tslint-config-standard":"^8.0.1","typedoc":"^0.15.0","typescript":"^3.0.3"},"dependencies":{"isomorphic-ws":"^4.0.1","uuid":"^3.3.3","ws":"^7.1.2"},"gitHead":"6b25a6706687327f34ccdc68076871c80e9663dc","_id":"rpc-websocket-client@1.1.3","_nodeVersion":"12.7.0","_npmVersion":"6.10.0","dist":{"integrity":"sha512-2EqxvkFu2cizRJieiu8GxrdVWOwfkYKtZIzF4Aeqw4mQev3mNKw8YM5O8HJgq2QelqtSDTj6idqoK4pQPJe/oA==","shasum":"ff20a7e4858a492e093eedc64f2663bab7fe8880","tarball":"https://registry.npmjs.org/rpc-websocket-client/-/rpc-websocket-client-1.1.3.tgz","fileCount":11,"unpackedSize":101083,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdnlS+CRA9TVsSAnZWagAAfw8P/in25MbABLO5UNXkn3V4\nTMoT93QpxPKKWbmZysZ0RBBhWT3M2MVkYX7YA+vucF0enc9SwQjz2Gb+wh0+\njcx/ZPdMwIQTxnahnCKg8ViAm279aIG70K2p3XPBICP9F6Jj0HauQYHJMNeC\n98TmqMXXvKWYT0mz8d59pVsepRC9JM++axgOzfcI2Rnc+KxsXGvtiOkR3G79\nHuigep7qG+eHRjun7yrTVHGAwWFrP14rpNYh+rr2Bsqn/5zTQTNawqnGM1zu\nXJn00BeX0m3wPDY+7JJWYG7MTQ1BGZRMWhBmKo7TjuorV/kCljnPjljYmPEs\nPpupVrSUqaOuPHha2zbHLFOLuzyhMzDhnEYFkiwoXcIqOzQdfApB3TsFq/nd\n0RF0D2Zavq3JeP1o95jmroKW/ah0+4eIr67Qurceb6t88rb+RTcqO7urTeY8\nTBApaLnY3t2TnQJPkJVfkeKvhMgN9Fobyl4x9t3pWWNw1LH1YUdC2JefJ3Pe\nXdmepaJDebaHoq1v+ogw+FJYCB572H/pMgbbc0R6BvVehByDIbNEqRxqE0s6\nPfD5Xq1ftzOWuH1RRD3P2L6i9QWiBK4+U+Uygs70eBiKUAfHGbz/EuEunOGt\nQZQcvpfHaFNJrgi54c4rMq9FuZT3TeXhBGM5a32aBu38LEMxxib7b1Xr4q2z\n1tWU\r\n=u9Q0\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDeIhzx+E4c7cBucZTT8lbajFBjrJWFTYXKwJ99k50Y8gIgHaN/zcNN2w/Vr64KjPg3Kxd9hhBT0pC3qWl3xVOA2rg="}]},"maintainers":[{"name":"radarsu","email":"rkrohmorath@gmail.com"}],"_npmUser":{"name":"radarsu","email":"rkrohmorath@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rpc-websocket-client_1.1.3_1570657470214_0.8748902796453506"},"_hasShrinkwrap":false},"1.1.4":{"name":"rpc-websocket-client","version":"1.1.4","description":"<p align=\"center\">\r     <a href=\"https://github.com/radarsu/rpc-websocket-client/\" target=\"blank\"><img src=\"https://raw.githubusercontent.com/radarsu/rpc-websocket-client/master/assets/logo.png\" alt=\"rpc-websocket-client\" /></a><br/>\r     <strong>Fast JSO","keywords":["websocket","client","typescript","json rpc","2.0","fast"],"main":"dist/rpc-websocket-client.umd.js","module":"dist/rpc-websocket-client.es5.js","typings":"dist/types/rpc-websocket-client.d.ts","author":{"name":"Artur Kurowski","email":"radarsu@gmail.com"},"repository":{"type":"git","url":""},"license":"MIT","engines":{"node":">=6.0.0"},"scripts":{"lint":"tslint  --project tsconfig.json -t codeFrame 'src/**/*.ts' 'test/**/*.ts'","prebuild":"rimraf dist","build":"tsc --project tsconfig.build.json && rollup -c rollup.config.ts","build:docs":"typedoc --out docs --target es6 --theme minimal --mode file src","start":"rollup -c rollup.config.ts -w","test":"jest","test:debug":"node --inspect-brk node_modules/.bin/jest --runInBand","test:watch":"jest --watch","test:prod":"npm run lint && npm run test -- --no-cache","deploy-docs":"ts-node tools/gh-pages-publish","report-coverage":"cat ./coverage/lcov.info | coveralls","commit":"git-cz","semantic-release":"semantic-release","semantic-release-prepare":"ts-node tools/semantic-release-prepare","precommit":"lint-staged","travis-deploy-once":"travis-deploy-once"},"lint-staged":{"{src,test}/**/*.ts":["prettier --write","git add"]},"config":{"commitizen":{"path":"node_modules/cz-conventional-changelog"}},"prettier":{"singleQuote":true},"commitlint":{"extends":["@commitlint/config-conventional"]},"devDependencies":{"@commitlint/cli":"^7.1.2","@commitlint/config-conventional":"^7.1.2","@nestjs/common":"^6.6.7","@nestjs/core":"^6.6.7","@nestjs/platform-express":"^6.6.7","@nestjs/platform-socket.io":"^6.6.7","@nestjs/platform-ws":"^6.6.7","@nestjs/testing":"^6.6.7","@nestjs/websockets":"^6.6.7","@types/jest":"^23.3.14","@types/node":"^10.11.0","@types/uuid":"^3.4.5","@types/ws":"^6.0.3","colors":"^1.3.2","commitizen":"^3.0.0","coveralls":"^3.0.2","cross-env":"^5.2.0","cz-conventional-changelog":"^2.1.0","husky":"^1.0.1","jest":"^23.6.0","jest-config":"^23.6.0","lint-staged":"^8.0.0","lodash.camelcase":"^4.3.0","prettier":"^1.14.3","prompt":"^1.0.0","reflect-metadata":"^0.1.13","replace-in-file":"^3.4.2","rimraf":"^2.6.2","rollup":"^0.67.0","rollup-plugin-commonjs":"^9.3.4","rollup-plugin-json":"^3.1.0","rollup-plugin-node-resolve":"^3.4.0","rollup-plugin-sourcemaps":"^0.4.2","rollup-plugin-typescript2":"^0.24.0","rxjs":"^6.5.3","semantic-release":"^15.9.16","shelljs":"^0.8.3","travis-deploy-once":"^5.0.9","ts-jest":"^23.10.2","ts-node":"^7.0.1","tslint":"^5.11.0","tslint-config-prettier":"^1.15.0","tslint-config-standard":"^8.0.1","typedoc":"^0.15.0","typescript":"^3.7.0-beta"},"dependencies":{"isomorphic-ws":"^4.0.1","uuid":"^3.3.3","ws":"^7.1.2"},"gitHead":"a3ccfcc2c749fbec59e898ed664fbf55de66e128","_id":"rpc-websocket-client@1.1.4","_nodeVersion":"12.6.0","_npmVersion":"6.11.2","dist":{"integrity":"sha512-UDMVcsNDJ3WET+0EFdmseYX+60MOCA3BpgpZ5dbtiGsqHo+9uWfgNbPZ4iGDtNcX+EUhCt/Y7C0fTmUU3CkkWA==","shasum":"c82a98c85a4a3ed65b19cf7fe989bf8cbfd5b421","tarball":"https://registry.npmjs.org/rpc-websocket-client/-/rpc-websocket-client-1.1.4.tgz","fileCount":11,"unpackedSize":101334,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdsMrdCRA9TVsSAnZWagAA6hoP/it+ywAgAztdHQeXVobv\nmBRhJ7v+QpE2gYW+lYsaSpjfeuVj851GigM0mDBwOuPCNa7+ZiWwRNX+S4hF\nkz930ANq1HoGRpHCDNyuZ7AjpfD/IPx6LYB4/6pDsCuMh0dJBq5N2TrlIsoq\nK8NUZh3ORix0a5SgbuBZlcqUMF4JFbD/wo3KxZkIbMaL+GQtNrl6Vs36jzAo\n4erAUnZ3CZCBDjEcdsGcHnhUMuK8Beo54QDLWjrk0TSXUj3dO9686uOyqo9H\nSlt/13sCmtsaYPYyS0QQyTS9k93+pE8Jyj3KqVuQN2V1Ub05rMKDclfhOLw+\n3wHO/bO/Keto24vNazmKhPySaRKRpKd3/rz5wZoN539HnF2K65/hG+/J2GS6\n0k8epr/tmOlzKtg8IIkSxGAMjaQ5jIdPdwp7smNYjdtNCFZbOgLCkTphxuI9\nj2FABx5tRsFtFGcZ4gsvQlzNa1woxG9Ygg9RC5Yw80Yu/gXLkQ5KSYexR3gl\n3dLegWopq5qqScOU0yQjuF6r5DxNNSmUZI09Q3EMynYdltz9F+vEoevtsqCC\nmCT595i5UcGOoXDsSfzztVQ3sHLCTfNEq9n5r2GdkkuRzRrGj5S9T+dFqZd4\nbT3X8VPHaZFUUdpuA40R7YeL7W4d302r2dxolzfQPun2BZ+S92nHtp7D7NXb\nGcCH\r\n=Ay75\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAQw3PI6lG1iT5MlNUc0dQRSLGTyVExWgtYvEcW31EG6AiBDJS8SW3N83XRiEIJOo2XnsfUwhkodPKZ4lstmkdgHDA=="}]},"maintainers":[{"name":"radarsu","email":"rkrohmorath@gmail.com"}],"_npmUser":{"name":"radarsu","email":"rkrohmorath@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rpc-websocket-client_1.1.4_1571867357329_0.888703970442845"},"_hasShrinkwrap":false}},"time":{"created":"2018-11-03T22:21:43.045Z","1.0.0":"2018-11-03T22:21:43.238Z","modified":"2022-05-16T06:02:06.641Z","1.0.1":"2018-11-03T22:35:01.185Z","1.0.2":"2019-01-31T16:54:56.078Z","1.0.3":"2019-02-04T19:11:08.925Z","1.1.0":"2019-09-04T17:49:25.380Z","1.1.1":"2019-09-04T22:54:29.690Z","1.1.2":"2019-10-09T21:39:29.058Z","1.1.3":"2019-10-09T21:44:30.402Z","1.1.4":"2019-10-23T21:49:17.467Z"},"maintainers":[{"name":"radarsu","email":"rkrohmorath@gmail.com"}],"description":"<p align=\"center\">\r     <a href=\"https://github.com/radarsu/rpc-websocket-client/\" target=\"blank\"><img src=\"https://raw.githubusercontent.com/radarsu/rpc-websocket-client/master/assets/logo.png\" alt=\"rpc-websocket-client\" /></a><br/>\r     <strong>Fast JSO","keywords":["websocket","client","typescript","json rpc","2.0","fast"],"repository":{"type":"git","url":""},"license":"MIT","readme":"<p align=\"center\">\r\n    <a href=\"https://github.com/radarsu/rpc-websocket-client/\" target=\"blank\"><img src=\"https://raw.githubusercontent.com/radarsu/rpc-websocket-client/master/assets/logo.png\" alt=\"rpc-websocket-client\" /></a><br/>\r\n    <strong>Fast JSON RPC 2.0 written in TypeScript.</strong>\r\n</p>\r\n\r\n<p align=\"center\">\r\n<a href=\"https://github.com/Microsoft/TypeScript\" target=\"blank\">TypeScript</a> <a href=\"https://www.jsonrpc.org/specification\" target=\"_blank\" alt=\"JSON RPC 2.0\">JSON RPC 2.0</a> WebSocket implementation with async-await Promises.<br/>\r\n</p>\r\n\r\n<p align=\"center\">\r\n\t<a href=\"https://www.npmjs.com/package/rpc-websocket-client\" target=\"_blank\" alt=\"npm rpc-websocket-client\"><img src=\"https://img.shields.io/npm/v/rpc-websocket-client.svg\" alt=\"npm\" /></a>\r\n\t<img src=\"https://img.shields.io/github/license/radarsu/rpc-websocket-client.svg\" />\r\n\t<img src=\"https://img.shields.io/github/stars/radarsu/rpc-websocket-client.svg\" />\r\n\t<a href=\"https://twitter.com/radarsujs\"><img src=\"https://img.shields.io/twitter/url/https/github.com/radarsu/rpc-websocket-client.svg?style=social\" /></a>\r\n</p>\r\n\r\n## Description\r\n\r\nI really lacked typescript support or type definitions of <a href=\"https://github.com/elpheria/rpc-websockets\" target=\"_blank\" alt=\"rpc-websockets\">rpc-websockets</a>. I kept everything as simple as possible for <strong>best performance</strong> and in principle <strong>stay close to the metal</strong>. Under the hood id-generation for requests is done using <a href=\"https://github.com/kelektiv/node-uuid\" target=\"_blank\" alt=\"uuid\">uuid/v1</a> to provide id uniqueness as an additional feature.\r\n\r\n## Installation\r\n\r\n```sh\r\nnpm i rpc-websocket-client\r\n```\r\n\r\n## Features\r\n\r\n- <strong>TypeScript</strong> with documentation in comments.\r\n- <strong>Unique RPC identifiers</strong> by <a href=\"https://github.com/kelektiv/node-uuid\" target=\"_blank\" alt=\"uuid\">uuid/v1</a>.\r\n- <strong>Lightweight</strong>. Allows you to call `noRpc()` method to prevent sending `jsonrpc: '2.0'` overhead from all messages if you'd like to ignore the <a href=\"https://www.jsonrpc.org/specification\" target=\"_blank\" alt=\"JSON RPC 2.0\">JSON RPC 2.0</a> standard for better performance.\r\n- Option to <strong>connect RpcWebSocketClient with already existing WebSocket</strong> with `changeSocket()` and `listenMessages()` methods. Useful if you use <strong>REST</strong> or <strong>GraphQL implementation</strong> from another library and want to handle <a href=\"https://www.jsonrpc.org/specification\" target=\"_blank\" alt=\"JSON RPC 2.0\">JSON RPC 2.0</a> when communicating from server to client (that was my use case to develop this package).\r\n\r\n## Basic Usage\r\n```ts\r\nimport { RpcWebSocketClient } from 'rpc-websocket-client';\r\n\r\n(async () => {\r\n\r\n    const rpc = new RpcWebSocketClient();\r\n\r\n    await rpc.connect(`ws://localhost:4000/`);\r\n    // connection established\r\n\r\n    // let's hope there will be no error or it will be catched in some wrapper\r\n    await rpc.call(`auth.login`, [`rpcMaster`, `mySecretPassword`]);\r\n\r\n    // now lets be pesimistic\r\n    await rpc.call(`auth.login`, [`rpcMaster`, `mySecretPassword`]).then(() => {\r\n        // woohoo, user logged!\r\n    }).catch((err) => {\r\n\r\n        // err is typeof RpcError (code: number, message: string, data?: any)\r\n        await rpc.call(`auth.signup`, {\r\n            login: `rpcMaster`,\r\n            password: `mySecretPassword`,\r\n        });\r\n\r\n    });\r\n\r\n    rpc.notify(`btw.iHateYou`, [`over and out`]);\r\n})();\r\n```\r\n\r\n## Advanced Usage\r\n```ts\r\nimport { RpcWebSocketClient } from 'rpc-websocket-client';\r\n\r\n(async () => {\r\n    // lets say you use WebSocket implementation for GraphQL Client -> Server communication\r\n    // e.g. Apollo, and it's already connected\r\n    // but you want to handle some of the Server -> Client communication with RPC\r\n\r\n    const ws = (apollo as any).client.wsImpl;\r\n    const rpc = new RpcWebSocketClient();\r\n\r\n    rpc.onRequest.push((data) => {       // data is typeof RpcRequest\r\n        // controller-like stuff\r\n    });\r\n\r\n    rpc.onNotification.push((data) => {  // data is typeof RpcNotification\r\n        // notification handling\r\n    });\r\n\r\n    // here goes magic for listening to already-connected socket\r\n    rpc.changeSocket(ws);\r\n    rpc.listenMessages();\r\n})();\r\n```\r\n","readmeFilename":"README.md","author":{"name":"Artur Kurowski","email":"radarsu@gmail.com"}}