{"_id":"websocket-ts","_rev":"21-71ad513448b7fda9f9cd974d3400af16","name":"websocket-ts","dist-tags":{"latest":"3.0.0"},"versions":{"1.0.0":{"name":"websocket-ts","version":"1.0.0","license":"MIT","_id":"websocket-ts@1.0.0","maintainers":[{"name":"jjxxs","email":"ezpwnd@gmail.com"}],"dist":{"shasum":"19d3a79cea5ae395f920337b1d3b7ffa44eeab7e","tarball":"https://registry.npmjs.org/websocket-ts/-/websocket-ts-1.0.0.tgz","fileCount":50,"integrity":"sha512-HHdTMbFMG4q3tKaHiKNLipzMi5SuzJuMwKi5qK1fLoUZV4i+fzv38HeLudI41mf1ohidlVAItuwrGFyL0gL/jg==","signatures":[{"sig":"MEUCIQCKiVtCoPHWhzyvymRMMzkkHLGw89PXqEab7DlFVyPkYwIgO2Gg+WApZ3h5+XldD/mGHtMXiq31gMykhT8LIUoufko=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":87249,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfW5BOCRA9TVsSAnZWagAAfHoP/ji2uLaC7ZaRFmmKQ1oY\neB6T3FJE9jnQNKD5fvZXiyAckTMMZNJED7M87IZuscc50qGWmHvAyp5hAitl\nr1CHskDWojvfuVF39Wv+4iPiQjIq0WnxnbsaSTLQ9W62L4AIp0i3+zMkZegk\nDDZWP2IHC5MPr8eU1qApgOzxfVZ9SgMerHWh2FNyKgopm9UunV9U6WAmTkw/\n43UkCBvgI6VIpSg0Ng24ehxhvbWH3XNhsD1HUgwUAL9ePysaW9NIkhWZg6H0\nVnGiejI2lp6YsfRMOAq7BdGPCAJqVZ1KnlL1wpyx4jTvj/KErrqKcKVlrkOO\n8alMWA6xO9uXeIdkBjsLC9MC5uYhHGNw+g+uIZGEpuAA9TqqgRKg0m+ZkWxq\nIne8TkBtR6G4iSw2EvrYNagPgdIaf3cad8H6UeZIOdl36/yL1+TG4TNORuum\nT0hr9xShM1qOI1oUntQ0wkZ0moVrTu3Yvl9aq+RWgANtTtqiwOYcoDbxytyB\n3jp2XgbcadV9z8GEEEyQIOFzWB+nTKm7oiO6PYKMq1KfWWYFbG59SSBB6leq\n6JfsD/fxU706fkZrirg7spGYy45u6rSWnwLPlabspT1NN6Y2u7d9EOdRRAmh\npWYHNaKvfY43ksZNACrzsq3ThjgmmoiJ6HIKP8lNBfo1iGeHiV8i07Zi4BMy\nnoL0\r\n=Q5bk\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","types":"lib","gitHead":"226825470deac0d7758c1c261c544a9989ea3216","scripts":{"test":"jest","build":"tsc -p .","compile":"tsc","coveralls":"jest --coverage && cat ./coverage/lcov.info | coveralls"},"_npmUser":{"name":"jjxxs","email":"ezpwnd@gmail.com"},"_npmVersion":"6.14.6","description":"[![Build Status](https://travis-ci.org/jjxxs/websocket-ts.svg?branch=master)](https://travis-ci.org/jjxxs/websocket-ts) [![Coverage Status](https://coveralls.io/repos/github/jjxxs/websocket-ts/badge.svg?branch=master)](https://coveralls.io/github/jjxxs/we","directories":{},"_nodeVersion":"12.18.3","_hasShrinkwrap":false,"devDependencies":{"ws":"^7.3.1","jest":"^26.4.2","ts-jest":"^26.3.0","@types/ws":"^7.2.6","coveralls":"^3.1.0","typescript":"^4.0.2","@types/jest":"^26.0.13"},"_npmOperationalInternal":{"tmp":"tmp/websocket-ts_1.0.0_1599836238248_0.2601055718729872","host":"s3://npm-registry-packages"}},"1.0.0-rc1":{"name":"websocket-ts","version":"1.0.0-rc1","license":"MIT","_id":"websocket-ts@1.0.0-rc1","maintainers":[{"name":"jjxxs","email":"ezpwnd@gmail.com"}],"dist":{"shasum":"afb21c117a758333d90b603172d48538fcc70ff7","tarball":"https://registry.npmjs.org/websocket-ts/-/websocket-ts-1.0.0-rc1.tgz","fileCount":45,"integrity":"sha512-S+fQH82wltCOL9Oub4bxRTJhGIjZ+2GIMVXRyVGhK6M4bG1b18xMCVouyS9A+0MDsf6xS8HiYWPoGwHL18rTIQ==","signatures":[{"sig":"MEUCIQCI2cUAu0SPjRLxgN7XbWMH2Ct8StRKr/ZAsYbjGKzsOgIgAOngCSiI4n6ADEWHcpKJCNchc7IvkKkwN1UHzu+Cx94=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":73585,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfW5FHCRA9TVsSAnZWagAA7HMP/2BzwigEhagMiNRFV8TS\n9GxQZI2fC67r0JPYEhwnYy+x3GRDP9NgLFbKleZdCB3WM0Fe118H9yz4VTJL\nkY53RiDbUxqgERfLB6yRkX23jI2zGbUPaxAv3eOpOcSukT/BGPr01uYhTF0k\ndV39U0Dz7HEfboEyHPlFTaFS6bOWdCDC/LWEd5YCAy2xHu1np1j7+xlKgzmg\nvojsSu9Kq5wXju3EtEdY3idXnutUE91U41UxamEkJVZP7FxRfwc+jTMIWwan\nwgdDh5qe8I/jHUvEEXGa2bl7HUdSrkVjcrtUVJO8HxN03/luRaCGjtZZhuRy\nlnbzJCfJPX7O44o/rKhv+97NE03spq+ctbGCy118pjemaDJTilLumrNI1253\nDPnjZ3abrG91YhmQZ/RWRMRHloId5MGIx8XYM8TiVyGeiRH/aKVKXw0Xacs6\nQG6qD8mxiW37JU6qCOuPJgEoFmyGhQPT1jvWm+M5HI3lEvQmvH1P3pn580ya\n8+B0sChE6MU7FFZfAVpzCpNFURIzc4KiXt0nNMHOemJl9hRMRUZVPcKPGQmN\nk42WfiWB2mHZeIubFxxwaX3CpRh/UqQc1W4/nUtfwhGGapq1E14PGteeiErB\na2xKukJXE5GMBWTmkFVYnfDnUx67JnZixQnlO9NPSczxHb3m8FxBGhgudrU+\nuVH4\r\n=KxDX\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","types":"lib","gitHead":"226825470deac0d7758c1c261c544a9989ea3216","scripts":{"test":"jest","build":"tsc -p .","compile":"tsc","coveralls":"jest --coverage && cat ./coverage/lcov.info | coveralls"},"_npmUser":{"name":"jjxxs","email":"ezpwnd@gmail.com"},"_npmVersion":"6.14.6","description":"[![Build Status](https://travis-ci.org/jjxxs/websocket-ts.svg?branch=master)](https://travis-ci.org/jjxxs/websocket-ts) [![Coverage Status](https://coveralls.io/repos/github/jjxxs/websocket-ts/badge.svg?branch=master)](https://coveralls.io/github/jjxxs/we","directories":{},"_nodeVersion":"12.18.3","_hasShrinkwrap":false,"devDependencies":{"ws":"^7.3.1","jest":"^26.4.2","ts-jest":"^26.3.0","@types/ws":"^7.2.6","coveralls":"^3.1.0","typescript":"^4.0.2","@types/jest":"^26.0.13"},"_npmOperationalInternal":{"tmp":"tmp/websocket-ts_1.0.0-rc1_1599836487334_0.8927533062403139","host":"s3://npm-registry-packages"}},"1.0.0-rc2":{"name":"websocket-ts","version":"1.0.0-rc2","license":"MIT","_id":"websocket-ts@1.0.0-rc2","maintainers":[{"name":"jjxxs","email":"ezpwnd@gmail.com"}],"dist":{"shasum":"876ad0bcb720be0155e7c47931bb69f007b2bd90","tarball":"https://registry.npmjs.org/websocket-ts/-/websocket-ts-1.0.0-rc2.tgz","fileCount":44,"integrity":"sha512-DBb6286keJ3xlRtk6jK/RlivaiuoG5/0nLbiISRdfQBWAEy61ioTOq4wEWDb8dVg0WBBoC1ej63gzZEdtxcDeg==","signatures":[{"sig":"MEUCIGVyWJX7HQ02eUQQ+bYCbDZbKDIRT5I0NvAC71+EDEKZAiEAykkIZcnAawaLpNio+566JbxYtyVEyFbf8Qrbkg/d0Jo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":73523,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfW5GICRA9TVsSAnZWagAA+7kP/AiHsbl6iEYIoVh4gN56\nKd8GivxzGxTQUVdegjCQKGzN9k647jL6Vuv4xK4HRrOHyeltFoNOj4YCsGRW\nna1l+CojLV2nLdlpcAWcuKKlFurbeevuy/Kd2RpaXJeQm1A614wVNBrW52jH\nrCcVaI4VL5U7YCOF765ZHdduniRcfHKPoqYX6m5j866sCkHMz86kKjTQcmJq\nRJgE5r6OthGHOzOGcbc4wTTRjQ48qgTMrWe4znq1puTaYqzM0VF0iJZTANb2\nUT2LuS9s8ltaLfUCQlbcuNCpjoWdAsJQuenkNOhNbxfdYi0j5UgDgfQzJ/I/\nZr0LjFZVJTZd/Wg6JOf0yw5y/26/lsWt2mf5sHz+Z3WXF7g1DCR159E3LlUl\nxyvXNis/n6VyXzlHUyGkSeSN31PpPptuU4NM3+KtX05yBiYTQOIunKYa9cWs\nuXidW6CQfP/QhB6uvngrwj5u2SJ5chZSKDXFM85bsLTdiqLMzHz//EgVH2Jy\nTeI7H7MXcD9ilgi1eykO2U8FqTQVHtpMl90q+i5a0LOT2zwwxwFcMR4+htAT\ndjKzkKIlne1/qH7XkOcBVHhfULmHiKxry5Rh34yUH2BrI9yguTO7UZLDZ/V7\nPjHiwnOi8aKpVbWQ6S6Cjx63f19wYW69Q3XgeYPUgJTiIbLj1T4+efkXherB\nbzOg\r\n=Dpaw\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","types":"lib/","gitHead":"226825470deac0d7758c1c261c544a9989ea3216","scripts":{"test":"jest","build":"tsc -p .","compile":"tsc","coveralls":"jest --coverage && cat ./coverage/lcov.info | coveralls"},"_npmUser":{"name":"jjxxs","email":"ezpwnd@gmail.com"},"_npmVersion":"6.14.6","description":"[![Build Status](https://travis-ci.org/jjxxs/websocket-ts.svg?branch=master)](https://travis-ci.org/jjxxs/websocket-ts) [![Coverage Status](https://coveralls.io/repos/github/jjxxs/websocket-ts/badge.svg?branch=master)](https://coveralls.io/github/jjxxs/we","directories":{},"_nodeVersion":"12.18.3","_hasShrinkwrap":false,"devDependencies":{"ws":"^7.3.1","jest":"^26.4.2","ts-jest":"^26.3.0","@types/ws":"^7.2.6","coveralls":"^3.1.0","typescript":"^4.0.2","@types/jest":"^26.0.13"},"_npmOperationalInternal":{"tmp":"tmp/websocket-ts_1.0.0-rc2_1599836551735_0.01428612066003887","host":"s3://npm-registry-packages"}},"1.0.0-rc3":{"name":"websocket-ts","version":"1.0.0-rc3","license":"MIT","_id":"websocket-ts@1.0.0-rc3","maintainers":[{"name":"jjxxs","email":"ezpwnd@gmail.com"}],"dist":{"shasum":"4c3075063441e9cef8234ee32c27a011d4507b46","tarball":"https://registry.npmjs.org/websocket-ts/-/websocket-ts-1.0.0-rc3.tgz","fileCount":44,"integrity":"sha512-arTjp4fYbLDAa5rcZUGn5ixxkPzZNKL58+fdsWKDDpL+YxWsTlgw4XIaiNb/+QSMtg/ZtlcNjhsjDPLLCgp2vA==","signatures":[{"sig":"MEYCIQCPbQnbWU3m/A+XyjIMu74Vp6z9sxtTIc8QLdtW8EDvhAIhAJB8IOqNx4YQ22AimYDZgKnwSHoFFqEkajEwjJEI8+Mh","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":73637,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfW5cGCRA9TVsSAnZWagAAC30P/1vC5u/EfFcZMtGy49Kc\nwvW5viBh08/rvC7hMomdnBIR1a6b03gnRRU/N2tHGGiW5pCxXHY7w4gAG6El\ndq73P6pPFZIgGaf8/IIGO3zjDuqfN3cRYAvskHRD/VognYlUFd5DabPzrI0/\nsEVq52d82HiDe5ztqd+J0IFc+yZB8DimOkvPrnvw43Vz6YVnhPdQoXcIuI2S\n9cFwRotCPMQTRHUT4v4GekqWsWYmBv8DTOblBbG8M8+hc+GbMOsyC7+A5Qsy\nMVjubPVRbTtngR1H0lPM2jszw36yiiD/QfTWpJU7Ca02jDs0GqvJG1jYhbkz\ncW//jr52K+wvM6WQY9DPc46Wrk0Ub+gfI5P/C3DBgzf6K/R5LPJ+WEf7YGxO\nP92BKglfbag0BguVH2QQeoukIK2Ntg08U+hxIlg2V14FYFd0ZifHAHmXQwy7\nu71F9pf6eBKRMsT4re3Cy6R2klGYlEk19WhpyxZIiYrbWEzwiATAzyFi9lj1\n/m0XFwqM93gZYqbwounVbap/MpkbBt3fXMIXEU0IEBbLACdle2+LgDeeSnpq\n9MFSPE5yN/KV5KLc3hMRXIPoF2bTLd+aBrBOWdL3Nnj3kzpf2pwj1LDeaFX+\ne9Al/ccPzX0zVgJEoMTpmtQ3kBQKS3lyDB4LkmTkYsuRgRQ3iucahUNTO/UZ\nCo6w\r\n=eKcV\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","types":"lib/","gitHead":"19436058fe0a66315a369d8ae6aabeceeede7f80","scripts":{"test":"jest","build":"tsc -p .","compile":"tsc","coveralls":"jest --coverage && cat ./coverage/lcov.info | coveralls"},"_npmUser":{"name":"jjxxs","email":"ezpwnd@gmail.com"},"_npmVersion":"6.14.6","description":"A client-websocket written in TypeScript to be used from within browsers with focus on simplicity, reliability and extensibility. It provides convenient features to automatically reconnect and to buffer pending messages while not connected.","directories":{},"_nodeVersion":"12.18.3","_hasShrinkwrap":false,"devDependencies":{"ws":"^7.3.1","jest":"^26.4.2","ts-jest":"^26.3.0","@types/ws":"^7.2.6","coveralls":"^3.1.0","typescript":"^4.0.2","@types/jest":"^26.0.13"},"_npmOperationalInternal":{"tmp":"tmp/websocket-ts_1.0.0-rc3_1599837957943_0.6420474227882291","host":"s3://npm-registry-packages"}},"1.0.0-rc4":{"name":"websocket-ts","version":"1.0.0-rc4","keywords":["websocket","browser","client","typescript","reconnecting","buffered"],"license":"MIT","_id":"websocket-ts@1.0.0-rc4","maintainers":[{"name":"jjxxs","email":"ezpwnd@gmail.com"}],"homepage":"https://github.com/jjxxs/websocket-ts#readme","bugs":{"url":"https://github.com/jjxxs/websocket-ts/issues"},"dist":{"shasum":"a2de93028e12ba05675d50e7a2669bb9aca44fed","tarball":"https://registry.npmjs.org/websocket-ts/-/websocket-ts-1.0.0-rc4.tgz","fileCount":61,"integrity":"sha512-snAgis0wOFO4BxXzLpfRE9/HwPRegcc4xxMw+W2klU8VyERZzOEVHxnUPfyqWkJ/NfVPM7P9Ln54Op39CJSGMA==","signatures":[{"sig":"MEUCIEBN71FCu2g8KUHmHm23wgzQDcPU3Lk0Ec+cmfrO28gaAiEA39aH9YYY+P7QmHkZmGHZ/xm1deIrGTbxzHY+O8iuwDo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":81848,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfW9/iCRA9TVsSAnZWagAAfnsQAKTUrM43pTDUfXClFkqe\nVdKl3lBSeKikCibyv3BVCCxPgXjJqsaYBCfSE8T9f8M/ZiGuKnCkMxMcrhrl\nM9zC+XlExFSbvnZ2XYt3TzWtX8H/5Ydc89M+8I1L/0at2lcdXym89mJyv1Qq\nzTjmt6jDpcJEqa4v4GtqdkFi5GKNbthWeAJNUCkLnqImfxDUrzy35VT85QhD\nhQMR5sqD0KOBhUO9jSY+27kEUvnTb9OEI7jJQyq+1YA9ppASJQxmPOiYM/IU\nqoFdP/2K4bo/82SwalcPdGc9MQ9mK08TJwXcynYRO4s8Q+/MglDmAhPmt/Cw\nN8nKs8/Xn1+OZzvGPfaqU2JLoZEWq5AM9kbg8c4WbKl9P2O3AXgKZzb4mx1B\n8XmVzy+KMuAyr3AD3CTRgtRDMhpM5rXbwMmKGKz6e3PbXhM5EGnfgNDruBkT\nlDrXxBC28yWDbElvWJaVCEmqcTQTfQnnKs4pQOtKCf+kaQ8KvMH6smZcXYan\n5PD/i+P9UiU3rYs8SAMjsH35QzrhKklKHBzFCpEe5ry7GXa+CaFWb4GztFCl\nO1hs9QFm13+QA6AS8ZwHdp7siKqiU17ndjfCLtN2uzxDJmBuH4kPD6JjTWUb\neUXMcgWJyuFzipuCCFTI06Hu6aDcMX3OKymXxKE4vjaRpZboxa7ZYlXSmNSn\nrlWb\r\n=645h\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","types":"lib/","gitHead":"53e32f5aa39378cb093236ece57fcc051089b834","scripts":{"test":"jest","build":"tsc -p .","compile":"tsc","coveralls":"jest --coverage && cat ./coverage/lcov.info | coveralls"},"_npmUser":{"name":"jjxxs","email":"ezpwnd@gmail.com"},"repository":{"url":"git+https://github.com/jjxxs/websocket-ts.git"},"_npmVersion":"6.14.6","description":"A client-websocket written in TypeScript to be used from within browsers with focus on simplicity, reliability and extensibility. It provides convenient features to automatically reconnect and buffer pending messages.","directories":{},"_nodeVersion":"12.18.3","_hasShrinkwrap":false,"devDependencies":{"ws":"^7.3.1","jest":"^26.4.2","ts-jest":"^26.3.0","@types/ws":"^7.2.6","coveralls":"^3.1.0","typescript":"^4.0.2","@types/jest":"^26.0.13"},"_npmOperationalInternal":{"tmp":"tmp/websocket-ts_1.0.0-rc4_1599856609824_0.8441601578625788","host":"s3://npm-registry-packages"}},"1.0.0-rc5":{"name":"websocket-ts","version":"1.0.0-rc5","keywords":["websocket","browser","client","typescript","reconnecting","buffered"],"license":"MIT","_id":"websocket-ts@1.0.0-rc5","maintainers":[{"name":"jjxxs","email":"ezpwnd@gmail.com"}],"homepage":"https://github.com/jjxxs/websocket-ts#readme","bugs":{"url":"https://github.com/jjxxs/websocket-ts/issues"},"dist":{"shasum":"b1ffe6f7a401cc5538262367b2a1860c936bf1ee","tarball":"https://registry.npmjs.org/websocket-ts/-/websocket-ts-1.0.0-rc5.tgz","fileCount":62,"integrity":"sha512-FxpR9WxBJgCyBWG+fTAcCOE0sYeRVVx0R5sSqb3AsliaXMIQLjODmzznXPeLI4/cMipQCFGk02QqDxPAvv5BUQ==","signatures":[{"sig":"MEQCIQDzQ/baRJsQuzqON40Ar21HAfo/BcfGQWDDMndI50S4eAIfPtD3SpQu4XQHnHyBwmBPjVU+XcZVb9M6S+zPCgN09Q==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":85613,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfYMBzCRA9TVsSAnZWagAAi38P+wVPyTP6s0sJ655CnvFw\nIGg+YB9QIRYkmOiKnEta2TzK8LhsafFXkXwCxNqc03qRHC+OCuBZ+GhRmrrj\nBHU580i4SmTsshgqK/39NT5fWfFB2YN+ABgJ8K25YkkB9M8J7kstZciwFF9H\n86u5k8yAvUxSF0WuB6WnRTWoNClyPGVvtQnszMixfwAKgvjCSyn+m6rM+2uh\n//j6iJzX135tSsykceUZm3dT31KVO+D6HE9/glJYdn9HgrEU6SHo3Ym6NnkX\nQGCPeUhs+skGWqcb8xe4zPLrcUWAhYkbDNUoK1tqpiuW6EpS6JznoAC1JEGt\nVrFMIazB5K3B8dvxo+LQqc+ZJcB4DOBLClPy9s8U4F4gwSKOq8oFHVirMOfL\nz5rk0WPseskT36FFqhehVGtZ63A6UsFBjuRo8FwYKJ4QjLPcFckPq3aahiFn\nM+9K1hye68VBZnLc5BHIOpzlDpfO9lAuRUDIM6BkkfDWgupa3yHmAAgs9Hra\nWv5OqT52ehJhSQGG/HTg+G5UxgGyclnuGy79jnm3gdahtBWaHxMSXn666T3z\nP7XPuzl/FlaUTSsGiqevbGQRj5cGnzBV1aYnPALVyiGQZPXQBpgOyrBbw+vw\nZHGwn+i3DrqEDS9Yck9W+ZKvdLe6NqCQ3/cdOwo3++xbpoyg1ihFnveLmT7J\nyK8e\r\n=EWmO\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","types":"lib/","gitHead":"9ed952d7bb955b3775e82720960df8523508a08a","scripts":{"test":"jest","build":"tsc -p .","compile":"tsc","coveralls":"jest --coverage && cat ./coverage/lcov.info | coveralls"},"_npmUser":{"name":"jjxxs","email":"ezpwnd@gmail.com"},"repository":{"url":"git+https://github.com/jjxxs/websocket-ts.git"},"_npmVersion":"6.14.6","description":"A client-websocket written in TypeScript to be used from within browsers with focus on simplicity, reliability and extensibility. It provides convenient features to automatically reconnect and buffer pending messages.","directories":{},"_nodeVersion":"12.18.3","_hasShrinkwrap":false,"devDependencies":{"ws":"^7.3.1","jest":"^26.4.2","ts-jest":"^26.3.0","@types/ws":"^7.2.6","coveralls":"^3.1.0","typescript":"^4.0.2","@types/jest":"^26.0.13"},"_npmOperationalInternal":{"tmp":"tmp/websocket-ts_1.0.0-rc5_1600176242712_0.8516686869726067","host":"s3://npm-registry-packages"}},"1.0.1":{"name":"websocket-ts","version":"1.0.1","keywords":["websocket","browser","client","typescript","reconnecting","buffered"],"license":"MIT","_id":"websocket-ts@1.0.1","maintainers":[{"name":"jjxxs","email":"ezpwnd@gmail.com"}],"homepage":"https://github.com/jjxxs/websocket-ts#readme","bugs":{"url":"https://github.com/jjxxs/websocket-ts/issues"},"dist":{"shasum":"7033f7efc1314e7e512d50ba4c90ca03573a92d0","tarball":"https://registry.npmjs.org/websocket-ts/-/websocket-ts-1.0.1.tgz","fileCount":62,"integrity":"sha512-eTpEqLMbg1XmxV8955eFusI2suGHSxBF8GF1Xba4Bk5zv9fzrbF4X7BLawBBH5cpPWfL4KqpRSdFhKsOfFvDFw==","signatures":[{"sig":"MEYCIQDnzyIuJbQkKlByjud/nzfgx4/oZPrMSlIcT3BaTd9nDwIhAMZCodWDUAj82prakxKKANXhZA7akZ80e1aAg8MIu+NH","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":86291,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfYSY9CRA9TVsSAnZWagAA7FoP/2Nku7kc5A7WVMCY9B/b\no4w2cAXoEuO9QtR+/sy8CUHlXcQkC8Gp0Ge0sR1Dxw+u4+9MMDg/OfRNDA5l\nJzdkybzjWvGDqFYTjMJj7ZPPSK9J9kNNET28vOCN1QAY71TihaZvqhQjbUCi\nvsbFlNUfW2iZKXzNr09EcTUJVVIm/aFBCzf9Ned4LAwnmyRrquAqaVJsGq5w\npbgALkUaK4ixMdIlGE75P/gO10vNsQaAhIeGYRa8wXaaj+/v8EPZ25cH0tdk\nwLhnKvab8Jo0IovWMRenzarW/+Lpq5LnyOHJoHxgib0vY5LFaWNQJsclSKLN\niz4dWFHwlLHiw6v+OjBzd/rqIllskibAPFSuKj37VGyvbIfhcuiH2clu7RaH\ne1yQhZsd8tMfs3tOITEQ4dgUCbEy8fpDGJPWsK0/niVjmPCTZEJI2cvfPgtC\n+/M9u1XzF10syzG4MhbSDTOVecEF7/euHLnE5prC/ZBoZKgvhOCb3AVKfzLL\n7sG6MePqcs7NaCSuZsv5IBDRpDRaolQVKHv+gMvUhZH6x6dY+YJ9OW4iwzEr\nWNYiBKfoNDbdp140x4/FInM0hrtPB2A4hgkFQ1++1NBSSGYDdP2dIst11gG8\nG/sn6JD9hCqB3q/pxdzwd3qVCaXB6lhF3MP2cQhaYEK1vQkAMjo1IkAEAEnm\n19VT\r\n=v9p7\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","types":"lib/","gitHead":"db9c717420281540d3291bfec6adc51d428e798e","scripts":{"test":"jest","build":"tsc -p .","compile":"tsc","coveralls":"jest --coverage && cat ./coverage/lcov.info | coveralls"},"_npmUser":{"name":"jjxxs","email":"ezpwnd@gmail.com"},"repository":{"url":"git+https://github.com/jjxxs/websocket-ts.git"},"_npmVersion":"6.14.6","description":"A client-websocket written in TypeScript to be used from within browsers with focus on simplicity, reliability and extensibility. It provides convenient features to automatically reconnect and buffer pending messages.","directories":{},"_nodeVersion":"12.18.3","_hasShrinkwrap":false,"devDependencies":{"ws":"^7.3.1","jest":"^26.4.2","ts-jest":"^26.3.0","@types/ws":"^7.2.6","coveralls":"^3.1.0","typescript":"^4.0.2","@types/jest":"^26.0.13"},"_npmOperationalInternal":{"tmp":"tmp/websocket-ts_1.0.1_1600202301250_0.9682974861743978","host":"s3://npm-registry-packages"}},"1.0.2-rc1":{"name":"websocket-ts","version":"1.0.2-rc1","keywords":["websocket","browser","client","typescript","reconnecting","buffered"],"license":"MIT","_id":"websocket-ts@1.0.2-rc1","maintainers":[{"name":"jjxxs","email":"ezpwnd@gmail.com"}],"homepage":"https://github.com/jjxxs/websocket-ts#readme","bugs":{"url":"https://github.com/jjxxs/websocket-ts/issues"},"dist":{"shasum":"07b26f51ae4ac969620002960b0e48bdcedabd48","tarball":"https://registry.npmjs.org/websocket-ts/-/websocket-ts-1.0.2-rc1.tgz","fileCount":66,"integrity":"sha512-KVvpBhc2OfK2zpoCpRSgIVDNu9znqhVPa0vuAlhl98x7vSC0iqDlxUbLW8UoM3qRYniQ4XTJHtSXth9GVzs1Xw==","signatures":[{"sig":"MEYCIQCwoKkx6uERcWAqdA+wdNp0f+ZSH7fV1i0dSwxmnkLARAIhANMIvJ7GbHoWu3EfF5UCXyDIuSk3a0TgXM0yiCWcMa6a","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":100127,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfYTzvCRA9TVsSAnZWagAAKpsQAJs4iM8rfkQ2iwqf7NPh\nVj69EoY8Pp4ZEe5CSme/wMqLqXpl6WptFnrOuwcPxRQiEqmtySA8curI4XdW\nHA/Y+LqCIdWtgF4MVHDswNBGSHdmMMYgyyeyW9kPZBjBX7XpJckvfTpXDO7/\nj9KDekWmHTuvXHRvUtwUlfQtKyhTMGsRyFv9f0UFO7H44Yo9VTjhZRBHci36\nC4/o5L1784upxeYofejHt0H8UYbCnsSRAFNEZ9B4Yl3oguY5EzOBVl3jqakt\nfZxZYCGDHkqUjmz44dpIcEDKg963GbgRlhPjuMs/eV3b/A6lr/ONGFzVrgbw\ndDYwqiBQRHwkvGli25ikN0BgqM6mEHVEIfNmk8RNCUAwfd9ipsRUn2eB6jlG\nilN76n8Nw8TJ4i+SZqfarbobFPEsc/tIO1/VEF7R93CTF1uLTCknZUgYTerG\nbTQDt6Ln3G4+TvnOgJOIx+C8DgbWwr+H3orKMXq+vkbBj73pivUMejfyyCeK\nrxhD3v+U2iFRZG34vwYHBjNDoh7EZb2CysNeBNcqHLuJC9KfdVdLbhugLqy2\nIkFz1ZGMh0Zy72aW4mt9HxJPs+TkIORyzqmnvWph4fqONBCt2E7tjLh0+0s2\nQ3R4XSexaw4jePJyn14Y9lPHqp0Bz4VhU6Igahc3dWLSfF9ESYuhpyRLP4G6\n6dWy\r\n=wmbN\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","types":"lib/","gitHead":"0144f74d8a442e90dfa93143847b9f147f92a974","scripts":{"test":"jest","build":"tsc -p .","compile":"tsc","coveralls":"jest --coverage && cat ./coverage/lcov.info | coveralls"},"_npmUser":{"name":"jjxxs","email":"ezpwnd@gmail.com"},"repository":{"url":"git+https://github.com/jjxxs/websocket-ts.git"},"_npmVersion":"6.14.6","description":"A client-websocket written in TypeScript to be used from within browsers with focus on simplicity, reliability and extensibility. It provides convenient features to automatically reconnect and buffer pending messages.","directories":{},"_nodeVersion":"12.18.3","_hasShrinkwrap":false,"devDependencies":{"ws":"^7.3.1","jest":"^26.4.2","ts-jest":"^26.3.0","@types/ws":"^7.2.6","coveralls":"^3.1.0","typescript":"^4.0.2","@types/jest":"^26.0.13"},"_npmOperationalInternal":{"tmp":"tmp/websocket-ts_1.0.2-rc1_1600208110639_0.7536462873059326","host":"s3://npm-registry-packages"}},"1.1.0":{"name":"websocket-ts","version":"1.1.0","keywords":["websocket","browser","client","typescript","reconnecting","buffered"],"license":"MIT","_id":"websocket-ts@1.1.0","maintainers":[{"name":"jjxxs","email":"ezpwnd@gmail.com"}],"homepage":"https://github.com/jjxxs/websocket-ts#readme","bugs":{"url":"https://github.com/jjxxs/websocket-ts/issues"},"dist":{"shasum":"30975665a4e5c3778283703cf4def2e455b61ad8","tarball":"https://registry.npmjs.org/websocket-ts/-/websocket-ts-1.1.0.tgz","fileCount":67,"integrity":"sha512-jV0SQYya6ifm8LPpL75ehudFk89V++aeRBVnNPrJT/E0nWxOARpfoYJ4Q6LQ3Bj6aO5d1HYXiH8JNySiuzsWQQ==","signatures":[{"sig":"MEYCIQDuIYNLQ6OgrO6fenug38PANzExfBrUxVhJGFAho8Vx+QIhAJdLAMtgIydWFuqBIW0jufH0qu9ZPKjuRBXuCrXS5/iO","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":119680,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf7IqGCRA9TVsSAnZWagAARbgQAJAO9Zpblptzo+ULgJdl\n/18lJWXz595+vivkV5zUQK4UnMdLF9RJH27JxyBN/2OmOQ/tKmGHiGgmMHdn\nQzgmtptm/7yQqdt0WlvdhGQ/GLV/gUZ//W335Yo2XwiQdm/KOV8lFnHpuV9d\ndPQxfEXM5JuA3kHxEHkKIv9pyWPK2p/MBFTvqO1QzKuVSkFXywWM9l9aqGhA\nYJCHlBqXvWWUImiEV1DceUPLZRqjz78lbnNJ2f4cwuz8thuVsnGIZXn6/24X\nzwbwRlQScj29DzWCfC+lka29AF7ob3NT1ygp7Uk7s20h5kAk14twJc8Sjk1H\nym1CAgbumj55kp4eWK6y8mb1Zvm0aSMSkMgsAz4iZxI6vxAQxz9e4yPS56Uv\nlWgusUs5jTRfRDutqi765oXbtr+CFXVcEvg3xC8Dr2lGPQZV8tyLh4PRH4ET\nep3ItyiXRFhaPOMSX3daH3vz0LJb4MZX50YvrfZ1uhw5UgJtG6ktyyZzXybf\nPcw+gTCOPf8ljE+QSPOeKT6LNu9MYN52OOorGlrNELy0j8BsJ4/v8fnbdGUk\n9tChb2nd/RueeU2VkBZorDnZDMUzqCqnuWhSgk9sbCVpTn2+QbWR4U68CDnC\n0OMK57pbCGnzFNMwM3CoZsCx4BbOUL+UFp2KTV0Ra6ninKUFmKINWI2rgy6G\n3jhN\r\n=/fFM\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","types":"lib/","gitHead":"cfbb2c8394bab470ce47d638fb8a43cf5a991245","scripts":{"test":"jest","build":"tsc -p .","compile":"tsc","coveralls":"jest --coverage && cat ./coverage/lcov.info | coveralls"},"_npmUser":{"name":"jjxxs","email":"ezpwnd@gmail.com"},"repository":{"url":"git+https://github.com/jjxxs/websocket-ts.git"},"_npmVersion":"6.14.8","description":"A client-websocket written in TypeScript meant to be used from within browsers with focus on simplicity, reliability and extensibility. It provides convenient features to automatically reconnect and buffer pending messages.","directories":{},"_nodeVersion":"12.19.0","_hasShrinkwrap":false,"devDependencies":{"ws":"^7.3.1","jest":"^26.4.2","ts-jest":"^26.3.0","@types/ws":"^7.2.6","coveralls":"^3.1.0","typescript":"^4.0.2","@types/jest":"^26.0.13"},"_npmOperationalInternal":{"tmp":"tmp/websocket-ts_1.1.0_1609337477942_0.8737439380214282","host":"s3://npm-registry-packages"}},"1.1.1":{"name":"websocket-ts","version":"1.1.1","keywords":["websocket","browser","client","typescript","reconnecting","buffered"],"license":"MIT","_id":"websocket-ts@1.1.1","maintainers":[{"name":"jjxxs","email":"ezpwnd@gmail.com"}],"homepage":"https://github.com/jjxxs/websocket-ts#readme","bugs":{"url":"https://github.com/jjxxs/websocket-ts/issues"},"dist":{"shasum":"de482da5e0c714ebc58a43fe94157e5a855f2828","tarball":"https://registry.npmjs.org/websocket-ts/-/websocket-ts-1.1.1.tgz","fileCount":63,"integrity":"sha512-rm+S60J74Ckw5iizzgID12ju+OfaHAa6dhXhULIOrXkl0e05RzxfY42/vMStpz5jWL3iz9mkyjPcFUY1IgI0fw==","signatures":[{"sig":"MEQCIHr3SbSQpEb1NXrjZt+EfrQocERHhnWOvpuv8ihqUnhHAiAQ0mQsDc/XGjYP0B1WganSAzSaUt5ZneMX8eK1YMTAmg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":109292,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJguV6XCRA9TVsSAnZWagAArvIP/3gZ9ZNoOo5hy0fGmFDQ\nlagOcsykHXr0DBuSLV0ytKZU/c8xYnuIscM5cUZgBaGaX6rkNN1SxvqSUxGw\nvZjydNbO1q9XIQ1e1YJ3dCG/qKlkYpDpH3t/wz8mU4Mdl2pdMZEOgelMx1xJ\nDrziT8YRtXXycHJz3A+PNyqFN2zl4qMsCpjA0701DLpnUZO5Us2qqnNuQFCo\ncImoYpsQ+1HWehyg2N0b7Ho/ls/Y1OcWiEFl8Hv/N+Zzl9PBldXlTkEZBbyA\nCjw7wdVuqA2owX/+gcQrKjhvS5GeTsGFMo2uZeuSN0eDR7TN+2TORhGUgDDO\nKGlu08+ApS7nwTjSHYTU3OmJNoAu+UwMB/s9uPuDS1LthhJrLBMkYWnj2zLi\n60X6yNCGD4KgCuEYKddTFwRAb7ArkP2MG5d+byvi6TJz/7LdlbChCehCqV9q\njn+00wK9erlQun3ivBMfZ0kcukNto3D+FbKFjy3yKpwzzpqqGag8T90lmXUm\nHeLVRDv+R4mc3f1nKuFi/9GWlEbk/du5b0k3+Rk1F+FzRfoFMRc8cv7FATY9\n1c0+7nYN9dfpn3lsQCFS4/m5Rj2S035fa8oMwXH73oGq5uqc9jbUQP0A/BGh\njD/PvA5BPAOXgsOCYnMIiwb/tR+qRv7EH4ZGz3guS2B5c7DlIbYbI9WpD2Ae\nPd3X\r\n=BRm3\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","types":"lib/","gitHead":"341a6a4869142ff9af3408aa74219ccb67450664","scripts":{"test":"jest","build":"tsc -p .","compile":"tsc","coveralls":"jest --coverage && cat ./coverage/lcov.info | coveralls"},"_npmUser":{"name":"jjxxs","email":"ezpwnd@gmail.com"},"repository":{"url":"git+https://github.com/jjxxs/websocket-ts.git"},"_npmVersion":"6.14.13","description":"A client-websocket written in TypeScript for browser-applications. Focus is on simplicity, reliability and extensibility. It provides convenient features to automatically reconnect and buffer pending messages.","directories":{},"_nodeVersion":"14.17.0","_hasShrinkwrap":false,"devDependencies":{"ws":"^7.4.6","jest":"^27.0.4","ts-jest":"^27.0.2","@types/ws":"^7.4.4","coveralls":"^3.1.0","typescript":"^4.3.2","@types/jest":"^26.0.23"},"_npmOperationalInternal":{"tmp":"tmp/websocket-ts_1.1.1_1622761111822_0.05650353627123339","host":"s3://npm-registry-packages"}},"2.1.1":{"name":"websocket-ts","version":"2.1.1","keywords":["websocket","browser","client","typescript","reconnecting","buffered"],"license":"MIT","_id":"websocket-ts@2.1.1","maintainers":[{"name":"jjxxs","email":"ezpwnd@gmail.com"}],"homepage":"https://github.com/jjxxs/websocket-ts#readme","bugs":{"url":"https://github.com/jjxxs/websocket-ts/issues"},"dist":{"shasum":"f541b5946a3bb3cf859102b2e5df13b9ce020099","tarball":"https://registry.npmjs.org/websocket-ts/-/websocket-ts-2.1.1.tgz","fileCount":19,"integrity":"sha512-6tlqqMaG5PUrrkOlzqR6wyVBk3hLonKtrtH+qemroqDBBcbSORwo6Avotu4Sdkbfuq4R0LIO8OYSlCUnWBoA5A==","signatures":[{"sig":"MEUCIQDvDT6/unGKVDTYSk+VOBtvj6GXRK27iwIMG1cS1c+3FQIgDRgOa36AlvaFA1f3zunLV+Lc7Wqt+giz8HmJmB94C6s=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":60267},"main":"dist/cjs/src/index.js","types":"dist/cjs/src/index.d.ts","module":"dist/esm/src/index.js","gitHead":"be7963baf07caadf374a9b468ddc75a1f895a335","scripts":{"lint":"cross-env-shell eslint './src/{**/*,*}.{js,ts}' './tests/{**/*,*}.{js,ts}'","test":"jest","build":"npm run build:cjs && npm run build:esm","build:cjs":"tsc -p tsconfig.cjs.json","build:esm":"tsc -p tsconfig.esm.json","coveralls":"cat ./coverage/lcov.info | coveralls","test:coverage":"jest --coverage"},"_npmUser":{"name":"jjxxs","email":"ezpwnd@gmail.com"},"repository":{"url":"git+https://github.com/jjxxs/websocket-ts.git"},"_npmVersion":"9.5.0","description":"<div>   <div align=\"center\">     <img src=\"https://raw.githubusercontent.com/jjxxs/websocket-ts/gh-pages/websocket-ts-logo.svg\" alt=\"websocket-ts\" width=\"300\" height=\"65\" />   </div>   <p align=\"center\">     <img src=\"https://github.com/jjxxs/websocket-ts","directories":{},"sideEffects":false,"_nodeVersion":"18.15.0","_hasShrinkwrap":false,"devDependencies":{"ws":"^7.0.0","jest":"^29.7.0","eslint":"^8.49.0","ts-jest":"^29.1.1","ts-node":"^10.9.1","@types/ws":"^8.5.5","coveralls":"^3.1.1","cross-env":"^7.0.3","typescript":"^5.2.2","@types/jest":"^29.5.4","eslint-config-prettier":"^9.0.0","eslint-plugin-prettier":"^5.0.0","jest-environment-jsdom":"^29.7.0","@typescript-eslint/parser":"^6.6.0","@typescript-eslint/eslint-plugin":"^6.6.0"},"_npmOperationalInternal":{"tmp":"tmp/websocket-ts_2.1.1_1694968367230_0.026063471835095386","host":"s3://npm-registry-packages"}},"2.1.2":{"name":"websocket-ts","version":"2.1.2","keywords":["websocket","browser","client","typescript","reconnecting","buffered"],"license":"MIT","_id":"websocket-ts@2.1.2","maintainers":[{"name":"jjxxs","email":"ezpwnd@gmail.com"}],"homepage":"https://github.com/jjxxs/websocket-ts#readme","bugs":{"url":"https://github.com/jjxxs/websocket-ts/issues"},"dist":{"shasum":"885d740dc197bdd460ff4272adbb72dd7ca6595c","tarball":"https://registry.npmjs.org/websocket-ts/-/websocket-ts-2.1.2.tgz","fileCount":131,"integrity":"sha512-nMOLZ/YLMsEpJt67mfWejBzPpLflx0M9fmdPe5XOAo3nA0QzDEAO2aH/jGzfCaGoYpJiEuxQoOC+xDsVaG03rQ==","signatures":[{"sig":"MEQCIB7EuHMwob4UNYCL2edoah6oHBqXJ7ALrojLv9BoP0p2AiB7AREr9zckO96IFJq4zlxQTGD6iHuZIKRsQiYIuUUWTA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":250454},"main":"dist/cjs/src/index.js","types":"dist/cjs/src/index.d.ts","module":"dist/esm/src/index.js","gitHead":"d9bacd063cf185588e04d7f91a08877de0abc87a","scripts":{"lint":"cross-env-shell eslint './src/{**/*,*}.{js,ts}' './tests/{**/*,*}.{js,ts}'","test":"jest","build":"npm run build:cjs && npm run build:esm","build:cjs":"tsc -p tsconfig.cjs.json","build:esm":"tsc -p tsconfig.esm.json","coveralls":"cat ./coverage/lcov.info | coveralls","test:coverage":"jest --coverage"},"_npmUser":{"name":"jjxxs","email":"ezpwnd@gmail.com"},"repository":{"url":"git+https://github.com/jjxxs/websocket-ts.git"},"_npmVersion":"9.5.0","description":"<div>   <div align=\"center\">     <img src=\"https://raw.githubusercontent.com/jjxxs/websocket-ts/gh-pages/websocket-ts-logo.svg\" alt=\"websocket-ts\" width=\"300\" height=\"65\" />   </div>   <p align=\"center\">     <img src=\"https://github.com/jjxxs/websocket-ts","directories":{},"sideEffects":false,"_nodeVersion":"18.15.0","_hasShrinkwrap":false,"devDependencies":{"ws":"^7.0.0","jest":"^29.7.0","eslint":"^8.49.0","ts-jest":"^29.1.1","ts-node":"^10.9.1","@types/ws":"^8.5.5","coveralls":"^3.1.1","cross-env":"^7.0.3","typescript":"^5.2.2","@types/jest":"^29.5.4","eslint-config-prettier":"^9.0.0","eslint-plugin-prettier":"^5.0.0","jest-environment-jsdom":"^29.7.0","@typescript-eslint/parser":"^6.6.0","@typescript-eslint/eslint-plugin":"^6.6.0"},"_npmOperationalInternal":{"tmp":"tmp/websocket-ts_2.1.2_1694977813505_0.5787952284973401","host":"s3://npm-registry-packages"}},"2.1.3":{"name":"websocket-ts","version":"2.1.3","keywords":["websocket","browser","client","typescript","reconnecting","buffered"],"license":"MIT","_id":"websocket-ts@2.1.3","maintainers":[{"name":"jjxxs","email":"ezpwnd@gmail.com"}],"homepage":"https://github.com/jjxxs/websocket-ts#readme","bugs":{"url":"https://github.com/jjxxs/websocket-ts/issues"},"dist":{"shasum":"05ca3fac8f164fe582e4c9acd91f50b2f209b363","tarball":"https://registry.npmjs.org/websocket-ts/-/websocket-ts-2.1.3.tgz","fileCount":131,"integrity":"sha512-K+AEbyoQrFC0eux4AbTluzTVGpJoczrntTGFgfSGKeRC7eaJ8jfzK1OKAqURVpzYOH29zQQSKffK/PipWjAbdQ==","signatures":[{"sig":"MEUCIQCVbAz80fCABAbeLbV+nr56r7xRiKeHetLpki6J/etvNAIgW25rIRXjDonsvVfdMukiQeLfVepew05XpwaoOBQ3E+A=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":250454},"main":"dist/cjs/src/index.js","types":"dist/cjs/src/index.d.ts","module":"dist/esm/src/index.js","gitHead":"0df21a002c930397d61343b4483cdba11795c1ac","scripts":{"lint":"cross-env-shell eslint './src/{**/*,*}.{js,ts}' './tests/{**/*,*}.{js,ts}'","test":"jest","build":"npm run build:cjs && npm run build:esm","build:cjs":"tsc -p tsconfig.cjs.json","build:esm":"tsc -p tsconfig.esm.json","coveralls":"cat ./coverage/lcov.info | coveralls","test:coverage":"jest --coverage"},"_npmUser":{"name":"jjxxs","email":"ezpwnd@gmail.com"},"repository":{"url":"git+https://github.com/jjxxs/websocket-ts.git"},"_npmVersion":"9.5.0","description":"<div>   <div align=\"center\">     <img src=\"https://raw.githubusercontent.com/jjxxs/websocket-ts/gh-pages/websocket-ts-logo.svg\" alt=\"websocket-ts\" width=\"300\" height=\"65\" />   </div>   <p align=\"center\">     <img src=\"https://github.com/jjxxs/websocket-ts","directories":{},"sideEffects":false,"_nodeVersion":"18.15.0","_hasShrinkwrap":false,"devDependencies":{"ws":"^7.0.0","jest":"^29.7.0","eslint":"^8.49.0","ts-jest":"^29.1.1","ts-node":"^10.9.1","@types/ws":"^8.5.5","coveralls":"^3.1.1","cross-env":"^7.0.3","typescript":"^5.2.2","@types/jest":"^29.5.4","eslint-config-prettier":"^9.0.0","eslint-plugin-prettier":"^5.0.0","jest-environment-jsdom":"^29.7.0","@typescript-eslint/parser":"^6.6.0","@typescript-eslint/eslint-plugin":"^6.6.0"},"_npmOperationalInternal":{"tmp":"tmp/websocket-ts_2.1.3_1694978759366_0.8702888395621633","host":"s3://npm-registry-packages"}},"2.1.4":{"name":"websocket-ts","version":"2.1.4","keywords":["websocket","browser","client","typescript","reconnecting","buffered"],"license":"MIT","_id":"websocket-ts@2.1.4","maintainers":[{"name":"jjxxs","email":"ezpwnd@gmail.com"}],"homepage":"https://github.com/jjxxs/websocket-ts#readme","bugs":{"url":"https://github.com/jjxxs/websocket-ts/issues"},"dist":{"shasum":"43c69870165fe088b4d85cf3af92faad2ec3a151","tarball":"https://registry.npmjs.org/websocket-ts/-/websocket-ts-2.1.4.tgz","fileCount":131,"integrity":"sha512-QZRZhKAdzdA65kxuV19/zeIAT5JMQJRHIi7xF86cZc1z5bWvHE7Y2arhZQmzFXIG1WHA89mp3A1uD7c3HGsaMA==","signatures":[{"sig":"MEQCIE3ib3wdT2GrTyYLNpSvYaRxoCahexgfc3jcYerVG1CPAiAsWdo0AhxTjT64awzxUNqjg1qwomkKO3mPZoN6UgISyw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":250454},"main":"dist/cjs/src/index.js","types":"dist/cjs/src/index.d.ts","module":"dist/esm/src/index.js","gitHead":"e699d5687d7eda954db28e83acbd247b75932284","scripts":{"lint":"cross-env-shell eslint './src/{**/*,*}.{js,ts}' './tests/{**/*,*}.{js,ts}'","test":"jest","build":"npm run build:cjs && npm run build:esm","build:cjs":"tsc -p tsconfig.cjs.json","build:esm":"tsc -p tsconfig.esm.json","coveralls":"cat ./coverage/lcov.info | coveralls","test:coverage":"jest --coverage"},"_npmUser":{"name":"jjxxs","email":"ezpwnd@gmail.com"},"repository":{"url":"git+https://github.com/jjxxs/websocket-ts.git"},"_npmVersion":"9.5.0","description":"<div>   <div align=\"center\">     <img src=\"https://raw.githubusercontent.com/jjxxs/websocket-ts/gh-pages/websocket-ts-logo.svg\" alt=\"websocket-ts\" width=\"300\" height=\"65\" />   </div>   <p align=\"center\">     <img src=\"https://github.com/jjxxs/websocket-ts","directories":{},"sideEffects":false,"_nodeVersion":"18.15.0","_hasShrinkwrap":false,"devDependencies":{"ws":"^7.0.0","jest":"^29.7.0","eslint":"^8.49.0","ts-jest":"^29.1.1","ts-node":"^10.9.1","@types/ws":"^8.5.5","coveralls":"^3.1.1","cross-env":"^7.0.3","typescript":"^5.2.2","@types/jest":"^29.5.4","eslint-config-prettier":"^9.0.0","eslint-plugin-prettier":"^5.0.0","jest-environment-jsdom":"^29.7.0","@typescript-eslint/parser":"^6.6.0","@typescript-eslint/eslint-plugin":"^6.6.0"},"_npmOperationalInternal":{"tmp":"tmp/websocket-ts_2.1.4_1694980063867_0.34900102755838747","host":"s3://npm-registry-packages"}},"2.1.5":{"name":"websocket-ts","version":"2.1.5","keywords":["websocket","browser","client","typescript","reconnecting","buffered"],"license":"MIT","_id":"websocket-ts@2.1.5","maintainers":[{"name":"jjxxs","email":"ezpwnd@gmail.com"}],"homepage":"https://github.com/jjxxs/websocket-ts#readme","bugs":{"url":"https://github.com/jjxxs/websocket-ts/issues"},"dist":{"shasum":"b6b51f0afca89d6bc7ff71c9e74540f19ae0262c","tarball":"https://registry.npmjs.org/websocket-ts/-/websocket-ts-2.1.5.tgz","fileCount":131,"integrity":"sha512-rCNl9w6Hsir1azFm/pbjBEFzLD/gi7Th5ZgOxMifB6STUfTSovYAzryWw0TRvSZ1+Qu1Z5Plw4z42UfTNA9idA==","signatures":[{"sig":"MEQCIHdrr8ZuIXgsidjIktKyRhyv1iOIh0c4Asooo+auC0y0AiBN0yEqjAzrc58iojkuxTREUVcNx3nT3/VsGMUxGTgvdA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":250797},"main":"dist/cjs/src/index.js","types":"dist/cjs/src/index.d.ts","module":"dist/esm/src/index.js","gitHead":"c2644fce6642d820637bb892a1475ed4135bd676","scripts":{"lint":"cross-env-shell eslint './src/{**/*,*}.{js,ts}' './tests/{**/*,*}.{js,ts}'","test":"jest","build":"npm run build:cjs && npm run build:esm","build:cjs":"tsc -p tsconfig.cjs.json","build:esm":"tsc -p tsconfig.esm.json","coveralls":"cat ./coverage/lcov.info | coveralls","test:coverage":"jest --coverage"},"_npmUser":{"name":"jjxxs","email":"ezpwnd@gmail.com"},"repository":{"url":"git+https://github.com/jjxxs/websocket-ts.git"},"_npmVersion":"9.5.0","description":"<div>   <div align=\"center\">     <img src=\"https://raw.githubusercontent.com/jjxxs/websocket-ts/gh-pages/websocket-ts-logo.svg\" alt=\"websocket-ts\" width=\"300\" height=\"65\" />   </div>   <p align=\"center\">     <img src=\"https://github.com/jjxxs/websocket-ts","directories":{},"sideEffects":false,"_nodeVersion":"18.15.0","_hasShrinkwrap":false,"devDependencies":{"ws":"^7.0.0","jest":"^29.7.0","eslint":"^8.49.0","ts-jest":"^29.1.1","ts-node":"^10.9.1","@types/ws":"^8.5.5","coveralls":"^3.1.1","cross-env":"^7.0.3","typescript":"^5.2.2","@types/jest":"^29.5.4","eslint-config-prettier":"^9.0.0","eslint-plugin-prettier":"^5.0.0","jest-environment-jsdom":"^29.7.0","@typescript-eslint/parser":"^6.6.0","@typescript-eslint/eslint-plugin":"^6.6.0"},"_npmOperationalInternal":{"tmp":"tmp/websocket-ts_2.1.5_1696804664873_0.5384902172637502","host":"s3://npm-registry-packages"}},"2.2.0":{"name":"websocket-ts","version":"2.2.0","keywords":["websocket","browser","client","typescript","reconnecting","buffered"],"license":"MIT","_id":"websocket-ts@2.2.0","maintainers":[{"name":"jjxxs","email":"joscha.behrmann@j-be.eu"}],"homepage":"https://github.com/jjxxs/websocket-ts#readme","bugs":{"url":"https://github.com/jjxxs/websocket-ts/issues"},"dist":{"shasum":"0336b54b0e3b605840a7ffb4393ac6985f6f4b8b","tarball":"https://registry.npmjs.org/websocket-ts/-/websocket-ts-2.2.0.tgz","fileCount":133,"integrity":"sha512-ZszL91xVq5WLq3pGybzJi4ZZ+XqQQdM5FoboL9W4RQtVppIN6w0v23FyPrJlGP2syI+pMryF/nMRNYJoIAjy3Q==","signatures":[{"sig":"MEUCIHv+Thy4goaE18WOzxT+UAfrus8wUfvZ36TW4v3RZkZ9AiEAqzqBkSi327ZcqIwU+Jrs+FIJv6AR5CzZ0twwVy6XklE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":288303},"main":"dist/cjs/src/index.js","type":"module","types":"dist/cjs/src/index.d.ts","module":"dist/esm/src/index.js","exports":{"import":"./dist/esm/src/index.js","require":"./dist/cjs/src/index.js"},"gitHead":"d288cdc338241c62f1bec662bb75efacfe6f0e9f","scripts":{"lint":"cross-env-shell eslint","test":"vitest","build":"npm run build:cjs && npm run build:esm","build:cjs":"tsc -p tsconfig.cjs.json","build:esm":"tsc -p tsconfig.esm.json","coveralls":"cat ./coverage/lcov.info | coveralls","test:coverage":"vitest --coverage"},"_npmUser":{"name":"jjxxs","email":"joscha.behrmann@j-be.eu"},"deprecated":"This version contains an error. Please upgrade to v2.2.1 or later.","repository":{"url":"git+https://github.com/jjxxs/websocket-ts.git"},"_npmVersion":"10.9.2","description":"<div>\r   <div align=\"center\">\r     <img src=\"https://raw.githubusercontent.com/jjxxs/websocket-ts/gh-pages/websocket-ts-logo.svg\" alt=\"websocket-ts\" width=\"300\" height=\"65\" />\r   </div>\r   <p align=\"center\">\r     <img src=\"https://github.com/jjxxs/websock","directories":{},"sideEffects":false,"_nodeVersion":"22.13.1","_hasShrinkwrap":false,"devDependencies":{"ws":"^8.18.0","jsdom":"^26.0.0","eslint":"^9.20.1","vitest":"^3.0.5","globals":"^15.15.0","ts-node":"^10.9.2","@types/ws":"^8.5.14","coveralls":"^3.1.1","cross-env":"^7.0.3","@eslint/js":"^9.20.0","typescript":"^5.7.3","@eslint/eslintrc":"^3.2.0","@vitest/coverage-v8":"^3.0.5","eslint-config-prettier":"^10.0.1","eslint-plugin-prettier":"^5.2.3","@typescript-eslint/parser":"^8.24.0","@typescript-eslint/eslint-plugin":"^8.24.0"},"_npmOperationalInternal":{"tmp":"tmp/websocket-ts_2.2.0_1739723363704_0.014433729173716436","host":"s3://npm-registry-packages-npm-production"}},"2.2.1":{"name":"websocket-ts","version":"2.2.1","keywords":["websocket","browser","client","typescript","reconnecting","buffered"],"license":"MIT","_id":"websocket-ts@2.2.1","maintainers":[{"name":"jjxxs","email":"joscha.behrmann@j-be.eu"}],"homepage":"https://github.com/jjxxs/websocket-ts#readme","bugs":{"url":"https://github.com/jjxxs/websocket-ts/issues"},"dist":{"shasum":"d8e3ed2b83bb1d121ee6ee6f387010147f00b50a","tarball":"https://registry.npmjs.org/websocket-ts/-/websocket-ts-2.2.1.tgz","fileCount":133,"integrity":"sha512-YKPDfxlK5qOheLZ2bTIiktZO1bpfGdNCPJmTEaPW7G9UXI1GKjDdeacOrsULUS000OPNxDVOyAuKLuIWPqWM0Q==","signatures":[{"sig":"MEYCIQDs1oJI9A2yrzfN5oIudt+QDFkd62f+dmqpcf3dhnHskgIhANfGocMk2thJtmlXQ1p0lyITSCrL8/XITCHGECa/tbto","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":287808},"main":"dist/cjs/src/index.js","types":"dist/cjs/src/index.d.ts","module":"dist/esm/src/index.js","gitHead":"754d9eac27ca21351c902ac4eee055363bb6c2ba","scripts":{"lint":"cross-env-shell eslint './src/{**/*,*}.{js,ts}' './tests/{**/*,*}.{js,ts}'","test":"vitest","build":"npm run build:cjs && npm run build:esm","build:cjs":"tsc -p tsconfig.cjs.json","build:esm":"tsc -p tsconfig.esm.json","coveralls":"cat ./coverage/lcov.info | coveralls","test:coverage":"vitest --coverage"},"_npmUser":{"name":"jjxxs","email":"joscha.behrmann@j-be.eu"},"repository":{"url":"git+https://github.com/jjxxs/websocket-ts.git"},"_npmVersion":"10.9.2","description":"<div>   <div align=\"center\">     <img src=\"https://raw.githubusercontent.com/jjxxs/websocket-ts/gh-pages/websocket-ts-logo.svg\" alt=\"websocket-ts\" width=\"300\" height=\"65\" />   </div>   <p align=\"center\">     <img src=\"https://github.com/jjxxs/websocket-ts","directories":{},"sideEffects":false,"_nodeVersion":"22.13.1","_hasShrinkwrap":false,"devDependencies":{"ws":"^8.18.0","jsdom":"^26.0.0","eslint":"^9.20.1","vitest":"^3.0.5","globals":"^15.15.0","ts-node":"^10.9.2","@types/ws":"^8.5.14","coveralls":"^3.1.1","cross-env":"^7.0.3","@eslint/js":"^9.20.0","typescript":"^5.7.3","@eslint/eslintrc":"^3.2.0","@vitest/coverage-v8":"^3.0.5","eslint-config-prettier":"^10.0.1","eslint-plugin-prettier":"^5.2.3","@typescript-eslint/parser":"^8.24.0","@typescript-eslint/eslint-plugin":"^8.24.0"},"_npmOperationalInternal":{"tmp":"tmp/websocket-ts_2.2.1_1739727610027_0.8833347017739877","host":"s3://npm-registry-packages-npm-production"}},"2.3.0":{"name":"websocket-ts","version":"2.3.0","keywords":["websocket","browser","client","typescript","reconnecting","buffered"],"license":"MIT","_id":"websocket-ts@2.3.0","maintainers":[{"name":"jjxxs","email":"joscha.behrmann@j-be.eu"}],"homepage":"https://github.com/jjxxs/websocket-ts#readme","bugs":{"url":"https://github.com/jjxxs/websocket-ts/issues"},"dist":{"shasum":"e0f69de04566128b672d75bc84ed8e67a21e26e4","tarball":"https://registry.npmjs.org/websocket-ts/-/websocket-ts-2.3.0.tgz","fileCount":132,"integrity":"sha512-DocKMdXx7i8TCBMU+XUKZeUaKwQ7O2NPlxUcgb0poG4RwDrIqBo19mRdW00a1Sm7MSijhIEsgv9UJ0kB/qNy+Q==","signatures":[{"sig":"MEYCIQCgFSTrb/QZ/aNjmznrVvxyELh2LJvpGBtCDIh/Viu2ywIhAIN15zKFPy1cO0hCYHxBerYVgdGwuomocSASNjD2lMHk","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/websocket-ts@2.3.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":257695},"main":"dist/cjs/src/index.js","types":"dist/cjs/src/index.d.ts","module":"dist/esm/src/index.js","gitHead":"2ed2b204011bcabd8f398daa74ef00bd52c663c9","scripts":{"lint":"cross-env-shell eslint './src/{**/*,*}.{js,ts}' './tests/{**/*,*}.{js,ts}'","test":"vitest","build":"npm run build:cjs && npm run build:esm","build:cjs":"tsc -p tsconfig.cjs.json","build:esm":"tsc -p tsconfig.esm.json","test:coverage":"vitest --coverage"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:88303d7c-0d95-40d6-b849-0db597d2de04"}},"repository":{"url":"git+https://github.com/jjxxs/websocket-ts.git"},"_npmVersion":"11.11.0","description":"A WebSocket client library with optional reconnecting and buffering capabilities.","directories":{},"sideEffects":false,"_nodeVersion":"24.14.1","_hasShrinkwrap":false,"devDependencies":{"ws":"^8.20.0","jsdom":"^26.1.0","eslint":"^9.39.4","vitest":"^3.2.4","globals":"^16.5.0","ts-node":"^10.9.2","@types/ws":"^8.18.1","cross-env":"^10.1.0","@eslint/js":"^9.39.4","typescript":"^5.9.3","coveralls-next":"^5.0.0","@eslint/eslintrc":"^3.3.5","@vitest/coverage-v8":"^3.2.4","eslint-config-prettier":"^10.1.8","eslint-plugin-prettier":"^5.5.5","@typescript-eslint/parser":"^8.57.2","@typescript-eslint/eslint-plugin":"^8.57.2"},"_npmOperationalInternal":{"tmp":"tmp/websocket-ts_2.3.0_1774787818280_0.8392066254887935","host":"s3://npm-registry-packages-npm-production"}},"3.0.0":{"_id":"websocket-ts@3.0.0","bugs":{"url":"https://github.com/jjxxs/websocket-ts/issues"},"dist":{"shasum":"2d6899ffdce248674fc754e18880bf7b691d743d","tarball":"https://registry.npmjs.org/websocket-ts/-/websocket-ts-3.0.0.tgz","fileCount":131,"integrity":"sha512-lYVasXfvJrt3S0MwiY4lDA5fSC/j9/r3ySeT61s1fxhB1M2mDyf+0U8/pIG8OR4LYDs7NoFiEKntdoDKGPCJlQ==","signatures":[{"sig":"MEYCIQDX04jZu0qrFS12Sj0tAfDsNpiXQ4MXEz2ubkkzQsfF5QIhANsRdJKHLfB1Rj2Po+Y7rNT1YJM4qEvDh4CVgg/P79RD","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIFf/O301JjUeuUi9Xju1PQu9ZnJm9U5VrTiXagMpVLXQAiBUcNJCl/D5nqFAlzFbuJ8k204AZFfKjA0tv8vAqEw+Xg=="}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/websocket-ts@3.0.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":305353},"main":"dist/cjs/index.js","name":"websocket-ts","types":"dist/cjs/index.d.ts","module":"dist/esm/index.js","exports":{".":{"import":{"types":"./dist/esm/index.d.ts","default":"./dist/esm/index.js"},"require":{"types":"./dist/cjs/index.d.ts","default":"./dist/cjs/index.js"}},"./package.json":"./package.json"},"gitHead":"111852da4da7d7838bf3ccdd007b390829114c02","license":"MIT","scripts":{"docs":"typedoc","lint":"eslint \"./src/**/*.ts\" \"./tests/**/*.ts\"","test":"vitest","build":"npm run typecheck && npm run build:cjs && npm run build:esm && npm run build:finalize","build:cjs":"tsc -p tsconfig.cjs.json","build:esm":"tsc -p tsconfig.esm.json","typecheck":"tsc -p tsconfig.json","test:coverage":"vitest --coverage","build:finalize":"node -e \"const fs=require('fs');fs.writeFileSync('dist/esm/package.json',JSON.stringify({type:'module'}));fs.writeFileSync('dist/cjs/package.json',JSON.stringify({type:'commonjs'}))\""},"version":"3.0.0","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"88303d7c-0d95-40d6-b849-0db597d2de04"}},"homepage":"https://github.com/jjxxs/websocket-ts#readme","keywords":["websocket","browser","client","typescript","reconnecting","buffered"],"repository":{"url":"git+https://github.com/jjxxs/websocket-ts.git"},"_npmVersion":"11.19.0","description":"A WebSocket client library with optional reconnecting and buffering capabilities.","directories":{},"maintainers":[{"name":"jjxxs","email":"joscha.behrmann@j-be.eu"}],"sideEffects":false,"_nodeVersion":"24.21.0","_hasShrinkwrap":false,"devDependencies":{"ws":"^8.20.0","jsdom":"^26.1.0","eslint":"^10.6.0","vitest":"^4.1.11","globals":"^17.7.0","typedoc":"^0.28.20","prettier":"^3.9.4","@types/ws":"^8.18.1","@eslint/js":"^10.0.1","typescript":"^6.0.3","@eslint/eslintrc":"^3.3.5","@vitest/coverage-v8":"^4.1.11","eslint-config-prettier":"^10.1.8","eslint-plugin-prettier":"^5.5.5","@typescript-eslint/parser":"^8.57.2","@typescript-eslint/eslint-plugin":"^8.57.2"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/websocket-ts_3.0.0_1790717274512_0.5443984669518733"}}},"time":{"created":"2020-09-11T14:57:18.247Z","modified":"2026-09-29T21:27:55.046Z","1.0.0":"2020-09-11T14:57:18.353Z","1.0.0-rc1":"2020-09-11T15:01:27.501Z","1.0.0-rc2":"2020-09-11T15:02:31.893Z","1.0.0-rc3":"2020-09-11T15:25:58.161Z","1.0.0-rc4":"2020-09-11T20:36:49.987Z","1.0.0-rc5":"2020-09-15T13:24:02.854Z","1.0.1":"2020-09-15T20:38:21.392Z","1.0.2-rc1":"2020-09-15T22:15:10.766Z","1.1.0":"2020-12-30T14:11:18.201Z","1.1.1":"2021-06-03T22:58:31.930Z","2.1.1":"2023-09-17T16:32:47.413Z","2.1.2":"2023-09-17T19:10:13.835Z","2.1.3":"2023-09-17T19:25:59.572Z","2.1.4":"2023-09-17T19:47:44.078Z","2.1.5":"2023-10-08T22:37:45.101Z","2.2.0":"2025-02-16T16:29:23.900Z","2.2.1":"2025-02-16T17:40:10.233Z","2.3.0":"2026-03-29T12:36:58.428Z","3.0.0":"2026-09-29T21:27:54.609Z"},"bugs":{"url":"https://github.com/jjxxs/websocket-ts/issues"},"license":"MIT","homepage":"https://github.com/jjxxs/websocket-ts#readme","keywords":["websocket","browser","client","typescript","reconnecting","buffered"],"repository":{"url":"git+https://github.com/jjxxs/websocket-ts.git"},"description":"A WebSocket client library with optional reconnecting and buffering capabilities.","maintainers":[{"name":"jjxxs","email":"joscha.behrmann@j-be.eu"}],"readme":"<div align=\"center\">\n<img src=\"https://raw.githubusercontent.com/jjxxs/websocket-ts/gh-pages/websocket-ts-logo.svg\" alt=\"websocket-ts\" width=\"300\" height=\"65\" />\n</div>\n&nbsp;\n<div align=\"center\">\nA <b>WebSocket</b> for browsers with <b>auto-reconnect</b> and <b>message buffering</b> written in <b>TypeScript</b>.\n</div>\n&nbsp;\n<div align=\"center\">\n\n[![Build Status](https://img.shields.io/github/actions/workflow/status/jjxxs/websocket-ts/build.yml)](https://github.com/jjxxs/websocket-ts/actions/workflows/build.yml)\n[![Test Status](https://img.shields.io/github/actions/workflow/status/jjxxs/websocket-ts/test.yml?label=tests)](https://github.com/jjxxs/websocket-ts/actions/workflows/test.yml)\n[![Coverage Status](https://img.shields.io/coveralls/github/jjxxs/websocket-ts/main)](https://coveralls.io/github/jjxxs/websocket-ts?branch=main)\n[![npm downloads](https://img.shields.io/npm/dm/websocket-ts.svg)](https://npm-stat.com/charts.html?package=websocket-ts)\n\n</div>\n\n<div align=\"center\">\n\n[![npm version](https://img.shields.io/npm/v/websocket-ts.svg)](https://www.npmjs.org/package/websocket-ts)\n[![Bundle Size](https://deno.bundlejs.com/badge?q=websocket-ts)](https://bundlejs.com/?q=websocket-ts)\n[![Snyk security](https://snyk.io/test/npm/websocket-ts/badge.svg)](https://snyk.io/test/npm/websocket-ts)\n[![License](https://img.shields.io/npm/l/websocket-ts)](https://github.com/jjxxs/websocket-ts/blob/main/LICENSE)\n\n</div>\n\n## Features\n\n- **Lightweight & Standalone**: No dependencies, only a few kB minified & gzipped (see badge).\n- **Browser-native**: Utilizes native WebSocket API, offers direct access to the underlying connection.\n- **Smart Reconnect**: Optional auto-reconnect and message buffering.\n- **Easy Setup**: Optional builder class for quick initialization.\n- **Well-Tested**: High test coverage, well-documented for extensibility.\n- **Module Support**: Supports CommonJS and ES6 modules.\n\n## Installation\n\nInstall `websocket-ts` with npm:\n\n```bash\nnpm install websocket-ts\n```\n\n## Quickstart\nThis example creates a WebSocket with message buffering and automatic reconnection.\nThe created websocket will echo back any received messages. It will buffer messages when disconnected\nand attempt to reconnect every 1 second.\n\n```typescript\nimport {\n  ArrayQueue,\n  ConstantBackoff,\n  Websocket,\n  WebsocketBuilder,\n  WebsocketEvent,\n} from \"websocket-ts\";\n\n// Initialize WebSocket with buffering and 1s reconnection delay\nconst ws = new WebsocketBuilder(\"ws://localhost:8080\")\n  .withBuffer(new ArrayQueue())           // buffer messages when disconnected\n  .withBackoff(new ConstantBackoff(1000)) // retry every 1s\n  .build();\n\n// Function to output & echo received messages\nconst echoOnMessage = (i: Websocket, ev: MessageEvent) => {\n  console.log(`received message: ${ev.data}`);\n  i.send(`echo: ${ev.data}`);\n};\n\n// Add event listeners\nws.addEventListener(WebsocketEvent.open, () => console.log(\"opened!\"));\nws.addEventListener(WebsocketEvent.close, () => console.log(\"closed!\"));\nws.addEventListener(WebsocketEvent.message, echoOnMessage);\n```\n\n## Usage\nThis section demonstrates how to use `websocket-ts` in your project using the provided `WebsocketBuilder` class.\n\nFor a more detailed description of the API, please refer to the [API Documentation](https://jjxxs.github.io/websocket-ts/).\n\n#### Initialization\n\nCreate a new instance with the `WebsocketBuilder`:\n\n```typescript\nconst ws = new WebsocketBuilder(\"ws://localhost:42421\").build();\n```\n\n#### Events\n\nThere are seven events you can listen for:\n\n| Event | Description |\n|---|---|\n| `open` | Connection opened |\n| `close` | Connection closed |\n| `error` | An error occurred |\n| `message` | Message received |\n| `retry` | Reconnect attempt |\n| `reconnect` | Automatic retry succeeded (fires before `open`) |\n| `exhausted` | Gave up reconnecting after `maxRetries` consecutive failed attempts |\n\nYou can use either `WebsocketEvent.open` or the string `\"open\"` when registering listeners.\n\nThe `retry`, `reconnect` and `exhausted` events are `CustomEvent`s whose `detail`\ncarries the number of retries and the time of the last successful connection.\n\nThe browser's own `error` events carry no details. When an automatic retry\nfails because the URL provider or the `WebSocket` constructor threw, the\n`error` event is an `ErrorEvent` whose `error` is the thrown value:\n\n```typescript\nws.addEventListener(WebsocketEvent.error, (i, ev) => {\n  if (ev instanceof ErrorEvent) {\n    console.warn(\"connection attempt failed\", ev.error);\n  }\n});\n```\n\nErrors thrown by the `WebSocket` constructor may include the URL in their\nmessage, so take care when forwarding them to logs if the URL contains a token.\n\n#### Add Event Listeners\nEvent listeners receive the websocket instance (`i`) and the triggering event (`ev`) as arguments.\n\n```typescript\nconst ws = new WebsocketBuilder(\"ws://localhost:42421\")\n  .onOpen((i, ev) => console.log(\"opened\"))\n  .onClose((i, ev) => console.log(\"closed\"))\n  .onError((i, ev) => console.log(\"error\"))\n  .onMessage((i, ev) => console.log(\"message\"))\n  .onRetry((i, ev) => console.log(\"retry\"))\n  .onReconnect((i, ev) => console.log(\"reconnect\"))\n  .onExhausted((i, ev) => console.log(\"gave up\"))\n  .build();\n```\n\nListeners accept the options `once` (remove after the first call) and `signal`\n(an `AbortSignal`). Aborting the signal removes the listener again, which is\nhandy for tearing down a group of listeners in one call, e.g. when a component\nunmounts:\n\n```typescript\nconst controller = new AbortController();\nws.addEventListener(WebsocketEvent.message, onMessage, { signal: controller.signal });\nws.addEventListener(WebsocketEvent.close, onClose, { signal: controller.signal });\n/* ... on teardown: */\ncontroller.abort(); // removes both listeners\n```\n\n#### Remove Event Listeners\n\nTo unregister a specific event listener, use `removeEventListener`. Listeners\nare matched by function identity; the options they were registered with are\nignored when matching:\n\n```typescript\nlet ws: Websocket\n/* ... */\nws.removeEventListener(WebsocketEvent.open, openEventListener);\n```\n\n#### Send Message\n\nUse the `send` method to send a message to the server:\n\n```typescript\nlet ws: Websocket;\n/* ... */\nws.send(\"Hello World!\");\n```\n\nIf the websocket is not connected, the message is stored in the buffer and\nsent once the connection is (re-)established — but only if a buffer was\nconfigured (see below). Without a buffer, or after `close()` was called, the\nmessage is silently dropped.\n\n#### Reconnect & Backoff (Optional)\n\nTo automatically reconnect after a disconnection, provide a `Backoff` strategy.\nThis controls the delay between reconnection attempts. There are three built-in `Backoff` implementations, or you can create\nyour own by implementing the `Backoff` interface. If no backoff is provided, the websocket will not attempt to reconnect.\n\n##### ConstantBackoff\n\n`ConstantBackoff` uses a fixed delay between each reconnection attempt.\nTo set a constant 1-second wait time, use:\n\n```typescript\nconst ws = new WebsocketBuilder(\"ws://localhost:42421\")\n  .withBackoff(new ConstantBackoff(1000)) // 1000ms = 1s\n  .build();\n```\n\n#### LinearBackoff\n\n`LinearBackoff` increases the delay between reconnection attempts linearly,\nup to an optional maximum. For example, to start with a 0-second delay and increase by\n10 seconds for each retry, capping at 60 seconds, use:\n\n```typescript\nconst ws = new WebsocketBuilder(\"ws://localhost:42421\")\n  .withBackoff(new LinearBackoff(0, 10000, 60000)) // 0ms, 10s, 20s, 30s, 40s, 50s, 60s\n  .build();\n```\n\n##### ExponentialBackoff\n\n`ExponentialBackoff` doubles the delay between each reconnection attempt, up\nto a specified maximum. This approach is inspired by the binary exponential backoff algorithm\ncommonly used in networking. For example, to use a base of 1000ms with a maximum exponent of 6:\n\n```typescript\nconst ws = new WebsocketBuilder(\"ws://localhost:42421\")\n  .withBackoff(new ExponentialBackoff(1000, 6)) // 1s, 2s, 4s, 8s, 16s, 32s, 64s\n  .build();\n```\n\n##### Retry Limit & Instant Reconnect\n\nTwo options refine the retry behavior. Both require a backoff to be\nconfigured — setting them without one throws at construction:\n\n- `withMaxRetries(n)` stops reconnecting after `n` consecutive failed\n  attempts. The counter resets on every successful reconnect, so the limit\n  applies per outage, not per websocket lifetime. When the limit is reached,\n  the `exhausted` event fires.\n- `withInstantReconnect(true)` skips the backoff delay for the *first* retry\n  of an outage — useful when a dropped connection is usually recoverable\n  immediately (e.g. a server restart). Subsequent retries follow the backoff.\n\n```typescript\nconst ws = new WebsocketBuilder(\"ws://localhost:42421\")\n  .withBackoff(new ExponentialBackoff(1000, 6))\n  .withMaxRetries(10)          // give up after 10 consecutive failures\n  .withInstantReconnect(true)  // first retry of an outage is instant\n  .build();\n```\n\n##### Giving Up & Resuming\n\nWhen `maxRetries` is exhausted, the websocket stops retrying and fires the\n`exhausted` event. Use `reconnect()` to resume — it resets the retry budget,\nresolves the URL (provider) again and connects immediately. It also works on\nan open or user-closed websocket, e.g. to force a new connection after an\nauth-token rotation or when the browser comes back online:\n\n```typescript\nconst ws = new WebsocketBuilder(\"ws://localhost:42421\")\n  .withBackoff(new ConstantBackoff(1000))\n  .withMaxRetries(5)\n  .onExhausted(() => showReconnectBanner())\n  .build();\n\nreconnectButton.onclick = () => ws.reconnect();\nwindow.addEventListener(\"online\", () => ws.reconnect());\n```\n\n#### Buffer (Optional)\n\nTo buffer outgoing messages when the websocket is disconnected, provide a `Queue`.\nThe queue temporarily stores messages and sends them in order when\nthe websocket (re)connects. Two built-in `Queue` implementations are available, or you can\ncreate your own by implementing the `Queue` interface. If no queue is provided, messages\nwon't be buffered.\n\nThe buffer only covers the time the websocket is not open: a message handed to an open\nconnection is not buffered again, so it is lost if the connection drops before it arrives.\nIf you need guaranteed delivery, add acknowledgements at the application level.\n\nBuffered messages are kept when you call `close()` and are sent once `reconnect()` opens a\nnew connection, even if the URL provider now returns a URL for a different user. At such a\nboundary, clear the queue you passed in (e.g. `queue.clear()`) or create a new websocket.\n\n##### RingQueue\n\n`RingQueue` is a fixed-capacity, first-in-first-out (FIFO) queue. When it reaches capacity,\nthe oldest element is removed to make room for new ones. For instance, to set up a `RingQueue` with a 100-element capacity:\n\n```typescript\nconst ws = new WebsocketBuilder(\"ws://localhost:42421\")\n  .withBuffer(new RingQueue(100))\n  .build();\n```\n\n##### ArrayQueue\n\n`ArrayQueue` is an unbounded first-in-first-out (FIFO) queue.\nTo use an `ArrayQueue`:\n\n```typescript\nconst ws = new WebsocketBuilder(\"ws://localhost:42421\")\n  .withBuffer(new ArrayQueue())\n  .build();\n```\n\n#### URL Provider (Optional)\n\nBy default, the URL is a static string. To use a different URL between connection attempts, provide\na function instead. The function is called on each connection attempt, including the initial one and\nany retries, and should only resolve a URL. This enables use cases like load balancing, auth token\nrotation, and failover.\n\n```typescript\nconst ws = new WebsocketBuilder(() => `ws://localhost:42421?token=${getToken()}`)\n  .withBackoff(new ConstantBackoff(1000))\n  .build();\n```\n\nCalling `reconnect()` also re-runs the provider, so a fresh URL (e.g. a new\ntoken) can be forced without waiting for the connection to drop.\n\nIf the provider throws during an automatic retry, the websocket fires an\n`error` event carrying the thrown value (see [Events](#events)) and keeps\nretrying under the usual backoff and `maxRetries` rules. When called from the\nconstructor or `reconnect()`, the exception propagates to the caller.\n\n## Upgrading from 2.x\n\n- **Imports**: import from `websocket-ts` only. Deep imports such as\n  `websocket-ts/dist/cjs/src/...` no longer resolve.\n- **JavaScript target**: the published code is ES2018 (2.x shipped ES5/ES2015).\n  Transpile it yourself if you support older browsers.\n- **Retry options**: setting `maxRetries` or `instantReconnect` (even to `false`)\n  without a backoff now throws, as does a `maxRetries` that is neither a whole\n  number ≥ 0 nor `Infinity`.\n- **`instantReconnect`**: only the first retry of an outage is instant; later\n  retries follow the backoff and count towards `maxRetries`. In 2.x every retry\n  was instant and `maxRetries` was ignored.\n- **Backoff**: the first retry now waits the first value of the series, as\n  documented, e.g. `ExponentialBackoff(1000)` waits 1s, 2s, 4s, … (2.x: 2s, 4s, …).\n  Custom `Backoff`s must return `current` from `next()` and then advance.\n- **`reconnect` event**: fires (before `open`) whenever an automatic retry\n  succeeds, now also if the initial connection failed. A manual `reconnect()`\n  only fires `open`, so put (re-)subscription logic into `open`.\n- **URL provider errors**: an exception from the provider (or the `WebSocket`\n  constructor) during an automatic retry no longer escapes as an uncaught\n  error that stops reconnecting. It is delivered as an `error` event (an\n  `ErrorEvent` carrying the thrown value), and retrying continues.\n- **Listeners**: options are limited to `once` and `signal`.\n  `removeEventListener` removes every registration of the given function,\n  regardless of its options.\n- **Types**: `send()` and buffers accept `string | Blob | BufferSource`;\n  `SharedArrayBuffer`-backed data is no longer accepted.\n\n## Build & Tests\n\nTo compile the project, run `npm run build`.\n\nTo run tests, use `npm run test`.\n","readmeFilename":"README.md"}