{"_id":"sockress-client","_rev":"27-ad9ff6446c0bf0961b885463492fe46a","name":"sockress-client","dist-tags":{"latest":"0.2.15"},"versions":{"0.1.0":{"name":"sockress-client","version":"0.1.0","_id":"sockress-client@0.1.0","maintainers":[{"name":"alsocoder","email":"alsocoder@gmail.com"}],"dist":{"shasum":"9acfb7ee8d01703627e8d6e6f67a574cae30603d","tarball":"https://registry.npmjs.org/sockress-client/-/sockress-client-0.1.0.tgz","fileCount":7,"integrity":"sha512-M/g/kXSaWnC9pgB6Z8U3CfgMpVxFbDw2lUmJdr39nRNF04xhUSBEFD5ykzjtTjknuZlizHy2E4AcdsrhVPC0sQ==","signatures":[{"sig":"MEUCIQD/WTSL/c+JjuF1JB5ejxi6UFezLuhn4aBRAetprVuU5gIgHUUriSgfwd1DBxBgMSJz3D82yt2n0e4gvvJnIj+7MKI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":58846},"main":"dist/index.js","type":"commonjs","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.js"}},"scripts":{"build":"tsc -p tsconfig.json","prepublishOnly":"npm run build"},"_npmUser":{"name":"alsocoder","email":"alsocoder@gmail.com"},"_npmVersion":"11.6.2","description":"Client SDK for Sockress with socket-first transport and HTTP fallback","directories":{},"_nodeVersion":"22.17.1","dependencies":{"nanoid":"^5.0.7"},"_hasShrinkwrap":false,"devDependencies":{"@types/node":"^20.14.10"},"_npmOperationalInternal":{"tmp":"tmp/sockress-client_0.1.0_1763749549921_0.1637143757528623","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"sockress-client","version":"0.1.1","_id":"sockress-client@0.1.1","maintainers":[{"name":"alsocoder","email":"alsocoder@gmail.com"}],"dist":{"shasum":"3e2ebbf5b10fbc78f43a51790f42af9a773f94be","tarball":"https://registry.npmjs.org/sockress-client/-/sockress-client-0.1.1.tgz","fileCount":7,"integrity":"sha512-VTL/cwdjbT7Puf+P5XMZKB4LFJktaq7r6+dudRx1Jtpb1JNBaA5Gxg+qRa1ijNUdmvPwo5gNSFMB0nKfUwWyyw==","signatures":[{"sig":"MEUCIQCKW4PTipPCZ3pEOogwuZ97icfmGS4Kf7DYHGqhlZ9T5AIgYpTOWZZE5gEz1P0Kfx/HhQL6nuoO8dbEHxTzAgjDN+g=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":59076},"main":"dist/index.js","type":"commonjs","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.js"}},"scripts":{"build":"tsc -p tsconfig.json","prepublishOnly":"npm run build"},"_npmUser":{"name":"alsocoder","email":"alsocoder@gmail.com"},"_npmVersion":"11.6.2","description":"Client SDK for Sockress with socket-first transport and HTTP fallback","directories":{},"_nodeVersion":"22.17.1","dependencies":{"nanoid":"^5.0.7"},"_hasShrinkwrap":false,"devDependencies":{"@types/node":"^20.14.10"},"_npmOperationalInternal":{"tmp":"tmp/sockress-client_0.1.1_1763750205738_0.1323052447790689","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"sockress-client","version":"0.1.2","_id":"sockress-client@0.1.2","maintainers":[{"name":"alsocoder","email":"alsocoder@gmail.com"}],"dist":{"shasum":"a5f6c6ba64f289cc5ceba833840391b8bc503c69","tarball":"https://registry.npmjs.org/sockress-client/-/sockress-client-0.1.2.tgz","fileCount":7,"integrity":"sha512-Ti9BCWvmyDgIHv0ew3idsEP0aYVEi0G0gnWX4RelTBNZNBe4ajS+h5VLk7t1QmeDce8Z7In+6y5H7wVGXXTZKw==","signatures":[{"sig":"MEUCICB1Vov3P4rP5w92JmPTf4Zbib7VqEVaTQlu3FdVw5giAiEAqgUXGmUNIaealJ19aJuw6DDFUUNg5k8vm/q4v1eNb1s=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":62840},"main":"dist/index.js","type":"commonjs","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.js"}},"scripts":{"build":"tsc -p tsconfig.json","prepublishOnly":"npm run build"},"_npmUser":{"name":"alsocoder","email":"alsocoder@gmail.com"},"_npmVersion":"11.6.2","description":"Client SDK for Sockress with socket-first transport and HTTP fallback","directories":{},"_nodeVersion":"22.17.1","dependencies":{"nanoid":"^5.0.7"},"_hasShrinkwrap":false,"devDependencies":{"@types/node":"^20.14.10"},"_npmOperationalInternal":{"tmp":"tmp/sockress-client_0.1.2_1763751132705_0.7212737092822967","host":"s3://npm-registry-packages-npm-production"}},"0.1.3":{"name":"sockress-client","version":"0.1.3","_id":"sockress-client@0.1.3","maintainers":[{"name":"alsocoder","email":"alsocoder@gmail.com"}],"dist":{"shasum":"874ee7205c758db4e95de864d60e9333de4b0fc5","tarball":"https://registry.npmjs.org/sockress-client/-/sockress-client-0.1.3.tgz","fileCount":7,"integrity":"sha512-TgGHaDvq3Ldx0YdoXqgpA4ohYdjS1kL5JvbVrMPq0zIuqpnslM+Ue3wpyDPXnra5eenhlkEf4fD4i7/zeGa9oA==","signatures":[{"sig":"MEUCIB9iOdQB07JPHmr8msNBeZ3rljLJNdX6Xc77+vPuAqbvAiEAwlc2/hGYj+1UxsqfR4oZw0omVahMxc2Lxbm74XDzt9Y=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":70306},"main":"dist/index.js","type":"commonjs","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.js"}},"scripts":{"build":"tsc -p tsconfig.json","prepublishOnly":"npm run build"},"_npmUser":{"name":"alsocoder","email":"alsocoder@gmail.com"},"_npmVersion":"11.6.2","description":"Client SDK for Sockress with socket-first transport and HTTP fallback","directories":{},"_nodeVersion":"22.17.1","dependencies":{"nanoid":"^5.0.7"},"_hasShrinkwrap":false,"devDependencies":{"@types/node":"^20.14.10"},"_npmOperationalInternal":{"tmp":"tmp/sockress-client_0.1.3_1763756980348_0.93917266535371","host":"s3://npm-registry-packages-npm-production"}},"0.1.4":{"name":"sockress-client","version":"0.1.4","_id":"sockress-client@0.1.4","maintainers":[{"name":"alsocoder","email":"alsocoder@gmail.com"}],"dist":{"shasum":"aac6dbebb7d553f231a992a741128798e22e92f0","tarball":"https://registry.npmjs.org/sockress-client/-/sockress-client-0.1.4.tgz","fileCount":7,"integrity":"sha512-14Z4iU1K63dbZ0I94Tcpdu0cKASVPEoRndElO2/uFwoQYVt0foNW4DuipBCKCLE4v+vB/r4P16t162+OXMfxlQ==","signatures":[{"sig":"MEUCIQC2Os5OvCN44S5lMj9a3O/7lK5ytIYpdEbOhH6CbHoprgIgT7YGZfgppMvef160VXUGiM8KgOcMSqxhu8QluJnh0kY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":70306},"main":"dist/index.js","type":"commonjs","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.js"}},"scripts":{"build":"tsc -p tsconfig.json","prepublishOnly":"npm run build"},"_npmUser":{"name":"alsocoder","email":"alsocoder@gmail.com"},"_npmVersion":"11.6.2","description":"Client SDK for Sockress with socket-first transport and HTTP fallback","directories":{},"_nodeVersion":"22.17.1","dependencies":{"nanoid":"^5.0.7"},"_hasShrinkwrap":false,"devDependencies":{"@types/node":"^20.14.10"},"_npmOperationalInternal":{"tmp":"tmp/sockress-client_0.1.4_1763758859258_0.36177359699833245","host":"s3://npm-registry-packages-npm-production"}},"0.1.5":{"name":"sockress-client","version":"0.1.5","keywords":["sockress","websocket","http","client","upload","realtime","nodejs","browser"],"author":{"url":"https://alsocoder.com","name":"Also Coder","email":"hello@alsocoder.com"},"_id":"sockress-client@0.1.5","maintainers":[{"name":"alsocoder","email":"alsocoder@gmail.com"}],"homepage":"https://alsocoder.com","bugs":{"url":"https://github.com/alsocoders/sockress/issues"},"dist":{"shasum":"02ef4281b17e189a32d86fd305476f2d88f55210","tarball":"https://registry.npmjs.org/sockress-client/-/sockress-client-0.1.5.tgz","fileCount":8,"integrity":"sha512-kT5e8eAf5674JiobsnB2WHXcL1q9OP1b7tlXxFH34aTO8JSjU9OfG3IqU4Gwu7wOCrFevJs5IpIG4MBLHw2stQ==","signatures":[{"sig":"MEUCIQDl77IvoqORMtRLKbKUlZOuWgikVPdpM1eEKWfrOoSUIgIgPbre75QOdNBvMzfGoztFeE2kcyAjBKGhArUsJ23wfm0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":72434},"main":"dist/index.js","type":"commonjs","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.js"}},"scripts":{"build":"tsc -p tsconfig.json","prepublishOnly":"npm run build"},"_npmUser":{"name":"alsocoder","email":"alsocoder@gmail.com"},"repository":{"url":"git+https://github.com/alsocoders/sockress.git","type":"git"},"_npmVersion":"11.6.2","description":"Socket-first client SDK for Sockress servers with automatic HTTP fallback and FormData serialization.","directories":{},"_nodeVersion":"22.17.1","dependencies":{"nanoid":"^5.0.7"},"_hasShrinkwrap":false,"devDependencies":{"@types/node":"^20.14.10"},"_npmOperationalInternal":{"tmp":"tmp/sockress-client_0.1.5_1763785680010_0.42390613134892563","host":"s3://npm-registry-packages-npm-production"}},"0.1.6":{"name":"sockress-client","version":"0.1.6","keywords":["sockress","websocket","http","client","upload","realtime","nodejs","browser"],"author":{"url":"https://alsocoder.com","name":"Also Coder","email":"hello@alsocoder.com"},"_id":"sockress-client@0.1.6","maintainers":[{"name":"alsocoder","email":"alsocoder@gmail.com"}],"homepage":"https://alsocoder.com","bugs":{"url":"https://github.com/alsocoders/sockress/issues"},"dist":{"shasum":"988646a33beee9c650cc30ae5c2a2b25b0e9fcc5","tarball":"https://registry.npmjs.org/sockress-client/-/sockress-client-0.1.6.tgz","fileCount":8,"integrity":"sha512-MT2G1oLjw3z6C9eXhShiUiWG1QiCoxXr1tBZYmso8u865iiTii6Jwt00Md9zC2zY9jxp1qwpwW5mRYixxP+DVA==","signatures":[{"sig":"MEQCIESg0h/+LLNmEki102J+4lOWU9f3V9jv4L9Rb/DOc23qAiBc53iPDO4fw/H4D15go+b28mIqLyiqq5Kil0mUwW4ovA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":79198},"main":"dist/index.js","type":"commonjs","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.js"}},"scripts":{"build":"tsc -p tsconfig.json","prepublishOnly":"npm run build"},"_npmUser":{"name":"alsocoder","email":"alsocoder@gmail.com"},"repository":{"url":"git+https://github.com/alsocoders/sockress.git","type":"git"},"_npmVersion":"11.6.2","description":"Socket-first client SDK for Sockress servers with automatic HTTP fallback and FormData serialization.","directories":{},"_nodeVersion":"22.17.1","dependencies":{"nanoid":"^5.0.7"},"_hasShrinkwrap":false,"devDependencies":{"@types/node":"^20.14.10"},"_npmOperationalInternal":{"tmp":"tmp/sockress-client_0.1.6_1763897794175_0.6409189065611318","host":"s3://npm-registry-packages-npm-production"}},"0.1.7":{"name":"sockress-client","version":"0.1.7","keywords":["sockress","websocket","http","client","upload","realtime","nodejs","browser"],"author":{"url":"https://alsocoder.com","name":"Also Coder","email":"hello@alsocoder.com"},"_id":"sockress-client@0.1.7","maintainers":[{"name":"alsocoder","email":"alsocoder@gmail.com"}],"homepage":"https://alsocoder.com","bugs":{"url":"https://github.com/alsocoders/sockress/issues"},"dist":{"shasum":"a5bd0c39d17322a2a656ed5fd8154bd34688bf7c","tarball":"https://registry.npmjs.org/sockress-client/-/sockress-client-0.1.7.tgz","fileCount":8,"integrity":"sha512-hK1+QvTiRYhfB17Xl75LSTFT19rIixBupc73L3DbhM1CxAh4B6tPIOAZyQUykUugXTgH5MU4zzREUXEsD8Y/XA==","signatures":[{"sig":"MEYCIQCl7H3VZF3IZ8xDQ4PIFnC4d/+53Rog+Um9+jBs6Yt1JwIhAPGYZ8zBQQtk4KZ3clC/DXLNhDYX9p62yVxRx5rc7XEm","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":78990},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.js"}},"scripts":{"build":"tsc -p tsconfig.json","prepublishOnly":"npm run build"},"_npmUser":{"name":"alsocoder","email":"alsocoder@gmail.com"},"repository":{"url":"git+https://github.com/alsocoders/sockress.git","type":"git"},"_npmVersion":"11.6.2","description":"Socket-first client SDK for Sockress servers with automatic HTTP fallback and FormData serialization.","directories":{},"_nodeVersion":"22.17.1","dependencies":{"nanoid":"^5.0.7"},"_hasShrinkwrap":false,"devDependencies":{"@types/node":"^20.14.10"},"_npmOperationalInternal":{"tmp":"tmp/sockress-client_0.1.7_1763898224974_0.711634621952604","host":"s3://npm-registry-packages-npm-production"}},"0.1.8":{"name":"sockress-client","version":"0.1.8","keywords":["sockress","websocket","http","client","upload","realtime","nodejs","browser"],"author":{"url":"https://alsocoder.com","name":"Also Coder","email":"hello@alsocoder.com"},"_id":"sockress-client@0.1.8","maintainers":[{"name":"alsocoder","email":"alsocoder@gmail.com"}],"homepage":"https://alsocoder.com","bugs":{"url":"https://github.com/alsocoders/sockress/issues"},"dist":{"shasum":"1c030c461504017775e1e1c16b37a08157c0421a","tarball":"https://registry.npmjs.org/sockress-client/-/sockress-client-0.1.8.tgz","fileCount":8,"integrity":"sha512-ugKVJrw9ZuZu/YeVGA1CXijf107qnfzxBKbr0qpSDf6GlT7MDBkU2Imuh7h3JLn7jYmbGXTu4MJ8XekLMlSTCA==","signatures":[{"sig":"MEQCIADA9BeeZDw6xUc1GxdChDTFVrJKHw47VqtON3sAnvUxAiBgfs9y03/JZOD5IAjGhHK0kY+PM3x0MnI2qsKC7Bmp3A==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":79178},"main":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.js"}},"scripts":{"build":"tsc -p tsconfig.json","prepublishOnly":"npm run build"},"_npmUser":{"name":"alsocoder","email":"alsocoder@gmail.com"},"repository":{"url":"git+https://github.com/alsocoders/sockress.git","type":"git"},"_npmVersion":"11.6.2","description":"Socket-first client SDK for Sockress servers with automatic HTTP fallback and FormData serialization.","directories":{},"_nodeVersion":"22.17.1","dependencies":{"nanoid":"^5.0.7"},"_hasShrinkwrap":false,"devDependencies":{"@types/node":"^20.14.10"},"_npmOperationalInternal":{"tmp":"tmp/sockress-client_0.1.8_1763898828090_0.09933181210271047","host":"s3://npm-registry-packages-npm-production"}},"0.1.9":{"name":"sockress-client","version":"0.1.9","keywords":["sockress","websocket","http","client","upload","realtime","nodejs","browser"],"author":{"url":"https://alsocoder.com","name":"Also Coder","email":"hello@alsocoder.com"},"license":"PROPRIETARY","_id":"sockress-client@0.1.9","maintainers":[{"name":"alsocoder","email":"alsocoder@gmail.com"}],"homepage":"https://alsocoder.com","bugs":{"url":"https://github.com/alsocoders/sockress/issues"},"dist":{"shasum":"ceb012e8e669810680bd0cfa7f3ce64c4d73609d","tarball":"https://registry.npmjs.org/sockress-client/-/sockress-client-0.1.9.tgz","fileCount":3,"integrity":"sha512-yT2M7dbR0jnCtOLq/VaBzrnNfZPZdVQZjuhRRrYWTposhD7MB8A9Mn/UvQul+xbM45OL5dkwzXToXpZew+sKig==","signatures":[{"sig":"MEUCIHSUKNjfYMOjtFoK02K9X9XaslWGcOGzEN8HgkBqAy0vAiEA1IvL2jYphPmmcOAlZb22HbJkNH5BxpX5ZDcZzhrsMnI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":10665},"main":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.js"}},"gitHead":"81382456661380ce0072eaa605a5740662f9795a","scripts":{"build":"tsc -p tsconfig.json","prepublishOnly":"npm run build"},"_npmUser":{"name":"alsocoder","email":"alsocoder@gmail.com"},"repository":{"url":"git+https://github.com/alsocoders/sockress.git","type":"git"},"_npmVersion":"11.6.2","description":"Socket-first client SDK for Sockress servers with automatic HTTP fallback and FormData serialization.","directories":{},"_nodeVersion":"22.17.1","dependencies":{"nanoid":"^5.0.7"},"_hasShrinkwrap":false,"devDependencies":{"@types/node":"^20.14.10"},"_npmOperationalInternal":{"tmp":"tmp/sockress-client_0.1.9_1763912857383_0.1701068744240286","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"sockress-client","version":"0.2.0","keywords":["sockress","websocket","http","client","upload","realtime","nodejs","browser"],"author":{"url":"https://alsocoder.com","name":"Also Coder","email":"hello@alsocoder.com"},"license":"PROPRIETARY","_id":"sockress-client@0.2.0","maintainers":[{"name":"alsocoder","email":"alsocoder@gmail.com"}],"homepage":"https://alsocoder.com","bugs":{"url":"https://github.com/alsocoders/sockress/issues"},"dist":{"shasum":"f018a2c273106e9ebf41a961ef2be5a159d41d6b","tarball":"https://registry.npmjs.org/sockress-client/-/sockress-client-0.2.0.tgz","fileCount":3,"integrity":"sha512-DAuqWv1YUGiMblWtLqKN8NFaEwQtBOXrBBJezwoSuXcucT2kiWsm7VGolFb4wn3gatiVJ+vvbgm5Y+oBh3OECA==","signatures":[{"sig":"MEQCIA2wve6uipc0Ok+/RkXKX8HUD0uB29loZt0XwpctD/FIAiAyXh/Yj5JL2couPPfe1Oii+uRVCrsLfCyGw5BB+QEc5w==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":10665},"main":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.js"}},"gitHead":"81382456661380ce0072eaa605a5740662f9795a","scripts":{"build":"tsc -p tsconfig.json","prepublishOnly":"npm run build"},"_npmUser":{"name":"alsocoder","email":"alsocoder@gmail.com"},"repository":{"url":"git+https://github.com/alsocoders/sockress.git","type":"git"},"_npmVersion":"11.6.2","description":"Socket-first client SDK for Sockress servers with automatic HTTP fallback and FormData serialization.","directories":{},"_nodeVersion":"22.17.1","dependencies":{"nanoid":"^5.0.7"},"_hasShrinkwrap":false,"devDependencies":{"@types/node":"^20.14.10"},"_npmOperationalInternal":{"tmp":"tmp/sockress-client_0.2.0_1763913715932_0.5000027405601233","host":"s3://npm-registry-packages-npm-production"}},"0.2.1":{"name":"sockress-client","version":"0.2.1","keywords":["sockress","websocket","http","client","upload","realtime","nodejs","browser"],"author":{"url":"https://alsocoder.com","name":"Also Coder","email":"hello@alsocoder.com"},"license":"PROPRIETARY","_id":"sockress-client@0.2.1","maintainers":[{"name":"alsocoder","email":"alsocoder@gmail.com"}],"homepage":"https://alsocoder.com","bugs":{"url":"https://github.com/alsocoders/sockress/issues"},"dist":{"shasum":"20f7a7582dbcbba5944ba6b80928264524cd8cd3","tarball":"https://registry.npmjs.org/sockress-client/-/sockress-client-0.2.1.tgz","fileCount":7,"integrity":"sha512-H029oAJiHxaPXY3+zQpUzwgjUteqAsm65+QYSEt96sXEPHxoa/xzVkNO1OBVkioxacHClsX2YeosvYPvkyU7gw==","signatures":[{"sig":"MEUCIDfc60XuVNcwfmsYkn3i6qrNH0c1jbLbxGnXwQXlQzVpAiEAi+6n3toxOH25O7KEZxVkXBU2XzF327MmCAx2ANr6i3M=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":59122},"main":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js","require":"./dist/index.js"}},"gitHead":"81382456661380ce0072eaa605a5740662f9795a","scripts":{"build":"tsc -p tsconfig.json","prepublishOnly":"npm run build"},"_npmUser":{"name":"alsocoder","email":"alsocoder@gmail.com"},"repository":{"url":"git+https://github.com/alsocoders/sockress.git","type":"git"},"_npmVersion":"11.6.2","description":"Socket-first client SDK for Sockress servers with automatic HTTP fallback and FormData serialization.","directories":{},"_nodeVersion":"22.17.1","dependencies":{"nanoid":"^5.0.7"},"_hasShrinkwrap":false,"devDependencies":{"@types/node":"^20.14.10"},"_npmOperationalInternal":{"tmp":"tmp/sockress-client_0.2.1_1763914294070_0.01310910236616536","host":"s3://npm-registry-packages-npm-production"}},"0.2.2":{"name":"sockress-client","version":"0.2.2","keywords":["sockress","websocket","http","client","upload","realtime","nodejs","browser"],"author":{"url":"https://alsocoder.com","name":"Also Coder","email":"hello@alsocoder.com"},"license":"PROPRIETARY","_id":"sockress-client@0.2.2","maintainers":[{"name":"alsocoder","email":"alsocoder@gmail.com"}],"homepage":"https://alsocoder.com","bugs":{"url":"https://github.com/alsocoders/sockress/issues"},"dist":{"shasum":"cee1ef2fd0fc3f7a99753ad2a9e2fee1ed8f40bc","tarball":"https://registry.npmjs.org/sockress-client/-/sockress-client-0.2.2.tgz","fileCount":7,"integrity":"sha512-zAk4tolluOm2ZU4dn7ReOrUR0n6Kvi1EYws2cBJTgXaG9XB7KOqcwViogOOSXtrTzneIJcMKXOEnxFczgYbZlw==","signatures":[{"sig":"MEYCIQCDFRBdOb1NV/jkBaAfDNFfSn1HKhisiTdqw2kRL4n3gwIhAKi9onhsD1I6LnwzMegLlhNEamy8VjKZYHq6tj0J3pgW","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":59372},"main":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js","require":"./dist/index.js"}},"gitHead":"81382456661380ce0072eaa605a5740662f9795a","scripts":{"build":"tsc -p tsconfig.json","prepublishOnly":"npm run build"},"_npmUser":{"name":"alsocoder","email":"alsocoder@gmail.com"},"repository":{"url":"git+https://github.com/alsocoders/sockress.git","type":"git"},"_npmVersion":"11.6.2","description":"Socket-first client SDK for Sockress servers with automatic HTTP fallback and FormData serialization.","directories":{},"_nodeVersion":"22.17.1","dependencies":{"nanoid":"^5.0.7"},"_hasShrinkwrap":false,"devDependencies":{"@types/node":"^20.14.10"},"_npmOperationalInternal":{"tmp":"tmp/sockress-client_0.2.2_1763915071354_0.47835069988152235","host":"s3://npm-registry-packages-npm-production"}},"0.2.3":{"name":"sockress-client","version":"0.2.3","keywords":["sockress","websocket","http","client","upload","realtime","nodejs","browser"],"author":{"url":"https://alsocoder.com","name":"Also Coder","email":"hello@alsocoder.com"},"license":"PROPRIETARY","_id":"sockress-client@0.2.3","maintainers":[{"name":"alsocoder","email":"alsocoder@gmail.com"}],"homepage":"https://alsocoder.com","bugs":{"url":"https://github.com/alsocoders/sockress/issues"},"dist":{"shasum":"c04c99f02a3f1819662f4bb700763b749bd7099c","tarball":"https://registry.npmjs.org/sockress-client/-/sockress-client-0.2.3.tgz","fileCount":7,"integrity":"sha512-WgDph075mUaMjtJfvw0KYvdBQGhYXtNf7sv1qkPVSww4epqNy1VX4LKd/6mtif3qy4nC6/V6hn1cxoZXN23O6g==","signatures":[{"sig":"MEUCIQCsFyfoCsJgsNRx8J6rz3IONxjeUlmMDFzVwObDesgHagIgQuveU//nUAliz2DspKtkNaG5wLEetvtzZHXQHqgL0xQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":59620},"main":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js","require":"./dist/index.js"}},"gitHead":"81382456661380ce0072eaa605a5740662f9795a","scripts":{"build":"tsc -p tsconfig.json","prepublishOnly":"npm run build"},"_npmUser":{"name":"alsocoder","email":"alsocoder@gmail.com"},"repository":{"url":"git+https://github.com/alsocoders/sockress.git","type":"git"},"_npmVersion":"11.6.2","description":"Socket-first client SDK for Sockress servers with automatic HTTP fallback and FormData serialization.","directories":{},"_nodeVersion":"22.17.1","dependencies":{"nanoid":"^5.0.7"},"_hasShrinkwrap":false,"devDependencies":{"@types/node":"^20.14.10"},"_npmOperationalInternal":{"tmp":"tmp/sockress-client_0.2.3_1763915342182_0.25353772765521043","host":"s3://npm-registry-packages-npm-production"}},"0.2.4":{"name":"sockress-client","version":"0.2.4","keywords":["sockress","websocket","http","client","upload","realtime","nodejs","browser"],"author":{"url":"https://alsocoder.com","name":"Also Coder","email":"hello@alsocoder.com"},"license":"PROPRIETARY","_id":"sockress-client@0.2.4","maintainers":[{"name":"alsocoder","email":"alsocoder@gmail.com"}],"homepage":"https://alsocoder.com","bugs":{"url":"https://github.com/alsocoders/sockress/issues"},"dist":{"shasum":"f5a79204645c90c44479800c6cc338aa8d332092","tarball":"https://registry.npmjs.org/sockress-client/-/sockress-client-0.2.4.tgz","fileCount":7,"integrity":"sha512-5Ym21CSDWRjCoIKIRMdgXWqCnQxKzWW1ZTdD5BINUlwAwZPUNWngQFoTonyH5c03ZabpNahG2wkAarZNMLai8Q==","signatures":[{"sig":"MEUCIBWM2TIPW/l+p1dCILR2Ay+2jHLAHBUKiGZAY6gE+pgjAiEAhTPeEuqhuEe4Y/3ktbYlxm8yz8FAlojy/PtjchYU1H4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":59620},"main":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js","require":"./dist/index.js"}},"gitHead":"81382456661380ce0072eaa605a5740662f9795a","scripts":{"build":"tsc -p tsconfig.json","prepublishOnly":"npm run build"},"_npmUser":{"name":"alsocoder","email":"alsocoder@gmail.com"},"repository":{"url":"git+https://github.com/alsocoders/sockress.git","type":"git"},"_npmVersion":"11.6.2","description":"Socket-first client SDK for Sockress servers with automatic HTTP fallback and FormData serialization.","directories":{},"_nodeVersion":"22.17.1","dependencies":{"nanoid":"^5.0.7"},"_hasShrinkwrap":false,"devDependencies":{"@types/node":"^20.14.10"},"_npmOperationalInternal":{"tmp":"tmp/sockress-client_0.2.4_1763915498047_0.19114104805938115","host":"s3://npm-registry-packages-npm-production"}},"0.2.5":{"name":"sockress-client","version":"0.2.5","keywords":["sockress","websocket","http","client","upload","realtime","nodejs","browser"],"author":{"url":"https://alsocoder.com","name":"Also Coder","email":"hello@alsocoder.com"},"license":"PROPRIETARY","_id":"sockress-client@0.2.5","maintainers":[{"name":"alsocoder","email":"alsocoder@gmail.com"}],"homepage":"https://alsocoder.com","bugs":{"url":"https://github.com/alsocoders/sockress/issues"},"dist":{"shasum":"e7b31690cdda28df61ff852ed8b8a71ce05f58c6","tarball":"https://registry.npmjs.org/sockress-client/-/sockress-client-0.2.5.tgz","fileCount":7,"integrity":"sha512-yQyD+oRmVWWBmaAll7DzA5Wuy5QQ+CsQEg+uT4eeN+e1RE9uiDXP1hVKsDN2nvsStKi4pfi9lnahpxZqiHBtMg==","signatures":[{"sig":"MEUCIQD8aB7wz9RybsmmNorjwObb55yMVWL7M7R/VruRXbu9RAIgYUibV0nkAkcyOQswdR53aRYf+q3/ufPYFaUrE80usWM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":59122},"main":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js","require":"./dist/index.js"}},"gitHead":"81382456661380ce0072eaa605a5740662f9795a","scripts":{"build":"tsc -p tsconfig.json","prepublishOnly":"npm run build"},"_npmUser":{"name":"alsocoder","email":"alsocoder@gmail.com"},"repository":{"url":"git+https://github.com/alsocoders/sockress.git","type":"git"},"_npmVersion":"11.6.2","description":"Socket-first client SDK for Sockress servers with automatic HTTP fallback and FormData serialization.","directories":{},"_nodeVersion":"22.17.1","dependencies":{"nanoid":"^5.0.7"},"_hasShrinkwrap":false,"devDependencies":{"@types/node":"^20.14.10"},"_npmOperationalInternal":{"tmp":"tmp/sockress-client_0.2.5_1763917768968_0.6265037365276251","host":"s3://npm-registry-packages-npm-production"}},"0.2.6":{"name":"sockress-client","version":"0.2.6","keywords":["sockress","websocket","http","client","upload","realtime","nodejs","browser"],"author":{"url":"https://alsocoder.com","name":"Also Coder","email":"hello@alsocoder.com"},"license":"PROPRIETARY","_id":"sockress-client@0.2.6","maintainers":[{"name":"alsocoder","email":"alsocoder@gmail.com"}],"homepage":"https://alsocoder.com","bugs":{"url":"https://github.com/alsocoders/sockress/issues"},"dist":{"shasum":"2c58f99ee0c7afbd1ce2f6e76066f95109afa0a8","tarball":"https://registry.npmjs.org/sockress-client/-/sockress-client-0.2.6.tgz","fileCount":7,"integrity":"sha512-jBknlOjXp+u6D3bGRE5XbWTOFO1HmWcKM7MdJIuEv7AEk+AriMK+KZv+FU4DqWAfVfToDnW9u/HLXxZqxQfa/A==","signatures":[{"sig":"MEUCIQDqduX2ancx4xOKgSyySV6oaLmHLs+LVk6GoXODf5lsfwIgO4m/IRCwz4KXzXzTkU8KA+JsEDBDD9ayn4umJ4izPvE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":59431},"main":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js","require":"./dist/index.js"}},"gitHead":"ac221330184954df71605747f84ba6aa694690be","scripts":{"build":"tsc -p tsconfig.json","prepublishOnly":"npm run build"},"_npmUser":{"name":"alsocoder","email":"alsocoder@gmail.com"},"repository":{"url":"git+https://github.com/alsocoders/sockress.git","type":"git"},"_npmVersion":"11.6.2","description":"Socket-first client SDK for Sockress servers with automatic HTTP fallback and FormData serialization.","directories":{},"_nodeVersion":"22.17.1","dependencies":{"nanoid":"^5.0.7"},"_hasShrinkwrap":false,"devDependencies":{"@types/node":"^20.14.10"},"_npmOperationalInternal":{"tmp":"tmp/sockress-client_0.2.6_1764786561894_0.7600577929766454","host":"s3://npm-registry-packages-npm-production"}},"0.2.7":{"name":"sockress-client","version":"0.2.7","keywords":["sockress","websocket","http","client","upload","realtime","nodejs","browser"],"author":{"url":"https://alsocoder.com","name":"Also Coder","email":"hello@alsocoder.com"},"license":"PROPRIETARY","_id":"sockress-client@0.2.7","maintainers":[{"name":"alsocoder-org","email":"alsocoder@gmail.com"}],"homepage":"https://alsocoder.com","bugs":{"url":"https://github.com/alsocoders/sockress/issues"},"dist":{"shasum":"49c36efd605f8c7301af27e8d1cb9ab6eb2f4a55","tarball":"https://registry.npmjs.org/sockress-client/-/sockress-client-0.2.7.tgz","fileCount":7,"integrity":"sha512-JleEfWsLtM6W4ZQl7CpzD1Ur+4eQ/qQqazxPdu/KFDPXG8QD73Q5KBx57ZvIOKChpWcIC0jcJpJll2jZbvGE0Q==","signatures":[{"sig":"MEQCIA4XzgOVNtRgsg9IyBJSlTqDzC9DTAdEc66RfGPlMhS6AiAKo7XzCKeX9kNSTAVg2zhB8wFGknOSWtgze60k+OKhxA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":59431},"main":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js","require":"./dist/index.js"}},"gitHead":"ac221330184954df71605747f84ba6aa694690be","scripts":{"build":"tsc -p tsconfig.json","prepublishOnly":"npm run build"},"_npmUser":{"name":"alsocoder-org","email":"alsocoder@gmail.com"},"repository":{"url":"git+https://github.com/alsocoders/sockress.git","type":"git"},"_npmVersion":"11.6.2","description":"Socket-first client SDK for Sockress servers with automatic HTTP fallback and FormData serialization.","directories":{},"_nodeVersion":"22.17.1","dependencies":{"nanoid":"^5.0.7"},"_hasShrinkwrap":false,"devDependencies":{"@types/node":"^20.14.10"},"_npmOperationalInternal":{"tmp":"tmp/sockress-client_0.2.7_1765609130673_0.11823194571092177","host":"s3://npm-registry-packages-npm-production"}},"0.2.8":{"name":"sockress-client","version":"0.2.8","keywords":["sockress","websocket","http","client","upload","realtime","nodejs","browser"],"author":{"url":"https://alsocoder.com","name":"Also Coder","email":"hello@alsocoder.com"},"license":"PROPRIETARY","_id":"sockress-client@0.2.8","maintainers":[{"name":"alsocoder-org","email":"alsocoder@gmail.com"}],"homepage":"https://alsocoder.com","bugs":{"url":"https://github.com/alsocoders/sockress/issues"},"dist":{"shasum":"f4ee02a8f9848f1748916cb0c85e6cbe59ce1967","tarball":"https://registry.npmjs.org/sockress-client/-/sockress-client-0.2.8.tgz","fileCount":7,"integrity":"sha512-bJUvDEwFst2Mq7MFtigpPXHge3Bg0tymFe7abfouuEKu+jNd+eDg5kUUhA1Sm/kNl3sY/z7hLALj/IqTjbo1zQ==","signatures":[{"sig":"MEYCIQD1lp2Jr8uEXPvVq/SYWSRp4SDYupU9tOAmwJQ9giiiTQIhAOjagA8C/ZEOfvlNM8w+wAb1arMMAZM/v8GtXOb9gVkl","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":64046},"main":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js","require":"./dist/index.js"}},"gitHead":"ac221330184954df71605747f84ba6aa694690be","scripts":{"build":"tsc -p tsconfig.json","prepublishOnly":"npm run build"},"_npmUser":{"name":"alsocoder-org","email":"alsocoder@gmail.com"},"repository":{"url":"git+https://github.com/alsocoders/sockress.git","type":"git"},"_npmVersion":"11.6.2","description":"Socket-first client SDK for Sockress servers with automatic HTTP fallback and FormData serialization.","directories":{},"_nodeVersion":"22.17.1","dependencies":{"nanoid":"^5.0.7"},"_hasShrinkwrap":false,"devDependencies":{"@types/node":"^20.14.10"},"_npmOperationalInternal":{"tmp":"tmp/sockress-client_0.2.8_1767676956527_0.5207735598050072","host":"s3://npm-registry-packages-npm-production"}},"0.2.9":{"name":"sockress-client","version":"0.2.9","keywords":["sockress","websocket","http","client","upload","realtime","nodejs","browser"],"author":{"url":"https://alsocoder.com","name":"Also Coder","email":"hello@alsocoder.com"},"license":"PROPRIETARY","_id":"sockress-client@0.2.9","maintainers":[{"name":"alsocoder-org","email":"alsocoder@gmail.com"}],"homepage":"https://alsocoder.com","bugs":{"url":"https://github.com/alsocoders/sockress/issues"},"dist":{"shasum":"06284597d8355fe47b52d357d51a91b37bafdade","tarball":"https://registry.npmjs.org/sockress-client/-/sockress-client-0.2.9.tgz","fileCount":7,"integrity":"sha512-llowhSrWuXXOtee6ljzPgkl9YlPWr6+vr8F7CoJEv7fEiQvOe+3Q8ND2E6hdgA1rfl++/ZxexPZ6jLa8U8smsg==","signatures":[{"sig":"MEUCIEOULv2jlEp9pBQNu6qYD/wATlqkKvZ1fay5rVsbClyJAiEAj8nVYZfiLB3oJCsjdpouIBikwt3qNwcA/F2TjDFT2Jo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":69141},"main":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js","require":"./dist/index.js"}},"gitHead":"ac221330184954df71605747f84ba6aa694690be","scripts":{"build":"tsc -p tsconfig.json","prepublishOnly":"npm run build"},"_npmUser":{"name":"alsocoder-org","email":"alsocoder@gmail.com"},"repository":{"url":"git+https://github.com/alsocoders/sockress.git","type":"git"},"_npmVersion":"11.6.2","description":"Socket-first client SDK for Sockress servers with automatic HTTP fallback and FormData serialization.","directories":{},"_nodeVersion":"22.17.1","dependencies":{"nanoid":"^5.0.7"},"_hasShrinkwrap":false,"devDependencies":{"@types/node":"^20.14.10"},"_npmOperationalInternal":{"tmp":"tmp/sockress-client_0.2.9_1767678334048_0.46804642260151996","host":"s3://npm-registry-packages-npm-production"}},"0.2.10":{"name":"sockress-client","version":"0.2.10","keywords":["sockress","websocket","http","client","upload","realtime","nodejs","browser"],"author":{"url":"https://alsocoder.com","name":"Also Coder","email":"hello@alsocoder.com"},"license":"PROPRIETARY","_id":"sockress-client@0.2.10","maintainers":[{"name":"alsocoder-org","email":"alsocoder@gmail.com"}],"homepage":"https://alsocoder.com","bugs":{"url":"https://github.com/alsocoders/sockress/issues"},"dist":{"shasum":"f2413f3b7f854fb0e535b8fbcf7409abb285ee89","tarball":"https://registry.npmjs.org/sockress-client/-/sockress-client-0.2.10.tgz","fileCount":7,"integrity":"sha512-DsOli+Y0gjK/my0bK150/14zuYAoiFJ3wCVzp5oxljbjlpzj0HBEDccGhxc8zJbbMIRhQ9zVjB21OLcOY/JXow==","signatures":[{"sig":"MEYCIQCGl9xREcmJEuI54jn0yr1fDWocYwHW9iYjdH3lx667/wIhAKSvojOPnhopCHseYQlmd8LxA0i00/4NRdefH8ZvaR87","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":84462},"main":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js","require":"./dist/index.js"}},"gitHead":"ac221330184954df71605747f84ba6aa694690be","scripts":{"build":"tsc -p tsconfig.json","prepublishOnly":"npm run build"},"_npmUser":{"name":"alsocoder-org","email":"alsocoder@gmail.com"},"repository":{"url":"git+https://github.com/alsocoders/sockress.git","type":"git"},"_npmVersion":"11.6.2","description":"Socket-first client SDK for Sockress servers with automatic HTTP fallback and FormData serialization.","directories":{},"_nodeVersion":"22.17.1","dependencies":{"nanoid":"^5.0.7"},"_hasShrinkwrap":false,"devDependencies":{"@types/node":"^20.14.10"},"_npmOperationalInternal":{"tmp":"tmp/sockress-client_0.2.10_1768126656662_0.2071999261862869","host":"s3://npm-registry-packages-npm-production"}},"0.2.11":{"name":"sockress-client","version":"0.2.11","keywords":["sockress","websocket","http","client","upload","realtime","nodejs","browser"],"author":{"url":"https://alsocoder.com","name":"Also Coder","email":"hello@alsocoder.com"},"license":"PROPRIETARY","_id":"sockress-client@0.2.11","maintainers":[{"name":"alsocoder-org","email":"alsocoder@gmail.com"}],"homepage":"https://alsocoder.com","bugs":{"url":"https://github.com/alsocoders/sockress/issues"},"dist":{"shasum":"8bc9b28f09634a158adb9be59d12502a51a67730","tarball":"https://registry.npmjs.org/sockress-client/-/sockress-client-0.2.11.tgz","fileCount":7,"integrity":"sha512-aMGo0mAGLbyHxJ7cB4pEIHV7JXyQddKDYo9ANhWppo5K/bRCxHKC7/TfkOaBjqmHmexBcQMq+JmOEtd+RhoNEg==","signatures":[{"sig":"MEUCIG0Y5lC2DJhpFgoZhE9g+/S4IhYw6cZ6PkoqgZmxhqXfAiEAzIxLBa8wkAtGoWNs2y6227r9fcZJ8P6qnouF0AxsJCg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":85149},"main":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js","require":"./dist/index.js"}},"gitHead":"ac221330184954df71605747f84ba6aa694690be","scripts":{"build":"tsc -p tsconfig.json","prepublishOnly":"npm run build"},"_npmUser":{"name":"alsocoder-org","email":"alsocoder@gmail.com"},"repository":{"url":"git+https://github.com/alsocoders/sockress.git","type":"git"},"_npmVersion":"11.6.2","description":"Socket-first client SDK for Sockress servers with automatic HTTP fallback and FormData serialization.","directories":{},"_nodeVersion":"22.17.1","dependencies":{"nanoid":"^5.0.7"},"_hasShrinkwrap":false,"devDependencies":{"@types/node":"^20.14.10"},"_npmOperationalInternal":{"tmp":"tmp/sockress-client_0.2.11_1768131846374_0.6387066420204841","host":"s3://npm-registry-packages-npm-production"}},"0.2.12":{"name":"sockress-client","version":"0.2.12","keywords":["sockress","websocket","http","client","upload","realtime","nodejs","browser"],"author":{"url":"https://alsocoder.com","name":"Also Coder","email":"hello@alsocoder.com"},"license":"PROPRIETARY","_id":"sockress-client@0.2.12","maintainers":[{"name":"alsocoder-org","email":"alsocoder@gmail.com"}],"homepage":"https://alsocoder.com","bugs":{"url":"https://github.com/alsocoders/sockress/issues"},"dist":{"shasum":"24af6e3ce9076b670a43727749cf4fdf1ece5ac1","tarball":"https://registry.npmjs.org/sockress-client/-/sockress-client-0.2.12.tgz","fileCount":7,"integrity":"sha512-LaVxq8rSl3FiM5muptgcj624Lm3oSq9250YzvulBA/boND+DvG2I8nxJkUrVlBzCz+DnotFj6Z2ZJ8uPQZJoEA==","signatures":[{"sig":"MEUCIGEFu8plYnvcCneKY0K7oCh9BF4s7BLxGPQmIneFv7aZAiEA4fBL1knXM5+hZdc248KUX+TS5bLAGfwhq8+BboHAoB4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":90977},"main":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js","require":"./dist/index.js"}},"gitHead":"ac221330184954df71605747f84ba6aa694690be","scripts":{"build":"tsc -p tsconfig.json","prepublishOnly":"npm run build"},"_npmUser":{"name":"alsocoder-org","email":"alsocoder@gmail.com"},"repository":{"url":"git+https://github.com/alsocoders/sockress.git","type":"git"},"_npmVersion":"11.6.2","description":"Socket-first client SDK for Sockress servers with automatic HTTP fallback and FormData serialization.","directories":{},"_nodeVersion":"22.17.1","dependencies":{"nanoid":"^5.0.7"},"_hasShrinkwrap":false,"devDependencies":{"@types/node":"^20.14.10"},"_npmOperationalInternal":{"tmp":"tmp/sockress-client_0.2.12_1768740183676_0.5917698367361319","host":"s3://npm-registry-packages-npm-production"}},"0.2.13":{"name":"sockress-client","version":"0.2.13","keywords":["sockress","websocket","http","client","upload","realtime","nodejs","browser"],"author":{"url":"https://alsocoder.com","name":"Also Coder","email":"hello@alsocoder.com"},"license":"PROPRIETARY","_id":"sockress-client@0.2.13","maintainers":[{"name":"alsocoder-org","email":"alsocoder@gmail.com"}],"homepage":"https://alsocoder.com","bugs":{"url":"https://github.com/alsocoders/sockress/issues"},"dist":{"shasum":"9134522a6f2b2ff9997d8f4aaabc488bb09f94a7","tarball":"https://registry.npmjs.org/sockress-client/-/sockress-client-0.2.13.tgz","fileCount":7,"integrity":"sha512-u6zjvj5ZLgTdmWltXBov1iHafjNKCWy9m3btSg0c+Z9xz/J7n4NI/B6oL860a5XVYTRrExDd26bPZhSf2nslDw==","signatures":[{"sig":"MEQCIBnulzsmpOEgMy9ieOFs98nhNxLjAmSLQsn4OiNwk0m4AiBnoLxdMWg6jmXQYBUbYwMaANCEoJygVwQ3Qsc4nxX4wA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":93232},"main":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js","require":"./dist/index.js"}},"gitHead":"ac221330184954df71605747f84ba6aa694690be","scripts":{"build":"tsc -p tsconfig.json","prepublishOnly":"npm run build"},"_npmUser":{"name":"alsocoder-org","email":"alsocoder@gmail.com"},"repository":{"url":"git+https://github.com/alsocoders/sockress.git","type":"git"},"_npmVersion":"11.6.2","description":"Socket-first client SDK for Sockress servers with automatic HTTP fallback and FormData serialization.","directories":{},"_nodeVersion":"22.17.1","dependencies":{"nanoid":"^5.0.7"},"_hasShrinkwrap":false,"devDependencies":{"@types/node":"^20.14.10"},"_npmOperationalInternal":{"tmp":"tmp/sockress-client_0.2.13_1770316276264_0.7403880422843023","host":"s3://npm-registry-packages-npm-production"}},"0.2.14":{"name":"sockress-client","version":"0.2.14","keywords":["sockress","websocket","http","client","upload","realtime","nodejs","browser"],"author":{"url":"https://alsocoder.com","name":"Also Coder","email":"hello@alsocoder.com"},"license":"PROPRIETARY","_id":"sockress-client@0.2.14","maintainers":[{"name":"alsocoder-org","email":"alsocoder@gmail.com"}],"homepage":"https://alsocoder.com","bugs":{"url":"https://github.com/alsocoders/sockress/issues"},"dist":{"shasum":"54b369d18d8de0aa342b0e2f30451755345e4875","tarball":"https://registry.npmjs.org/sockress-client/-/sockress-client-0.2.14.tgz","fileCount":7,"integrity":"sha512-W2VQbMNwDDppddtnTqeaO1eOscJACkII9NiISIhgAYaLQnRVMu1ENs7YBXv+lM9GBvIW4JJR4eDqZExQDuBz1A==","signatures":[{"sig":"MEYCIQCWk9xoLXzhbg4d3Rcy7SxPuEA1xLNMkvxaBBL7vQZgIAIhAOfWb2y9JLdbXDTQbgdA1gX/it5iSfgn0reH/xbN6xXF","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":99507},"main":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js","require":"./dist/index.js"}},"gitHead":"ac221330184954df71605747f84ba6aa694690be","scripts":{"build":"tsc -p tsconfig.json","prepublishOnly":"npm run build"},"_npmUser":{"name":"alsocoder-org","email":"alsocoder@gmail.com"},"repository":{"url":"git+https://github.com/alsocoders/sockress.git","type":"git"},"_npmVersion":"11.6.2","description":"Socket-first client SDK for Sockress servers with automatic HTTP fallback and FormData serialization.","directories":{},"_nodeVersion":"22.17.1","dependencies":{"nanoid":"^5.0.7"},"_hasShrinkwrap":false,"devDependencies":{"@types/node":"^20.14.10"},"_npmOperationalInternal":{"tmp":"tmp/sockress-client_0.2.14_1770351511967_0.19517674500253057","host":"s3://npm-registry-packages-npm-production"}},"0.2.15":{"name":"sockress-client","version":"0.2.15","description":"Socket-first client SDK for Sockress servers with automatic HTTP fallback and FormData serialization.","main":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","require":"./dist/index.js","import":"./dist/index.js","default":"./dist/index.js"}},"scripts":{"build":"tsc -p tsconfig.json","prepublishOnly":"npm run build"},"author":{"name":"Also Coder","email":"hello@alsocoder.com","url":"https://alsocoder.com"},"homepage":"https://alsocoder.com","repository":{"type":"git","url":"git+https://github.com/alsocoders/sockress.git"},"bugs":{"url":"https://github.com/alsocoders/sockress/issues"},"license":"PROPRIETARY","keywords":["sockress","websocket","http","client","upload","realtime","nodejs","browser"],"dependencies":{"nanoid":"^5.0.7"},"devDependencies":{"@types/node":"^20.14.10"},"gitHead":"490c1a1a1fe701836c78e6f49191754428c379b7","_id":"sockress-client@0.2.15","_nodeVersion":"24.16.0","_npmVersion":"12.0.1","dist":{"integrity":"sha512-Dlii+zGPX3WNyOfTBEtYk/BpZZkpmRcrE/hl0NRTbfVH1V1rQfS5seDfRXZpG7lwJV9FeZN+47IXiuJ+SSigxQ==","shasum":"3b498d0837acb10b1c315c39aba30812d612e853","tarball":"https://registry.npmjs.org/sockress-client/-/sockress-client-0.2.15.tgz","fileCount":7,"unpackedSize":61462,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCwIQi6zBfE2kfj2dso6cELuLKyYByHhi2GP2ME2eRSIwIgQ/Tu+eHzFIffJ4fNrIfzheERCOwwxldoG8Ff+/MeeNE="}]},"_npmUser":{"name":"alsocoder-org","email":"alsocoder@gmail.com"},"directories":{},"maintainers":[{"name":"alsocoder-org","email":"alsocoder@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/sockress-client_0.2.15_1784644133778_0.21508224342854665"},"_hasShrinkwrap":false}},"time":{"created":"2025-11-21T18:25:49.730Z","modified":"2026-07-21T14:28:54.079Z","0.1.0":"2025-11-21T18:25:50.113Z","0.1.1":"2025-11-21T18:36:45.976Z","0.1.2":"2025-11-21T18:52:12.895Z","0.1.3":"2025-11-21T20:29:40.551Z","0.1.4":"2025-11-21T21:00:59.450Z","0.1.5":"2025-11-22T04:28:00.296Z","0.1.6":"2025-11-23T11:36:34.359Z","0.1.7":"2025-11-23T11:43:45.163Z","0.1.8":"2025-11-23T11:53:48.298Z","0.1.9":"2025-11-23T15:47:37.613Z","0.2.0":"2025-11-23T16:01:56.143Z","0.2.1":"2025-11-23T16:11:34.268Z","0.2.2":"2025-11-23T16:24:31.570Z","0.2.3":"2025-11-23T16:29:02.393Z","0.2.4":"2025-11-23T16:31:38.259Z","0.2.5":"2025-11-23T17:09:29.168Z","0.2.6":"2025-12-03T18:29:22.077Z","0.2.7":"2025-12-13T06:58:50.828Z","0.2.8":"2026-01-06T05:22:36.670Z","0.2.9":"2026-01-06T05:45:34.292Z","0.2.10":"2026-01-11T10:17:36.813Z","0.2.11":"2026-01-11T11:44:06.532Z","0.2.12":"2026-01-18T12:43:03.827Z","0.2.13":"2026-02-05T18:31:16.432Z","0.2.14":"2026-02-06T04:18:32.149Z","0.2.15":"2026-07-21T14:28:53.910Z"},"bugs":{"url":"https://github.com/alsocoders/sockress/issues"},"author":{"name":"Also Coder","email":"hello@alsocoder.com","url":"https://alsocoder.com"},"license":"PROPRIETARY","homepage":"https://alsocoder.com","keywords":["sockress","websocket","http","client","upload","realtime","nodejs","browser"],"repository":{"type":"git","url":"git+https://github.com/alsocoders/sockress.git"},"description":"Socket-first client SDK for Sockress servers with automatic HTTP fallback and FormData serialization.","maintainers":[{"name":"alsocoder-org","email":"alsocoder@gmail.com"}],"readme":"# Sockress Client SDK\r\n\r\n[`sockress-client`](https://www.npmjs.com/package/sockress-client) is the companion SDK for Sockress-powered backends. It automatically prefers the WebSocket transport (sharing the same request/response semantics as HTTP) and silently falls back to `fetch` when a socket is unavailable. Multipart uploads (`FormData`) are serialized over the wire, so you can use a single API surface for avatars, profile forms, and realtime commands.\r\n\r\n**Created by [Also Coder](https://alsocoder.com) · GitHub [@alsocoders](https://github.com/alsocoders)**\r\n\r\n---\r\n\r\n## Features\r\n\r\n- Socket-first requests with automatic HTTP fallback\r\n- `FormData`, `Blob`, and JSON serialization handled automatically\r\n- Familiar API: `api.request()`, `api.get()`, `api.post()`, `api.put()`, `api.patch()`, `api.delete()`\r\n- Built-in event emitters for `open`, `close`, `error`, and `reconnect`\r\n- Works in browsers and Node.js (inject custom `fetch` / `wsFactory`)\r\n- Automatic cookie handling (browser only)\r\n- Request queuing when socket is not yet connected\r\n- Automatic reconnection with exponential backoff\r\n\r\n---\r\n\r\n## Installation\r\n\r\n```bash\r\nnpm install sockress-client\r\n```\r\n\r\nSockress Client supports both ESM and CommonJS:\r\n\r\n```ts\r\n// ESM\r\nimport { sockressClient } from 'sockress-client';\r\n\r\n// CommonJS\r\nconst { sockressClient } = require('sockress-client');\r\n```\r\n\r\n---\r\n\r\n## Quick Start\r\n\r\n```ts\r\nimport { sockressClient } from 'sockress-client';\r\n\r\nconst api = sockressClient({\r\n  baseUrl: 'http://localhost:5051',\r\n  autoConnect: true,\r\n  preferSocket: true\r\n});\r\n\r\n// GET request\r\nconst users = await api.get('/api/users');\r\nconsole.log(users.body);\r\n\r\n// POST request\r\nconst response = await api.post('/api/auth/login', {\r\n  body: { email: 'user@example.com', password: 'secret' }\r\n});\r\nconsole.log(response.body.token);\r\n```\r\n\r\n---\r\n\r\n## API Methods\r\n\r\n### `api.request(options)`\r\n\r\nMake a request with full control:\r\n\r\n```ts\r\nconst response = await api.request({\r\n  path: '/api/users',\r\n  method: 'GET',\r\n  headers: { 'Authorization': 'Bearer token' },\r\n  query: { page: 1, limit: 10 },\r\n  body: { name: 'John' },\r\n  timeout: 5000,\r\n  signal: abortController.signal,\r\n  disableHttpFallback: false\r\n});\r\n```\r\n\r\n### `api.get(path, options?)`\r\n\r\n```ts\r\nconst response = await api.get('/api/users', {\r\n  query: { page: 1 },\r\n  headers: { 'Authorization': 'Bearer token' }\r\n});\r\n```\r\n\r\n### `api.post(path, options?)`\r\n\r\n```ts\r\nconst response = await api.post('/api/users', {\r\n  body: { name: 'John', email: 'john@example.com' }\r\n});\r\n```\r\n\r\n### `api.put(path, options?)`\r\n\r\n```ts\r\nconst response = await api.put('/api/users/123', {\r\n  body: { name: 'Jane' }\r\n});\r\n```\r\n\r\n### `api.patch(path, options?)`\r\n\r\n```ts\r\nconst response = await api.patch('/api/users/123', {\r\n  body: { email: 'jane@example.com' }\r\n});\r\n```\r\n\r\n### `api.delete(path, options?)`\r\n\r\n```ts\r\nconst response = await api.delete('/api/users/123');\r\n```\r\n\r\n---\r\n\r\n## Response Object\r\n\r\nAll methods return a `SockressClientResponse`:\r\n\r\n```ts\r\ninterface SockressClientResponse<T> {\r\n  status: number;           // HTTP status code\r\n  ok: boolean;              // true if status is 200-299\r\n  headers: Record<string, string>;  // response headers\r\n  body: T;                  // parsed response body\r\n  json: <R = T>() => R;    // get body as JSON (type-safe)\r\n  text: () => string;       // get body as string\r\n  raw: () => T;             // get raw body\r\n}\r\n```\r\n\r\nExample:\r\n\r\n```ts\r\nconst response = await api.get('/api/users');\r\nconsole.log(response.status);  // 200\r\nconsole.log(response.ok);      // true\r\nconsole.log(response.body);    // parsed JSON\r\nconsole.log(response.json()); // same as body\r\nconsole.log(response.text());  // JSON string\r\n```\r\n\r\n---\r\n\r\n## File Uploads\r\n\r\nUpload files using `FormData`:\r\n\r\n```ts\r\nconst formData = new FormData();\r\nformData.append('avatar', file);\r\nformData.append('name', 'John Doe');\r\n\r\nconst response = await api.post('/api/profile/avatar', {\r\n  body: formData,\r\n  headers: { 'Authorization': 'Bearer token' }\r\n});\r\n\r\nconsole.log(response.body.avatarUrl);\r\n```\r\n\r\nThe client automatically serializes `FormData` for socket transport and uses native `FormData` for HTTP fallback.\r\n\r\n---\r\n\r\n## Events\r\n\r\nListen to socket events:\r\n\r\n```ts\r\n// Socket opened\r\napi.on('open', () => {\r\n  console.log('Socket connected');\r\n});\r\n\r\n// Socket closed\r\napi.on('close', ({ code, reason }) => {\r\n  console.log('Socket closed', code, reason);\r\n});\r\n\r\n// Error occurred\r\napi.on('error', (error) => {\r\n  console.error('Socket error:', error);\r\n});\r\n\r\n// Reconnection attempt\r\napi.on('reconnect', ({ attempt }) => {\r\n  console.log('Reconnecting, attempt:', attempt);\r\n});\r\n```\r\n\r\nRemove listeners:\r\n\r\n```ts\r\nconst unsubscribe = api.on('open', () => {\r\n  console.log('Connected');\r\n});\r\n\r\n// Later\r\napi.off('open', handler);\r\n// or\r\nunsubscribe();\r\n```\r\n\r\n---\r\n\r\n## Configuration\r\n\r\nCreate a client with custom options:\r\n\r\n```ts\r\nconst api = sockressClient({\r\n  baseUrl: 'http://localhost:5051',      // required\r\n  socketPath: '/sockress',                 // WebSocket path (default: '/sockress')\r\n  headers: { 'X-Custom': 'value' },       // default headers\r\n  timeout: 15_000,                         // request timeout in ms (default: 15000)\r\n  reconnectInterval: 1_000,                // initial reconnect delay (default: 1000)\r\n  maxReconnectInterval: 15_000,            // max reconnect delay (default: 15000)\r\n  autoConnect: true,                       // auto-connect on creation (default: true)\r\n  preferSocket: true,                      // prefer socket over HTTP (default: true)\r\n  credentials: 'include',                  // fetch credentials (default: 'include')\r\n  fetchImpl: fetch,                        // custom fetch implementation\r\n  wsFactory: (url) => new WebSocket(url)   // custom WebSocket factory\r\n});\r\n```\r\n\r\n---\r\n\r\n## Node.js Usage\r\n\r\nIn Node.js, you may need to provide custom implementations:\r\n\r\n```ts\r\nimport fetch from 'node-fetch';\r\nimport WebSocket from 'ws';\r\n\r\nconst api = sockressClient({\r\n  baseUrl: 'https://api.example.com',\r\n  fetchImpl: fetch as any,\r\n  wsFactory: (url) => new WebSocket(url) as any\r\n});\r\n```\r\n\r\n---\r\n\r\n## Manual Connection Management\r\n\r\nControl socket connection manually:\r\n\r\n```ts\r\nconst api = sockressClient({\r\n  baseUrl: 'http://localhost:5051',\r\n  autoConnect: false  // don't auto-connect\r\n});\r\n\r\n// Connect manually\r\nawait api.connect();\r\n\r\n// Close manually\r\napi.close();\r\n```\r\n\r\nThe client automatically closes the socket on process exit (Node.js) or page unload (browser).\r\n\r\n---\r\n\r\n## Request Options\r\n\r\n### `path` (required)\r\nRequest path (e.g., `'/api/users'`)\r\n\r\n### `method` (optional)\r\nHTTP method: `'GET'`, `'POST'`, `'PUT'`, `'PATCH'`, `'DELETE'`, `'HEAD'`, `'OPTIONS'` (default: `'GET'`)\r\n\r\n### `headers` (optional)\r\nRequest headers object\r\n\r\n### `query` (optional)\r\nQuery parameters object (values can be strings, numbers, booleans, or arrays)\r\n\r\n```ts\r\nawait api.get('/api/users', {\r\n  query: {\r\n    page: 1,\r\n    limit: 10,\r\n    tags: ['js', 'ts'],\r\n    active: true\r\n  }\r\n});\r\n```\r\n\r\n### `body` (optional)\r\nRequest body. Can be:\r\n- Plain object (serialized as JSON)\r\n- `FormData` (for file uploads)\r\n- `Blob` or `ArrayBuffer`\r\n- `URLSearchParams`\r\n- String\r\n\r\n### `timeout` (optional)\r\nRequest timeout in milliseconds (overrides default)\r\n\r\n### `signal` (optional)\r\n`AbortSignal` for canceling requests\r\n\r\n### `disableHttpFallback` (optional)\r\nIf `true`, throws an error if socket is unavailable instead of falling back to HTTP (default: `false`)\r\n\r\n---\r\n\r\n## Error Handling\r\n\r\nHandle errors with try/catch:\r\n\r\n```ts\r\ntry {\r\n  const response = await api.post('/api/users', {\r\n    body: { name: 'John' }\r\n  });\r\n  console.log(response.body);\r\n} catch (error) {\r\n  console.error('Request failed:', error);\r\n}\r\n```\r\n\r\n---\r\n\r\n## TypeScript Support\r\n\r\nSockress Client is written in TypeScript and provides full type safety:\r\n\r\n```ts\r\ninterface User {\r\n  id: number;\r\n  name: string;\r\n  email: string;\r\n}\r\n\r\nconst response = await api.get<User[]>('/api/users');\r\nconst users: User[] = response.body;\r\n```\r\n\r\n---\r\n\r\n## Links\r\n\r\n- Website: [https://alsocoder.com](https://alsocoder.com)\r\n- GitHub: [https://github.com/alsocoders/sockress](https://github.com/alsocoders/sockress)\r\n- Issues: [https://github.com/alsocoders/sockress/issues](https://github.com/alsocoders/sockress/issues)\r\n\r\nPRs and feedback welcome!\r\n","readmeFilename":"README.md"}