{"_id":"@cometchat-pulse/cometchat-pulse.js","_rev":"16-0f9202e65910f8d411ea6db4dbfe18ee","name":"@cometchat-pulse/cometchat-pulse.js","dist-tags":{"latest":"0.0.12"},"versions":{"0.0.1-alpha":{"name":"@cometchat-pulse/cometchat-pulse.js","version":"0.0.1-alpha","description":"A complete chat solution.","main":"CometChat.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":["CometChat","chat","messaging","chat","sdk","message","sdk","messaging","sdk","audio","chat","video","chat","webRTC"],"author":{"name":"CometChat"},"license":"ISC","_id":"@cometchat-pulse/cometchat-pulse.js@0.0.1-alpha","_npmVersion":"6.4.1","_nodeVersion":"8.11.3","_npmUser":{"name":"gajraajay","email":"ajay.gajra@inscripts.in"},"dist":{"integrity":"sha512-lTy9kE1toQixHLRKFN2xpx62U3q0PjoYxzWnqPS/OvaJIDVnTpA0ajSHGjFV4FHm63m5QvUBu0VhwUi+No88pQ==","shasum":"5be9e5330aa13e176c224c603717b58630dfc7dd","tarball":"https://registry.npmjs.org/@cometchat-pulse/cometchat-pulse.js/-/cometchat-pulse.js-0.0.1-alpha.tgz","fileCount":2,"unpackedSize":172461,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcBXgfCRA9TVsSAnZWagAAjcQP/RyQHDAMLZ8zSdA0kDOu\n7mbpJXGVChF2sxFW3Wa2Gnn9bRowbmtKWBoF33VgCnHxbadKikdRPEbnEwXW\ncZr5TfkkzmPLtFskPMKLXa/aDYxPuQdLeIjU/WKt8WyjqB1pHCP6oNcHXnfK\nSKHcZPwCWklONYggDX73KTn9Fxo2gQYmzri4j+rpezmQUgJmfLZrF+IfdMBv\npxX6j+oz6TvAL5zH8/U7z1kTPgRbcOqcEXQ/dd9p/qVUQPAM95QWflEb7pps\nqnHzdF/rmrFdfhrN/7+BlWu0TC2L7ymhwueEU1nqjyPdkDEf/SxXncWwRCsv\nFkocG2k4e2A3GAXuvi2H8mbeBNuHTjjs2fTMwmWRUSKpmZT4b+h7PwHDWzW1\nqxZvEp0VaA0g9DyumZ59XGAdFwheBbDsdGpItNjfapfniQRhewCXR7i/dxVR\nOiFIJSEkPqvIErMrothCCh5Lf3JcdLltmsfj/wo/pWU8edQWPxB7vB56QwTZ\nZEWfmtUnhsT6JF2jBGNCcICiyG+Szu67QxlEmHezXlllHKyyrV69H+W2iBgj\nqhP8zoQfVuBC6VWKzwoQxZe5dBePHdaL9p9GrA0X0YGZDmoH74Vh3cwoPMzI\n2vVLUx7XmmP5L3+a6a/FBqORnqES9S6sqPp+RK5UK7tw3EhhLslec/Bnr7hz\nC5ET\r\n=tLdB\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDiZXw18b0JrWBuZeujfqFa/c9gYYPPCmGCj2yJSX8aWAIhAMMThNYFwHUaq9mZI61WqJzWVm6ceios9V6NSEpAywxp"}]},"maintainers":[{"name":"gajraajay","email":"ajay.gajra@inscripts.in"},{"name":"anantgarg","email":"anant.garg@inscripts.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cometchat-pulse.js_0.0.1-alpha_1543862303275_0.20382586704531924"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.0.1":{"name":"@cometchat-pulse/cometchat-pulse.js","version":"0.0.1","description":"A complete chat solution.","main":"CometChat.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":["CometChat","chat","messaging","chat","sdk","message","sdk","messaging","sdk","audio","chat","video","chat","webRTC"],"author":{"name":"CometChat"},"license":"ISC","_id":"@cometchat-pulse/cometchat-pulse.js@0.0.1","_npmVersion":"6.4.1","_nodeVersion":"8.11.3","_npmUser":{"name":"gajraajay","email":"ajay.gajra@inscripts.in"},"dist":{"integrity":"sha512-kDarjzxoq5C6W+kF0JGW0vQke3S49o0Rzlwkrs2HbAW/McnK7XAsok3U1R50ahzymRJymGByzQbOd1502tRlZA==","shasum":"90f3fadb0ad74fce46da6a1daf8a6267b5fe48ee","tarball":"https://registry.npmjs.org/@cometchat-pulse/cometchat-pulse.js/-/cometchat-pulse.js-0.0.1.tgz","fileCount":2,"unpackedSize":166760,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcBmv4CRA9TVsSAnZWagAAc4oP/RkKScFegRbHgSzEjMtR\no1CBKC7AOHXUxxaYhrWKOmfB11Zbs/lZ64ThyMYnnKI0CVDUAGXkqu3xm4ha\nG0yx1Y0QTTqRb0sndwwMnaME2OGNjwiSmEweow6xb7G19VQuV8uIkpeJFfQV\nmiXKqrGcbwhzMQdlK26ruB0GshPjKHSa15K/5joCwuZcxCVdeusiXBDzeIK0\nGXgFoQAehbo0gp1M7QRGb/yxBo8s9rdU6c8aoV9gS194aMW9DqN1iVonaDYZ\n6kKDTl531oswQ33CUcq5YH24IJKMQjVX81iUaaV7nj506ZCby9/opcxgjRNv\nfjbdrxvnSM/VuaMjvZr2LhWA7hb/Z+T2iF+lo8Pyiit4IPYI+hqRK99Jkk4L\nZS052O2b7cEMRIIv8tNiPznGFkfZr+7AFaO7fHYTPJ1Ql35d7OcxyYWVN5fd\nJ1P1jwYkjcjBh6purXvJXR2178iH885bJleYqLkOcJtGeJnmJyO6SPCAe3pB\nnWESJphblpQO2LLH+VLleLjrocQo+9a9rO+cJXYAONCS1O3GtjRo2C5kaumg\nRLk1fYEb0BSnIUIm+6FC7a15DeEvgs/ZHbkyq6u+ENn2ngn688rcFuKYB9pp\njMPy4KkXYcNC6ETkZaV30duN7xgL1sIVoPkb+QelescTrVyRdBlm5EFaTL5f\neKgs\r\n=NJ/D\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDUsZKVYbepQeqKZOl5k9iz0DAJazBN/sGfA94VgdldCQIgAdv1zfx7Fa3u2lv3AIT05Wo1S1LHkDV7Y/vUyBDAqGk="}]},"maintainers":[{"name":"anantgarg","email":"anant.garg@inscripts.com"},{"name":"gajraajay","email":"ajay.gajra@inscripts.in"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cometchat-pulse.js_0.0.1_1543924727352_0.3537658330985154"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.0.2":{"name":"@cometchat-pulse/cometchat-pulse.js","version":"0.0.2","description":"A complete chat solution.","main":"CometChat.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":["CometChat","chat","messaging","chat","sdk","message","sdk","messaging","sdk","audio","chat","video","chat","webRTC"],"author":{"name":"CometChat"},"license":"ISC","_id":"@cometchat-pulse/cometchat-pulse.js@0.0.2","_npmVersion":"6.4.1","_nodeVersion":"8.11.3","_npmUser":{"name":"gajraajay","email":"ajay.gajra@inscripts.in"},"dist":{"integrity":"sha512-z1VvNLVI80PyXFvpuyYHV6Lu4HzvMDkv2CfiTry9XFhDhFvDdi9OUBbvFuAYBEU2bYc9dNWw93+svHfClhSzag==","shasum":"3fd61152cdaa5e0be1efb1b5e99721ebc2e41f89","tarball":"https://registry.npmjs.org/@cometchat-pulse/cometchat-pulse.js/-/cometchat-pulse.js-0.0.2.tgz","fileCount":2,"unpackedSize":173673,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcCUnkCRA9TVsSAnZWagAApskP+wc9XwjCugfbs0SKM75T\nZOC65c5+s9kZVYl+C0q9swf5efr60wolsYxOaUqzFaBFMcyvVSW5XapJ/RPa\ndab+Igf/Iz9SWuM+nyL845Jluq6oZqIhxHZmCyJP9BRxK8q5BmdOccKAyAUS\nuwUjzTTj/nSpxc5Dp4GWVSGBQqnJeAp+K7jiIsHS9j//7TVjMtq94jbJxSOg\naM6rNT4OiXHGeO/7RopbLebSxjtpVxO2m+mopPzL+XmGVWHqltjBo7obfnuW\nVTRdGa45hw0Y05AS0MPK9pZvXSRUP0roR72DOa7NpaFWSYqU5/9hEqH4ak4w\nlvXNIkLrb+7bppo/2l9QbGwHT9EFzkAz3k8PEz5za/8OJOa/L+j1mY/6TRTq\n6j9UIHJUO4JqZLbKmSlyFcipEQ1JQT5GS0OHzgX7GTN5XUDfTlmNnWENDOaV\nPI9oyuwla1dg4AfwFaF3amL5MziPv0hRy/mTTp5CoCal8db1c47eUvMShmXs\nNij0cZvI4kFcCte5QISXVs8gmj2pa3E8umcVaD6X7WZ9OyQMhkO/1vSwAkZ/\nBRCTBlsej0+rN4nuW+kN5XKLb5PExLynIN79g8pJu9f2841fiu5xaKsw0lp+\nYDcP+73U85VJZy0yerVrrvf2zCjdeEmZ9iiuRyRK3KPiL8EFdyHdf3qeAH7C\nwE7k\r\n=cf6o\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICQ783opjsZBsd6f8hWeN0exZEsm1iRU2c2JAz3G+L0WAiBwmf63HqGNNQXOdwXIl7OoXeQae2M3h7xZzZSoKRpjmg=="}]},"maintainers":[{"name":"anantgarg","email":"anant.garg@inscripts.com"},{"name":"gajraajay","email":"ajay.gajra@inscripts.in"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cometchat-pulse.js_0.0.2_1544112612097_0.17688858766270665"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.0.3":{"name":"@cometchat-pulse/cometchat-pulse.js","version":"0.0.3","description":"A complete chat solution.","main":"CometChat.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":["CometChat","chat","messaging","chat","sdk","message","sdk","messaging","sdk","audio","chat","video","chat","webRTC"],"author":{"name":"CometChat"},"license":"SEE LICENSE IN LICENSE.md","repository":{"type":"git","url":"git+https://github.com/CometChat-Pulse/javascript-chat-sdk.git"},"bugs":{"url":"https://github.com/CometChat-Pulse/javascript-chat-sdk/issues"},"homepage":"https://github.com/CometChat-Pulse/javascript-chat-sdk#readme","gitHead":"9611a369429dfe8a3a439f47820e718516d8c696","_id":"@cometchat-pulse/cometchat-pulse.js@0.0.3","_npmVersion":"6.5.0","_nodeVersion":"8.11.3","_npmUser":{"name":"gajraajay","email":"ajay.gajra@inscripts.in"},"dist":{"integrity":"sha512-kFFg1G9q/qCZl358yuMvPs7gq3KwakdCv2hL+Q2KmxF5vkOF5yny0PQrGJ58Z/VBAeO5BUkCvoJoTJ2t1Odtww==","shasum":"a5393a2c54645b351ff68ba59e080298904fce85","tarball":"https://registry.npmjs.org/@cometchat-pulse/cometchat-pulse.js/-/cometchat-pulse.js-0.0.3.tgz","fileCount":4,"unpackedSize":264205,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcEQ8mCRA9TVsSAnZWagAAo5UP/jePNcLc6AfKUM3vEGTS\nWYEB2MwCL/xh6bryD6ca7g91gSKen21Wr8FBL3BYsjFGook4T3X+K+5ES4K6\n8h/jWZdEefdMdD2ru0UQeTtnPY0MLx7YPEsqPeb3Q3nZ/4XvRrcbcbgHOonR\nVN9uJ5Tt7d6mQl8iSDvRqkJFNaNlZnELdEBIpqsQjAtxBRQ9tZgHVseexgj4\ny0DZKlQgr2GhQehhLb6u32CN2UC7/SF5LV7xv8nWF9XtSDF/d1xafLDSVtqy\nBVwmXsHdYvI70bxesUT6yqWaS3gPaalegkr6qEndFYlGZuo2eM3TYKv3Qmf4\nM6MmtcGVJGwEZEud5j1qykA5eSiZSAiwgaRRroO+iJj7Qlp/da8c4+4RoNxI\nYhKL9ceXPqyEm7uDIH4J6r8HsOExXPCTgq4ZA2ls2gJIKPNVG7kNZX4khOo8\nW+7bKwA15fkXpjl0unY3eUU5GFEbCVEuc+mSeG021vpCqwLR7sWpMrKGqOxX\ny/XQrd7nsAi2N09Hb22+XdCJ78eMxBPOe+VVwwQOFiUubQKxqiKKTkHamhcA\nsoK7o1l4SKKi8IX0iuTKcKsRY7RCkJ3WP1VlSxyc8PKPGgwc7zBMFo5O4tYh\nZ/1Kg+knxVU7qrlpOvAfMAI/dC6jomnLRcw00IzuI3m8PgbLSPEr6YYUTeXZ\n+kai\r\n=bZV7\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCgKzvEI22jb03K+lv0FiqgZsj7/i6VJQgAjPUBaFsO5QIhAIW9hvUDuPCSis28KvhAd/v3yPHR4KT+UDB9jTX5f6xk"}]},"maintainers":[{"name":"anantgarg","email":"anant.garg@inscripts.com"},{"name":"gajraajay","email":"ajay.gajra@inscripts.in"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cometchat-pulse.js_0.0.3_1544621861962_0.9029016491597168"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.0.4":{"name":"@cometchat-pulse/cometchat-pulse.js","version":"0.0.4","description":"A complete chat solution.","main":"CometChat.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":["CometChat","chat","messaging","chat","sdk","message","sdk","messaging","sdk","audio","chat","video","chat","webRTC"],"author":{"name":"CometChat"},"license":"SEE LICENSE IN LICENSE.md","repository":{"type":"git","url":"git+https://github.com/CometChat-Pulse/javascript-chat-sdk.git"},"bugs":{"url":"https://github.com/CometChat-Pulse/javascript-chat-sdk/issues"},"homepage":"https://github.com/CometChat-Pulse/javascript-chat-sdk#readme","gitHead":"2f89b17994c88c41e714c4ed931bb56ad286c98a","_id":"@cometchat-pulse/cometchat-pulse.js@0.0.4","_npmVersion":"6.5.0","_nodeVersion":"8.11.3","_npmUser":{"name":"gajraajay","email":"ajay.gajra@inscripts.in"},"dist":{"integrity":"sha512-hrtCVdWkeYSiRixIGr0n617dhEzlZk3H8fzTvjm68I3DfQ2p+BlCWlj75SymqjxxGtkUkIF+Q2Z2ToItAG/o5w==","shasum":"77e7ec0a701b2604f637d4006538fec9c769ea45","tarball":"https://registry.npmjs.org/@cometchat-pulse/cometchat-pulse.js/-/cometchat-pulse.js-0.0.4.tgz","fileCount":5,"unpackedSize":269935,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcES4eCRA9TVsSAnZWagAA+rQP/Ra3Lt1UOX4Hq3bJKlty\no92f7CjShjpTMCJIGh1QPkW2ER5omsWz/J8nWZAOkBGuNKNhb3aYSOf2MYa9\nS9m2sj3bSmxYQqrPxVOiEncaTSmb79L8MM7RFoX8oYEwVkIZ0gntTfhBNiMo\ni/swYGIiMHPCORoFPRUzMaVMilaVDk0mXtewzcoAlBYqWxeTxKq6p6CV+vcy\nq+kWPQuh+kU+dkaZErC7loRSd6zPpkQQ8r21MEyG0s5vLzy0WMqcAtwFobcY\ndRsOA9/cyYTNgN3AvQUqRF0lveEzrw0VSa7Zg3ApTXeM2iFHti0ZaK/dX3qW\nJ6YcEnXdVcplKu4q33EsMhFq9MpBueDHKElCsldYqI0vxqkR9KjjqhSXfprc\nNvfIQxakW/Lf99pDMwQ9P3HhfA6bAGbagshuhQFUt6O0HxHSGIqeaSvvZauC\nRz8EHpT483XrOdJsFmW9oA+06+Z3DUOM3jLOflrBbdyA7aWrrxJEYsi12BiJ\nwZLFezHmrQFO9YAZ0bJ468lJ4hLMPx+0HBX3tUf7kmzEuadh0zClp78ufCOJ\nvESJLdpWRzOaJ5auc296rNbjztqf9PX9JLf73opdk8oHuXqRuRw+zpSE/Zrl\nPx2QtxpzD6zQ5g5Fc4UDIHWc/nzc2+nMCW9AUzkHKCZdx4saXcHnuVxkJsLz\nuKYU\r\n=TdZ6\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEXYTZY58gClR7XujYXtJMBZ0/622XJEmJhrcubZ4KNnAiEA0hatFpTv1DUrkzQdzpLmWjuWv1K7WwB/lrAlNdu++sc="}]},"maintainers":[{"name":"anantgarg","email":"anant.garg@inscripts.com"},{"name":"gajraajay","email":"ajay.gajra@inscripts.in"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cometchat-pulse.js_0.0.4_1544629789817_0.8701658002979051"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.0.5":{"name":"@cometchat-pulse/cometchat-pulse.js","version":"0.0.5","description":"A complete chat solution.","main":"CometChat.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":["CometChat","chat","messaging","chat","sdk","message","sdk","messaging","sdk","audio","chat","video","chat","webRTC"],"author":{"name":"CometChat"},"license":"SEE LICENSE IN LICENSE.md","repository":{"type":"git","url":"git+https://github.com/CometChat-Pulse/javascript-chat-sdk.git"},"bugs":{"url":"https://github.com/CometChat-Pulse/javascript-chat-sdk/issues"},"homepage":"https://github.com/CometChat-Pulse/javascript-chat-sdk#readme","gitHead":"68fc083e4f59dd1a68a718b8917d7580e0a7dbe3","_id":"@cometchat-pulse/cometchat-pulse.js@0.0.5","_npmVersion":"6.5.0","_nodeVersion":"10.14.2","_npmUser":{"name":"gajraajay","email":"ajay.gajra@inscripts.in"},"dist":{"integrity":"sha512-PYzXS3Cgi3wMrJm0bV0Y2rWeM90rNySujTYemTI4W0S+R8yyBqLhMAFZoot7545+8ztqmEOZhicAFzTFGjJKcA==","shasum":"b2bf27adaf70e8e4ace78cd698d6bbf113dd116b","tarball":"https://registry.npmjs.org/@cometchat-pulse/cometchat-pulse.js/-/cometchat-pulse.js-0.0.5.tgz","fileCount":3,"unpackedSize":178296,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcH6R2CRA9TVsSAnZWagAAT8wP/0giBzN9q6NWVEbAQx5r\nC8ORPI7TRhbelZcp1vmyoH521CpffIa3sjhc/s2a4skCA93IJ0ipExCeXNWV\nMOdQ14MNt8vfq2v+1vdO7r2IUrfsX44ZCWiOq8JrPeY/8Z6Lmms3bWs4q98x\nP8cbKWs1X2EbX8ed4+lQFaEtZns+Ue4whJilcAHtqvoqeB43bVZkuGq1tdBL\nCMkRaJWcRWvwyahmXR/V5TevdzKcD3zHgeL7io9foO8BeiRUeWLkxndfsQQd\nobhKXerE1VeAfPqY2I+I0L9iONt2PMTVlUryUHMIIWsbflTT3rKvim0l7mT2\njJSDycFS0JfoiWAX7cdKfWJtz0COexTNwTpRKftc8zCz5XZLENV+aXf3Ze4A\n5LrcPuimyobRp7sbcpwaajjEH19aoNEq4M9nltYkpfcP4UE2GHxLWjhuQeZE\nGa3HcgNxcjSA8v4BUcsOs4B8yaV3bqwQjLbnSNIrEg2PGYIXjjxUt9OGiycV\noa7eiTRskvfPcfsbEsziXGgAsuAa770RS+wQOs7zOok3VyQFooWMrxgnHgA6\ndopDY1qQWRf14cVrxu4PKOJ5/IyY4I0SQkdFzSausnLG5fqjfpNGjx4eDznj\n1+Jgxfl84V2jmcUrMCYNiE9c0+ToA0XIrWCfdmTE3ssYq1oC5w0IeurvaI2F\ngF3+\r\n=Ql+0\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDX8m1d+ZDg7vacSVn4nJCBTCwkrUa/mQYLOeefiv623QIgViPFzIFz7flRCIcfxcYnWgUMDPPmBgMZKV/Tmu59LGk="}]},"maintainers":[{"name":"anantgarg","email":"anant.garg@inscripts.com"},{"name":"gajraajay","email":"ajay.gajra@inscripts.in"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cometchat-pulse.js_0.0.5_1545577589524_0.7631732301905272"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.0.6":{"name":"@cometchat-pulse/cometchat-pulse.js","version":"0.0.6","description":"A complete chat solution.","main":"CometChat.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":["CometChat","chat","messaging","chat","sdk","message","sdk","messaging","sdk","audio","chat","video","chat","webRTC"],"author":{"name":"CometChat"},"license":"SEE LICENSE IN LICENSE.md","repository":{"type":"git","url":"git+https://github.com/CometChat-Pulse/javascript-chat-sdk.git"},"bugs":{"url":"https://github.com/CometChat-Pulse/javascript-chat-sdk/issues"},"homepage":"https://github.com/CometChat-Pulse/javascript-chat-sdk#readme","gitHead":"5fe7580e6bfcb499b6cc763cbb3a3730ad666938","_id":"@cometchat-pulse/cometchat-pulse.js@0.0.6","_npmVersion":"6.5.0","_nodeVersion":"8.11.3","_npmUser":{"name":"gajraajay","email":"ajay.gajra@inscripts.in"},"dist":{"integrity":"sha512-eKnavMh5mVf6gVfy0F5mNZ0fsJvVeR1N64Jn8XYp77JpDMakZNCT5Q3nLJDINUJVfFN8vSMOQtW2KpageJ9tSw==","shasum":"73a513361767793067c03d4107b6a636a1d74719","tarball":"https://registry.npmjs.org/@cometchat-pulse/cometchat-pulse.js/-/cometchat-pulse.js-0.0.6.tgz","fileCount":4,"unpackedSize":230608,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcKjXXCRA9TVsSAnZWagAAAE4P/0svR3AtTH4eg5sttCWD\nu6TY7XEUcFyC73aP3p7+7aS2T8LGzo9w5hrY7hYUf0lhCL2+ZjiwIyt3kIZc\n5ad3uziwWsXs2tCG1TyhK5YAjnF4ljXKSXOcMsBh2lNkAXGedzGi+hJWGN5c\nBcO4Rmd0tddh/8Yl9eFqwruDF3mT+wlEORVfG3PyIfVMOxTcpN3lCa6ujClv\nODGgCgh91/tUusOuWWt19ycwfb70MyoKrLXz6ebcuBBy1cjuSP9UpoRjQwXF\n4Mds9fR4n7I3jO+tm3TMP/V8UMWQd7lQDh8KX7Tq5pkB2eOhBFNVHD1joF8n\nm4vKFIAlCIR8KhHSselz/qkkdFgPoe1djwyY/NT+QAlDD7F8M/8Kftb9hxpj\n1VFN7gT8Bmeh5rQW9BOkEmvabtWXdjberz0X0rDCPRCLSX4z29qHx4bA5Syu\nJUxVvx3pXLf+q25rTtV/9N59pzB9wkU7+KnxPDZ2gni3Q+R+tQA4W4FKksDT\nBwRYwCYJVkUTjuqrbsVhC6DRiDy70M8mxOpbfWEuurjeqepFe5s/1tteu9du\nV02zrrlOpXKG4d0abB4zleCsAtPVQ9e3MA4L3dBv3elyr/hfDUFe84wlFI+Y\nRBpQkEZHKAv1ph66jIFGI/dyUy9iUjwXVdtQNKiGIc0i4Eaj2wW+1vSs4kTu\nvWFi\r\n=2Nds\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIE1zISOM+6eYuUSa1Q2nbebMVVINA2DGlf10dt6AYt8RAiEA2zXNqZjpW2lkm7CdmQPP0rdsUeInzkTIIhC0O+mPq2c="}]},"maintainers":[{"name":"anantgarg","email":"anant.garg@inscripts.com"},{"name":"gajraajay","email":"ajay.gajra@inscripts.in"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cometchat-pulse.js_0.0.6_1546270166578_0.5097020900978473"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.0.7":{"name":"@cometchat-pulse/cometchat-pulse.js","version":"0.0.7","description":"A complete chat solution.","main":"CometChat.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":["CometChat","chat","messaging","chat","sdk","message","sdk","messaging","sdk","audio","chat","video","chat","webRTC"],"author":{"name":"CometChat"},"license":"SEE LICENSE IN LICENSE.md","repository":{"type":"git","url":"git+https://github.com/CometChat-Pulse/javascript-chat-sdk.git"},"bugs":{"url":"https://github.com/CometChat-Pulse/javascript-chat-sdk/issues"},"homepage":"https://github.com/CometChat-Pulse/javascript-chat-sdk#readme","gitHead":"db0713ee4e3304720fe12ce544c6f0c3ea66cc3e","_id":"@cometchat-pulse/cometchat-pulse.js@0.0.7","_npmVersion":"6.5.0","_nodeVersion":"8.11.3","_npmUser":{"name":"gajraajay","email":"ajay.gajra@inscripts.in"},"dist":{"integrity":"sha512-1W2JP9cUZWxB5qo3IlT0eZjmXMVQrzkOhGmjxuW4rU1PIUYBKrPWxy6rM90b0XN8t4H8MfrTRexTjVteVTehqw==","shasum":"a3d2dea821fd81f8a1575b1575406d85f9774bf8","tarball":"https://registry.npmjs.org/@cometchat-pulse/cometchat-pulse.js/-/cometchat-pulse.js-0.0.7.tgz","fileCount":4,"unpackedSize":230638,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcL1rFCRA9TVsSAnZWagAAHgMP/RJkJzLFFXUdlegEEsWI\nZazcArBhz1v+F6YJL5EGZwbDIlexeYUnlmRnt3m5D9Onwpl/hnEWCnLNUlUU\njFCCmoMO4s23ML81zQb9CW2vQthRPcfkhaz4QEgC1XXr2eVbycQRef9IreCZ\nqMaQjScmyuSiFFfPqGOuPk8wyGwVGI78KDhQhgAvPUQxcIvj1Yws+DaKHcNr\ni17K10XSN8+OKI4Odgp09urZPlNNbPux4xzw8eyqVb0kypyO6kG0v8wJldQb\ng3hqQHvCsss8ZqzIvKY14/bAk1wdlvB7YesM2XiWzfQ1Lln7X1af6NH5oxxX\n+6rjgbI6pYOo3bHa/RFJjV8Q6ZTzcIO3EWhas+HHWD7ON/YIPAQUM57HWG8y\nY4PiJ8WVyIPfL6ApfdLrVlHbtTP3e1k++HOaW7YVQL+q84Iy+AZB1UeoRpH3\n3kvI7U6lKNHxz7GtNBX0ViDcjEkd0SwNYgD6Dxk9JxTEyse+lygtl0g1zWca\n1SZmtqnUOpsWJLkVPEgwweCjjxATcDVc91iZJ19iN3rkhOnlKw0NZoWTAt5l\nAbiLIfscnHQXoL12lUtEVFzB89u3hgfycjsW+l7vLt7/NiL1PVrYK/U7pZl3\n0LRmPDHC6nUOReB+8gHotSk/ZcBUr+cPX2Ih7ofupJTLv0k7xWrTlc2kX0E5\nMfLe\r\n=ILct\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIF9HemXL5/5KXDK0xC50UKMwSsg2IeO2T65sKMD7Cw7NAiAlKPn7FI0mC6MuSyeNiJ3vIiRokQfdEn47n6B1o+K7qQ=="}]},"maintainers":[{"name":"anantgarg","email":"anant.garg@inscripts.com"},{"name":"gajraajay","email":"ajay.gajra@inscripts.in"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cometchat-pulse.js_0.0.7_1546607300355_0.282119346223747"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.0.8":{"name":"@cometchat-pulse/cometchat-pulse.js","version":"0.0.8","description":"A complete chat solution.","main":"CometChat.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":["CometChat","chat","messaging","chat","sdk","message","sdk","messaging","sdk","audio","chat","video","chat","webRTC"],"author":{"name":"CometChat"},"license":"SEE LICENSE IN LICENSE.md","repository":{"type":"git","url":"git+https://github.com/CometChat-Pulse/javascript-chat-sdk.git"},"bugs":{"url":"https://github.com/CometChat-Pulse/javascript-chat-sdk/issues"},"homepage":"https://github.com/CometChat-Pulse/javascript-chat-sdk#readme","gitHead":"17fcfcb28cb5987d0c52a2c737aab0a25f31f7f3","_id":"@cometchat-pulse/cometchat-pulse.js@0.0.8","_npmVersion":"6.5.0","_nodeVersion":"8.11.3","_npmUser":{"name":"gajraajay","email":"ajay.gajra@inscripts.in"},"dist":{"integrity":"sha512-aspskMoI9tMjHaKHYhJU8RdrvO/wFXJ1KEgIECW1Bh33CUDZhFvh+wUhnd0sL+BJ5ZiosWyzdatd9QCACGCD9A==","shasum":"0263fda244604d534397b204f2946eb138f0e924","tarball":"https://registry.npmjs.org/@cometchat-pulse/cometchat-pulse.js/-/cometchat-pulse.js-0.0.8.tgz","fileCount":4,"unpackedSize":231490,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcM3E3CRA9TVsSAnZWagAAfTMQAIPg+DildTymrQ6R1XY1\nkZXhU+5Nd3b8YeK8EzopekB4bBPu44lXcqUJijXTR+LSYvieWygrSthedQTM\ngydD5scZULLSqIrRTmSp8Em0No6y9kCB/cuXn2Lky24+7CogA0IPAoaFxcWk\npLCu/wWgSMVqwuACQIaNz+SxV1wF41gxcZ7/fovTNGeDZb9gf8i1eqC3weL1\n65ezQ30d4rUFB/Eto7KQjcishx6AfSIi0vS3HzfKS/MWakEKx378vwXCdEu7\nE7kIJ40iarx8tGpMNpCjzPfQjbRzT31e9U8PMivK//ic1WJXMgLI3WFzZ+/R\nw87lppqeKFQjuf9j/uHqqhBXWf+H+zc0cGNFIwPSDGaAzInIFuxrtqnjq0Oc\nlfoBOV31dcGZp+BvMP/peaBDsMIHFBQJ0S6V5ENng9qhtB7trGJvoxU2QrI5\nz557k8L8TDlI4u7S/ivWnyJbPZSk0cVkSGaoEuqrv3mKgiLghbM7TjIHjCMO\nEOclAf4R2bKDqBIhbH5EuFgKphNhICBPigMBH67+ylKLV1v6cMJMBHtMf9p7\nhDEPhYKyUGMCNj+J2oyECopophVNY7Zi+PpQuZWelHZZxSGv/tv9zbGZOMlb\nx6g8xCiJJ+oHzO31roo4WIgiMCaIB/so7erERCUwAVu/LSA1TSpI2L4YZydC\n7qkS\r\n=6Ap0\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDESbIMAdyS1pCv+j31TyGcafRDDVyOXDpyZ5tzcxec3AIhAJJZnOguPB4P/N+M0KCq+IWRGeWVOEZzbe4SQiHhwF60"}]},"maintainers":[{"name":"anantgarg","email":"anant.garg@inscripts.com"},{"name":"gajraajay","email":"ajay.gajra@inscripts.in"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cometchat-pulse.js_0.0.8_1546875190594_0.2567330228355642"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.0.9":{"name":"@cometchat-pulse/cometchat-pulse.js","version":"0.0.9","description":"A complete chat solution.","main":"CometChat.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":["CometChat","chat","messaging","chat","sdk","message","sdk","messaging","sdk","audio","chat","video","chat","webRTC"],"author":{"name":"CometChat"},"license":"SEE LICENSE IN LICENSE.md","repository":{"type":"git","url":"git+https://github.com/CometChat-Pulse/javascript-chat-sdk.git"},"bugs":{"url":"https://github.com/CometChat-Pulse/javascript-chat-sdk/issues"},"homepage":"https://github.com/CometChat-Pulse/javascript-chat-sdk#readme","gitHead":"c018d5b9bc86e74506bd44ad484843e8c66108ea","_id":"@cometchat-pulse/cometchat-pulse.js@0.0.9","_npmVersion":"6.5.0","_nodeVersion":"8.11.3","_npmUser":{"name":"gajraajay","email":"ajay.gajra@inscripts.in"},"dist":{"integrity":"sha512-v932LNatfl1ed/XmILEI5YHgyIgzq1hYrk8JaLDytZmDfiIMVW/XRdprgfcKTlKxEYyDUTc3SMhHkwWKciOJGQ==","shasum":"964d1dcbcb21db2acc1d4d9a44106f5a0cea5b96","tarball":"https://registry.npmjs.org/@cometchat-pulse/cometchat-pulse.js/-/cometchat-pulse.js-0.0.9.tgz","fileCount":4,"unpackedSize":231776,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcNMCXCRA9TVsSAnZWagAA5YgP/iTat6nte8vb1onPo598\nLUHYbOkzj7XTvC2at+QiZ7yTzpBCJi7UHR7g99bRdc74GGDhldeG6QC+JU+m\nVGRJO+hq4xhhorLi5d0cCzJfK2z4qtjSqTWTDGW9ByP0wBlb5UjjCPVfPDqS\nbK9PdnTt4m670c8MmIvzATDJaMKD8V5NAtn32LLoBLD0zycsQds5TwehWKGO\n+BSJiaqdCR+lfvGpxDbVCbdRz3s6eCxv9v1bqPeV63NweZZwHuLN7gjYO/+x\nh6hqwLyADEiNcYj2EDSZ/fbyYQdQQYyS8MtACIhrWZNjmbpBq5YdT4JnjD+2\n0AQNuj5meKQDns1b5038D/iP/kvaQ35UcQdFHJMhLE1GCaueaeBzjqhYByIS\nmdw2SvL0qAzORx7xToDPIuLZmd/odpkgs8TtWRDuhEzYFQamvyxcn2Cn662h\nsgAIgfhybSDTEDadhlAJr2NZ1B1vSUuybroxmIwazdM8p+LyGXmDfLd6BCjp\n4sz4/RDpykycUVethMXrBkcMQZsdjnThHIe1hMjZoZPat2kcqhCh7+697LqN\nd5x9+mlVeo8gEK8NkTqrArsPD1M/J2Y4deoiWRlVaVGXPbKnGyjYx8ydAqEe\ntCX+t3DZYKLKisO1z575OPTQv44rVe+77EunJFu5R0+QZ16vY1HeUhVZkHHN\nkvH/\r\n=Fh22\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDaT3f/AzUkrpqcJiA8Bm/aqtBfDQ4CylVV4u9OR71YlgIhALkiJUvlvgW3xHQ33IUP9eKyyV367I9m7T1grz1Kc5Ne"}]},"maintainers":[{"name":"anantgarg","email":"anant.garg@inscripts.com"},{"name":"gajraajay","email":"ajay.gajra@inscripts.in"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cometchat-pulse.js_0.0.9_1546961046811_0.9924045112371433"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.0.10":{"name":"@cometchat-pulse/cometchat-pulse.js","version":"0.0.10","description":"A complete chat solution.","main":"CometChat.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":["CometChat","chat","messaging","chat","sdk","message","sdk","messaging","sdk","audio","chat","video","chat","webRTC"],"author":{"name":"CometChat"},"license":"SEE LICENSE IN LICENSE.md","repository":{"type":"git","url":"git+https://github.com/CometChat-Pulse/javascript-chat-sdk.git"},"bugs":{"url":"https://github.com/CometChat-Pulse/javascript-chat-sdk/issues"},"homepage":"https://github.com/CometChat-Pulse/javascript-chat-sdk#readme","gitHead":"432a7744c5a9899a95a52a557a06fc4ac221bd45","_id":"@cometchat-pulse/cometchat-pulse.js@0.0.10","_npmVersion":"6.5.0","_nodeVersion":"8.11.3","_npmUser":{"name":"gajraajay","email":"ajay.gajra@inscripts.in"},"dist":{"integrity":"sha512-4EpCcRKLX5HAfmXg1Y3CQavB8QLZKykX8aT9ss/8C3pbNwRCQyKLWkurcaVW9ejhDTUnvNavApRufZvruh+bQg==","shasum":"c4ab79b290d3136a5879415f02874aeae63ec66d","tarball":"https://registry.npmjs.org/@cometchat-pulse/cometchat-pulse.js/-/cometchat-pulse.js-0.0.10.tgz","fileCount":4,"unpackedSize":235067,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcN0yHCRA9TVsSAnZWagAA9u0QAJb4aDDKytEnRO2BmYt3\nv8x+ljw+tF4R7qXDyJ7io/hWyrRJzNP5Nk5oKo8oz0N9nV+MM1qEwBUdBkNq\nfrU3jlJjaNxb8YtQwY1/yHsbMDWDirR3BaLHcuJzoJckFyFvqcxcDsSdSUk8\neTTqQLmL5KEz9eRwe4RUGbZauK3U+1jeV0zJzOEk6k1nDgLaNRuR7AL7W9JC\nNeoDCs3DvGqRP/atH9YTIFcidOYBElkG2oiccQ9MCGgdrEIiEcINXzb9txip\nWBCC7Sj1kTPPt26zM5LtsEufeUFa4C0YeXZaKYLEh/8YIyxrrfPmKU7p7NaE\nO07vLHf2WQbUHFx3NzFM1Ck9JdITnQqumZBwOk9mNKmwgg57TR7MAnIHLDDq\nOnHIUFKqLwJBv0hkcLB+/w/2unETsnP+acJBGPESEYhhVO0eZJxLKuGLt31P\n8zu5ndcpU1mtK9L5hkAJjZycSVGG/s/dVlEXsP8loRzoHemzUdRLLsR6J46r\nvOtdE9bBiJFKJvJEqjZJZISnA6gXZOTXtV29O4CqMz6Rgb379XcR1FdIGJca\n2AzIvSZnKaY471mor1FOrWMxD4NCiUZpH5Sa7UMDT4TKZ6O4EfupUQpK9GzM\nD3IF1aS9f6bWo9hlMlPV0kW2MTZ5Ue/rO0u+z460FI69YcCCwL9yXQWKeu6w\nl8WM\r\n=ofSe\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCe1fQ8XsASMRr1NzMB3l61FbZtu/wGQJCA/yyScVsJyAIgRBkqnBeJdqRr1pMb4kZRcMOAFbemrZcIOJijL7h7NQU="}]},"maintainers":[{"name":"anantgarg","email":"anant.garg@inscripts.com"},{"name":"gajraajay","email":"ajay.gajra@inscripts.in"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cometchat-pulse.js_0.0.10_1547127943118_0.4648053569261472"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.0.11":{"name":"@cometchat-pulse/cometchat-pulse.js","version":"0.0.11","description":"A complete chat solution.","main":"CometChat.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":["CometChat","chat","messaging","chat","sdk","message","sdk","messaging","sdk","audio","chat","video","chat","webRTC"],"author":{"name":"CometChat"},"license":"SEE LICENSE IN LICENSE.md","repository":{"type":"git","url":"git+https://github.com/CometChat-Pulse/javascript-chat-sdk.git"},"bugs":{"url":"https://github.com/CometChat-Pulse/javascript-chat-sdk/issues"},"homepage":"https://github.com/CometChat-Pulse/javascript-chat-sdk#readme","gitHead":"c62398ea187363b59cdffaeecaf9c6fe6370c460","_id":"@cometchat-pulse/cometchat-pulse.js@0.0.11","_npmVersion":"6.5.0","_nodeVersion":"8.11.3","_npmUser":{"name":"gajraajay","email":"ajay.gajra@inscripts.in"},"dist":{"integrity":"sha512-UIYS+WGToIFiCO+A97Gy9rlZqXQUFk1+ZkfYRZOnxDCBqbb87/h823Jf2pCtmuZSgDWf4G96eNNyfDrBSCXMUA==","shasum":"fbe4c486a8dc78c25fae93715a9f2b2c8688abad","tarball":"https://registry.npmjs.org/@cometchat-pulse/cometchat-pulse.js/-/cometchat-pulse.js-0.0.11.tgz","fileCount":4,"unpackedSize":236878,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcOLWfCRA9TVsSAnZWagAAIHUP/jISazKp7U0X3x0ZKnu8\nVdVs3SGAW9F/dzYWyF9oB5Sw0fLfD24A4d+D11l8mGEO0go/38RAyUlQXtAD\n21lN8PvMmAFv8sOba+GkDOiOCufLm9xRMX5rYKje5hmf5EaT7DRN8v/sWxpH\nhTWbMIgV/3I2UkFQmbsvnSpdii9Pm9+SDkAOqVVJjQnAJwsbtIWrOxuRGedb\nUn1Js37oEDvn33hQKsKT2Qx/zNNKdditi+SvLd7AeyY/6DRJ4V/NwVahTh4c\nAfV4czmJtfP8n9DOa4qFFu7SvQkJ/HIxBkk1d27dX7rLjd/IbcODyseHPs2V\nyE/i2nfLMILTxCZAfWP4+0tETRZdmQ9GWE+mvRj6ZRca0HtwoEDWXty3Xc8C\nTn5GV5uSTbsZNB7If0OkXSSnDTXghrnbqAKaVu+uJ76GKA2E+ItlcggwIg5V\n8Ga/wuaQm/CzDxNRglAfiiwHVM/z/Kbrg+ZkfGvY/SuZvO3N6dFaKSM+i9r6\nI4MYDx2KSK94mlW4R5KR/GYwzY5XzzkOUyMIT2k63zk3JqnMpZzLlfbDG+cL\nHnTMkEdFJpJE6nBknqJIEXqhXZjF30tll8WBprgv2r1Ele0jSlG/R5vpEVLE\nLFzxB0bihnH2JbFHq94jKRDBKFlpsOiDR0UBx3NrGtwDbhYQ3kIrZO5vEFui\nqiOk\r\n=6NHX\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBgBfmTMBq0/h5WRkN+W055xgeqNh3JzfeBMSjpwvlkKAiEA9/LwCg8PwFcHEEgB7RphBjMooe/+dB291jgtCxVggxs="}]},"maintainers":[{"name":"anantgarg","email":"anant.garg@inscripts.com"},{"name":"gajraajay","email":"ajay.gajra@inscripts.in"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cometchat-pulse.js_0.0.11_1547220381749_0.768685786568281"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.0.12":{"name":"@cometchat-pulse/cometchat-pulse.js","version":"0.0.12","description":"A complete chat solution.","main":"CometChat.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":["CometChat","chat","messaging","chat","sdk","message","sdk","messaging","sdk","audio","chat","video","chat","webRTC"],"author":{"name":"CometChat"},"license":"SEE LICENSE IN LICENSE.md","repository":{"type":"git","url":"git+https://github.com/CometChat-Pulse/javascript-chat-sdk.git"},"bugs":{"url":"https://github.com/CometChat-Pulse/javascript-chat-sdk/issues"},"homepage":"https://github.com/CometChat-Pulse/javascript-chat-sdk#readme","gitHead":"c7acb58e42903179119dc90d2528038dd1ae5d45","_id":"@cometchat-pulse/cometchat-pulse.js@0.0.12","_npmVersion":"6.5.0","_nodeVersion":"8.11.3","_npmUser":{"name":"gajraajay","email":"ajay.gajra@inscripts.in"},"dist":{"integrity":"sha512-hWLn+CIJX7vH1bDoCbD0sQ0PRfTc9Wd4/VFgb6JxTZgstPctL8RvpuxIXrGXYpBApICMsDoMRxDEo/T3Ns2S5g==","shasum":"4398d912597cc140bf4da077748a22fca66d9342","tarball":"https://registry.npmjs.org/@cometchat-pulse/cometchat-pulse.js/-/cometchat-pulse.js-0.0.12.tgz","fileCount":4,"unpackedSize":238862,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcPDwVCRA9TVsSAnZWagAALTQP/iOHSoHsDNjdmHmoVF4m\nQ8MpPJJxRzI9JVDybemkXANiO7ticWXPC8bflpPlqa9Z7uAJFq7lCpTd/S+w\n2KNnTsYkSrcF4x2olGg26P0SIAYTNF3kT6w5+BMGla4HQ1RRTU7ohkZXxlzS\nUSNRU/4C3L3zLP9TijK2RvobltuP1KQqptes2EAgxSJHnsbTcqfstZjmTfhC\nCayUjSCN95zaZMeBjdYSn39gfgIFGydwz55m6jc4XbdJJmVp5tljzpHBwCC4\nJInys220xmOqUnRMPGiOFBD5Oi7wUMhs9CI9IeEjGlFTRD5uPr6Cb+l9MWP9\nRoUcpxFXMzYxZ5/UftzE4xlXq6Yvh9RRH4MVhq1aLGWliPDmK6ebcgN2FWdG\nLtEPh3MTOhhyIKQMf3B/XoDYgnczyqgKadnLwaA4T5vqKHikye+xqx+uI51u\nL74coey9nIIx/wnsDNCwA4oRByDoQ+r/Gtr/DZKM8HbDpdaRfDpwSr2BZi+L\n9Gj8lwNqpMlnkEI0DMECg7DEC24Q+aSqWapmRZWr55LG1BweVyuvAchCu0Xp\noVg9hAJhyGgJMd0fwXzj7FzLUr5RGPYy1v9b7VPiFNkvH5+aRB7b66V3tPaA\ngclnLDsXvvAwPoIIK/4jeepmf45/5o7OZ6xmNaEt0ZBiCNbv5QRLOxBTpqxO\n6uP0\r\n=8iTP\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIExc1UZiGbVAy17tqQgtbB6HLt0//irphrDaLtfbMh5kAiEAusaihvJYzoSI2A2ho58hdj0gskgQoVX2OwEOMiXVR1I="}]},"maintainers":[{"name":"anantgarg","email":"anant.garg@inscripts.com"},{"name":"gajraajay","email":"ajay.gajra@inscripts.in"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cometchat-pulse.js_0.0.12_1547451412332_0.9077128289731231"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."}},"time":{"created":"2018-12-03T18:38:23.093Z","0.0.1-alpha":"2018-12-03T18:38:23.425Z","modified":"2024-04-05T12:08:24.516Z","0.0.1":"2018-12-04T11:58:47.491Z","0.0.2":"2018-12-06T16:10:12.243Z","0.0.2-alpha":"2018-12-06T16:29:49.538Z","0.0.3":"2018-12-12T13:37:42.105Z","0.0.4":"2018-12-12T15:49:49.972Z","0.0.5":"2018-12-23T15:06:29.686Z","0.0.6":"2018-12-31T15:29:26.687Z","0.0.7":"2019-01-04T13:08:20.488Z","0.0.8":"2019-01-07T15:33:10.755Z","0.0.9":"2019-01-08T15:24:06.990Z","0.0.10":"2019-01-10T13:45:43.323Z","0.0.11":"2019-01-11T15:26:21.926Z","0.0.12":"2019-01-14T07:36:52.450Z"},"maintainers":[{"name":"anantgarg","email":"anant.garg@inscripts.com"},{"name":"gajraajay","email":"ajay.gajra@inscripts.in"}],"description":"A complete chat solution.","keywords":["CometChat","chat","messaging","chat","sdk","message","sdk","messaging","sdk","audio","chat","video","chat","webRTC"],"author":{"name":"CometChat"},"license":"SEE LICENSE IN LICENSE.md","readme":"<div style=\"width:100%\">\n\t<div style=\"width:50%; display:inline-block\">\n\t\t<h1> CometChat Pulse</h1> \n\t\t<img align=\"left\" width=\"150\" height=\"150\" alt=\"CometChat Pulse\" src=\"https://app.cometchat.com/resources/images/login/SmallLogo.png\">\t\t\n\t</div>\t\n</div>\n</br>\n</br>\n<h2> The simplest voice, video and text chat SDK</h2>\nCometChat enables you to add voice, video and text chat to your  app in minutes! \n\n\n### Table of Content \n   \n   1. [Before you start](#before-you-start)\n   \n   2. [Adding JS SDK to your project](#adding-js-sdk-to-your-project)\n   \n   3. [Initialize the CometChat Pulse SDK](#initialize-the-cometchat-pulse-sdk)\n   \n   4. [Authentication](#Authentication)\n   \n       - [Login using UserId and API KEY](#login-using-userid-and-api-key)\n       \n       - [Login using App Id and Auth Token](#login-using-app-id-and-auth-token)\n   \n   5.  [User](#get-list-of-users)\n          \n       - [Get list of Users](#get-list-of-users)\n       \n       - [Get User Information](#get-user-information)\n       \n   6.  [Group](#get-list-of-groups)    \n   \n       - [Get list of groups](#get-list-of-groups)\n       \n       - [Get Group information](#get-group-information)\n  \n       - [Create a group](#create-a-group)\n       \n       - [Join a Group](#join-a-group)\n       \n       - [Leave a Group](#leave-a-group)\n       \n       - [Get the list of Group Members](#get-the-list-of-group-members)\n       \n   7.  [Send A Message](#send-a-message)  \n       \n       - [Send a Text Message](#send-a-text-message)\n       \n       - [Send Media Message](#send-media-message)\n    \n   8.  [Fetching previous messages](#fetching-previous-messages)\n        \n       - [By timestamp](#by-timestamp)\n       \n       - [By message Id](#by-message-id)\n   \n       \n\n\n### Before you start\n\n The first thing we need to do is grab all the necessary information to start with **CometChat Pulse**.\nPlease keep following information handy.\n\n| APP ID  \t| Unique identification of your app.Generated and given to you at the time of app creation. \t|\n|---------\t|-------------------------------------------------------------------------------------------\t|\n| API KEY \t| The API keys are use to give authorized access to app.                                      | \n\n\n### Adding JS SDK to your project\n\nYou can add the CometChat JS SDK to your project using `npm`.\n Please follow the below steps to get started.\n\n\n```javascript\nnpm i @cometchat-pulse/cometchat-pulse.js\n```\n### OR\n\n```html\n<script type=\"text/javascript\" src=\"https://unpkg.com/@cometchat-pulse/cometchat-pulse.js/CometChat.js\">\n```\n#### now you can start using CometChat Pulse.\n\n```javascript\nimport { CometChat } from '@cometchat-pulse/cometchat-pulse.js';\n```\n### Initialize the CometChat Pulse SDK\n\nThis method will initializes the  CometChat SDK, initializes the basic settings required for the CometChat SDK to function.\n*You need to use the below method to do so*\n```javascript\nvar appId=\"xxxxxxxx\";\nCometChat.init(appId);\n```\n> This method needs to be called once in the entire scope of the app. We suggest you call the `init()` method before you call any other method from `CometChat`\"\n\nOnce you have initialized the CometChat Pulse SDK you can call Login.\n\n### Login\n\nOnce the initialization is successful, you will need to log the user into CometChat. you do it by following simple instructions provided below.\n\n```javascript\nvar appId=\"xxxxxxxx\";\nCometChat.init(appId);\nvar UID = \"SUPERHERO1\";\nvar apiKey = \"xxxxxxxxxxxxxxxxxxxxxxxxx\";\nCometChat.login(UID,apiKey).then(AppUser=>{\n  console.log(\"AppUser Information :\", {AppUser});\n  // do something when login is successful \n}).catch(error=>{\n  console.log(\"AppUser Information :\", {error});\n  // do something when login fails  \n});\n```\n**AppUser object will look as follow** \n```json\n{ \n    \"uid\": \"superhero1\",\n    \"name\": \"name provided at the time of registration\",\n    \"authToken\": \"secure-auth-token-created for this session\",\n    \"avatar\": \"avatar-url-provided-at-the-time-of-user-creation\", \n    \"link\": \"profile-url-provided-at-the-time-of-registration\",\n    \"status\": \"offline | online\",\n    \"language\": \"json\"\n}\n```\n As soon as you are logged in successfully you can start sending and receiving messages(Text/Multimedia messages) by following the simple instructions provided bellow.\n\n### Send A Message.\n\nUsing CometChat, you can send two types of messages viz.\n\n1. TextMessage - a plain text message\n2. MediaMessage - Any media can be shared like image, video, audio, file etc.\n\n## Send a Text Message:\nIn order to send a text message to a user or to a group, you can use the `sendMessage()` method provided by the `CometChat` class. \nThe `sendMessage()` method takes an object of the `TextMessage` class.\n \nThe TextMessage class has the below constructor which takes the mandatory parameters. You can use the same to create an object of the class as shown below.\n\n```javascript \n  var textMessage=new TextMessage(uid, text, MESSAGE_TYPE.TEXT, RECEIVER_TYPE.USER);\n```\n`CometChat.sendMessage` will return `Javascript Promise` and informs you when the message was sent successfully.\nUsing the object of the TextMessage class created above, you can use the `sendMessage()` method as shown below to send a text message.\n\n```javascript \nvar uid=\"SUPERHERO2\";\nvar text=\"Hello\";\n\nimport { CometChat, TextMessage } from '@cometchat-pulse/cometchat-pulse.js';\n\nvar textMessage=new TextMessage(uid, text, MESSAGE_TYPE.TEXT, RECEIVER_TYPE.USER);\ncometchat.sendMessage(textMessage).then((message) => {\n  console.log(\"sent message info:\",messsage);\n \t//Do something with message\n}, (error) => {\n  \t//Handle any error\n});\n```\n**Message object obtained from send message promise** \n```javascript \n{\n  \"receiver\": \"superhero2\",\n  \"type\": \"text\",\n  \"receiverType\": \"user\",\n  \"category\": \"message\",\n  \"data\": {\n    \"text\": \"Hello\",\n    \"entities\": {\n      \"sender\": {\n        \"entity\": {\n          \"uid\": \"superhero1\",\n          \"name\": \"SUPERHERO1\",\n          \"link\": \"https://abc.xyz.com\",\n          \"avatar\": \"image-url\",\n          \"status\": \"offline\",\n          \"role\": \"admin\"\n        },\n        \"entityType\": \"user\"\n      },\n      \"receiver\": {\n        \"entity\": {\n          \"uid\": \"superhero2\",\n          \"name\": \"SUPERHERO2\",\n          \"link\": \"https://abc.xyz.com\",\n          \"avatar\": \"image-url\",\n          \"status\": \"offline\"\n        },\n        \"entityType\": \"user\"\n      }\n    }\n  },\n  \"text\": \"Hello\",\n  \"id\": \"496\",\n  \"sender\": \"superhero1\",\n  \"sentAt\": 1544169596\n}\n```\n\n### Receiving Messages.\nIn order to receive incoming messages, you will have to register listeners for the same. To register a listener for incoming messages you can use the `addMessageEventListener()` which takes two parameters:\n1. A unique listener id\n2. An object of the `MessageEventListener` class.\n\nYou can register the incoming listeners as shown below:\n\n```javascript\nCometChat.addMessageEventListner(\n\t\"unique_listener_id\",\n\tnew MessageEventListener({\n\t\tonActionRecived: action => {\n\t\t\t// handle actions\n\t\t},\n\t\tonMessageReceived: message => {\n\t\t\tif (message instanceof TextMessage) {\n\t\t\t\t// handle text messages\n\t\t\t} else if (message instanceof MediaMessage) {\n\t\t\t\t// handle media messages\n\t\t\t}\n\t\t}\n\t})\n);\n```\nYou need to add these listeners where you need to receive events of messages or actions received.\n\nYou can also remove the listeners once it is not in use using the below methods:\n\n```javascript\n    CometChat.removeMessageEventListener(\"unique_listener_id\");\n```\n\n\n### Authentication.\nFollowing are two different ways to login and start using CometChat.\n\n#### 1.Login Using UID and API-KEY\n```javascript \nvar appId=\"xxxxxxxx\";\nCometChat.init(appId);\nvar UID = \"SUPERHERO1\";\nvar apiKey = \"xxxxxxxxxxxxxxxxxxxxxxxxx\";\n\nCometChat.login(UID,apiKey).then(AppUser=>{  \n  console.log(\"AppUser Information :\", {AppUser});\n   // do something when login is successful  \n  \n}).catch(error=>{  \n  console.log(\"AppUser Information :\", {error});\n   // do something when login fails  \n  \n});\n```\n\n> We suggest you avoid using this method, as this method takes the API-key as a parameter which can be insecure as the API-key can be obtained from the `Javascript` file. We suggest that you generate the auth-token using our [Restful API](https://cometchat-8.readme.io/v1/docs/js-quick-start-guide) at the server once the user is successfully authenticated for your app and then at the app level call the login method which only accepts the *Auth-Token* as shown below\"\n}\n\n## Login using App Id and Auth Token \n```javascript var appId=\"xxxxxxxx\";\nCometChat.init(appId);\nvar authToken = \"xxxxxxxxxxxxxxxxxxxxxxxxx\";\nCometChat.login(authToken).then(AppUser=>{ \nconsole.log(\"AppUser Information :\", {AppUser});\n   // do something when login is successful  \n}).catch(error=>{  console.log(\"AppUser Information :\", {error});\n  // do something when login fails \n});\n```\n\n**AppUser object will look as follow** \n\n\n```json\n{ \n    \"uid\": \"superhero1\",\n    \"name\": \"name provided at the time of registration\",\n    \"authToken\": \"secure-auth-token-created for this session\",\n    \"avatar\": \"avatar-url-provided-at-the-time-of-user-creation\", \n    \"link\": \"profile-url-provided-at-the-time-of-registration\",\n    \"status\": \"offline | online\",\n    \"language\": \"json\"\n}\n```\nYou can get more methods of [AppUser](https://cometchat-8.readme.io/v1/docs/js-cometchat-classes-appendix#section-appuser) class form [here](https://cometchat-8.readme.io/v1/docs/js-cometchat-classes-appendix#section-appuser)\n\n\n### Get list of Users\n\nIn order to fetch the list of users available to chat, you will have to make use of a class named `UsersRequest`. Using the `fetchNext()` method provided by the class, you can obtain a paginated list of Users to chat with.\n\nYou need to use the `UsersRequestBuilder` class to create an object of the `UsersRequest` class. \nThe `build()` method of the `UsersRequestBuilder` class returns an object of the `UsersRequest` class. This object can be used to call the `fetchNext()` method to get all the users available to chat with.\n\nAll the pagination related information is handled internally. You just need to be careful to call the `fetchNext()` method on the same object.\n\nYou can achieve this as shown below:\n\n```javascript \nimport { CometChat, UsersRequestBuilder } from '@cometchat-pulse/cometchat-pulse.js';\n\nvar limit = 30;\nvar usersRequestBuilder = new UsersRequestBuilder();\nvar usersRequest = usersRequestBuilder.setLimit(limit).build();\n\nusersRequest.fetchNext().then(\n    appUserList => {\n        //Handle list of the AppUsers.\n        appUserList.map(appUser => {\n            //handle the appUser individualy.\n        });\n    },\n    error => {\n        //Handle error.\n    }\n);\n```\nThis can be implemented along with scrolling, to display the complete list of users available to chat.\n\nThe UsersRequestBuilder class allows you to set the limit to the number of users fetched in a single operation. You can use the `setLimit(limit)` method as shown in the above code snippet. The maximum limit for a single operation is 100, while the default limit is set to 20;\n\nYou will receive the `array` of `AppUsers` in the  resolve method of the promise.\n\nif you reach the end of the list?, it will give you the **empty array.** \n\n```json\n[\n  {\n    \"uid\": \"superhero1\",\n    \"name\": \"name provided at the time of registration\",\n    \"authToken\": \"secure-auth-token-created for this session\",\n    \"avatar\": \"avatar-url-provided-at-the-time-of-user-creation\",\n    \"link\": \"profile-url-provided-at-the-time-of-registration\",\n    \"status\": \"offline | online\",\n    \"lastActiveAt\": \"1544114449235\"\n  },\n  {\n    \"uid\": \"superhero10\",\n    \"name\": \"name provided at the time of registration\",\n    \"authToken\": \"secure-auth-token-created for this session\",\n    \"avatar\": \"avatar-url-provided-at-the-time-of-user-creation\",\n    \"link\": \"profile-url-provided-at-the-time-of-registration\",\n    \"status\": \"offline | online\",\n    \"lastActiveAt\": \"1544114449235\"\n  },\n  {\n    \"uid\": \"superhero100\",\n    \"name\": \"name provided at the time of registration\",\n    \"authToken\": \"secure-auth-token-created for this session\",\n    \"avatar\": \"avatar-url-provided-at-the-time-of-user-creation\",\n    \"link\": \"profile-url-provided-at-the-time-of-registration\",\n    \"status\": \"offline | online\",\n    \"lastActiveAt\": \"1544114449235\"\n  }\n]\n```\n### Get User Information \nTo get the information of any particular user, you can use the `getUser()` method provided by the CometChat class. You can use the method as shown below:\n```javascript\nimport { CometChat } from '@cometchat-pulse/cometchat-pulse.js';\n\nvar uid=\"SUPERHERO2\" //udi is the unique id of the user whos info is to be requested\nCometChat\n\t.getUser(uid) \n\t.then(AppUser => {\n\t\t// Handle the user\n\t})\n\t.catch(error => {\n\t\t// Handle error\n\t});\n```\nexpected user\n```JSON\n{\n  \"uid\": \"SUPERHERO2\",\n  \"name\": \"SUPERHERO2\",\n  \"avatar\": \"avatar-url-provided-at-the-time-of-user-creation\",\n  \"lastActiveAt\": \"1543917470588\",\n  \"link\": \"profile-url-provided-at-the-time-of-registration\",\n  \"status\": \"offline|online\"\n}\n```\n> Only the information provided at the time of the user creation or updating will be available except for the `status` and `lastActiveAt` values.\n\n### Get list of groups\nIn order to fetch the list of groups available to chat, you will have to make use of a class named `GroupsRequest`. Using the `fetchNext()` method provided by the class, you can obtain a paginated list of Groups to chat in.\n\nYou need to use the `GroupsRequestBuilder` class to create an object of the `GroupsRequest` class. \nThe `build()` method of the `GroupsRequestBuilder` class returns an object of the `GroupsRequest` class. This object can be used to call the `fetchNext()` method to get all the users available to chat with.\n\nAll the pagination related information is handled internally. You just need to be careful to call the `fetchNext()` method on the same object.\n\nYou can achieve this as shown below:\n```javascript\nimport { GroupsRequestBuilder } from '@cometchat-pulse/cometchat-pulse.js';\nvar limit=30;\n\nvar groupsRequestBuilder = new GroupsRequestBuilder();\nvar groupRequest = groupsRequestBuilder.setLimit(limit).build();\n\ngroupRequest.fetchNext().then(groupList => {  \n  // Handle the groups in the list \n  groupList.map(group=>{\n    //handle the group\n  \tconsole.log(group);\n  });  \n}, error => {\n  // Handle Exception\n});\n\n```\n\n**Group List** \n```JSON\n[\n  {\n    \"guid\": \"SUPERGROUP1\",\n    \"name\": \"SUPERGROUP ONE\",\n    \"type\": \"public\",\n    \"description\": \"Description for your group\",\n    \"createdAt\": 1543931213,\n    \"owner\": \"superhero1\",\n    \"hasJoined\": true\n  },\n  {\n    \"guid\": \"SUPERGROUP2\",\n    \"name\": \"SUPERGROUP TWO\",\n    \"type\": \"protected\",\n    \"description\": \"Description for your group\",\n    \"createdAt\": 1544024856,\n    \"owner\": \"superhero13\"\n  },\n  {\n    \"guid\": \"SUPERGROUP3\",\n    \"name\": \"SUPERGROUP THREE\",\n    \"type\": \"private\",\n    \"description\": \"Description for your group\",\n    \"icon\": \"https://www.w3schools.com/w3css/img_lights.jpg\",\n    \"createdAt\": 1543933128,\n    \"owner\": \"superhero6\",\n    \"hasJoined\": true\n  }\n]\n```\n\n### Get Group information\nTo get the information of any particular group, you can use the getGroup() method provided by the CometChat class. You can use the method as shown below:\n\n```javascript\n\nvar guid = \"SUPERGROUP1\";\nCometChat.getGroup(guid).then(\n\tgroup => {\n\t\t// Handle the group obtained\n\t\tconsole.log(\"Information of the group:\", group);\n\t},\n\terror => {\n\t\t// Handle Exception\n\t}\n);\n```\n**Group object.** \n```json\n {\n    \"guid\": \"SUPERGROUP1\",\n    \"name\": \"SUPERGROUP ONE\",\n    \"type\": \"public\",\n    \"description\": \"Description for your group\",\n    \"createdAt\": 1543931213,\n    \"owner\": \"superhero1\",\n    \"hasJoined\": true\n  }\n  ```\n  In either of the two methods described above, you are provided with an object of the Group class. This object contains all the relevant information pertaining to that group. You can find more information [here](/docs/js-cometchat-classes-appendix#section-group)\n  \n  ### Create a group\n  \n  You can create a group using `createGroup()` method. This method takes a `Group` object as a parameter which takes all the information related to the group. So, in order to create a group, you will have to create an object of the group and assign all the values to the group. \n\nTo create a group, you can use either of the below two constructors:\n\n1. new Group(String guid, String name, Group.Type.Private, String password);\n\n2. new Group(String guid, String name, Group.Type.Private, String password, String icon, String description)\n\nThe groupType needs to be either of the below 3 values :\n1. Group.Type.Public\n2. Group.Type.Private \n3. Group.Type.Protected\n\n```javascript\nimport { Group } from '@cometchat-pulse/cometchat-pulse.js';\nimport { Group } from '@cometchat-pulse/cometchat-pulse.js';\n\nvar guid = \"SUPERGROUP2\";\nvar groupName = \"Group Name\"\nvar group = new Group(guid, groupName, Group.Type.Public);\n\nCometChat.createGroup(group).then(group => {\n\tconsole.log(\"On Group Created\", JSON.stringify(group))\n\t// Handle the group Obtained.\n}, error => {\n\tconsole.log(\"Error in group creation\", error)\n\t// Handle Exception\n}); \n```\n**Expected group object** \n```json\n{\n  \"guid\": \"supergroup2\",\n  \"name\": \"Group Name\",\n  \"type\": \"public\",\n  \"createdAt\": 1544166885,\n  \"owner\": \"superhero1\"\n}\n```\n### Join a Group\nIn order to start participating in group conversations, you will have to join a group. You can do so using the `joinGroup()` method provided by the `CometChat` class. You can refer to the code snippet shown below to achieve this.\n```javascript\nimport { CometChat } from '@cometchat-pulse/cometchat-pulse.js';\n\nvar guid = \"SUPERGROUP1\"; // guid of the group to join\nvar groupName = \"Name of the group\";\nvar password = \"\"; // mandatory in case of protected group\n\nCometChat.joinGroup(guid, groupName, Group.Type.Private, password).then(\n\tgroup => {\n\t\tconsole.log(\"Joined group\", group);\n\t\t// handle group join success\n\t},\n\terror => {\n\t\t// handle exception\n\t}\n);\n```\nOnce you have joined a group successfully, you will be able to receive the messages for that group and will also be able to send messages in the group.\nThe CometChat SDK keeps a track of the groups joined by any user and thus it is not necessary to join the group everytime you need to communicate in the group. You can identify if a group is joined using the `hasJoined` parameter in the group object. For more information, please check [here](/docs/js-cometchat-classes-appendix#section-group).\n\n*In order to stop receiving updates and messages from any joined group, you will have to leave the group as described in the `Leave a Group section`* \n\nYou will receive a list of `GroupMember` objects. For more details related to the information carried by the `GroupMember`  class please check [here](/docs/android-cometchat-classes-appendix#section-group-member)\n\n\n### Leave a Group\nIn order to stop receiving updates and messages for any particular joined group, you will have to leave the group. To achieve this you will have to use the `leaveGroup()` method provided by the `CometChat` class as shown below:\n```javascript\nvar guid = \"SUPERGROUP1\"; // guid of the group to join\n\nCometChat.leaveGroup(guid).then(\n\thasLeft => {\n\t\tconsole.log(\"is user left the group\", hasLeft);\n    \t\t//Posible values for hasLeft true|false\n\t\t//Handler group leaving operation.\n\t},\n\terror => {\n\t\tconsole.log(\"Error\", { e });\n\t\t//handle error\n\t}\n);\n```\nOnce a group is left, the user will not receive any updates or messages pertaining to the group. To start receiving the messages for the group again, the user will have to join the group again.\n\n### Get the list of Group Members\nIn order to fetch the list of the group members available in the group, you will have to make use of a class named `GroupMembersRequest`. Using the `fetchNext()` method provided by the class, you can obtain a paginated list of Group Members available in the group.\n\nYou need to use the `GroupMembersRequestBuilder` class to create an object of the `GroupMembersRequest` class. \nThe `build()` method of the `GroupMembersRequestBuilder` class returns an object of the `GroupMembersRequest` class. This object can be used to call the `fetchNext()` method to get all the users available to chat with.\n\nAll the pagination related information is handled internally. You just need to be careful to call the `fetchNext()` method on the same object and not create a new object everytime to call the `fetchNext()` method.\n\nYou can achieve this as shown below:\n\nimport { GroupMembersRequestBuilder } from '@cometchat-pulse/cometchat-pulse.js';\n\n```javascript\nvar guid = \"SUPERGROUP1\";\nvar limit = 30;\nvar groupMemberRequest = new GroupMembersRequestBuilder(guid).setLimit(limit).buid();\n\ngroupMemberRequest.fetchNext().then(\n\tgroupMembers => {\n\t\t// Handle the group members in the list\n\t\tconsole.log(\"List of group members\", groupMembers);\n\t},\n\terror => {\n\t\t// Handle Exception\n\t}\n);\n\n```\nThis can be implemented along with scrolling, to display the complete list of group members available in the group.\n\nThe `GroupMembersRequestBuilder` class constructor takes the guid of the group for which the members are to be fetched as a mandatory parameter.\n\nThe `GroupMembersRequestBuilder` class also allows you to set the limit to the number of users fetched in a single operation. You can use the `setLimit(int limit)` method as shown in the above code snippet. The maximum limit for a single operation is 100, while the default limit is set to 20;\n\nYou will receive the list of users as the `promise`\n\n```json\n[\n  {\n    \"isBanned\": 0,\n    \"guid\": \"SUPERGROUP1\",\n    \"uid\": \"superhero3\",\n    \"scope\": \"participant\",\n    \"user\": {\n      \"uid\": \"superhero3\",\n      \"name\": \"name provided at the time of registration\",\n      \"authToken\": \"secure-auth-token-created for this session\",\n      \"avatar\": \"avatar-url-provided-at-the-time-of-user-creation\",\n      \"link\": \"profile-url-provided-at-the-time-of-registration\",\n      \"status\": \"offline | online\",\n      \"lastActiveAt\": \"1544114449235\"\n    },\n    \"joinedAt\": 1543921793\n  },\n  {\n    \"isBanned\": 0,\n    \"guid\": \"SUPERGROUP1\",\n    \"uid\": \"superhero4\",\n    \"scope\": \"participant\",\n    \"user\": {\n      \"uid\": \"superhero4\",\n      \"name\": \"name provided at the time of registration\",\n      \"authToken\": \"secure-auth-token-created for this session\",\n      \"avatar\": \"avatar-url-provided-at-the-time-of-user-creation\",\n      \"link\": \"profile-url-provided-at-the-time-of-registration\",\n      \"status\": \"offline | online\",\n      \"lastActiveAt\": \"1544114449235\"\n    },\n    \"joinedAt\": 1543922035\n  },\n  {\n    \"isBanned\": 0,\n    \"guid\": \"SUPERGROUP1\",\n    \"uid\": \"superhero6\",\n    \"scope\": \"participant\",\n    \"user\": {\n      \"uid\": \"superhero6\",\n      \"name\": \"name provided at the time of registration\",\n      \"authToken\": \"secure-auth-token-created for this session\",\n      \"avatar\": \"avatar-url-provided-at-the-time-of-user-creation\",\n      \"link\": \"profile-url-provided-at-the-time-of-registration\",\n      \"status\": \"offline | online\",\n      \"lastActiveAt\": \"1544114449235\"\n    },\n    \"joinedAt\": 1543922388\n  }\n]\n```\n> You will receive a list of `GroupMember` objects. For more details related to the information carried by the `GroupMember`  class please check [here](/docs/js-cometchat-classes-appendix#section-group-member)\n\n\n### Send A Message\n\nUsing CometChat, you can send two types of messages viz.\n\n1. TextMessage - a plain text message\n2. MediaMessage - Any media can be shared like image, video, audio, file etc.\n\n### Send a Text Message:\nIn order to send a text message to a user or to a group, you can use the `sendMessage()` method provided by the `CometChat` class. \nThe `sendMessage()` method takes an object of the `TextMessage` class.\n \nThe TextMessage class has the below constructor which takes the mandatory parameters. You can use the same to create an object of the class as shown below.\n```javascript\nvar textMessage=new TextMessage(uid, text, MESSAGE_TYPE.TEXT, RECEIVER_TYPE.USER);\n```\n`CometChat.sendMessage` will return `Javascript Promise` and informs you when the message was sent successfully.\nUsing the object of the TextMessage class created above, you can use the `sendMessage()` method as shown below to send a text message.\n\n#### Send message to user\n```javascript\nimport { TextMessage } from '@cometchat-pulse/cometchat-pulse.js';\n\nvar uid=\"SUPERHERO2\";\nvar text=\"Hello\";\n\nvar textMessage=new TextMessage(uid, text, MESSAGE_TYPE.TEXT, RECEIVER_TYPE.USER);\ncometchat.sendMessage(textMessage).then((message) => {\n  console.log(\"sent message info:\",messsage);\n \t//Do something with message\n}, (error) => {\n  \t//Handle any error\n});\n```\n#### Send message to group\n```javascript\nimport { TextMessage } from '@cometchat-pulse/cometchat-pulse.js';\nvar TextMessage = CometChat.TextMessage;\nvar uid=\"SUPERGROUP1\";\nvar text=\"Hello\";\n\nlet textMessage=new TextMessage(uid, text, MESSAGE_TYPE.TEXT, RECEIVER_TYPE.GROUP);\n\nCometChat.sendMessage().then((message) => {\t\n  if(message instanceOf TextMessage)\n \t//Do something with message\n}, (error) => {\n  \t//Handle any error\n}); \n```\n**Message object obtained from send message promise** \n```json\n{\n  \"receiver\": \"superhero2\",\n  \"type\": \"text\",\n  \"receiverType\": \"user\",\n  \"category\": \"message\",\n  \"data\": {\n    \"text\": \"Hello\",\n    \"entities\": {\n      \"sender\": {\n        \"entity\": {\n          \"uid\": \"superhero1\",\n          \"name\": \"SUPERHERO1\",\n          \"link\": \"https://abc.xyz.com\",\n          \"avatar\": \"image-url\",\n          \"status\": \"offline\",\n          \"role\": \"admin\"\n        },\n        \"entityType\": \"user\"\n      },\n      \"receiver\": {\n        \"entity\": {\n          \"uid\": \"superhero2\",\n          \"name\": \"SUPERHERO2\",\n          \"link\": \"https://abc.xyz.com\",\n          \"avatar\": \"image-url\",\n          \"status\": \"offline\"\n        },\n        \"entityType\": \"user\"\n      }\n    }\n  },\n  \"text\": \"Hello\",\n  \"id\": \"496\",\n  \"sender\": \"superhero1\",\n  \"sentAt\": 1544169596\n}\n```\n> you can call [`getSender()`](https://cometchat-8.readme.io/v1/docs/js-cometchat-classes-appendix#section-appuser)method on message Object to obtain the complete information of the sender as an [`AppUse`](https://cometchat-8.readme.io/v1/docs/js-cometchat-classes-appendix#section-appuser) object\n\n### Send Media Message:\n\nJust like sending a TextMessage, you need to use the MediaMessage class to send any type of media messages to a user or a group.\n\nAn object of the MediaMessage class can be created as shown below:\n```javascript\nimport { MediaMessage } from '@cometchat-pulse/cometchat-pulse.js';\nvar mediaMessage=new MediaMessage(fileobject,MESSAGE_TYPE.FILE, RECEIVER_TYPE.GROUP)\n```\n\n```javascript\nvar MediaMessage = CometChat.MediaMessage;\n\nvar uid=\"SUPERHERO2\";\n\nlet mediaMessage=new MediaMessage(uid, `INPUT FILE OBJECT`,MESSAGE_TYPE.MEDIA, RECEIVER_TYPE.USER);\nCometChat.sendMessage(mediaMessage).then((message) => {\t    \n\t  // do something.. \n}, (error) => {\n\t  // handle exceptiobn\n});\n```\n\nThe message types can be one of the below values and can be obtained from the \n`MESSAGE_TYPE`\n1. IMAGE\n2. VIDEO\n3. AUDIO\n4. FILE\n\nBoth TextMessage and MediaMessage have a custom field called **metadata** that can be used to share additional information with any message which will be received at the receiver end as it was sent.\nYou can use the `setMetadata()` and `getMetadata()` methods of the TextMessage or MediaMessage class to set and get the same.\n\n### Receiving Messages.\nIn order to receive incoming messages, you will have to register listeners for the same. To register a listener for incoming messages you can use the `addMessageEventListener()` which takes two parameters:\n1. A unique listener id\n2. An object of the `MessageEventListener` class.\n\nYou can register the incoming listeners as shown below:\n\n```javascript\nimport { TextMessage,CometChat,MediaMessage } from '@cometchat-pulse/cometchat-pulse.js';\nCometChat.addMessageEventListner(\n\t\"unique_listener_id\",\n\tnew MessageEventListener({\n\t\tonActionRecived: action => {\n\t\t\t// handle actions\n\t\t},\n\t\tonMessageReceived: message => {\n\t\t\tif (message instanceof TextMessage) {\n\t\t\t\t// handle text messages\n\t\t\t} else if (message instanceof MediaMessage) {\n\t\t\t\t// handle media messages\n\t\t\t}\n\t\t}\n\t})\n);\n```\nYou need to add these listeners where you need to receive events of messages or actions received.\n\nYou can also remove the listeners once it is not in use using the below methods:\n\n```javascript\nCometChat.removeMessageEventListener(\"unique_listener_id\");\n```\n\nApart from receiving real-time messages and actions, you will also need a mechanism to fetch the previous messages. You can do so using the mechanism mentioned in the next section.\n\n### Fetching previous messages\nIn order to fetch the previous messages for a conversation with any particular user, you will have to make use of a class named `UserMessagesRequest`. Using the `fetchPrevious()` method provided by the class, you can obtain a paginated list of Messages that we a part of the conversation with the user.\n\nYou need to use the `UserMessagesRequestBuilder` class to create an object of the `UserMessagesRequest` class. \nThe `UserMessagesRequestBuilder` class provides constructor:\n\nFollowing are the two ways to build `UserMessagesRequestBuilder`.\n\n```javascript \nimport { UserMessagesRequestBuilder } from '@cometchat-pulse/cometchat-pulse.js';\n\n//Initiated by id.\nvar messageRequestBuilder = new UserMessagesRequestBuilder(uid, currentTime, MESSAGE_REQUEST.ID);\n\n//Initited by message timestamp.\nvar messageRequestBuilder = new UserMessagesRequestBuilder(uid, currentTime, MESSAGE_REQUEST.SENT_AT);\n```\n\nThis can be used if you would like to fetch the previous messages prior to the messageId provided.  To fetch all the messages from the start, you can pass the messageId parameter as 0.\nThe `build()` method of the `UserMessagesRequestBuilder` class returns an object of the `UserMessagesRequest` class. This object can be used to call the `fetchPrevious()` method to get all the users available to chat with.\n\nAll the pagination related information is handled internally. You just need to be careful to call the `fetchPrevious()` method on the same object and not create a new object every time to call the `fetchPrevious()` method.\n\n\nYou can achieve this as shown below:\n\n#### By timestamp\n```javascript\nimport { UserMessagesRequestBuilder } from '@cometchat-pulse/cometchat-pulse.js';\n\nvar uid = \"superhero2\"; //Uid of the user with the communication is happening.;\n\nvar currentTime = parseInt((new Date().getTime() / 1000).toString());\nvar messageRequestBuilder = new UserMessagesRequestBuilder(uid, currentTime, MESSAGE_REQUEST.SENT_AT);\n\nvar messageRequest = messageRequestBuilder.setLimit(50).build();\n\nmessageRequest\n\t.fetchPrevious()\n\t.then(messages => {\n\t\tconsole.log(\"List of messages:\", JSON.stringify(messages));\n\t\t//handle the list of messages\n\t\tmessage.map(message => {\n\t\t\tconsole.log(\"Message object:\", message);\n\t\t\t//handle message object\n\t\t});\n\t\t// handle list of messages received\n\t})\n\t.catch(err => {\n\t\t// handle exception\n\t});\n```\n#### By message Id\n```javascript \nimport { UserMessagesRequestBuilder } from '@cometchat-pulse/cometchat-pulse.js';\nvar uid = \"superhero2\"; //Uid of the user with the communication is happening.;\n\nvar messageId = parseInt((new Date().getTime() / 1000).toString()); // minimum message id available for perticular conversation.\nvar messageRequestBuilder = new UserMessagesRequestBuilder(uid, messageId, MESSAGE_REQUEST.ID);\n\nvar messageRequest = messageRequestBuilder.setLimit(50).build();\nmessageRequest\n\t.fetchPrevious()\n\t.then(messages => {\n\t\tconsole.log(\"List of messages:\", JSON.stringify(messages));\n\t\t//handle the list of messages\n\t\tmessage.map(message => {\n\t\t\tconsole.log(\"Message object:\", message);\n\t\t\t//handle message object\n\t\t});\n\t\t// handle list of messages received\n\t})\n\t.catch(err => {\n\t\t// handle exception\n\t});\n ```\n**Following is the output object you will get** \n```json\n[\n  {\n    \"receiver\": \"superhero1\",\n    \"type\": \"text\",\n    \"receiverType\": \"user\",\n    \"category\": \"message\",\n    \"data\": {\n      \"text\": \"asfasf\",\n      \"entities\": {\n        \"sender\": {\n          \"entity\": {\n            \"uid\": \"superhero2\",\n            \"link\": \"https://abc.xyz.com\",\n            \"name\": \"SUPERHERO2\",\n            \"avatar\": \"provided avatar url\",\n            \"status\": \"offline\"\n          },\n          \"entityType\": \"user\"\n        },\n        \"receiver\": {\n          \"entity\": {\n            \"uid\": \"superhero1\",\n            \"link\": \"https://abc.xyz.com\",\n            \"name\": \"SUPERHERO1\",\n            \"avatar\": \"provided avatar url\",\n            \"status\": \"offline\"\n          },\n          \"entityType\": \"user\"\n        }\n      }\n    },\n    \"text\": \"asfasf\",\n    \"id\": \"64\",\n    \"sender\": \"superhero2\",\n    \"sentAt\": 1543992440\n  },\n  {\n    \"receiver\": \"superhero1\",\n    \"type\": \"text\",\n    \"receiverType\": \"user\",\n    \"category\": \"message\",\n    \"data\": {\n      \"text\": \"asfas\",\n      \"entities\": {\n        \"sender\": {\n          \"entity\": {\n            \"uid\": \"superhero2\",\n            \"link\": \"https://abc.xyz.com\",\n            \"name\": \"SUPERHERO2\",\n            \"avatar\": \"provided avatar url\",\n            \"status\": \"offline\"\n          },\n          \"entityType\": \"user\"\n        },\n        \"receiver\": {\n          \"entity\": {\n            \"uid\": \"superhero1\",\n            \"link\": \"https://abc.xyz.com\",\n            \"name\": \"SUPERHERO1\",\n            \"avatar\": \"provided avatar url\",\n            \"status\": \"offline\"\n          },\n          \"entityType\": \"user\"\n        }\n      }\n    },\n    \"text\": \"asfas\",\n    \"id\": \"65\",\n    \"sender\": \"superhero2\",\n    \"sentAt\": 1543992507\n  },\n  {\n    \"receiver\": \"superhero1\",\n    \"type\": \"text\",\n    \"receiverType\": \"user\",\n    \"category\": \"message\",\n    \"data\": {\n      \"text\": \"sdgsdg\",\n      \"entities\": {\n        \"sender\": {\n          \"entity\": {\n            \"uid\": \"superhero2\",\n            \"link\": \"https://abc.xyz.com\",\n            \"name\": \"SUPERHERO2\",\n            \"avatar\": \"provided avatar url\",\n            \"status\": \"offline\"\n          },\n          \"entityType\": \"user\"\n        },\n        \"receiver\": {\n          \"entity\": {\n            \"uid\": \"superhero1\",\n            \"link\": \"https://abc.xyz.com\",\n            \"name\": \"SUPERHERO1\",\n            \"avatar\": \"provided avatar url\",\n            \"status\": \"offline\"\n          },\n          \"entityType\": \"user\"\n        }\n      }\n    },\n    \"text\": \"sdgsdg\",\n    \"id\": \"66\",\n    \"sender\": \"superhero2\",\n    \"sentAt\": 1543992566\n  },\n  {\n    \"receiver\": \"superhero2\",\n    \"type\": \"text\",\n    \"receiverType\": \"user\",\n    \"category\": \"message\",\n    \"data\": {\n      \"text\": \"asfasfasf\",\n      \"entities\": {\n        \"sender\": {\n          \"entity\": {\n            \"uid\": \"superhero1\",\n            \"link\": \"https://abc.xyz.com\",\n            \"name\": \"SUPERHERO1\",\n            \"avatar\": \"provided avatar url\",\n            \"status\": \"offline\"\n          },\n          \"entityType\": \"user\"\n        },\n        \"receiver\": {\n          \"entity\": {\n            \"uid\": \"superhero2\",\n            \"link\": \"https://abc.xyz.com\",\n            \"name\": \"SUPERHERO2\",\n            \"avatar\": \"provided avatar url\",\n            \"status\": \"offline\"\n          },\n          \"entityType\": \"user\"\n        }\n      }\n    },\n    \"text\": \"asfasfasf\",\n    \"id\": \"67\",\n    \"sender\": \"superhero1\",\n    \"sentAt\": 1543992740\n  }\n]\n```\n\nThis, when implemented with upward scrolling, can enable you to fetch the entire conversation with any user. You can use the `setLimit()` method of the builder class to set the number of messages to be received in one iteration.\n\n> **For Group**\n> Similarly, for Groups, You need to use the `**GroupMessagesRequest**` class and pass the id of the group to the builder constructor in place of the user uid. Everything else stays the same.\n\nIn the case of the list of Messages Received, the messages can be either of the 3 types:\n\n1. TextMessage\n2. MediaMessage\n3. Action\n\nyou will have to check for all the three types to segregate the messages and act on the same accordingly. This can be done using the `instanceOf` operator in java.  This can also be achieved using the category variable available. \nThe category can either be `message` or `action`.\n\nFor, detailed information regarding the `TextMessage`, `MediaMessage` and Action classes, you can check [this](/docs/android-cometchat-classes-appendix#section-messages)\n","readmeFilename":"README.md","homepage":"https://github.com/CometChat-Pulse/javascript-chat-sdk#readme","repository":{"type":"git","url":"git+https://github.com/CometChat-Pulse/javascript-chat-sdk.git"},"bugs":{"url":"https://github.com/CometChat-Pulse/javascript-chat-sdk/issues"}}