{"_id":"@cometchat-pro/chat","_rev":"188-d9b4df6ea725cc7e3f95dc797d37cbd7","name":"@cometchat-pro/chat","dist-tags":{"beta":"3.0.2-beta1","latest":"3.0.13"},"versions":{"0.0.1":{"name":"@cometchat-pro/chat","version":"0.0.1","keywords":["CometChat","chat","messaging","chat","sdk","pro","message","sdk","messaging","sdk","audio","chat","video","chat","webRTC"],"author":{"name":"CometChat"},"license":"SEE LICENSE IN LICENSE.md","_id":"@cometchat-pro/chat@0.0.1","maintainers":[{"name":"gajraajay","email":"ajay.gajra@inscripts.in"},{"name":"anantgarg","email":"anant.garg@inscripts.com"}],"homepage":"https://github.com/cometchat-pro/javascript-chat-sdk#readme","bugs":{"url":"https://github.com/cometchat-pro/javascript-chat-sdk/issues"},"dist":{"shasum":"a5e4e81816e42eab33dc1006da8127d129f72da8","tarball":"https://registry.npmjs.org/@cometchat-pro/chat/-/chat-0.0.1.tgz","fileCount":4,"integrity":"sha512-CnOFYG/4KD/VbVk6LOETBTTjoLx77n1Duof6U9laP5mfbe0XdmZafkx5vuQdFA9PgkeR615peykXFXvxKSVu1A==","signatures":[{"sig":"MEUCIDy24lFZP8FIzCv0k9oW5rsfF8ICICPYvCbTocc6WnjZAiEAyouaWis03PNiOLo7VKSY4qapWjNjdC7zVIzmC7S/uuI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":217109,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcPMvXCRA9TVsSAnZWagAAo1oP/2+dw7JYshXdYRqfm9mx\nWK3ZlJwjNMpLO5470BM9lFDCRf+XX0mlaXW4umLuOG68ZSfdDXQne6TruUoa\nmk8ClyDK/K0RaDJ5gf71Bvi2Y4sXr7vLihM1E6HPHHkHjEIsNct7lNb8kvig\nS6qEvDnnL3ah1heOqHklOtGldug/Vaqq5+g8XyszNYmZEBLvr0vYPuTDEtS8\nZnA9VsM+cqWWg34B9IrOAc/lP8hggx3mW0MCClNy75pId1UaR/TiZlMdIOKx\nYVGMezI79U33KnV9mcOF7DzJQvWOAxC3czW9qsxVHDNoDMJS6AJRnsP+laG/\nG6nlBLEdrq1m8CTMPU2q1O+RajQYcalxoz1kGfPWTv1/nVzBWInmLTE/uFoT\nDcETgcqawjqv5p0ZzSRYn3EbKVCRoKFnRzFHwaRX9JX4/Hv+CHldfh2PiTT4\nG82B2jkKXIkWzPmwOFtk90CYbmH8lrckDY+6YWFkiBkd3AjA2lFLepWU/GxP\nCuSbuk8ur4wgvQi3LsGdrYR6QIWRK6AfyTdwclC29k5GcFndWHxdsICBd1Tu\nzQcsrIx6q8BHw3XG33fgbtjwwqvwKbx9JyEiuSFtZ+526TdJaXBpUpYW8akq\niaSWxs/BNhRvDAjnmXAao93kLplzk+2Hd5ZrrWK4GmpC/yZykglskTZvW4K6\nhXKf\r\n=Cwpw\r\n-----END PGP SIGNATURE-----\r\n"},"main":"CometChat.js","gitHead":"4408cbce9e0a94b4a69b879752238224b4c9df6d","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"gajraajay","email":"ajay.gajra@inscripts.in"},"repository":{"url":"git+https://github.com/cometchat-pro/javascript-chat-sdk.git","type":"git"},"_npmVersion":"6.5.0","description":"A complete chat solution.","directories":{},"_nodeVersion":"8.11.3","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/chat_0.0.1_1547488214274_0.6094061658953158","host":"s3://npm-registry-packages"}},"1.0.0":{"name":"@cometchat-pro/chat","version":"1.0.0","keywords":["CometChat","chat","messaging","chat","sdk","pro","message","sdk","messaging","sdk","audio","chat","video","chat","webRTC"],"author":{"name":"CometChat"},"license":"SEE LICENSE IN LICENSE.md","_id":"@cometchat-pro/chat@1.0.0","maintainers":[{"name":"anantgarg","email":"anant.garg@inscripts.com"},{"name":"gajraajay","email":"ajay.gajra@inscripts.in"}],"homepage":"https://github.com/cometchat-pro/javascript-chat-sdk#readme","bugs":{"url":"https://github.com/cometchat-pro/javascript-chat-sdk/issues"},"dist":{"shasum":"24fd28e9d0bd9409d45bf9787ffb5b0437e8470b","tarball":"https://registry.npmjs.org/@cometchat-pro/chat/-/chat-1.0.0.tgz","fileCount":4,"integrity":"sha512-0u14RgCvSy25E31W95brSXWlovPUAwkia4TAIdpN55gxoO6Nrfv772053eCJyErQloi8PLkFzaTqWkwQaON8uw==","signatures":[{"sig":"MEUCIEsv9fgCiRn0Z5T6ovNss8rlXeBgDX9PZ7bBuCZlxcpNAiEApIQ16ZTG6r9MAQwdMnPplJrWXUoL/qJAcBv+TsExGFk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":217109,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcPMwuCRA9TVsSAnZWagAAl2AP/jiFwXgiSLqD08CC8aBb\n8s4L+aZJR+zOdxSmAPaqwu32f9hFzSfVnC7bqbvFvm+ZH9CvEbA7+Wd11ZGQ\nQReYhp7geeJkQX8we5NFplLZ1BskPzcUo16SKX/GTyseoHFKM3FZ4/utXfii\nPjAh8aPuL1I3VQFDztl/7j5kkmiC88fi8zTh8voGZWBVEDa/B0E8KSTAnDO1\nF+MZ5zdtGp0iVS4UiRdckP5yac2pgBHEtPLlFw9Et9CmMRMGwddmmMI6ap9M\ngzuiSQaTwbS+EJcEwGS7gc02bQ7NpWSaaB+RS8AO7PKAXd7HGb89jDvhrZtF\nWa4ls+HqS3G/3p8/PJDwFZ47eGfOoRcuXQGwwx5A1pO2zUXSRyLfOzbDiEbQ\nAXrZ1rVQOJt03r9AVPG5YT598HVJrmW4Y7xLnhvSkYSf7zBGSDCuE712ftiD\nTOjMNmoIp96S1AxNnZEs+zZFqPjyDSFWwGri6EEXGxqNrs+ABARh63aU3BSL\n2UByHb48jftoT6r5Hmzls88HzfIFTN2Cvnm/ph72CTkkcfqWZO+pOMDwx7Xt\nDIgBsQGOqHGfrdbUNRNsPYeCIoP2V9QCB5a4wm/6eyfng2tAcrujm46+M/FC\ntyLoxbJgwmYBlXKS7IjyM8wFCMOZrAAsPOXytQpbWdSbFnqNbJ94+NNTwBEF\nZdmA\r\n=uGMo\r\n-----END PGP SIGNATURE-----\r\n"},"main":"CometChat.js","gitHead":"4408cbce9e0a94b4a69b879752238224b4c9df6d","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"gajraajay","email":"ajay.gajra@inscripts.in"},"repository":{"url":"git+https://github.com/cometchat-pro/javascript-chat-sdk.git","type":"git"},"_npmVersion":"6.5.0","description":"A complete chat solution.","directories":{},"_nodeVersion":"8.11.3","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/chat_1.0.0_1547488302211_0.3031821652520148","host":"s3://npm-registry-packages"}},"1.0.1":{"name":"@cometchat-pro/chat","version":"1.0.1","keywords":["CometChat","chat","messaging","chat","sdk","pro","message","sdk","messaging","sdk","audio","chat","video","chat","webRTC"],"author":{"name":"CometChat"},"license":"SEE LICENSE IN LICENSE.md","_id":"@cometchat-pro/chat@1.0.1","maintainers":[{"name":"anantgarg","email":"anant.garg@inscripts.com"},{"name":"gajraajay","email":"ajay.gajra@inscripts.in"}],"homepage":"https://github.com/cometchat-pro/javascript-chat-sdk#readme","bugs":{"url":"https://github.com/cometchat-pro/javascript-chat-sdk/issues"},"dist":{"shasum":"901c3e40557cadb9c3935ee346dd1892fec8814a","tarball":"https://registry.npmjs.org/@cometchat-pro/chat/-/chat-1.0.1.tgz","fileCount":4,"integrity":"sha512-Cs67wb1AkXpTopKbAy3sca3XBS5XJPnLPO7ah+3iS8nD9Ah+eaufUlBPh8EdDjPNwHR8tCcGXoZPKIaoiWZeQQ==","signatures":[{"sig":"MEUCIEH1lc/ApMaoCu7qta0PlIcsR7w1Lq4eNv/Eq3ZfXjfFAiEAw/HYr/CuQDaZ79jgldgmm3g+GqIh42rgDkYTti7ZiPY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":215471,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcPYAICRA9TVsSAnZWagAAk3kP/AuS9CZCQurausfauXEf\ntgQLnSyQ1qojIU36Zt5EkLba2w5eeQPO4AbToTDc8y8IlxkvMOKy/brsv5m4\nTNqxsu6f6MWxDew9ARBGYTPwMCjt2fRpR1KXMCjLKj2pOoqrPWtyonTbT59Y\nPCdOVcZn1zON2spjmPfUkHYD8jxff9vg/wuWujs9/UR1upURKYKvaHkc/wra\n0SrL65rseg1oYLw8UznQbVDZq9Tdt/ZuuM/EtYjHsPnw5AOTz0tUzlPtYrTG\nNsLIBvznGGlkzv+GL19KYBV35kQpNmvPtil3eVcD4RbJxMRGJQZ87MGQRVJl\n68aiI31cVJmbwwGS04OYSM+EsHCCsKgSCbQOPdZZy/hMo3hvj+XSB2LgTNS3\nFNjO/Wdmq5fWSnnmpvlOAlUNzqlkH3b145wvwBhpVF0bIfWu6yz63+LW8VTu\nhk0U4M1BY7xDedQl7lL5OHdM7AzLW6dVzYbQJOm7vMb6MfBXfENOCEVirMFe\n23pg1XK9ijNK44D3I+1ep2v9cHrMuqNM4qKwc54b4gS2ejB2X+qap4A8nCQ9\nDCjQFQu2fzVn8ah96l+02ZOgl7U86EXVg+XKRawv5cxDP/MM3y0nCXmxDieX\nkF00FN4m4ra3rRQ5ZvO8xvJedLkZiip6KcC6CwuSiaXUSvY4khgYO3SU/VjW\nxSb0\r\n=o7eZ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"CometChat.js","gitHead":"8c7f9de4b6fa53538e9e7f9594e78e86b007b870","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"gajraajay","email":"ajay.gajra@inscripts.in"},"repository":{"url":"git+https://github.com/cometchat-pro/javascript-chat-sdk.git","type":"git"},"_npmVersion":"6.5.0","description":"A complete chat solution.","directories":{},"_nodeVersion":"8.11.3","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/chat_1.0.1_1547534344088_0.34754588036976597","host":"s3://npm-registry-packages"}},"1.0.2":{"name":"@cometchat-pro/chat","version":"1.0.2","keywords":["CometChat","chat","messaging","chat","sdk","pro","message","sdk","messaging","sdk","audio","chat","video","chat","webRTC"],"author":{"name":"CometChat"},"license":"SEE LICENSE IN LICENSE.md","_id":"@cometchat-pro/chat@1.0.2","maintainers":[{"name":"anantgarg","email":"anant.garg@inscripts.com"},{"name":"gajraajay","email":"ajay.gajra@inscripts.in"}],"homepage":"https://github.com/cometchat-pro/javascript-chat-sdk#readme","bugs":{"url":"https://github.com/cometchat-pro/javascript-chat-sdk/issues"},"dist":{"shasum":"d24c406758dd023544f4e4f4c916c26b392a5cbc","tarball":"https://registry.npmjs.org/@cometchat-pro/chat/-/chat-1.0.2.tgz","fileCount":4,"integrity":"sha512-2tW78FZ3jn+ijsFjHW3jAYw2FKHvNz89CydoblK57pjLlqreFWIsJOMffoAjudR+G8GX5wbe+p1yEzl/9xZxOg==","signatures":[{"sig":"MEUCIQDpBvoQS/gPq0wc2oobUzEOZWysWIuiXq1JVKsv4wZn9AIgcqEvArkfCJo6XcwYBzi3OLB/e9KES97GTz0biJBKx88=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":218819,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcT9VlCRA9TVsSAnZWagAADqIP/3ABVbYJ0EpMU3qYlnyC\n/HDbADkwc0Hp1C5FihZW0GscSq0/uvE0n9LK8I0mR7akrDb1CBTNTBAFfj87\njEBX10/61zE7oyiu7yteptWT6NcnKojJrx/LvVIVkSHssbc6vRfc1vUPXFET\n+DyUEtpeejSVFCGNshp4XpcWf1SDpdF3Bnu38jLS2VbnX8N1feAqrovxRhvU\nziy/YsognEXTVgdQWb/O0oUMyPuBKu82PO4Atou+1xGS93LoahWpVLgTEB16\nYNPGsmWRuWFgNpp/BpMEsDLza4KvT1I6dHK7C3pUEB0wHmgnKr4NITzfJLvT\n4NrkCSPATiGdErJvpl4DLVyKrDqjn0DL2val92UdqxtMJl+v48LcSJ8dInoF\nNQ4EgNLWGV5z9yXyEXiHHJrM0khdQqYEOldKCdXSw5dIV32CCei5Hb+124rW\n1Yjbd5Hw/ToZfAHupvYHjtjE7VUOEEOIjPt7/4weQKzRF1yyp+IQNIKb33Hm\nqvVe7yWe3wf+H4sDhnYLNvKFJY5Uef4PXBcIvewn41Ls999ASz86+UKKeznf\ns8T/bVlOy9KL/tJsim66VyDDT/Biq5TtsDqTzLIrPUHRPRCZ7woWhpUcG0qe\nVMxajqhpPcL3nybhuORT7uuZK8EXSQp3cBjOMoJjwZsefzFxJXvmPY6Wah7R\nUaiS\r\n=qOoT\r\n-----END PGP SIGNATURE-----\r\n"},"main":"CometChat.js","gitHead":"8c7f9de4b6fa53538e9e7f9594e78e86b007b870","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"gajraajay","email":"ajay.gajra@inscripts.in"},"repository":{"url":"git+https://github.com/cometchat-pro/javascript-chat-sdk.git","type":"git"},"_npmVersion":"6.7.0","description":"A complete chat solution.","directories":{},"_nodeVersion":"8.11.3","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/chat_1.0.2_1548735844590_0.4445025552624522","host":"s3://npm-registry-packages"}},"1.0.3":{"name":"@cometchat-pro/chat","version":"1.0.3","keywords":["CometChat","chat","messaging","chat","sdk","pro","message","sdk","messaging","sdk","audio","chat","video","chat","webRTC"],"author":{"name":"CometChat"},"license":"SEE LICENSE IN LICENSE.md","_id":"@cometchat-pro/chat@1.0.3","maintainers":[{"name":"anantgarg","email":"anant.garg@inscripts.com"},{"name":"gajraajay","email":"ajay.gajra@inscripts.in"}],"homepage":"https://github.com/cometchat-pro/javascript-chat-sdk#readme","bugs":{"url":"https://github.com/cometchat-pro/javascript-chat-sdk/issues"},"dist":{"shasum":"52372a373ea39467dbd490329e63b272335d2e6c","tarball":"https://registry.npmjs.org/@cometchat-pro/chat/-/chat-1.0.3.tgz","fileCount":4,"integrity":"sha512-/50caxQHJ//jgSe49RYP8At/d993uvBxgR8Ue43fsjQEukL3LPrfMANl3VWS/52w8fPTTddNkil/jAxLE8mIFw==","signatures":[{"sig":"MEUCIGiyWZhv2+fokBlgd4rwvBojohxCSpREdgU7UMYU+vWTAiEAnElqZp+2an3JN8Zk34zRuzEb7O+B12Jx+95VqOjLjDI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":218798,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcUDNGCRA9TVsSAnZWagAA+AUP/jSK6gwjLRoqg/xahEaX\nT0vshOzhvvu7yvaaFpP5pxiKX2l+m4UJp27qVZxbEnX/FFtDVDCc+scWiHs4\n8Qj7dkSISkgP9cyzKeieDjoTVfqBaQ1aatBXcPqWYJMzGsrvLTjZjPEDC/OY\ncubbaGaNzY7b2bIYbI6q8MdKxBCBFdgUnzGlPNklvUaan0xzo5elfpQv1DrT\nb8Vds6MyGZgEl++3oc0rVh5aq4VQPyCoKv7lconMWRbe6mVhTfPAShI91f9R\nBTcqUEax4rIEqLdgB8VOztgka9rGNQkXDE9SOHQG/U9CG6mh/aQOLIHECFZ2\n1SiWJH25fTTaTNM6CaF3ZLcpykPKdrZiPEiys1lJFonB+fhEEodgwkV43A3w\nvbuviHCiHOeKLFZQ0uqFq8TjwQF/swfc+oe2eUqGf5IgY7jrQvFIlpQzs81J\nn1UwuuWAD8zXoP5MkFghz6pwxrGHoQygRawRNoAa7SlrNsvy0z4wcQflFqk4\nUzd9Bqg3EmxZOs3pWjAUDQYGHCEyedm5hCM0W7IrdalHJesVIbC+kv+LDjAJ\ni/zY2BziSrDbZOAS/2Xv9pdWrXiP9FW7CMhr0HlmdbMvfLdW7Zg7K6MXKiLX\nlh3AQxF7PEgiGBJt711vt6IXsYB95Vmf0CG5pIfE4dcR0LTuD31batsrftkq\neSy7\r\n=WSl1\r\n-----END PGP SIGNATURE-----\r\n"},"main":"CometChat.js","gitHead":"830258107da71fadf0773629c7e7ccb26501817f","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"gajraajay","email":"ajay.gajra@inscripts.in"},"repository":{"url":"git+https://github.com/cometchat-pro/javascript-chat-sdk.git","type":"git"},"_npmVersion":"6.7.0","description":"A complete chat solution.","directories":{},"_nodeVersion":"8.11.3","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/chat_1.0.3_1548759877975_0.7555589087239831","host":"s3://npm-registry-packages"}},"1.0.4":{"name":"@cometchat-pro/chat","version":"1.0.4","keywords":["CometChat","chat","messaging","chat","sdk","pro","message","sdk","messaging","sdk","audio","chat","video","chat","webRTC"],"author":{"name":"CometChat"},"license":"SEE LICENSE IN LICENSE.md","_id":"@cometchat-pro/chat@1.0.4","maintainers":[{"name":"anantgarg","email":"anant.garg@inscripts.com"},{"name":"gajraajay","email":"ajay.gajra@inscripts.in"}],"homepage":"https://github.com/cometchat-pro/javascript-chat-sdk#readme","bugs":{"url":"https://github.com/cometchat-pro/javascript-chat-sdk/issues"},"dist":{"shasum":"163d7859e3765d939758525478ffaefec5fec3f3","tarball":"https://registry.npmjs.org/@cometchat-pro/chat/-/chat-1.0.4.tgz","fileCount":4,"integrity":"sha512-Lqt+V9cklAMYMPtlkJfZ8ck5IgYxsMjkHDyHciJaDCTGkyd8rkYBATS2+xfUFVmwCIv3GMIe/pwtGPIZi5ltFg==","signatures":[{"sig":"MEYCIQDlHcjDYG9q8jH8iX/t0OEF/cbD0f8nkKGRoMTBiudn+QIhANmPmhkk+kgznKl9uureR8ftkyZMo3baiP2fVwR/GrGW","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":218417,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcWazRCRA9TVsSAnZWagAA0ZkP/R+d22E9rqfz5170JY0X\n503tRiIB66xiGilTm04jviy+JEoxQbDNGkjQHqLdm9IPFm749MdZdzEz4uWU\np+FQLjtrJQFD6tp7KPRMXk5+tpJWrGv3Oji+bGBZbkXOFRFu7mlqkIKh8Jbl\nO+XC3kaLhkOCsQajgyaZdmFTSdpHFCIdD73l47BSUO/MYnPqB0HZ3wkjf9FX\nnGLZWleg071zObd3YHyEOzQ5C0aNYCfeqNVjw78pDPLuXOacG2QL2lsBZTcI\nFbIBvcjB2TcnI1Y85LMBFN1Q2OCz3wzAf1ztb9omWQMX3m3StEUt/k/m1C9H\nI3nyT02+4ksdoGJR/G6nMKDF5lv41x/v/CP84do2G9iOvWotAAFddgBguS3F\ntbt/oMue9Z7w6E6mrHsZHpj7xXC4gUlIUfvEUJuhUWUOFy/E7SuwxX/B6J2b\nxNyAp9DZAzALg8FEgWavlfA6WskX8PmQrG6nN+bs7squXh9yovi/NTH9Edyz\nG96fUuiZoezFmAatWYvZ55MH3HpDJpLJPPkdx6elqhI64ucV4F+iwM6wWEFl\nRwhBnE2ZuLDNBgcQapxR8A99Qz07LQ6FMbdH+R+hNFLKeny67ugZNLPibziw\nTmb7F8eQzveDuglIoua6Q8GMaaQvJ7Uw3VfXZqwWJiDREvBN2NgcX8NbzAGA\nzV0K\r\n=ffAn\r\n-----END PGP SIGNATURE-----\r\n"},"main":"CometChat.js","gitHead":"830258107da71fadf0773629c7e7ccb26501817f","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"gajraajay","email":"ajay.gajra@inscripts.in"},"repository":{"url":"git+https://github.com/cometchat-pro/javascript-chat-sdk.git","type":"git"},"_npmVersion":"6.7.0","description":"A complete chat solution.","directories":{},"_nodeVersion":"8.11.3","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/chat_1.0.4_1549380816535_0.0992369971400171","host":"s3://npm-registry-packages"}},"1.1.0-beta.2":{"name":"@cometchat-pro/chat","version":"1.1.0-beta.2","keywords":["CometChat","chat","messaging","chat","sdk","pro","message","sdk","messaging","sdk","audio","chat","video","chat","webRTC"],"author":{"name":"CometChat"},"license":"SEE LICENSE IN LICENSE.md","_id":"@cometchat-pro/chat@1.1.0-beta.2","maintainers":[{"name":"anantgarg","email":"anant.garg@inscripts.com"},{"name":"gajraajay","email":"ajay.gajra@inscripts.in"}],"homepage":"https://github.com/cometchat-pro/javascript-chat-sdk#readme","bugs":{"url":"https://github.com/cometchat-pro/javascript-chat-sdk/issues"},"dist":{"shasum":"1ed7cf114062c42389c61eca223697e6be6ee1e6","tarball":"https://registry.npmjs.org/@cometchat-pro/chat/-/chat-1.1.0-beta.2.tgz","fileCount":3,"integrity":"sha512-me5+Ik/4Iho3PTNQmPwHdShThjQYlhgWntYRp0SsxJaIOnpOpAwzqfXSfE54bfivJaFzHocnGwm8gJuuCH9Lww==","signatures":[{"sig":"MEUCIQCGafOSbnJoATVpo8SHZ3zpvKFzuG69qCq6wCPEsNRn2wIgKU8UlQcIuW+VHUbhsZFtn+2vzI9QtkPf24UtIc5/fNk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":235424,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcZbYICRA9TVsSAnZWagAApCwP/0S2mnfGppmSLH9uL4mL\nUirvigN3i3RuB1QDgvnG5A3Leaxe4QjRsoJ6Ja0z8VHU5XhreNcDv4ebpeSX\nkEzkv+jJU/Iq9M5pmFvPNsfcPKPKjCQvQeUWAiJXfcG1fgAi5KqcS61RcGYS\n1Xf9a+dT8gQG52YsHVvwHq9kBOXYFX2B7tn//hWhPerKkzphd4IAgHQKYc8G\nk07R8hoA9kyh+a9aTVITQoXqPE+1B5l+iE00wK52cXbsI6Lu5U0Rq6Souofs\nNlEepGLojW2GAvPvof6ljQpTzRWhz7xsK5qwUNQARUaR6qcFt++N1gl+obxu\nj7rqBSag0i+MFtkul7HehCPqrM19gs35kPX/Dv2P4aROE3sPcjQcz+ztGtQR\nms40rNUu5sEorxY/QbWeY+BWHQwUL0QFyDAGCDmBJ0gh1pYzzaRXBldqvS7w\nd+Yie3ZR/FqIGZ4WtOCFnApPaByIKZjksUHBuCpg0B1cau1fKyIgjTgw9HBB\nvNyJ2ZPZHMPkZGTk7E1p2kNw1J7HtEDf6aYPmuKnGWSe6hqZYL8+4eNddcCX\nVMwjFXrdV4HVA3ubs2NoIKeVZ7JrDVBj7vdZWkx0Dfqp2c3Z87b1XymRKbex\nNrjwuzeofzuI5asc8z7Yne69nixBT6BU6Axys+1ornIZFVC8I3m4e/jOAUTK\n88V2\r\n=tGO3\r\n-----END PGP SIGNATURE-----\r\n"},"main":"CometChat.js","readme":"# javascript-chat-sdk\n","gitHead":"68fc083e4f59dd1a68a718b8917d7580e0a7dbe3","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"gajraajay","email":"ajay.gajra@inscripts.in"},"repository":{"url":"git+https://github.com/cometchat-pro/javascript-chat-sdk.git","type":"git"},"_npmVersion":"6.7.0","description":"A complete chat solution.","directories":{},"_nodeVersion":"10.14.2","_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/chat_1.1.0-beta.2_1550169608039_0.5974012592178892","host":"s3://npm-registry-packages"}},"1.1.0-beta.3":{"name":"@cometchat-pro/chat","version":"1.1.0-beta.3","keywords":["CometChat","chat","messaging","chat","sdk","pro","message","sdk","messaging","sdk","audio","chat","video","chat","webRTC"],"author":{"name":"CometChat"},"license":"SEE LICENSE IN LICENSE.md","_id":"@cometchat-pro/chat@1.1.0-beta.3","maintainers":[{"name":"anantgarg","email":"anant.garg@inscripts.com"},{"name":"gajraajay","email":"ajay.gajra@inscripts.in"}],"homepage":"https://github.com/cometchat-pro/javascript-chat-sdk#readme","bugs":{"url":"https://github.com/cometchat-pro/javascript-chat-sdk/issues"},"dist":{"shasum":"19f038bcf7c889d967fc728676faba4b2cc94df7","tarball":"https://registry.npmjs.org/@cometchat-pro/chat/-/chat-1.1.0-beta.3.tgz","fileCount":4,"integrity":"sha512-D0hLo1fKOPxAqXhcQDZ5cy+BbaY1XbEIv9r51I3AlqOi7VpK+jSvRgk5bkEzV1MP7ZcfggGzyK9np8p56KZgNA==","signatures":[{"sig":"MEQCIDhnz3zT2eONZ/fZ8XdXNkETOzaeFa2+Fdn5yZxoTkOaAiBx+sDgVzUzVhWsCU6wtnWr/6pGye4Uj3MdhB4RdZeirA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":240869,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcZqLQCRA9TVsSAnZWagAAeqEP/R97xn4ffkUvMhG2qJVU\nuROsgbPKaV/8p73HcBrNcUiojxl01T8LCsqHMrNABCmlZz8AZMjXb8ddAvu3\np76a5Gi8GQ19w3vw38yN2/B8UdC5Q5ilownX8WDKawIGTdR3T8TdylfntTFz\niT87q5yNKoe17LN+0wk3+3ilRHZOxm7nrgOo7M1J5GE5bJSf/ujBoy8xJV/e\ndAx0fdxKFYRIRYb2V88UnQ+wiBJu35tGc9WRwYJY7+U9pr9nAfkxYQFsWsRy\n900YJ2CKT20O9vocPU6RQjN+O0TN9rC29K0dnQjq01hSwa/1uSlNFxL6MQmN\nMvJdb5xhj3MQbCQZmFHuTx6mYz29NTJN9U+DdBx63TNo1WojMIRAUJ4PGixF\nqTUnmmRFR7nAE+zCSjKihhKpfM92vzdEwhye3E4NnFZO6fzHkrnvhif8SskR\nswOcktDYCHah1AOBB95nwVfcKyhJ5iEaXr4ucaJ4k+DMFMWp4rBZOEuAkQIN\nHeddkknivoI9h7rLM15TcvBz1n/HY0Sbz/OGKeC0PvQoBYRV18pkvmBa75j/\nLuFqFWMjNAOPfymtuM4P44YgvH2j4s7koOGvxaxZLYri27nz0MxdXTPR1f6F\n284lmA0hZn6xRTst41XBqjRLEIb2WwQ2ZoR+/MOWE/L8uiQ28RiLbrEsKBfh\nxzUc\r\n=XXJC\r\n-----END PGP SIGNATURE-----\r\n"},"main":"CometChat.js","readme":"<div style=\"width:100%\">\n<div style=\"width:100%\">\n\t<div style=\"width:50%; display:inline-block\">\n\t\t<p align=\"center\">\n\t\t<img style=\"text-align:center\" width=\"180\" height=\"180\" alt=\"\" src=\"https://raw.githubusercontent.com/cometchat-pro/ios-swift-chat-app/master/Screenshots/CometChat%20Logo.png\">\t\n\t\t</p>\t\n\t</div>\t\n</div>\n</br>\n</br>\n</div>\n\nCometChat Pro enables you to add voice, video & text chat for your website & app.\n\n<a href=\"https://www.npmjs.com\">[![Platform](https://img.shields.io/badge/Platform-Javascript-blue.svg)](#)</a>\n<a href=\"https://www.npmjs.com\">[![Platform](https://img.shields.io/badge/Platform-NPM-orange.svg)](#)</a>\n\n# Quick Start\n\nThis guide demonstrates how to add chat to a Javascript application using CometChat. Before you begin, we strongly recommend you read the <a href=\"https://prodocs.cometchat.com/docs/concepts\" target=\"_blank\">Key Concepts</a> guide.\n\n## Get your Application Keys\n\n<a href=\"https://app.cometchat.com\" target=\"_blank\">Signup for CometChat</a> and then:\n\n1. Create a new app: Enter a name & hit the **+** button\n2. Head over to the **API Keys** section and click on the **Create API Key** button\n3. Enter a name and select the scope as **Auth Only**\n4. Now note the **API Key** and **App ID**\n\n## Add the CometChat Dependency\n\n### NPM\nFirst, install via npm\n\n`Shell`\n\n```shell\nnpm install @cometchat-pro/chat --save\n```\n\nThen, import the `CometChat` object wherever you want to use CometChat\n\n`JavaScript`\n\n```Javascript \nimport { CometChat } from \"@cometchat-pro/chat\" \n```\n### HTML (via CDN)\nInclude the CometChat Javascript library in your HTML code\n\n\n```HTML\n<script type=\"text/javascript\" src=\"https://unpkg.com/@cometchat-pro/chat/CometChat.js\"></script>\n```\n\n## Initialize CometChat\nThe `init()` method initializes the settings required for `CometChat`.\n\nYou need to call `init()` before calling any other method from CometChat.\n\n```Javascript\nvar appID = \"APP_ID\";\n\nCometChat.init(appID).then(\n  hasInitialized => {\n    console.log(\"Initialization completed successfully\", hasInitialized);\n    // You can now call login function.\n  },\n  error => {\n    console.log(\"Initialization failed with error:\", error);\n    // Check the reason for error and take apppropriate action.\n  }\n);\n```\nMake sure you replace the `APP_ID` with your CometChat **App ID** in the above code.\n\n## Login your user\nOnce initialization is successful, you will need to log the user into CometChat using the login() method.\n\nWe recommend you call the CometChat login method once your user logs into your app.\n```Javascript\n\nvar UID = \"SUPERHERO1\";\nvar apiKey = \"API_KEY\";\n\nCometChat.login(UID, apiKey).then(\n  User => {\n    console.log(\"Login Successful:\", { User });\n    // User loged in successfully.\n  },\n  error => {\n    console.log(\"Login failed with exception:\", { error });\n    // User login failed, check error and take appropriate action.\n  }\n);\n```\nMake sure you replace the `API_KEY` with your `CometChat` **API Key** in the above code.\n\n>**Sample Users**\n>We have set-up 5 users for testing having UIDs: `SUPERHERO1`, `SUPERHERO2`, `SUPERHERO3`, `SUPERHERO4` and `SUPERHERO5`.\n\nThe `login()` method returns the User object on `Promise` resolved containing all the information of the logged in user.\n\n## Send a message\nOnce your user has logged in, you can send a message using the `sendMessage()` method.\n```Javascript\nvar receiverID = \"SUPERHERO2\";\nvar messageText = \"Hello\";\nvar messageType = CometChat.MESSAGE_TYPE.TEXT;\nvar receiverType = CometChat.RECEIVER_TYPE.USER;\n\nvar textMessage = new CometChat.TextMessage(receiverID, messageText, messageType, receiverType);\n\nCometChat.sendMessage(textMessage).then(\n  message => {\n    console.log(\"Message sent successfully:\", message);\n    // Do something with message\n  },\n  error => {\n    console.log(\"Message sending failed with error:\", error);\n    // Handle any error\n  }\n);\n```\n| **Parameter** | **Description**                                                                                                                                 |\n|---------------|-------------------------------------------------------------------------------------------------------------------------------------------------|\n| receiverID    | The UID or GUID of the recipient                                                                                                                |\n| messageText   | The message string to be sent                                                                                                                   |\n| messageType   | The type of the message that needs to be sent which in this case is `CometChat.MESSAGE_TYPE.TEXT` (text)                                        |\n| receiverType  | The type of the receiver to whom the message is to be sent i.e `CometChat.RECEIVER_TYPE.USER` (user) or `CometChat.RECEIVER_TYPE.GROUP` (group) |\n\nOnce the message is sent successfully, you will receive the message information as <a href=\"https://prodocs.cometchat.com/docs/js-appendix#section-textmessage\">`TextMessage` </a> object on `Promise` resolved.\n\n## Receive Messages\nYou can add multiple MessageListener using the `addMessageListener()` method, to receive incoming message wherever you need.\n\n```Javascript \nvar listenerID = \"UNIQUE_LISTENER_ID\";can we get single amazon server !\nCometChat.addMessageListener(listenerID, new CometChat.MessageListener({\n  onTextMessageReceived: message => {\n    console.log(\"Message received successfully:\", message);\n    // Handle text message\n  }\n}));\n```\n| **Parameter** | **Description**                                                                                |\n|---------------|------------------------------------------------------------------------------------------------|\n| listenerID    | An ID that uniquely identifies that listener. We recommend using the activity or fragment name |\n \n\nTo learn more, please refer to our <a href=\"https://prodocs.cometchat.com/docs/js-quick-start\">javascript Developer Documentation</a>.","gitHead":"91358ccd6551e7af65257f01f26ba6a26373a2e8","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"gajraajay","email":"ajay.gajra@inscripts.in"},"repository":{"url":"git+https://github.com/cometchat-pro/javascript-chat-sdk.git","type":"git"},"_npmVersion":"6.7.0","description":"A complete chat solution.","directories":{},"_nodeVersion":"8.11.3","_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/chat_1.1.0-beta.3_1550230224057_0.0224617212849747","host":"s3://npm-registry-packages"}},"1.1.0":{"name":"@cometchat-pro/chat","version":"1.1.0","keywords":["CometChat","chat","messaging","chat","sdk","pro","message","sdk","messaging","sdk","audio","chat","video","chat","webRTC"],"author":{"name":"CometChat"},"license":"SEE LICENSE IN LICENSE.md","_id":"@cometchat-pro/chat@1.1.0","maintainers":[{"name":"anantgarg","email":"anant.garg@inscripts.com"},{"name":"gajraajay","email":"ajay.gajra@inscripts.in"}],"homepage":"https://github.com/cometchat-pro/javascript-chat-sdk#readme","bugs":{"url":"https://github.com/cometchat-pro/javascript-chat-sdk/issues"},"dist":{"shasum":"756993c36c22bc46f54a5a620b4d7bebe957bff3","tarball":"https://registry.npmjs.org/@cometchat-pro/chat/-/chat-1.1.0.tgz","fileCount":3,"integrity":"sha512-uE0n0WU75v3c3egHKRaCJYtUYsV1dHRhdXp1FJLvaK5ej1lgSBGTj6vgcVI56QOpZnalEwgbUXuSzNBIhhtsHA==","signatures":[{"sig":"MEUCIQC6XKUTD9i34LvCyBIS8tmsdRe+24Afvw40gYd4+7oPPgIgTeRH/8ANh5N3fMy0Goj6Yzc6hjwrDAaEPjitk+ChBbM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":234814,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcaAdWCRA9TVsSAnZWagAARZYP/0KTl6lyo1ND2BetspnV\n8eu5s0V132D1/GmjBRJs1Rc6OCCM6z+OPOz6104y+LftqwT8EDwt1jH5NsRo\nwC6qvEMBIbL3RXStsSW8TpcZfaXdzNCsflT6+LG1daCvA4LzZ8V+esA9c71N\nhO18CZSuJLnbsWOZVOJkjtt6IQrYMJOt+sgehOy6liB2Hjltxl9GEeyv3/V/\nfNQPZvP0YnIfv92XPpPfgnt8WjiGB4hd6x+7Qi3gJUjyQ4GOoGhWOoKOx1zK\n6XpGTEDslr9v8IwnI5Wo5iRpki+5KPjQathir0APh97k1rzrr9bDQ0Bvq9Ep\npqR739u8Hqkdrpcf0nuXuSRInGe/xkEut2ZFA2AfWJyur8HT4w/o1a0Dqmfz\n+7HjACh7gQ87v2D6GAp5EhtWfq+rypZHu0FoDLotnSHlBdJgloVR+8Tech5c\n3PI/HiaxqqYBP8wvIg99B8s5dMZqiG3gUGhjO4cwLJaAZ65BI6WW5Uyj9LJP\nAer1H2PyvpffTvvm+QvGYcXxV9vosffM7rjmn5XWHM0LY6UmRqH4peee8hXt\n6FPW9HksUgVOmC5FOdbzQtHc0BycaifHbWGochiIPwI8G3jk2WJQYpJoOxwa\nJll5cPbuaTUYTprcAPqgegY76nRdmzk3RAePHlVDCxhiATWvaOuTcjK2tsTk\nJWkn\r\n=9cSO\r\n-----END PGP SIGNATURE-----\r\n"},"main":"CometChat.js","gitHead":"68fc083e4f59dd1a68a718b8917d7580e0a7dbe3","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"gajraajay","email":"ajay.gajra@inscripts.in"},"repository":{"url":"git+https://github.com/cometchat-pro/javascript-chat-sdk.git","type":"git"},"_npmVersion":"6.7.0","description":"A complete chat solution.","directories":{},"_nodeVersion":"10.14.2","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/chat_1.1.0_1550321493544_0.17418844009868018","host":"s3://npm-registry-packages"}},"1.2.0-beta.0":{"name":"@cometchat-pro/chat","version":"1.2.0-beta.0","keywords":["CometChat","chat","messaging","chat","sdk","pro","message","sdk","messaging","sdk","audio","chat","video","chat","webRTC"],"author":{"name":"CometChat"},"license":"SEE LICENSE IN LICENSE.md","_id":"@cometchat-pro/chat@1.2.0-beta.0","maintainers":[{"name":"anantgarg","email":"anant.garg@inscripts.com"},{"name":"gajraajay","email":"ajay.gajra@inscripts.in"}],"homepage":"https://github.com/cometchat-pro/javascript-chat-sdk#readme","bugs":{"url":"https://github.com/cometchat-pro/javascript-chat-sdk/issues"},"dist":{"shasum":"204f748ca624607ecd3c1168cc6d4a04cd74d341","tarball":"https://registry.npmjs.org/@cometchat-pro/chat/-/chat-1.2.0-beta.0.tgz","fileCount":4,"integrity":"sha512-m70tBG27IBexxcIyiNy+WJ5kCTG6uy3FIULNzAfxho52XbKZDqcIyl8E6WBMmbT8xiKKvimMXN0bPdbm5u4aOg==","signatures":[{"sig":"MEUCIDs3bqyzWjIFA2YdEnpIqzJ7AmZ/hkEqMsu8T75gDjQlAiEAyPQXFJIkhATKLQSV04ezbksYtH8ZcePH/wsLQ4zUgaU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":277314,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJceSqRCRA9TVsSAnZWagAAp6oP/RutX0/6++dyqV+W/d9d\nr4iWLP9TNYID8oLPgKs7a13IdrExGl1FjIv+INCYzgsBbiYbRRJXK1BwLGkU\nXyQNJqOviF37G+5RDmtJFUc8GZldvN3bjYiAq97Ycx6M9ak6Ehf2S5Bn1H0S\nTLrKMBtoTmaFhy7BJyEZJpaQ91NfUwSr+1FK5Waofs1ecIAiTboMRnUO1/dd\ncPfdwXkuVUEyvH7PZBtZyDXi1zSrj/vrsmoqUSD5eBUT93QL9LhSQPs4Ji2J\nlXh1WXU4Zp8LXzYpC+im48Wq6jKRDDVh7zPnSEdpJrSUh3mXvwRAX1serITY\nrZmtY4kFGE1N/HmpZhAKy+MATTidTUISDRj9AmyQadqm2k839UuCTzIKqnR3\nwPHB8rYwiegMH5NVKLlTb0kVAEMAXIKS3D5FGkobDu59h4Ts+6jQFGh6G9DF\nY62GroHGBJTPtb8r4prIOviEaRcoy/2qOFfLv4HIgtPDTP2QY4otGpsPT8Hn\nmD8vj9/vjewVmvwhGul78YSOaojdeX0J2lZHWnD63JPB8Y9z76ddbu4PRTSQ\n3IbphbRffRrKbtz1Zu6jfMrIw+HGRTz1l2Ea7hdSGcAi1V0soSRm0dVtGczq\ncByIEFHZYZlWxsyBCuMng7p2NouS+Bcow4B11nWoYKhu++J1z13BKlaYvVBX\nGk7g\r\n=szLM\r\n-----END PGP SIGNATURE-----\r\n"},"main":"CometChat.js","readme":"<div style=\"width:100%\">\n<div style=\"width:100%\">\n\t<div style=\"width:50%; display:inline-block\">\n\t\t<p align=\"center\">\n\t\t<img style=\"text-align:center\" width=\"180\" height=\"180\" alt=\"\" src=\"https://raw.githubusercontent.com/cometchat-pro/ios-swift-chat-app/master/Screenshots/CometChat%20Logo.png\">\t\n\t\t</p>\t\n\t</div>\t\n</div>\n</br>\n</br>\n</div>\n\nCometChat Pro enables you to add voice, video & text chat for your website & app.\n\n<a href=\"https://www.npmjs.com\">[![Platform](https://img.shields.io/badge/Platform-Javascript-blue.svg)](#)</a>\n<a href=\"https://www.npmjs.com\">[![Platform](https://img.shields.io/badge/Platform-NPM-orange.svg)](#)</a>\n\n# Quick Start\n\nThis guide demonstrates how to add chat to a Javascript application using CometChat. Before you begin, we strongly recommend you read the <a href=\"https://prodocs.cometchat.com/docs/concepts\" target=\"_blank\">Key Concepts</a> guide.\n\n## Get your Application Keys\n\n<a href=\"https://app.cometchat.com\" target=\"_blank\">Signup for CometChat</a> and then:\n\n1. Create a new app: Enter a name & hit the **+** button\n2. Head over to the **API Keys** section and click on the **Create API Key** button\n3. Enter a name and select the scope as **Auth Only**\n4. Now note the **API Key** and **App ID**\n\n## Add the CometChat Dependency\n\n### NPM\nFirst, install via npm\n\n`Shell`\n\n```shell\nnpm install @cometchat-pro/chat --save\n```\n\nThen, import the `CometChat` object wherever you want to use CometChat\n\n`JavaScript`\n\n```Javascript \nimport { CometChat } from \"@cometchat-pro/chat\" \n```\n### HTML (via CDN)\nInclude the CometChat Javascript library in your HTML code\n\n\n```HTML\n<script type=\"text/javascript\" src=\"https://unpkg.com/@cometchat-pro/chat/CometChat.js\"></script>\n```\n\n## Initialize CometChat\nThe `init()` method initializes the settings required for `CometChat`.\n\nYou need to call `init()` before calling any other method from CometChat.\n\n```Javascript\nvar appID = \"APP_ID\";\n\nCometChat.init(appID).then(\n  hasInitialized => {\n    console.log(\"Initialization completed successfully\", hasInitialized);\n    // You can now call login function.\n  },\n  error => {\n    console.log(\"Initialization failed with error:\", error);\n    // Check the reason for error and take apppropriate action.\n  }\n);\n```\nMake sure you replace the `APP_ID` with your CometChat **App ID** in the above code.\n\n## Login your user\nOnce initialization is successful, you will need to log the user into CometChat using the login() method.\n\nWe recommend you call the CometChat login method once your user logs into your app.\n```Javascript\n\nvar UID = \"SUPERHERO1\";\nvar apiKey = \"API_KEY\";\n\nCometChat.login(UID, apiKey).then(\n  User => {\n    console.log(\"Login Successful:\", { User });\n    // User loged in successfully.\n  },\n  error => {\n    console.log(\"Login failed with exception:\", { error });\n    // User login failed, check error and take appropriate action.\n  }\n);\n```\nMake sure you replace the `API_KEY` with your `CometChat` **API Key** in the above code.\n\n>**Sample Users**\n>We have set-up 5 users for testing having UIDs: `SUPERHERO1`, `SUPERHERO2`, `SUPERHERO3`, `SUPERHERO4` and `SUPERHERO5`.\n\nThe `login()` method returns the User object on `Promise` resolved containing all the information of the logged in user.\n\n## Send a message\nOnce your user has logged in, you can send a message using the `sendMessage()` method.\n```Javascript\nvar receiverID = \"SUPERHERO2\";\nvar messageText = \"Hello\";\nvar messageType = CometChat.MESSAGE_TYPE.TEXT;\nvar receiverType = CometChat.RECEIVER_TYPE.USER;\n\nvar textMessage = new CometChat.TextMessage(receiverID, messageText, messageType, receiverType);\n\nCometChat.sendMessage(textMessage).then(\n  message => {\n    console.log(\"Message sent successfully:\", message);\n    // Do something with message\n  },\n  error => {\n    console.log(\"Message sending failed with error:\", error);\n    // Handle any error\n  }\n);\n```\n| **Parameter** | **Description**                                                                                                                                 |\n|---------------|-------------------------------------------------------------------------------------------------------------------------------------------------|\n| receiverID    | The UID or GUID of the recipient                                                                                                                |\n| messageText   | The message string to be sent                                                                                                                   |\n| messageType   | The type of the message that needs to be sent which in this case is `CometChat.MESSAGE_TYPE.TEXT` (text)                                        |\n| receiverType  | The type of the receiver to whom the message is to be sent i.e `CometChat.RECEIVER_TYPE.USER` (user) or `CometChat.RECEIVER_TYPE.GROUP` (group) |\n\nOnce the message is sent successfully, you will receive the message information as <a href=\"https://prodocs.cometchat.com/docs/js-appendix#section-textmessage\">`TextMessage` </a> object on `Promise` resolved.\n\n## Receive Messages\nYou can add multiple MessageListener using the `addMessageListener()` method, to receive incoming message wherever you need.\n\n```Javascript \nvar listenerID = \"UNIQUE_LISTENER_ID\";can we get single amazon server !\nCometChat.addMessageListener(listenerID, new CometChat.MessageListener({\n  onTextMessageReceived: message => {\n    console.log(\"Message received successfully:\", message);\n    // Handle text message\n  }\n}));\n```\n| **Parameter** | **Description**                                                                                |\n|---------------|------------------------------------------------------------------------------------------------|\n| listenerID    | An ID that uniquely identifies that listener. We recommend using the activity or fragment name |\n \n\nTo learn more, please refer to our <a href=\"https://prodocs.cometchat.com/docs/js-quick-start\">javascript Developer Documentation</a>.","gitHead":"60219d3fa97610e448e210073664119f4011165a","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"gajraajay","email":"ajay.gajra@inscripts.in"},"repository":{"url":"git+https://github.com/cometchat-pro/javascript-chat-sdk.git","type":"git"},"_npmVersion":"6.7.0","description":"A complete chat solution.","directories":{},"_nodeVersion":"8.11.3","_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/chat_1.2.0-beta.0_1551444625154_0.16289277071696495","host":"s3://npm-registry-packages"}},"1.2.0-beta.1":{"name":"@cometchat-pro/chat","version":"1.2.0-beta.1","keywords":["CometChat","chat","messaging","chat","sdk","pro","message","sdk","messaging","sdk","audio","chat","video","chat","webRTC"],"author":{"name":"CometChat"},"license":"SEE LICENSE IN LICENSE.md","_id":"@cometchat-pro/chat@1.2.0-beta.1","maintainers":[{"name":"anantgarg","email":"anant.garg@inscripts.com"},{"name":"gajraajay","email":"ajay.gajra@inscripts.in"}],"homepage":"https://github.com/cometchat-pro/javascript-chat-sdk#readme","bugs":{"url":"https://github.com/cometchat-pro/javascript-chat-sdk/issues"},"dist":{"shasum":"a140f3810291533ee089f0cae612440711b02f13","tarball":"https://registry.npmjs.org/@cometchat-pro/chat/-/chat-1.2.0-beta.1.tgz","fileCount":5,"integrity":"sha512-mUgLog4iusevt8pZMADjlpsYUc6978KekseQl0bEdMOaFB7FmnKBtq+NPmSMvMtQ/7uF3L3dN5u2TCAQqwKT5A==","signatures":[{"sig":"MEUCIA+NT09yx2nvKu4QWY+cyHXpFG6JjObAeQvYFka6ARO3AiEAtgZ3Z+hUW5H+sX29I4Dp6C3yda4GSlkFO8Mx0apVir0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":325214,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcfjhrCRA9TVsSAnZWagAAngAP/1e/NIEAmlDdJ+XLZ/2l\nTkps4Mo4S52d3vYWdjV5TnCTF0tfwTPPJr9V1uF47hwk7TSAVu/B03Ef96Z8\nHd3o2ptUjo5oZU83vVgquh+I+dnyGCm9T6M59uTMJr+/wbAnhgCTEel02ufC\nRJUEWVPl966QpOlDY2GQT/hhg0WipCrK6z9VqFU3dHhduWW2herPba2VYw8k\nlzOuUjHuU9mXA1V4QTXZgsOxJckCxyir6CWYOvWnBWiKmn5Msoj7CZtt1k6c\nctTrjBqHzWnpz718ubYElutgsJmjx5X4zeZ4VnQdRttwMKM+tylP9QsH9RlH\nSKi13Ojtm8kViR548KiCsxnLm1+ZUyZrIakN/xqU84tkn/JoSF4Anx5vG8gx\nWL6b/dQ2IXoVLuBfHqywbRpV1hdDKZIHW5rcDg0WUJoGAcZyYVCS8JgoTYAy\n4r7vN8277mLwcEOQqjyTwcQlfgfu0GQ5mWO8hmHsmX0IS70RzIp8fwCsEfwL\nw9nf6TOTcICigT/aegM/fxqTzKXvPNsw+pNdnXKbmzyd4vXewUzuK2yYf+Zr\nLsQnJydi0u/aH/beemv8qEKbDQ0fQh4a6isdnld0rHDQ0+FYjY7OEIhopV17\n5t+8XUsC+7DmPrPNIULGog2bQ8DBcTP7C8XgTd/lHWYCSJ09AEcEYzxhVpbe\nULNv\r\n=uakg\r\n-----END PGP SIGNATURE-----\r\n"},"main":"CometChat.js","readme":"<div style=\"width:100%\">\n<div style=\"width:100%\">\n\t<div style=\"width:50%; display:inline-block\">\n\t\t<p align=\"center\">\n\t\t<img style=\"text-align:center\" width=\"180\" height=\"180\" alt=\"\" src=\"https://raw.githubusercontent.com/cometchat-pro/ios-swift-chat-app/master/Screenshots/CometChat%20Logo.png\">\t\n\t\t</p>\t\n\t</div>\t\n</div>\n</br>\n</br>\n</div>\n\nCometChat Pro enables you to add voice, video & text chat for your website & app.\n\n<a href=\"https://www.npmjs.com\">[![Platform](https://img.shields.io/badge/Platform-Javascript-blue.svg)](#)</a>\n<a href=\"https://www.npmjs.com\">[![Platform](https://img.shields.io/badge/Platform-NPM-orange.svg)](#)</a>\n\n# Quick Start\n\nThis guide demonstrates how to add chat to a Javascript application using CometChat. Before you begin, we strongly recommend you read the <a href=\"https://prodocs.cometchat.com/docs/concepts\" target=\"_blank\">Key Concepts</a> guide.\n\n## Get your Application Keys\n\n<a href=\"https://app.cometchat.com\" target=\"_blank\">Signup for CometChat</a> and then:\n\n1. Create a new app: Enter a name & hit the **+** button\n2. Head over to the **API Keys** section and click on the **Create API Key** button\n3. Enter a name and select the scope as **Auth Only**\n4. Now note the **API Key** and **App ID**\n\n## Add the CometChat Dependency\n\n### NPM\nFirst, install via npm\n\n`Shell`\n\n```shell\nnpm install @cometchat-pro/chat --save\n```\n\nThen, import the `CometChat` object wherever you want to use CometChat\n\n`JavaScript`\n\n```Javascript \nimport { CometChat } from \"@cometchat-pro/chat\" \n```\n### HTML (via CDN)\nInclude the CometChat Javascript library in your HTML code\n\n\n```HTML\n<script type=\"text/javascript\" src=\"https://unpkg.com/@cometchat-pro/chat/CometChat.js\"></script>\n```\n\n## Initialize CometChat\nThe `init()` method initializes the settings required for `CometChat`.\n\nYou need to call `init()` before calling any other method from CometChat.\n\n```Javascript\nvar appID = \"APP_ID\";\n\nCometChat.init(appID).then(\n  hasInitialized => {\n    console.log(\"Initialization completed successfully\", hasInitialized);\n    // You can now call login function.\n  },\n  error => {\n    console.log(\"Initialization failed with error:\", error);\n    // Check the reason for error and take apppropriate action.\n  }\n);\n```\nMake sure you replace the `APP_ID` with your CometChat **App ID** in the above code.\n\n## Login your user\nOnce initialization is successful, you will need to log the user into CometChat using the login() method.\n\nWe recommend you call the CometChat login method once your user logs into your app.\n```Javascript\n\nvar UID = \"SUPERHERO1\";\nvar apiKey = \"API_KEY\";\n\nCometChat.login(UID, apiKey).then(\n  User => {\n    console.log(\"Login Successful:\", { User });\n    // User loged in successfully.\n  },\n  error => {\n    console.log(\"Login failed with exception:\", { error });\n    // User login failed, check error and take appropriate action.\n  }\n);\n```\nMake sure you replace the `API_KEY` with your `CometChat` **API Key** in the above code.\n\n>**Sample Users**\n>We have set-up 5 users for testing having UIDs: `SUPERHERO1`, `SUPERHERO2`, `SUPERHERO3`, `SUPERHERO4` and `SUPERHERO5`.\n\nThe `login()` method returns the User object on `Promise` resolved containing all the information of the logged in user.\n\n## Send a message\nOnce your user has logged in, you can send a message using the `sendMessage()` method.\n```Javascript\nvar receiverID = \"SUPERHERO2\";\nvar messageText = \"Hello\";\nvar messageType = CometChat.MESSAGE_TYPE.TEXT;\nvar receiverType = CometChat.RECEIVER_TYPE.USER;\n\nvar textMessage = new CometChat.TextMessage(receiverID, messageText, messageType, receiverType);\n\nCometChat.sendMessage(textMessage).then(\n  message => {\n    console.log(\"Message sent successfully:\", message);\n    // Do something with message\n  },\n  error => {\n    console.log(\"Message sending failed with error:\", error);\n    // Handle any error\n  }\n);\n```\n| **Parameter** | **Description**                                                                                                                                 |\n|---------------|-------------------------------------------------------------------------------------------------------------------------------------------------|\n| receiverID    | The UID or GUID of the recipient                                                                                                                |\n| messageText   | The message string to be sent                                                                                                                   |\n| messageType   | The type of the message that needs to be sent which in this case is `CometChat.MESSAGE_TYPE.TEXT` (text)                                        |\n| receiverType  | The type of the receiver to whom the message is to be sent i.e `CometChat.RECEIVER_TYPE.USER` (user) or `CometChat.RECEIVER_TYPE.GROUP` (group) |\n\nOnce the message is sent successfully, you will receive the message information as <a href=\"https://prodocs.cometchat.com/docs/js-appendix#section-textmessage\">`TextMessage` </a> object on `Promise` resolved.\n\n## Receive Messages\nYou can add multiple MessageListener using the `addMessageListener()` method, to receive incoming message wherever you need.\n\n```Javascript \nvar listenerID = \"UNIQUE_LISTENER_ID\";can we get single amazon server !\nCometChat.addMessageListener(listenerID, new CometChat.MessageListener({\n  onTextMessageReceived: message => {\n    console.log(\"Message received successfully:\", message);\n    // Handle text message\n  }\n}));\n```\n| **Parameter** | **Description**                                                                                |\n|---------------|------------------------------------------------------------------------------------------------|\n| listenerID    | An ID that uniquely identifies that listener. We recommend using the activity or fragment name |\n \n\nTo learn more, please refer to our <a href=\"https://prodocs.cometchat.com/docs/js-quick-start\">javascript Developer Documentation</a>.","gitHead":"cb07444c3dd780d149bcc9154fa6fe353b2d37e0","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"gajraajay","email":"ajay.gajra@inscripts.in"},"repository":{"url":"git+https://github.com/cometchat-pro/javascript-chat-sdk.git","type":"git"},"_npmVersion":"6.8.0","description":"A complete chat solution.","directories":{},"_nodeVersion":"8.11.3","_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/chat_1.2.0-beta.1_1551775851230_0.2603447465874751","host":"s3://npm-registry-packages"}},"1.2.0":{"name":"@cometchat-pro/chat","version":"1.2.0","keywords":["CometChat","chat","messaging","chat","sdk","pro","message","sdk","messaging","sdk","audio","chat","video","chat","webRTC"],"author":{"name":"CometChat"},"license":"SEE LICENSE IN LICENSE.md","_id":"@cometchat-pro/chat@1.2.0","maintainers":[{"name":"anantgarg","email":"anant.garg@inscripts.com"},{"name":"gajraajay","email":"ajay.gajra@inscripts.in"}],"homepage":"https://github.com/cometchat-pro/javascript-chat-sdk#readme","bugs":{"url":"https://github.com/cometchat-pro/javascript-chat-sdk/issues"},"dist":{"shasum":"8d06c0b37e89e2f5c4b7fe365cfd7947a89fc306","tarball":"https://registry.npmjs.org/@cometchat-pro/chat/-/chat-1.2.0.tgz","fileCount":5,"integrity":"sha512-Clsx/eJbu0VA6FalEslA25zC9VbTv5lSLpbKKvBqFgFeDj/pY2o2bzG3edqKj3BSytjtUYgRuqHPp4wjXrgw8A==","signatures":[{"sig":"MEUCIBw3XgNgfg4Wrh7EqY/3ASvu0cx0pIXROUPj3tTcKFi+AiEAnlYmL5EmXbUPUvqScXKfBCjeAR4g8pPeAMUOab0jsr4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":325207,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcfnznCRA9TVsSAnZWagAAN0sP/0iedrx+sNfKr+vZcyQV\ngMh7cQdngYK3vVTDwmRghNj8K/F2P1oiQSJG6sGdZqdopoItTI85DKU7pu/s\nqggZSW1zaz1UAytNLlaI2AARcFM0CqyEONnhO2EZPbbhi6f5ATAFeCPaPS8a\nt6qWsQuQlhyhrhVaCEHKjgbKAcwqLneIipx4qS8CyCN+WsejrTYVbPGmG0AD\n+MD0tZvXcBf/vXNM3Y6+siq19C2cHBQqHUVKWsVdqYnrO3fpffEqsBRQRl0U\nXBBHw9UEAYL04DulY4XovGwxFiYylZKvCbtn38MMIKSw2gaptbibHSZwB9Pk\nIia8D+ej8QgkdmIdThe83/QSQLPiiBpchVwwLG0POWx/2y8+3HXzWIorBicu\nsZAg3tMwcVTTyu6X997PbUuH6V0IhaQ0sZOUH8X7efb3o0riZx80q8fHAhLJ\nv51AZkZF+6VzsFZZNCo3/3LhOr2h3urV5Db8g1s9Zak6cFtFpsYCvoFvq85n\nr2R3oJdKaPT0MG1vTYPhKYLOaz/sEpfqeA6gCBP+QFYAi4hTGu9xCSXdtpBS\n8DpIR4Id2edcYZYHFmsloPH1rXB0EKjxUk9y3rokuzfx5P7OWpifn5olMdpg\nU9iF+/G107uo2CVhWJrH7Fsg+hbYcXUxRXJvQGQEppFC8B1+hbqjF6rjytOe\nbz5L\r\n=LZ1C\r\n-----END PGP SIGNATURE-----\r\n"},"main":"CometChat.js","gitHead":"c2590aeb48faf1304ac1f1e507f6b1e4260ad34c","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"gajraajay","email":"ajay.gajra@inscripts.in"},"repository":{"url":"git+https://github.com/cometchat-pro/javascript-chat-sdk.git","type":"git"},"_npmVersion":"6.8.0","description":"A complete chat solution.","directories":{},"_nodeVersion":"8.11.3","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/chat_1.2.0_1551793383300_0.3082110989538802","host":"s3://npm-registry-packages"}},"1.2.1-beta.0":{"name":"@cometchat-pro/chat","version":"1.2.1-beta.0","keywords":["CometChat","chat","messaging","chat","sdk","pro","message","sdk","messaging","sdk","audio","chat","video","chat","webRTC"],"author":{"name":"CometChat"},"license":"SEE LICENSE IN LICENSE.md","_id":"@cometchat-pro/chat@1.2.1-beta.0","maintainers":[{"name":"anantgarg","email":"anant.garg@inscripts.com"},{"name":"gajraajay","email":"ajay.gajra@inscripts.in"}],"homepage":"https://github.com/cometchat-pro/javascript-chat-sdk#readme","bugs":{"url":"https://github.com/cometchat-pro/javascript-chat-sdk/issues"},"dist":{"shasum":"107bdfef55f1587980e64cd44c1445df84b2ea74","tarball":"https://registry.npmjs.org/@cometchat-pro/chat/-/chat-1.2.1-beta.0.tgz","fileCount":5,"integrity":"sha512-4pQKLN7u5cGiUuUG9ZJcjmI7x/HS4erNgKoM0PVZ8wzojwnXLCtBQbiqUfvvWNcjowf428XdcD5IRom8YC10NQ==","signatures":[{"sig":"MEUCIQCxde2dbnJseOjAUbZKs1E96vnGJFpMYZm4FKxzUY6BlQIgSVN1RqcHYkPypRxVEUrdxWmg6Fon5JbtETd9dSWzbEc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":325303,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcfpNGCRA9TVsSAnZWagAAyukP/iV8anC0EudQ1FSh10H0\n6WGxk3peiHFC4TDfoq8SqhMBZ+OU+6t6WIXxdsPFaNokwGbRHIfHAC1Ngz6z\nqyJTB1th4He3DpcdJeUYOCzp6l8ejsuxb/tG/22AR0AB/VDbzYRcSRVLzC2m\nRmh7aGfVHofRA1HF1XMHL43x7m75JexSavwcAVXzHFiEcVzav/wtPdn5UnYb\n9UYy9NXr99M8zjT3/3Mu0Ky/yFsF+4Kv7bMeTy0iTkImdddGG+U4zXVDfqod\nK7trT5phQ2vtOOZC7A3hbbDFyUj6GM+g01dMZFq2TVEorVjZ0OzTfppOmzPE\n+uUEjloBRWTibF4upJEgyzxjkq/zqTGRXiQH+e6SwHidOyybAYAytlui33kW\nc3SQJYfdm2b5Lh/JWOKN5gFmOk7bf5TffjnWlxgfiPYEwkKQ5wkdbyjC9vWv\nhbigfZYgZggfFRDrm+SDdGWaQUfAbdlXg5cHlwGaN9NjFtn/ebpf0PQUbci5\nLUzsaWMtNXPivZtCe1c+A78TytcU+VQrrlO/e7fWHGdWx+p9a1m6My3bOG8F\nICTRxneuyEGwA4hP69O5KPfKtzr9/8hZhiI+I/PAfvXdWH4okPoCHLFsUuQD\nVuSjHkiS8MXCygkcOZKX4pxASlUV/W7DtPh2xlX0v/J8HULDDIYe1ZuwIxCR\nRrqf\r\n=t4B9\r\n-----END PGP SIGNATURE-----\r\n"},"main":"CometChat.js","readme":"<div style=\"width:100%\">\n<div style=\"width:100%\">\n\t<div style=\"width:50%; display:inline-block\">\n\t\t<p align=\"center\">\n\t\t<img style=\"text-align:center\" width=\"180\" height=\"180\" alt=\"\" src=\"https://raw.githubusercontent.com/cometchat-pro/ios-swift-chat-app/master/Screenshots/CometChat%20Logo.png\">\t\n\t\t</p>\t\n\t</div>\t\n</div>\n</br>\n</br>\n</div>\n\nCometChat Pro enables you to add voice, video & text chat for your website & app.\n\n<a href=\"https://www.npmjs.com\">[![Platform](https://img.shields.io/badge/Platform-Javascript-blue.svg)](#)</a>\n<a href=\"https://www.npmjs.com\">[![Platform](https://img.shields.io/badge/Platform-NPM-orange.svg)](#)</a>\n\n# Quick Start\n\nThis guide demonstrates how to add chat to a Javascript application using CometChat. Before you begin, we strongly recommend you read the <a href=\"https://prodocs.cometchat.com/docs/concepts\" target=\"_blank\">Key Concepts</a> guide.\n\n## Get your Application Keys\n\n<a href=\"https://app.cometchat.com\" target=\"_blank\">Signup for CometChat</a> and then:\n\n1. Create a new app: Enter a name & hit the **+** button\n2. Head over to the **API Keys** section and click on the **Create API Key** button\n3. Enter a name and select the scope as **Auth Only**\n4. Now note the **API Key** and **App ID**\n\n## Add the CometChat Dependency\n\n### NPM\nFirst, install via npm\n\n`Shell`\n\n```shell\nnpm install @cometchat-pro/chat --save\n```\n\nThen, import the `CometChat` object wherever you want to use CometChat\n\n`JavaScript`\n\n```Javascript \nimport { CometChat } from \"@cometchat-pro/chat\" \n```\n### HTML (via CDN)\nInclude the CometChat Javascript library in your HTML code\n\n\n```HTML\n<script type=\"text/javascript\" src=\"https://unpkg.com/@cometchat-pro/chat/CometChat.js\"></script>\n```\n\n## Initialize CometChat\nThe `init()` method initializes the settings required for `CometChat`.\n\nYou need to call `init()` before calling any other method from CometChat.\n\n```Javascript\nvar appID = \"APP_ID\";\n\nCometChat.init(appID).then(\n  hasInitialized => {\n    console.log(\"Initialization completed successfully\", hasInitialized);\n    // You can now call login function.\n  },\n  error => {\n    console.log(\"Initialization failed with error:\", error);\n    // Check the reason for error and take apppropriate action.\n  }\n);\n```\nMake sure you replace the `APP_ID` with your CometChat **App ID** in the above code.\n\n## Login your user\nOnce initialization is successful, you will need to log the user into CometChat using the login() method.\n\nWe recommend you call the CometChat login method once your user logs into your app.\n```Javascript\n\nvar UID = \"SUPERHERO1\";\nvar apiKey = \"API_KEY\";\n\nCometChat.login(UID, apiKey).then(\n  User => {\n    console.log(\"Login Successful:\", { User });\n    // User loged in successfully.\n  },\n  error => {\n    console.log(\"Login failed with exception:\", { error });\n    // User login failed, check error and take appropriate action.\n  }\n);\n```\nMake sure you replace the `API_KEY` with your `CometChat` **API Key** in the above code.\n\n>**Sample Users**\n>We have set-up 5 users for testing having UIDs: `SUPERHERO1`, `SUPERHERO2`, `SUPERHERO3`, `SUPERHERO4` and `SUPERHERO5`.\n\nThe `login()` method returns the User object on `Promise` resolved containing all the information of the logged in user.\n\n## Send a message\nOnce your user has logged in, you can send a message using the `sendMessage()` method.\n```Javascript\nvar receiverID = \"SUPERHERO2\";\nvar messageText = \"Hello\";\nvar messageType = CometChat.MESSAGE_TYPE.TEXT;\nvar receiverType = CometChat.RECEIVER_TYPE.USER;\n\nvar textMessage = new CometChat.TextMessage(receiverID, messageText, messageType, receiverType);\n\nCometChat.sendMessage(textMessage).then(\n  message => {\n    console.log(\"Message sent successfully:\", message);\n    // Do something with message\n  },\n  error => {\n    console.log(\"Message sending failed with error:\", error);\n    // Handle any error\n  }\n);\n```\n| **Parameter** | **Description**                                                                                                                                 |\n|---------------|-------------------------------------------------------------------------------------------------------------------------------------------------|\n| receiverID    | The UID or GUID of the recipient                                                                                                                |\n| messageText   | The message string to be sent                                                                                                                   |\n| messageType   | The type of the message that needs to be sent which in this case is `CometChat.MESSAGE_TYPE.TEXT` (text)                                        |\n| receiverType  | The type of the receiver to whom the message is to be sent i.e `CometChat.RECEIVER_TYPE.USER` (user) or `CometChat.RECEIVER_TYPE.GROUP` (group) |\n\nOnce the message is sent successfully, you will receive the message information as <a href=\"https://prodocs.cometchat.com/docs/js-appendix#section-textmessage\">`TextMessage` </a> object on `Promise` resolved.\n\n## Receive Messages\nYou can add multiple MessageListener using the `addMessageListener()` method, to receive incoming message wherever you need.\n\n```Javascript \nvar listenerID = \"UNIQUE_LISTENER_ID\";can we get single amazon server !\nCometChat.addMessageListener(listenerID, new CometChat.MessageListener({\n  onTextMessageReceived: message => {\n    console.log(\"Message received successfully:\", message);\n    // Handle text message\n  }\n}));\n```\n| **Parameter** | **Description**                                                                                |\n|---------------|------------------------------------------------------------------------------------------------|\n| listenerID    | An ID that uniquely identifies that listener. We recommend using the activity or fragment name |\n \n\nTo learn more, please refer to our <a href=\"https://prodocs.cometchat.com/docs/js-quick-start\">javascript Developer Documentation</a>.","gitHead":"d3a7cdf1583f4437eb5d141f0cf23b36e55c3e18","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"gajraajay","email":"ajay.gajra@inscripts.in"},"repository":{"url":"git+https://github.com/cometchat-pro/javascript-chat-sdk.git","type":"git"},"_npmVersion":"6.8.0","description":"A complete chat solution.","directories":{},"_nodeVersion":"8.11.3","_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/chat_1.2.1-beta.0_1551799110259_0.6373320524584274","host":"s3://npm-registry-packages"}},"1.2.1-beta.2":{"name":"@cometchat-pro/chat","version":"1.2.1-beta.2","keywords":["CometChat","chat","messaging","chat","sdk","pro","message","sdk","messaging","sdk","audio","chat","video","chat","webRTC"],"author":{"name":"CometChat"},"license":"SEE LICENSE IN LICENSE.md","_id":"@cometchat-pro/chat@1.2.1-beta.2","maintainers":[{"name":"anantgarg","email":"anant.garg@inscripts.com"},{"name":"gajraajay","email":"ajay.gajra@inscripts.in"}],"homepage":"https://github.com/cometchat-pro/javascript-chat-sdk#readme","bugs":{"url":"https://github.com/cometchat-pro/javascript-chat-sdk/issues"},"dist":{"shasum":"b001d4a48cab1130c5e4d156cbbbaaea2288c820","tarball":"https://registry.npmjs.org/@cometchat-pro/chat/-/chat-1.2.1-beta.2.tgz","fileCount":5,"integrity":"sha512-owY5RND3XPm5NaLgVb+lOMjGfOxexYKk9hQ1pRS2pAL8E6akQgtaOvInjvghc/+KQOPXq3kPxBlJCLfhhmTFEw==","signatures":[{"sig":"MEUCIQCb53WPb5NN0pp2Iev2Bij6DLfcTACDY6i26Yxs3ATgTQIgAxa8gNQ3DOJyfUK/Br9AmZiREDu/E55gmoJTGsW+wJc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":325349,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcgklnCRA9TVsSAnZWagAAJ0IP/2OqSOd170KYh/7zQhvE\nB+DYRhfgAqzOWVW2mHW5ug/0dr+LRfJIYV5OIIBRqKXRWFpCdduK5/2hjUY2\ndwTF4jf0oQ9Wgq+rwvUELI2ddE+wPSRFdRln1AO8n1L9H5B5RnhvIg69OrBS\npESQ7MZa519C5fiVHuKGrpilhiXx4faNtuk09mpV389Cqwgzf1koKOvrox6/\n+PsjDnSeFxOrikm6t3YEM/LOrA8BJLks1eitYZWUoUA9+BNoN22eXloshCcw\nNcAkZK+M+dECVtqwXA0sJJxrtKnXrNy7YK3SAZEfqajl93otKjbYZ/EoV5lO\n1cnuVd9oRZj8PtJJ9eSITG+ebjmrCQ0zbQbHnoLO9evQT00JlilDwUNptgeT\nsFZ8GbGJNd05SxlxuHHpj7fbfHTnTE515IPXhlFqi6e+aQD416j54jcqP/pO\nH5HhjKF+49JqHj3ZJ+g9TJIFCGjyy8vCYy6ILgMBvmjWuPFEeMENZL3XdlZp\ns+nKi24efMLVG3lyI65etP9dNU7/kpw3ChjYTUBb5BdLCKqJp5+uW0CGrC06\nbCeXbb9C1/E8Qel52pYWJ+Rqxc/DrbNUtz09XVNk3uq/qpqMSZ68TF56zNdh\ndu46ewD4EYvxL0P+3wEpR6pz+YjR7tiDgD2XDSv2Qyrq3twWcYSrUlQ+1Tk3\nnQtO\r\n=tWHI\r\n-----END PGP SIGNATURE-----\r\n"},"main":"CometChat.js","readme":"<div style=\"width:100%\">\n<div style=\"width:100%\">\n\t<div style=\"width:50%; display:inline-block\">\n\t\t<p align=\"center\">\n\t\t<img style=\"text-align:center\" width=\"180\" height=\"180\" alt=\"\" src=\"https://raw.githubusercontent.com/cometchat-pro/ios-swift-chat-app/master/Screenshots/CometChat%20Logo.png\">\t\n\t\t</p>\t\n\t</div>\t\n</div>\n</br>\n</br>\n</div>\n\nCometChat Pro enables you to add voice, video & text chat for your website & app.\n\n<a href=\"https://www.npmjs.com\">[![Platform](https://img.shields.io/badge/Platform-Javascript-blue.svg)](#)</a>\n<a href=\"https://www.npmjs.com\">[![Platform](https://img.shields.io/badge/Platform-NPM-orange.svg)](#)</a>\n\n# Quick Start\n\nThis guide demonstrates how to add chat to a Javascript application using CometChat. Before you begin, we strongly recommend you read the <a href=\"https://prodocs.cometchat.com/docs/concepts\" target=\"_blank\">Key Concepts</a> guide.\n\n## Get your Application Keys\n\n<a href=\"https://app.cometchat.com\" target=\"_blank\">Signup for CometChat</a> and then:\n\n1. Create a new app: Enter a name & hit the **+** button\n2. Head over to the **API Keys** section and click on the **Create API Key** button\n3. Enter a name and select the scope as **Auth Only**\n4. Now note the **API Key** and **App ID**\n\n## Add the CometChat Dependency\n\n### NPM\nFirst, install via npm\n\n`Shell`\n\n```shell\nnpm install @cometchat-pro/chat --save\n```\n\nThen, import the `CometChat` object wherever you want to use CometChat\n\n`JavaScript`\n\n```Javascript \nimport { CometChat } from \"@cometchat-pro/chat\" \n```\n### HTML (via CDN)\nInclude the CometChat Javascript library in your HTML code\n\n\n```HTML\n<script type=\"text/javascript\" src=\"https://unpkg.com/@cometchat-pro/chat/CometChat.js\"></script>\n```\n\n## Initialize CometChat\nThe `init()` method initializes the settings required for `CometChat`.\n\nYou need to call `init()` before calling any other method from CometChat.\n\n```Javascript\nvar appID = \"APP_ID\";\n\nCometChat.init(appID).then(\n  hasInitialized => {\n    console.log(\"Initialization completed successfully\", hasInitialized);\n    // You can now call login function.\n  },\n  error => {\n    console.log(\"Initialization failed with error:\", error);\n    // Check the reason for error and take apppropriate action.\n  }\n);\n```\nMake sure you replace the `APP_ID` with your CometChat **App ID** in the above code.\n\n## Login your user\nOnce initialization is successful, you will need to log the user into CometChat using the login() method.\n\nWe recommend you call the CometChat login method once your user logs into your app.\n```Javascript\n\nvar UID = \"SUPERHERO1\";\nvar apiKey = \"API_KEY\";\n\nCometChat.login(UID, apiKey).then(\n  User => {\n    console.log(\"Login Successful:\", { User });\n    // User loged in successfully.\n  },\n  error => {\n    console.log(\"Login failed with exception:\", { error });\n    // User login failed, check error and take appropriate action.\n  }\n);\n```\nMake sure you replace the `API_KEY` with your `CometChat` **API Key** in the above code.\n\n>**Sample Users**\n>We have set-up 5 users for testing having UIDs: `SUPERHERO1`, `SUPERHERO2`, `SUPERHERO3`, `SUPERHERO4` and `SUPERHERO5`.\n\nThe `login()` method returns the User object on `Promise` resolved containing all the information of the logged in user.\n\n## Send a message\nOnce your user has logged in, you can send a message using the `sendMessage()` method.\n```Javascript\nvar receiverID = \"SUPERHERO2\";\nvar messageText = \"Hello\";\nvar messageType = CometChat.MESSAGE_TYPE.TEXT;\nvar receiverType = CometChat.RECEIVER_TYPE.USER;\n\nvar textMessage = new CometChat.TextMessage(receiverID, messageText, messageType, receiverType);\n\nCometChat.sendMessage(textMessage).then(\n  message => {\n    console.log(\"Message sent successfully:\", message);\n    // Do something with message\n  },\n  error => {\n    console.log(\"Message sending failed with error:\", error);\n    // Handle any error\n  }\n);\n```\n| **Parameter** | **Description**                                                                                                                                 |\n|---------------|-------------------------------------------------------------------------------------------------------------------------------------------------|\n| receiverID    | The UID or GUID of the recipient                                                                                                                |\n| messageText   | The message string to be sent                                                                                                                   |\n| messageType   | The type of the message that needs to be sent which in this case is `CometChat.MESSAGE_TYPE.TEXT` (text)                                        |\n| receiverType  | The type of the receiver to whom the message is to be sent i.e `CometChat.RECEIVER_TYPE.USER` (user) or `CometChat.RECEIVER_TYPE.GROUP` (group) |\n\nOnce the message is sent successfully, you will receive the message information as <a href=\"https://prodocs.cometchat.com/docs/js-appendix#section-textmessage\">`TextMessage` </a> object on `Promise` resolved.\n\n## Receive Messages\nYou can add multiple MessageListener using the `addMessageListener()` method, to receive incoming message wherever you need.\n\n```Javascript \nvar listenerID = \"UNIQUE_LISTENER_ID\";can we get single amazon server !\nCometChat.addMessageListener(listenerID, new CometChat.MessageListener({\n  onTextMessageReceived: message => {\n    console.log(\"Message received successfully:\", message);\n    // Handle text message\n  }\n}));\n```\n| **Parameter** | **Description**                                                                                |\n|---------------|------------------------------------------------------------------------------------------------|\n| listenerID    | An ID that uniquely identifies that listener. We recommend using the activity or fragment name |\n \n\nTo learn more, please refer to our <a href=\"https://prodocs.cometchat.com/docs/js-quick-start\">javascript Developer Documentation</a>.","gitHead":"3d0c325a43cc2d47707be640cbd690f8a868b5d3","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"gajraajay","email":"ajay.gajra@inscripts.in"},"repository":{"url":"git+https://github.com/cometchat-pro/javascript-chat-sdk.git","type":"git"},"_npmVersion":"6.9.0","description":"A complete chat solution.","directories":{},"_nodeVersion":"8.11.3","_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/chat_1.2.1-beta.2_1552042342293_0.3171694701240819","host":"s3://npm-registry-packages"}},"1.3.0-beta":{"name":"@cometchat-pro/chat","version":"1.3.0-beta","keywords":["CometChat","chat","messaging","chat","sdk","pro","message","sdk","messaging","sdk","audio","chat","video","chat","webRTC"],"author":{"name":"CometChat"},"license":"SEE LICENSE IN LICENSE.md","_id":"@cometchat-pro/chat@1.3.0-beta","maintainers":[{"name":"anantgarg","email":"anant.garg@inscripts.com"},{"name":"gajraajay","email":"ajay.gajra@inscripts.in"}],"homepage":"https://github.com/cometchat-pro/javascript-chat-sdk#readme","bugs":{"url":"https://github.com/cometchat-pro/javascript-chat-sdk/issues"},"dist":{"shasum":"64c2014a6df16f1e94af31195e0b784116bef915","tarball":"https://registry.npmjs.org/@cometchat-pro/chat/-/chat-1.3.0-beta.tgz","fileCount":5,"integrity":"sha512-ixZqaKq33KMqCmAqwz874SeSuUSe1kZaG9Onjei3aP+Mx0d8JPQBlgGUzoM/V1fKqgdrgrRFq7+KO2gzlf+nmQ==","signatures":[{"sig":"MEQCIGnr03053eb+gl7lSIjs4T5nvSb7cyX5DncLXhfiAF1BAiAxbIy1L4dR6xF5h3KBaA8j0NHze+M+SgR/aHTdFZDV0A==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":338396,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcijArCRA9TVsSAnZWagAAfH0P/ixqHNl1fgD+A2erjTxB\nXAZnpqjQLur5ITE1tQOVvDOEEy9+ApXJhS4c5ghISsWljF4DPQIcxp/0EI+j\ni4yaD4hvnSAM3XvGrqezjGX64+OkS/XbGdWY8HFDdh358fOLZO37J2L5C2is\nUl6trYdf9rqd9GetslHtzkyJKCPqvEB0QaV36f47GUsy0FPBdNXNKBx31PpV\n6E78JdvZQ4EuA/qXW/6iRLQzF8p73QJmFgfufHlGSHGAT+UW+ZztG+d4XK1E\nT3RLAh8MlqcVjOOIi0LK6IXTm6GejlkS+M4+wEHnQm6/nBLFWD+dwBVfKIQK\nc6Gksu6FrvfUuGBthobW4HL02ppiK+zvBCUbeZIbHTK39AUuYUNxlMxzp8TN\nrfdOwvxlXP35XFxcNDhtaW2OywjG9QPvrfghGkQN7GFc2WOZj2HL7uON4cPb\nFQd245l7aBuWVcsQHI5aGZZXg9a+mPgrDeZo5cpnvUL4xp3NIv9FcxF4mudK\nrbbZEXnLZlG1OdieEJPvxikJpWu9riyxsAj34aB9NqJWtgtIQZ/e0xL+ZJ3E\nFhG5uphkjQ+WKRDwM9zmHSeBlWPo7suJ8xK+BFGo0aUDeVgYKtBcut+jDtRo\nKwVTenR8ZNGefiYucfJAFUgmiT6SMAZhbXx8DQwmy3wnl6sbbEB+rQeCM5bw\nXoyC\r\n=bCC/\r\n-----END PGP SIGNATURE-----\r\n"},"main":"CometChat.js","readme":"<div style=\"width:100%\">\n<div style=\"width:100%\">\n\t<div style=\"width:50%; display:inline-block\">\n\t\t<p align=\"center\">\n\t\t<img style=\"text-align:center\" width=\"180\" height=\"180\" alt=\"\" src=\"https://raw.githubusercontent.com/cometchat-pro/ios-swift-chat-app/master/Screenshots/CometChat%20Logo.png\">\t\n\t\t</p>\t\n\t</div>\t\n</div>\n</br>\n</br>\n</div>\n\nCometChat Pro enables you to add voice, video & text chat for your website & app.\n\n<a href=\"https://www.npmjs.com\">[![Platform](https://img.shields.io/badge/Platform-Javascript-blue.svg)](#)</a>\n<a href=\"https://www.npmjs.com\">[![Platform](https://img.shields.io/badge/Platform-NPM-orange.svg)](#)</a>\n\n# Quick Start\n\nThis guide demonstrates how to add chat to a Javascript application using CometChat. Before you begin, we strongly recommend you read the <a href=\"https://prodocs.cometchat.com/docs/concepts\" target=\"_blank\">Key Concepts</a> guide.\n\n## Get your Application Keys\n\n<a href=\"https://app.cometchat.com\" target=\"_blank\">Signup for CometChat</a> and then:\n\n1. Create a new app: Enter a name & hit the **+** button\n2. Head over to the **API Keys** section and click on the **Create API Key** button\n3. Enter a name and select the scope as **Auth Only**\n4. Now note the **API Key** and **App ID**\n\n## Add the CometChat Dependency\n\n### NPM\nFirst, install via npm\n\n`Shell`\n\n```shell\nnpm install @cometchat-pro/chat --save\n```\n\nThen, import the `CometChat` object wherever you want to use CometChat\n\n`JavaScript`\n\n```Javascript \nimport { CometChat } from \"@cometchat-pro/chat\" \n```\n### HTML (via CDN)\nInclude the CometChat Javascript library in your HTML code\n\n\n```HTML\n<script type=\"text/javascript\" src=\"https://unpkg.com/@cometchat-pro/chat/CometChat.js\"></script>\n```\n\n## Initialize CometChat\nThe `init()` method initializes the settings required for `CometChat`.\n\nYou need to call `init()` before calling any other method from CometChat.\n\n```Javascript\nvar appID = \"APP_ID\";\n\nCometChat.init(appID).then(\n  hasInitialized => {\n    console.log(\"Initialization completed successfully\", hasInitialized);\n    // You can now call login function.\n  },\n  error => {\n    console.log(\"Initialization failed with error:\", error);\n    // Check the reason for error and take apppropriate action.\n  }\n);\n```\nMake sure you replace the `APP_ID` with your CometChat **App ID** in the above code.\n\n## Login your user\nOnce initialization is successful, you will need to log the user into CometChat using the login() method.\n\nWe recommend you call the CometChat login method once your user logs into your app.\n```Javascript\n\nvar UID = \"SUPERHERO1\";\nvar apiKey = \"API_KEY\";\n\nCometChat.login(UID, apiKey).then(\n  User => {\n    console.log(\"Login Successful:\", { User });\n    // User loged in successfully.\n  },\n  error => {\n    console.log(\"Login failed with exception:\", { error });\n    // User login failed, check error and take appropriate action.\n  }\n);\n```\nMake sure you replace the `API_KEY` with your `CometChat` **API Key** in the above code.\n\n>**Sample Users**\n>We have set-up 5 users for testing having UIDs: `SUPERHERO1`, `SUPERHERO2`, `SUPERHERO3`, `SUPERHERO4` and `SUPERHERO5`.\n\nThe `login()` method returns the User object on `Promise` resolved containing all the information of the logged in user.\n\n## Send a message\nOnce your user has logged in, you can send a message using the `sendMessage()` method.\n```Javascript\nvar receiverID = \"SUPERHERO2\";\nvar messageText = \"Hello\";\nvar messageType = CometChat.MESSAGE_TYPE.TEXT;\nvar receiverType = CometChat.RECEIVER_TYPE.USER;\n\nvar textMessage = new CometChat.TextMessage(receiverID, messageText, messageType, receiverType);\n\nCometChat.sendMessage(textMessage).then(\n  message => {\n    console.log(\"Message sent successfully:\", message);\n    // Do something with message\n  },\n  error => {\n    console.log(\"Message sending failed with error:\", error);\n    // Handle any error\n  }\n);\n```\n| **Parameter** | **Description**                                                                                                                                 |\n|---------------|-------------------------------------------------------------------------------------------------------------------------------------------------|\n| receiverID    | The UID or GUID of the recipient                                                                                                                |\n| messageText   | The message string to be sent                                                                                                                   |\n| messageType   | The type of the message that needs to be sent which in this case is `CometChat.MESSAGE_TYPE.TEXT` (text)                                        |\n| receiverType  | The type of the receiver to whom the message is to be sent i.e `CometChat.RECEIVER_TYPE.USER` (user) or `CometChat.RECEIVER_TYPE.GROUP` (group) |\n\nOnce the message is sent successfully, you will receive the message information as <a href=\"https://prodocs.cometchat.com/docs/js-appendix#section-textmessage\">`TextMessage` </a> object on `Promise` resolved.\n\n## Receive Messages\nYou can add multiple MessageListener using the `addMessageListener()` method, to receive incoming message wherever you need.\n\n```Javascript \nvar listenerID = \"UNIQUE_LISTENER_ID\";can we get single amazon server !\nCometChat.addMessageListener(listenerID, new CometChat.MessageListener({\n  onTextMessageReceived: message => {\n    console.log(\"Message received successfully:\", message);\n    // Handle text message\n  }\n}));\n```\n| **Parameter** | **Description**                                                                                |\n|---------------|------------------------------------------------------------------------------------------------|\n| listenerID    | An ID that uniquely identifies that listener. We recommend using the activity or fragment name |\n \n\nTo learn more, please refer to our <a href=\"https://prodocs.cometchat.com/docs/js-quick-start\">javascript Developer Documentation</a>.","gitHead":"3d0c325a43cc2d47707be640cbd690f8a868b5d3","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"gajraajay","email":"ajay.gajra@inscripts.in"},"repository":{"url":"git+https://github.com/cometchat-pro/javascript-chat-sdk.git","type":"git"},"_npmVersion":"6.9.0","description":"A complete chat solution.","directories":{},"_nodeVersion":"8.11.3","_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/chat_1.3.0-beta_1552560170592_0.08379524846132669","host":"s3://npm-registry-packages"}},"1.3.0-beta.2":{"name":"@cometchat-pro/chat","version":"1.3.0-beta.2","keywords":["CometChat","chat","messaging","chat","sdk","pro","message","sdk","messaging","sdk","audio","chat","video","chat","webRTC"],"author":{"name":"CometChat"},"license":"SEE LICENSE IN LICENSE.md","_id":"@cometchat-pro/chat@1.3.0-beta.2","maintainers":[{"name":"anantgarg","email":"anant.garg@inscripts.com"},{"name":"gajraajay","email":"ajay.gajra@inscripts.in"}],"homepage":"https://github.com/cometchat-pro/javascript-chat-sdk#readme","bugs":{"url":"https://github.com/cometchat-pro/javascript-chat-sdk/issues"},"dist":{"shasum":"21d2161c4f5fa6ac08af9810046d095cd675a68f","tarball":"https://registry.npmjs.org/@cometchat-pro/chat/-/chat-1.3.0-beta.2.tgz","fileCount":5,"integrity":"sha512-cCmOoh1OfDEkLfsfzmJjIVNkVU89YhxwLZTA9p8EmcS7fit68wEty59zs0hZ4nRlYb03S8URApZ0SVblYEkztg==","signatures":[{"sig":"MEYCIQDmdQksYc1j1CTGNbb81UTg45axrt88YdB6G4Hf44tdHgIhAOK7CRMdlFmVvqAJTVXB0r2uUIN7EaC7VpZiRmptiV06","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":302429,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJci6ROCRA9TVsSAnZWagAA3+QQAIZy+3g8vS6IrKdCsYrs\n47hyPx5LhMP/ifMqXJHpcJZA03fWhIlWaztBvtK86o85YfUPRzAC2NHQppTZ\n4V6F5MR/vqfjoq4TGQU8QgFhNc8ZWOARr3e/hpJw7/80s4bbuG4SuwUlv19F\nrlvhPJoG220yzwc9EoAcfR0nNRg7ngtc9/2p1IMrr9MHXxX4q+Pc7X6pbgah\nrowv4n4CCplCA+8qV8P2i6Zi/PTi0YAN0cPosqigOUjLhJnwCcW9PnaqLYvq\nxa+ypjIHKyslHGeUUXCIbx3qgGe9V60+JB52AewicTamiuxklz/QRiS/+BpV\nu1TwTE+AKSwt756AKTjpN5zOWfAXv4YZ9JjK0FIOIhSf+AobCy0VAWseex6V\nVZOW1fnjr1b6t98uIuqaKK/ia9wd+7NraWPPatMb/9YG0MpzvpOjGzYR1y1t\nzj6jNxvWQuzobpn+gERMvwB36j/4eExuctz4S+vFOEf2XadrmKdKvWmMyL6k\n5XtysO5j5Br0cEPm5H9GSoBf+4lCHVqXDLmcRvyi+O+znMDdj9Hn+BbwB11D\nE2oPCIOKZgSNPGij/MKxLln5hjX4qppQVFdrNIZ+T9otUBCBvIdWX/WD5trA\n8F6BUiCASF3UKY4a+VZpzxJlLXenrvtTtAlRk7HOVn+9ilE6Zgex1K8VRCBr\nUtxr\r\n=823t\r\n-----END PGP SIGNATURE-----\r\n"},"main":"CometChat.js","readme":"<div style=\"width:100%\">\n<div style=\"width:100%\">\n\t<div style=\"width:50%; display:inline-block\">\n\t\t<p align=\"center\">\n\t\t<img style=\"text-align:center\" width=\"180\" height=\"180\" alt=\"\" src=\"https://raw.githubusercontent.com/cometchat-pro/ios-swift-chat-app/master/Screenshots/CometChat%20Logo.png\">\t\n\t\t</p>\t\n\t</div>\t\n</div>\n</br>\n</br>\n</div>\n\nCometChat Pro enables you to add voice, video & text chat for your website & app.\n\n<a href=\"https://www.npmjs.com\">[![Platform](https://img.shields.io/badge/Platform-Javascript-blue.svg)](#)</a>\n<a href=\"https://www.npmjs.com\">[![Platform](https://img.shields.io/badge/Platform-NPM-orange.svg)](#)</a>\n\n# Quick Start\n\nThis guide demonstrates how to add chat to a Javascript application using CometChat. Before you begin, we strongly recommend you read the <a href=\"https://prodocs.cometchat.com/docs/concepts\" target=\"_blank\">Key Concepts</a> guide.\n\n## Get your Application Keys\n\n<a href=\"https://app.cometchat.com\" target=\"_blank\">Signup for CometChat</a> and then:\n\n1. Create a new app: Enter a name & hit the **+** button\n2. Head over to the **API Keys** section and click on the **Create API Key** button\n3. Enter a name and select the scope as **Auth Only**\n4. Now note the **API Key** and **App ID**\n\n## Add the CometChat Dependency\n\n### NPM\nFirst, install via npm\n\n`Shell`\n\n```shell\nnpm install @cometchat-pro/chat --save\n```\n\nThen, import the `CometChat` object wherever you want to use CometChat\n\n`JavaScript`\n\n```Javascript \nimport { CometChat } from \"@cometchat-pro/chat\" \n```\n### HTML (via CDN)\nInclude the CometChat Javascript library in your HTML code\n\n\n```HTML\n<script type=\"text/javascript\" src=\"https://unpkg.com/@cometchat-pro/chat/CometChat.js\"></script>\n```\n\n## Initialize CometChat\nThe `init()` method initializes the settings required for `CometChat`.\n\nYou need to call `init()` before calling any other method from CometChat.\n\n```Javascript\nvar appID = \"APP_ID\";\n\nCometChat.init(appID).then(\n  hasInitialized => {\n    console.log(\"Initialization completed successfully\", hasInitialized);\n    // You can now call login function.\n  },\n  error => {\n    console.log(\"Initialization failed with error:\", error);\n    // Check the reason for error and take apppropriate action.\n  }\n);\n```\nMake sure you replace the `APP_ID` with your CometChat **App ID** in the above code.\n\n## Login your user\nOnce initialization is successful, you will need to log the user into CometChat using the login() method.\n\nWe recommend you call the CometChat login method once your user logs into your app.\n```Javascript\n\nvar UID = \"SUPERHERO1\";\nvar apiKey = \"API_KEY\";\n\nCometChat.login(UID, apiKey).then(\n  User => {\n    console.log(\"Login Successful:\", { User });\n    // User loged in successfully.\n  },\n  error => {\n    console.log(\"Login failed with exception:\", { error });\n    // User login failed, check error and take appropriate action.\n  }\n);\n```\nMake sure you replace the `API_KEY` with your `CometChat` **API Key** in the above code.\n\n>**Sample Users**\n>We have set-up 5 users for testing having UIDs: `SUPERHERO1`, `SUPERHERO2`, `SUPERHERO3`, `SUPERHERO4` and `SUPERHERO5`.\n\nThe `login()` method returns the User object on `Promise` resolved containing all the information of the logged in user.\n\n## Send a message\nOnce your user has logged in, you can send a message using the `sendMessage()` method.\n```Javascript\nvar receiverID = \"SUPERHERO2\";\nvar messageText = \"Hello\";\nvar messageType = CometChat.MESSAGE_TYPE.TEXT;\nvar receiverType = CometChat.RECEIVER_TYPE.USER;\n\nvar textMessage = new CometChat.TextMessage(receiverID, messageText, messageType, receiverType);\n\nCometChat.sendMessage(textMessage).then(\n  message => {\n    console.log(\"Message sent successfully:\", message);\n    // Do something with message\n  },\n  error => {\n    console.log(\"Message sending failed with error:\", error);\n    // Handle any error\n  }\n);\n```\n| **Parameter** | **Description**                                                                                                                                 |\n|---------------|-------------------------------------------------------------------------------------------------------------------------------------------------|\n| receiverID    | The UID or GUID of the recipient                                                                                                                |\n| messageText   | The message string to be sent                                                                                                                   |\n| messageType   | The type of the message that needs to be sent which in this case is `CometChat.MESSAGE_TYPE.TEXT` (text)                                        |\n| receiverType  | The type of the receiver to whom the message is to be sent i.e `CometChat.RECEIVER_TYPE.USER` (user) or `CometChat.RECEIVER_TYPE.GROUP` (group) |\n\nOnce the message is sent successfully, you will receive the message information as <a href=\"https://prodocs.cometchat.com/docs/js-appendix#section-textmessage\">`TextMessage` </a> object on `Promise` resolved.\n\n## Receive Messages\nYou can add multiple MessageListener using the `addMessageListener()` method, to receive incoming message wherever you need.\n\n```Javascript \nvar listenerID = \"UNIQUE_LISTENER_ID\";can we get single amazon server !\nCometChat.addMessageListener(listenerID, new CometChat.MessageListener({\n  onTextMessageReceived: message => {\n    console.log(\"Message received successfully:\", message);\n    // Handle text message\n  }\n}));\n```\n| **Parameter** | **Description**                                                                                |\n|---------------|------------------------------------------------------------------------------------------------|\n| listenerID    | An ID that uniquely identifies that listener. We recommend using the activity or fragment name |\n \n\nTo learn more, please refer to our <a href=\"https://prodocs.cometchat.com/docs/js-quick-start\">javascript Developer Documentation</a>.","gitHead":"8b319b59729db4b6b393e5bbaad08c60e741e9c9","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"gajraajay","email":"ajay.gajra@inscripts.in"},"repository":{"url":"git+https://github.com/cometchat-pro/javascript-chat-sdk.git","type":"git"},"_npmVersion":"6.9.0","description":"A complete chat solution.","directories":{},"_nodeVersion":"8.11.3","_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/chat_1.3.0-beta.2_1552655437517_0.8982602224482412","host":"s3://npm-registry-packages"}},"1.3.0":{"name":"@cometchat-pro/chat","version":"1.3.0","keywords":["CometChat","chat","messaging","chat","sdk","pro","message","sdk","messaging","sdk","audio","chat","video","chat","webRTC"],"author":{"name":"CometChat"},"license":"SEE LICENSE IN LICENSE.md","_id":"@cometchat-pro/chat@1.3.0","maintainers":[{"name":"anantgarg","email":"anant.garg@inscripts.com"},{"name":"gajraajay","email":"ajay.gajra@inscripts.in"}],"homepage":"https://github.com/cometchat-pro/javascript-chat-sdk#readme","bugs":{"url":"https://github.com/cometchat-pro/javascript-chat-sdk/issues"},"dist":{"shasum":"1cfa071d368fdebfe1a3ce6afa278029ba625e01","tarball":"https://registry.npmjs.org/@cometchat-pro/chat/-/chat-1.3.0.tgz","fileCount":5,"integrity":"sha512-39rZ38mLAQ5BHF/Tb1Rp4K/400BqHEBcF/tY6xFySyIInqqiBr21q7Df1+F4/75WeNwcg1A00Z1dkHXEPh5QbQ==","signatures":[{"sig":"MEUCIFlTPV04z+pbdPXhYlxHHFq4YXKzeRUkqmtfILj/RpA/AiEAynlJm/fPH+ed97h+5Gl7wbTC6NAkNeFVHt14sJWKr0M=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":302654,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcjPRLCRA9TVsSAnZWagAAcrYP/jcYMQmgteh5Ou/xQOTC\n3e/1vRfq20c7graJepq105KmCg2uavGnGQOk6+NDAJFo/3EuSgBzGXaBuviD\nTBjYi01p5Al4YgymHjDpFZ22Skrc6UPn2LMEhNr+9h2AYNNoByvNaBcUnaq4\nqlnYBljAVIsZ38prFvY6nC5W9HL4wEA54FLGuJFxR8WYKohAFyvgt6uHq28M\nAFCe3lUIVuPbFadVWbgb6yBuX9paMOy56QPVxXPk8y1W2jmmkCI4B1jg/P50\nl4NclCtApKPADxAxgEM/EqNcJaTVwS9KkDP0glmHr1bXxs/wSoFB58vPeVos\nrzMMbHJ3OtH6uUmkT3FIjw3Gjsc3io6DGfFMhvZPkFq9nMHhRIIZZo1gWDrS\n6m7ieYqJ5abqhgT74ZU6B+YTquKGRq24quGAmnZuoTith3WH11w0SOPtiXTB\nDEXS/z9iiPuHXyjUCCNRxYiNMPoAUPZwS+K3DiyrGcKPzESFg3qSsphlgdrv\nxLHX5VDPsd4TFmzOwi3pAvHPZi0MZW7u/5ZpyZCdEq6VkOiL6Oe5NM0ET3Y/\nvVVnOB0p9jYv3it7bN77Hd0cxUUDtfpGsxz6NmudJ/0KNoeJ5pVhm8TRSguW\nit0pGQBKLIQ2hBAlFaUua1TwXtFmAPuUQ2JB62sxEreXwB5ncnM5lZ2TJn0K\nDvyt\r\n=bUZL\r\n-----END PGP SIGNATURE-----\r\n"},"main":"CometChat.js","gitHead":"a3a4cf6e9fba6abfac7f0f88db1fd7d5cc63ae49","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"gajraajay","email":"ajay.gajra@inscripts.in"},"repository":{"url":"git+https://github.com/cometchat-pro/javascript-chat-sdk.git","type":"git"},"_npmVersion":"6.9.0","description":"A complete chat solution.","directories":{},"_nodeVersion":"8.11.3","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/chat_1.3.0_1552741451173_0.006871508916585389","host":"s3://npm-registry-packages"}},"1.3.0-beta.3":{"name":"@cometchat-pro/chat","version":"1.3.0-beta.3","keywords":["CometChat","chat","messaging","chat","sdk","pro","message","sdk","messaging","sdk","audio","chat","video","chat","webRTC"],"author":{"name":"CometChat"},"license":"SEE LICENSE IN LICENSE.md","_id":"@cometchat-pro/chat@1.3.0-beta.3","maintainers":[{"name":"anantgarg","email":"anant.garg@inscripts.com"},{"name":"gajraajay","email":"ajay.gajra@inscripts.in"}],"homepage":"https://github.com/cometchat-pro/javascript-chat-sdk#readme","bugs":{"url":"https://github.com/cometchat-pro/javascript-chat-sdk/issues"},"dist":{"shasum":"6f55cfbcae99c3aa61ce2fb9140d249c97fb450d","tarball":"https://registry.npmjs.org/@cometchat-pro/chat/-/chat-1.3.0-beta.3.tgz","fileCount":5,"integrity":"sha512-tJSPXZ4elAlsgpOXB+ivQx/XD11v93lAfjbLiBtqmMr8vyuUczu2WParrBRYtt89HQ53hgr9q2WRHZ7lf2YcKg==","signatures":[{"sig":"MEYCIQDK961c5hWg1D/9b913VJG1PtoXPhw+cJpFH2Z9j1yF5AIhAJPtQUPbbB7in5Z5m3ovsoisxxEQH8WE5BkE76VeeoGx","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":300245,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcovqgCRA9TVsSAnZWagAAm0MP/Ra/siG0cDNZWtYd4jqA\nMrsYbYOLzUb2PROWts7N8Ri7+UEF+daaN1/QKjfkzcBrH33IrRneJHDkBzAD\nwue8bwUY8aYx1hvchNKqzlgPN67gWv3FDsEhlbP/6N1UJMOkm2Nbc6REKiM4\nbiul79seU9WQbCW/mlxhGu+TrWK5AvB+HEodrBRc8IWuO4Cx0tvXga1WBG4d\nH6WLxBasZxPwwec5U5G503XCD9bVFlUktqZS3Qn0BfSr3nuQY3vr2pCBJXK3\n1dPxibKZgzjdquVn+wh7Ubg1vlexNg+MIpPkv7UyYwt7i6RkW0hWY7Tvb9Ba\nx6pr+N+ATxNd6rsbjq2AkG/w/0q1LcxUIuBsy3HLJRWgvVvMCPZ8mdXwzsEz\njnZ8Oqoai+Uim8JwNbh3DWlMK1YfwxWdP3lPFA1HKYOK+Bf/p/BuIIah2p9H\ndHPEoAqbe0st8eaY99rH06s1dsJ0U0bdoBPp1wtryiLDYXsflSFYidOwaU/J\nH2RROA8WUvOs+nYpohzpTj3Ntd20m8/QHcJepsDPFi9mcAuKkLR5yniiy8VU\nMWh5weZBY5vmjZ35tzPUbnwPDIvJeyOBmW7XDid1Udy0NmEMCvZ+z/HbKOoa\nYmpwuM8A/eI0CN/de9MPLrStAVRLg4HhOa8voXatVcQnWisb/m6AMV5ez43t\n9v6t\r\n=oHX7\r\n-----END PGP SIGNATURE-----\r\n"},"main":"CometChat.js","readme":"<div style=\"width:100%\">\n<div style=\"width:100%\">\n\t<div style=\"width:50%; display:inline-block\">\n\t\t<p align=\"center\">\n\t\t<img style=\"text-align:center\" width=\"180\" height=\"180\" alt=\"\" src=\"https://raw.githubusercontent.com/cometchat-pro/ios-swift-chat-app/master/Screenshots/CometChat%20Logo.png\">\t\n\t\t</p>\t\n\t</div>\t\n</div>\n</br>\n</br>\n</div>\n\nCometChat Pro enables you to add voice, video & text chat for your website & app.\n\n<a href=\"https://www.npmjs.com\">[![Platform](https://img.shields.io/badge/Platform-Javascript-blue.svg)](#)</a>\n<a href=\"https://www.npmjs.com\">[![Platform](https://img.shields.io/badge/Platform-NPM-orange.svg)](#)</a>\n\n# Quick Start\n\nThis guide demonstrates how to add chat to a Javascript application using CometChat. Before you begin, we strongly recommend you read the <a href=\"https://prodocs.cometchat.com/docs/concepts\" target=\"_blank\">Key Concepts</a> guide.\n\n## Get your Application Keys\n\n<a href=\"https://app.cometchat.com\" target=\"_blank\">Signup for CometChat</a> and then:\n\n1. Create a new app: Enter a name & hit the **+** button\n2. Head over to the **API Keys** section and click on the **Create API Key** button\n3. Enter a name and select the scope as **Auth Only**\n4. Now note the **API Key** and **App ID**\n\n## Add the CometChat Dependency\n\n### NPM\nFirst, install via npm\n\n`Shell`\n\n```shell\nnpm install @cometchat-pro/chat --save\n```\n\nThen, import the `CometChat` object wherever you want to use CometChat\n\n`JavaScript`\n\n```Javascript \nimport { CometChat } from \"@cometchat-pro/chat\" \n```\n### HTML (via CDN)\nInclude the CometChat Javascript library in your HTML code\n\n\n```HTML\n<script type=\"text/javascript\" src=\"https://unpkg.com/@cometchat-pro/chat/CometChat.js\"></script>\n```\n\n## Initialize CometChat\nThe `init()` method initializes the settings required for `CometChat`.\n\nYou need to call `init()` before calling any other method from CometChat.\n\n```Javascript\nvar appID = \"APP_ID\";\n\nCometChat.init(appID).then(\n  hasInitialized => {\n    console.log(\"Initialization completed successfully\", hasInitialized);\n    // You can now call login function.\n  },\n  error => {\n    console.log(\"Initialization failed with error:\", error);\n    // Check the reason for error and take apppropriate action.\n  }\n);\n```\nMake sure you replace the `APP_ID` with your CometChat **App ID** in the above code.\n\n## Login your user\nOnce initialization is successful, you will need to log the user into CometChat using the login() method.\n\nWe recommend you call the CometChat login method once your user logs into your app.\n```Javascript\n\nvar UID = \"SUPERHERO1\";\nvar apiKey = \"API_KEY\";\n\nCometChat.login(UID, apiKey).then(\n  User => {\n    console.log(\"Login Successful:\", { User });\n    // User loged in successfully.\n  },\n  error => {\n    console.log(\"Login failed with exception:\", { error });\n    // User login failed, check error and take appropriate action.\n  }\n);\n```\nMake sure you replace the `API_KEY` with your `CometChat` **API Key** in the above code.\n\n>**Sample Users**\n>We have set-up 5 users for testing having UIDs: `SUPERHERO1`, `SUPERHERO2`, `SUPERHERO3`, `SUPERHERO4` and `SUPERHERO5`.\n\nThe `login()` method returns the User object on `Promise` resolved containing all the information of the logged in user.\n\n## Send a message\nOnce your user has logged in, you can send a message using the `sendMessage()` method.\n```Javascript\nvar receiverID = \"SUPERHERO2\";\nvar messageText = \"Hello\";\nvar messageType = CometChat.MESSAGE_TYPE.TEXT;\nvar receiverType = CometChat.RECEIVER_TYPE.USER;\n\nvar textMessage = new CometChat.TextMessage(receiverID, messageText, messageType, receiverType);\n\nCometChat.sendMessage(textMessage).then(\n  message => {\n    console.log(\"Message sent successfully:\", message);\n    // Do something with message\n  },\n  error => {\n    console.log(\"Message sending failed with error:\", error);\n    // Handle any error\n  }\n);\n```\n| **Parameter** | **Description**                                                                                                                                 |\n|---------------|-------------------------------------------------------------------------------------------------------------------------------------------------|\n| receiverID    | The UID or GUID of the recipient                                                                                                                |\n| messageText   | The message string to be sent                                                                                                                   |\n| messageType   | The type of the message that needs to be sent which in this case is `CometChat.MESSAGE_TYPE.TEXT` (text)                                        |\n| receiverType  | The type of the receiver to whom the message is to be sent i.e `CometChat.RECEIVER_TYPE.USER` (user) or `CometChat.RECEIVER_TYPE.GROUP` (group) |\n\nOnce the message is sent successfully, you will receive the message information as <a href=\"https://prodocs.cometchat.com/docs/js-appendix#section-textmessage\">`TextMessage` </a> object on `Promise` resolved.\n\n## Receive Messages\nYou can add multiple MessageListener using the `addMessageListener()` method, to receive incoming message wherever you need.\n\n```Javascript \nvar listenerID = \"UNIQUE_LISTENER_ID\";can we get single amazon server !\nCometChat.addMessageListener(listenerID, new CometChat.MessageListener({\n  onTextMessageReceived: message => {\n    console.log(\"Message received successfully:\", message);\n    // Handle text message\n  }\n}));\n```\n| **Parameter** | **Description**                                                                                |\n|---------------|------------------------------------------------------------------------------------------------|\n| listenerID    | An ID that uniquely identifies that listener. We recommend using the activity or fragment name |\n \n\nTo learn more, please refer to our <a href=\"https://prodocs.cometchat.com/docs/js-quick-start\">javascript Developer Documentation</a>.","gitHead":"a3a4cf6e9fba6abfac7f0f88db1fd7d5cc63ae49","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"gajraajay","email":"ajay.gajra@inscripts.in"},"repository":{"url":"git+https://github.com/cometchat-pro/javascript-chat-sdk.git","type":"git"},"_npmVersion":"6.9.0","description":"A complete chat solution.","directories":{},"_nodeVersion":"8.11.3","_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/chat_1.3.0-beta.3_1554184863521_0.6895985426201259","host":"s3://npm-registry-packages"}},"1.3.0-beta.5":{"name":"@cometchat-pro/chat","version":"1.3.0-beta.5","keywords":["CometChat","chat","messaging","chat","sdk","pro","message","sdk","messaging","sdk","audio","chat","video","chat","webRTC"],"author":{"name":"CometChat"},"license":"SEE LICENSE IN LICENSE.md","_id":"@cometchat-pro/chat@1.3.0-beta.5","maintainers":[{"name":"anantgarg","email":"anant.garg@inscripts.com"},{"name":"gajraajay","email":"ajay.gajra@inscripts.in"}],"homepage":"https://github.com/cometchat-pro/javascript-chat-sdk#readme","bugs":{"url":"https://github.com/cometchat-pro/javascript-chat-sdk/issues"},"dist":{"shasum":"40a11b5dad9f73079dc75ae1ab7c9d629e6120a1","tarball":"https://registry.npmjs.org/@cometchat-pro/chat/-/chat-1.3.0-beta.5.tgz","fileCount":5,"integrity":"sha512-589qI3n9znqesVVPvlrtl614b+unylWYx9SCXrAaUCFVCszwEvYazl+29byCFQp0tLyg07mWEyaviXLmEW3YjA==","signatures":[{"sig":"MEUCICVuNvJiMq26zc+ef8YmlzRDfb63rvGTAf5Kv31wuVshAiEA8zmsO3kQPSHQa/3Ot7pC+jrA46627Uz+jrD4a7/vVRU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":338210,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcsgUoCRA9TVsSAnZWagAAQ64QAJIfLAbMkZQAseeRCDYM\nPlxXw63EVIlVKgwMnwUL+eCIU4pqLi//ED/zj1XVXofXSJ2WVhkrqqBAKBmM\n5nE4Im68upRNaOJw7ehJfVI08cy4taREPdt0uV4840S2azDy7bvs7vGvKS02\nyiQqgZTzksHoBM4aCPS+kUy82/CaCobbYBu9HdzSkEeI4n3cTAGQUwZbYa2r\neiBgoKJY1uDTT80nlN1LWXOgyYBG8KaxkkLfqRc57LeYm4LLZHN1rMXj4eKX\nT3aRoFE1GxYtdtHNdVJnq8VrunKaPLJNBB6pE//wEq/SCqyPaB90YuqYJOqZ\nA5n91v8D1irpMzlEdiII2HyqEWtzipR1g98WzbgPJs6ZzlP+0wmfOzukmZhl\nVJaIXu4zXnR4FT7nPCaqEBH3/7REAIjQQ06vkbukg6MC2b8sRH1DopFQvoqN\nOzG/CoMj7lAYqUPFuNCNx30Rp/x43lOrhvc9tM0vYQ7KEBIVUB/3bFZEnFJL\nVzDIOn6DlOlh1cQ4RSm9ctfHl2JXmTefOlQQN67gOgs+TnyFhBNt5Ysm/CAx\nUP39ZJ7EcJqA46zzDbQQPvq1Bum7EH2l0upkavOg2YdlCm8kk1JHfJuJSd9M\nNkL4m6V11pX6sb+705ljSoh4lMh8Zwpr2ba4kx0bxkrweBFmcZBMznBliCXw\n34oy\r\n=8Pnr\r\n-----END PGP SIGNATURE-----\r\n"},"main":"CometChat.js","readme":"<div style=\"width:100%\">\n<div style=\"width:100%\">\n\t<div style=\"width:50%; display:inline-block\">\n\t\t<p align=\"center\">\n\t\t<img style=\"text-align:center\" width=\"180\" height=\"180\" alt=\"\" src=\"https://raw.githubusercontent.com/cometchat-pro/ios-swift-chat-app/master/Screenshots/CometChat%20Logo.png\">\t\n\t\t</p>\t\n\t</div>\t\n</div>\n</br>\n</br>\n</div>\n\nCometChat Pro enables you to add voice, video & text chat for your website & app.\n\n<a href=\"https://www.npmjs.com\">[![Platform](https://img.shields.io/badge/Platform-Javascript-blue.svg)](#)</a>\n<a href=\"https://www.npmjs.com\">[![Platform](https://img.shields.io/badge/Platform-NPM-orange.svg)](#)</a>\n\n# Quick Start\n\nThis guide demonstrates how to add chat to a Javascript application using CometChat. Before you begin, we strongly recommend you read the <a href=\"https://prodocs.cometchat.com/docs/concepts\" target=\"_blank\">Key Concepts</a> guide.\n\n## Get your Application Keys\n\n<a href=\"https://app.cometchat.com\" target=\"_blank\">Signup for CometChat</a> and then:\n\n1. Create a new app: Enter a name & hit the **+** button\n2. Head over to the **API Keys** section and click on the **Create API Key** button\n3. Enter a name and select the scope as **Auth Only**\n4. Now note the **API Key** and **App ID**\n\n## Add the CometChat Dependency\n\n### NPM\nFirst, install via npm\n\n`Shell`\n\n```shell\nnpm install @cometchat-pro/chat --save\n```\n\nThen, import the `CometChat` object wherever you want to use CometChat\n\n`JavaScript`\n\n```Javascript \nimport { CometChat } from \"@cometchat-pro/chat\" \n```\n### HTML (via CDN)\nInclude the CometChat Javascript library in your HTML code\n\n\n```HTML\n<script type=\"text/javascript\" src=\"https://unpkg.com/@cometchat-pro/chat/CometChat.js\"></script>\n```\n\n## Initialize CometChat\nThe `init()` method initializes the settings required for `CometChat`.\n\nYou need to call `init()` before calling any other method from CometChat.\n\n```Javascript\nvar appID = \"APP_ID\";\n\nCometChat.init(appID).then(\n  hasInitialized => {\n    console.log(\"Initialization completed successfully\", hasInitialized);\n    // You can now call login function.\n  },\n  error => {\n    console.log(\"Initialization failed with error:\", error);\n    // Check the reason for error and take apppropriate action.\n  }\n);\n```\nMake sure you replace the `APP_ID` with your CometChat **App ID** in the above code.\n\n## Login your user\nOnce initialization is successful, you will need to log the user into CometChat using the login() method.\n\nWe recommend you call the CometChat login method once your user logs into your app.\n```Javascript\n\nvar UID = \"SUPERHERO1\";\nvar apiKey = \"API_KEY\";\n\nCometChat.login(UID, apiKey).then(\n  User => {\n    console.log(\"Login Successful:\", { User });\n    // User loged in successfully.\n  },\n  error => {\n    console.log(\"Login failed with exception:\", { error });\n    // User login failed, check error and take appropriate action.\n  }\n);\n```\nMake sure you replace the `API_KEY` with your `CometChat` **API Key** in the above code.\n\n>**Sample Users**\n>We have set-up 5 users for testing having UIDs: `SUPERHERO1`, `SUPERHERO2`, `SUPERHERO3`, `SUPERHERO4` and `SUPERHERO5`.\n\nThe `login()` method returns the User object on `Promise` resolved containing all the information of the logged in user.\n\n## Send a message\nOnce your user has logged in, you can send a message using the `sendMessage()` method.\n```Javascript\nvar receiverID = \"SUPERHERO2\";\nvar messageText = \"Hello\";\nvar messageType = CometChat.MESSAGE_TYPE.TEXT;\nvar receiverType = CometChat.RECEIVER_TYPE.USER;\n\nvar textMessage = new CometChat.TextMessage(receiverID, messageText, messageType, receiverType);\n\nCometChat.sendMessage(textMessage).then(\n  message => {\n    console.log(\"Message sent successfully:\", message);\n    // Do something with message\n  },\n  error => {\n    console.log(\"Message sending failed with error:\", error);\n    // Handle any error\n  }\n);\n```\n| **Parameter** | **Description**                                                                                                                                 |\n|---------------|-------------------------------------------------------------------------------------------------------------------------------------------------|\n| receiverID    | The UID or GUID of the recipient                                                                                                                |\n| messageText   | The message string to be sent                                                                                                                   |\n| messageType   | The type of the message that needs to be sent which in this case is `CometChat.MESSAGE_TYPE.TEXT` (text)                                        |\n| receiverType  | The type of the receiver to whom the message is to be sent i.e `CometChat.RECEIVER_TYPE.USER` (user) or `CometChat.RECEIVER_TYPE.GROUP` (group) |\n\nOnce the message is sent successfully, you will receive the message information as <a href=\"https://prodocs.cometchat.com/docs/js-appendix#section-textmessage\">`TextMessage` </a> object on `Promise` resolved.\n\n## Receive Messages\nYou can add multiple MessageListener using the `addMessageListener()` method, to receive incoming message wherever you need.\n\n```Javascript \nvar listenerID = \"UNIQUE_LISTENER_ID\";can we get single amazon server !\nCometChat.addMessageListener(listenerID, new CometChat.MessageListener({\n  onTextMessageReceived: message => {\n    console.log(\"Message received successfully:\", message);\n    // Handle text message\n  }\n}));\n```\n| **Parameter** | **Description**                                                                                |\n|---------------|------------------------------------------------------------------------------------------------|\n| listenerID    | An ID that uniquely identifies that listener. We recommend using the activity or fragment name |\n \n\nTo learn more, please refer to our <a href=\"https://prodocs.cometchat.com/docs/js-quick-start\">javascript Developer Documentation</a>.","gitHead":"a3a4cf6e9fba6abfac7f0f88db1fd7d5cc63ae49","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"gajraajay","email":"ajay.gajra@inscripts.in"},"repository":{"url":"git+https://github.com/cometchat-pro/javascript-chat-sdk.git","type":"git"},"_npmVersion":"6.9.0","description":"A complete chat solution.","directories":{},"_nodeVersion":"8.11.3","_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/chat_1.3.0-beta.5_1555170599552_0.13074710799583844","host":"s3://npm-registry-packages"}},"1.3.0-beta.6":{"name":"@cometchat-pro/chat","version":"1.3.0-beta.6","keywords":["CometChat","chat","messaging","chat","sdk","pro","message","sdk","messaging","sdk","audio","chat","video","chat","webRTC"],"author":{"name":"CometChat"},"license":"SEE LICENSE IN LICENSE.md","_id":"@cometchat-pro/chat@1.3.0-beta.6","maintainers":[{"name":"anantgarg","email":"anant.garg@inscripts.com"},{"name":"gajraajay","email":"ajay.gajra@inscripts.in"}],"homepage":"https://github.com/cometchat-pro/javascript-chat-sdk#readme","bugs":{"url":"https://github.com/cometchat-pro/javascript-chat-sdk/issues"},"dist":{"shasum":"24742c4c2503275048ab7d3cd5fd794e01a4bceb","tarball":"https://registry.npmjs.org/@cometchat-pro/chat/-/chat-1.3.0-beta.6.tgz","fileCount":5,"integrity":"sha512-0VS2bSXbIdSelFIrqY+CzYg+C+rbMSnaIjplcTql77pP4HqBuFUqVKEJ+94C9wp1q73uD7T8eHohClCwl/eEsw==","signatures":[{"sig":"MEUCIQC9TAt4CxKW8mvBYsT9TPBLVaYh3fPlJ5N56sHSq/hO9wIgDLZcjVAAOJzQWn8lqo3ihQi0PBCo0DcnF5kAoGB33mI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":339741,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcvyF4CRA9TVsSAnZWagAA4xEP/1uTMGNgrwkXClGxk27p\nzdDAi3k8e++KeZSXDHp7/K8yEtHtE3n93RxbfxoyiuiCL5R+i8tFMxAtLxWy\nmrM+w3lTn+GLnd7ckde7bF0OIkQ7rjReBx7d811rwR4luLT/7XO9++2cTBIp\nnBoIDONc7YnZ428nWN1erGdpU5DSkIS4jlx1uFQT6ASrP/38Jg68yM8doUNe\n905HtJIzSd5wmCzbwnUTkABrqDUmUfPJQo3cTke2VT6LQn+MEb989NjwVLL6\n76GZ1aAy2WoZHS9rAi5+f8WAuQ7eDArHOOySSd22j3LUoWcqJ3Z+782TZcKZ\nco/pOVDUJDSxBZNzJA2ApurvKAf1x89b9QCRrpey88ogx/FHyguQRb1aa2gf\nv6QRAQfRd4dmNoKTW07/kYkrlVbAJ1RCSviJPRsYAnFKD0ndAVXJzBSxHS36\nLbsumvCGth7KnedYowuKYPpX1PRmqprBsGeye3ZMl5Gh39liKQUDk7l+Xl9n\n+Orr8M+RNwGSiYn70yBK81WexkNWfy0IOR7koi8NxbsuV9hDprzB1OmsP9BY\nUrFlSiLxP6ZPSZqTjM9kSKY8ShNK44XFFBbp8H45/HM8WiQkXRdOuvjHBkQB\nQqMAB+VwU6UrB0GORVeVm2Fbg480wkxpBA7Og62uqek4TC1ttndgO5WKmzWA\nM6nj\r\n=WVgq\r\n-----END PGP SIGNATURE-----\r\n"},"main":"CometChat.js","readme":"<div style=\"width:100%\">\n<div style=\"width:100%\">\n\t<div style=\"width:50%; display:inline-block\">\n\t\t<p align=\"center\">\n\t\t<img style=\"text-align:center\" width=\"180\" height=\"180\" alt=\"\" src=\"https://raw.githubusercontent.com/cometchat-pro/ios-swift-chat-app/master/Screenshots/CometChat%20Logo.png\">\t\n\t\t</p>\t\n\t</div>\t\n</div>\n</br>\n</br>\n</div>\n\nCometChat Pro enables you to add voice, video & text chat for your website & app.\n\n<a href=\"https://www.npmjs.com\">[![Platform](https://img.shields.io/badge/Platform-Javascript-blue.svg)](#)</a>\n<a href=\"https://www.npmjs.com\">[![Platform](https://img.shields.io/badge/Platform-NPM-orange.svg)](#)</a>\n\n# Quick Start\n\nThis guide demonstrates how to add chat to a Javascript application using CometChat. Before you begin, we strongly recommend you read the <a href=\"https://prodocs.cometchat.com/docs/concepts\" target=\"_blank\">Key Concepts</a> guide.\n\n## Get your Application Keys\n\n<a href=\"https://app.cometchat.com\" target=\"_blank\">Signup for CometChat</a> and then:\n\n1. Create a new app: Enter a name & hit the **+** button\n2. Head over to the **API Keys** section and click on the **Create API Key** button\n3. Enter a name and select the scope as **Auth Only**\n4. Now note the **API Key** and **App ID**\n\n## Add the CometChat Dependency\n\n### NPM\nFirst, install via npm\n\n`Shell`\n\n```shell\nnpm install @cometchat-pro/chat --save\n```\n\nThen, import the `CometChat` object wherever you want to use CometChat\n\n`JavaScript`\n\n```Javascript \nimport { CometChat } from \"@cometchat-pro/chat\" \n```\n### HTML (via CDN)\nInclude the CometChat Javascript library in your HTML code\n\n\n```HTML\n<script type=\"text/javascript\" src=\"https://unpkg.com/@cometchat-pro/chat/CometChat.js\"></script>\n```\n\n## Initialize CometChat\nThe `init()` method initializes the settings required for `CometChat`.\n\nYou need to call `init()` before calling any other method from CometChat.\n\n```Javascript\nvar appID = \"APP_ID\";\n\nCometChat.init(appID).then(\n  hasInitialized => {\n    console.log(\"Initialization completed successfully\", hasInitialized);\n    // You can now call login function.\n  },\n  error => {\n    console.log(\"Initialization failed with error:\", error);\n    // Check the reason for error and take apppropriate action.\n  }\n);\n```\nMake sure you replace the `APP_ID` with your CometChat **App ID** in the above code.\n\n## Login your user\nOnce initialization is successful, you will need to log the user into CometChat using the login() method.\n\nWe recommend you call the CometChat login method once your user logs into your app.\n```Javascript\n\nvar UID = \"SUPERHERO1\";\nvar apiKey = \"API_KEY\";\n\nCometChat.login(UID, apiKey).then(\n  User => {\n    console.log(\"Login Successful:\", { User });\n    // User loged in successfully.\n  },\n  error => {\n    console.log(\"Login failed with exception:\", { error });\n    // User login failed, check error and take appropriate action.\n  }\n);\n```\nMake sure you replace the `API_KEY` with your `CometChat` **API Key** in the above code.\n\n>**Sample Users**\n>We have set-up 5 users for testing having UIDs: `SUPERHERO1`, `SUPERHERO2`, `SUPERHERO3`, `SUPERHERO4` and `SUPERHERO5`.\n\nThe `login()` method returns the User object on `Promise` resolved containing all the information of the logged in user.\n\n## Send a message\nOnce your user has logged in, you can send a message using the `sendMessage()` method.\n```Javascript\nvar receiverID = \"SUPERHERO2\";\nvar messageText = \"Hello\";\nvar messageType = CometChat.MESSAGE_TYPE.TEXT;\nvar receiverType = CometChat.RECEIVER_TYPE.USER;\n\nvar textMessage = new CometChat.TextMessage(receiverID, messageText, messageType, receiverType);\n\nCometChat.sendMessage(textMessage).then(\n  message => {\n    console.log(\"Message sent successfully:\", message);\n    // Do something with message\n  },\n  error => {\n    console.log(\"Message sending failed with error:\", error);\n    // Handle any error\n  }\n);\n```\n| **Parameter** | **Description**                                                                                                                                 |\n|---------------|-------------------------------------------------------------------------------------------------------------------------------------------------|\n| receiverID    | The UID or GUID of the recipient                                                                                                                |\n| messageText   | The message string to be sent                                                                                                                   |\n| messageType   | The type of the message that needs to be sent which in this case is `CometChat.MESSAGE_TYPE.TEXT` (text)                                        |\n| receiverType  | The type of the receiver to whom the message is to be sent i.e `CometChat.RECEIVER_TYPE.USER` (user) or `CometChat.RECEIVER_TYPE.GROUP` (group) |\n\nOnce the message is sent successfully, you will receive the message information as <a href=\"https://prodocs.cometchat.com/docs/js-appendix#section-textmessage\">`TextMessage` </a> object on `Promise` resolved.\n\n## Receive Messages\nYou can add multiple MessageListener using the `addMessageListener()` method, to receive incoming message wherever you need.\n\n```Javascript \nvar listenerID = \"UNIQUE_LISTENER_ID\";can we get single amazon server !\nCometChat.addMessageListener(listenerID, new CometChat.MessageListener({\n  onTextMessageReceived: message => {\n    console.log(\"Message received successfully:\", message);\n    // Handle text message\n  }\n}));\n```\n| **Parameter** | **Description**                                                                                |\n|---------------|------------------------------------------------------------------------------------------------|\n| listenerID    | An ID that uniquely identifies that listener. We recommend using the activity or fragment name |\n \n\nTo learn more, please refer to our <a href=\"https://prodocs.cometchat.com/docs/js-quick-start\">javascript Developer Documentation</a>.","gitHead":"a3a4cf6e9fba6abfac7f0f88db1fd7d5cc63ae49","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"gajraajay","email":"ajay.gajra@inscripts.in"},"repository":{"url":"git+https://github.com/cometchat-pro/javascript-chat-sdk.git","type":"git"},"_npmVersion":"6.9.0","description":"A complete chat solution.","directories":{},"_nodeVersion":"8.11.3","_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/chat_1.3.0-beta.6_1556029815407_0.7549240260957868","host":"s3://npm-registry-packages"}},"1.4.0-beta.0":{"name":"@cometchat-pro/chat","version":"1.4.0-beta.0","keywords":["CometChat","chat","messaging","chat","sdk","pro","message","sdk","messaging","sdk","audio","chat","video","chat","webRTC"],"author":{"name":"CometChat"},"license":"SEE LICENSE IN LICENSE.md","_id":"@cometchat-pro/chat@1.4.0-beta.0","maintainers":[{"name":"anantgarg","email":"anant.garg@inscripts.com"},{"name":"gajraajay","email":"ajay.gajra@inscripts.in"}],"homepage":"https://github.com/cometchat-pro/javascript-chat-sdk#readme","bugs":{"url":"https://github.com/cometchat-pro/javascript-chat-sdk/issues"},"dist":{"shasum":"064674093f80c27266735f62879b2e1faa36bfc9","tarball":"https://registry.npmjs.org/@cometchat-pro/chat/-/chat-1.4.0-beta.0.tgz","fileCount":5,"integrity":"sha512-BJfGhtYJT6vMO+WDMHgkgTd0v0ve18VfqaILG3QuqmxkZpadnyeKc2meWqRYaSyAw7dc+hg6omO5qU0gW4U2oA==","signatures":[{"sig":"MEYCIQCrA+i/0b89rdBLLsJtJVzuJBTr+K6OJ17hJZ9EGWv7GQIhAJgIk6qgJ9MZ3k4mUaEI6bcR7Iefk4Tt9DfhMt2fLrhL","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":339750,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcxw0aCRA9TVsSAnZWagAASzsP/0S2LXu43tzO+gUSmF4d\nlX0yDNfvsww6GqJV6fFJMyPDTKNE4KJeVV1EswVLLg38sMHyZwhnHOa2Cx3Q\nVr+rGPI+POHmmjNcR4oaFr+xBjP0gTG1eeeyILaW1LwGG+LmQMXKYvqqMWj8\nMAQGeJFUZ5TOHfxrTD4Sflam98H6qkwrT717/UNH5vixHehPPJd+l2xxe1at\nOCkxBVOEo5XJrx0fKBVWytQ0JX1/1Mjow56At6N5JiV9vQm6gbxS1d5fKJZ/\nSmsmjzedzao99XSaGef3gKaTKkhzwDRMpJ0cw80v99J0OiGBnY2TbRsv89rE\nWusN5G+a3ubBgf2BsU8KmghaDLtQDsT5NEhJpFYvhrVcpMpqIfdu4q51hEuj\njkyqfWyGU4Vz90CNsvskxIBW3OAI6TCHdPtME60F5uyuBRWS+sgF2he3GKLb\n1LfY3Ui6lmCMm4bJkF4VxyYyIhvVx8MVfdkFS5QV5fXGTWKOuFH/vOx8okDn\ns2qxSudKCkmKOoBXFPPu83cA82Ke9UnCgJxGgeoy+SwpN3th8YEgpfb51xeD\n37wJtWOZc/glphuxd0v1SC+jDyKZ7WpkvKMcT3OxxPZSuXYRJjMAX6RHmFX3\nPrDJG/8RyhmwVpdnxnE9jGg1jc/vZO56tGOg+RqN47u3Y9off2yCsvMajuyF\nOmke\r\n=rMy8\r\n-----END PGP SIGNATURE-----\r\n"},"main":"CometChat.js","readme":"<div style=\"width:100%\">\n<div style=\"width:100%\">\n\t<div style=\"width:50%; display:inline-block\">\n\t\t<p align=\"center\">\n\t\t<img style=\"text-align:center\" width=\"180\" height=\"180\" alt=\"\" src=\"https://raw.githubusercontent.com/cometchat-pro/ios-swift-chat-app/master/Screenshots/CometChat%20Logo.png\">\t\n\t\t</p>\t\n\t</div>\t\n</div>\n</br>\n</br>\n</div>\n\nCometChat Pro enables you to add voice, video & text chat for your website & app.\n\n<a href=\"https://www.npmjs.com\">[![Platform](https://img.shields.io/badge/Platform-Javascript-blue.svg)](#)</a>\n<a href=\"https://www.npmjs.com\">[![Platform](https://img.shields.io/badge/Platform-NPM-orange.svg)](#)</a>\n\n# Quick Start\n\nThis guide demonstrates how to add chat to a Javascript application using CometChat. Before you begin, we strongly recommend you read the <a href=\"https://prodocs.cometchat.com/docs/concepts\" target=\"_blank\">Key Concepts</a> guide.\n\n## Get your Application Keys\n\n<a href=\"https://app.cometchat.com\" target=\"_blank\">Signup for CometChat</a> and then:\n\n1. Create a new app: Enter a name & hit the **+** button\n2. Head over to the **API Keys** section and click on the **Create API Key** button\n3. Enter a name and select the scope as **Auth Only**\n4. Now note the **API Key** and **App ID**\n\n## Add the CometChat Dependency\n\n### NPM\nFirst, install via npm\n\n`Shell`\n\n```shell\nnpm install @cometchat-pro/chat --save\n```\n\nThen, import the `CometChat` object wherever you want to use CometChat\n\n`JavaScript`\n\n```Javascript \nimport { CometChat } from \"@cometchat-pro/chat\" \n```\n### HTML (via CDN)\nInclude the CometChat Javascript library in your HTML code\n\n\n```HTML\n<script type=\"text/javascript\" src=\"https://unpkg.com/@cometchat-pro/chat/CometChat.js\"></script>\n```\n\n## Initialize CometChat\nThe `init()` method initializes the settings required for `CometChat`.\n\nYou need to call `init()` before calling any other method from CometChat.\n\n```Javascript\nvar appID = \"APP_ID\";\n\nCometChat.init(appID).then(\n  hasInitialized => {\n    console.log(\"Initialization completed successfully\", hasInitialized);\n    // You can now call login function.\n  },\n  error => {\n    console.log(\"Initialization failed with error:\", error);\n    // Check the reason for error and take apppropriate action.\n  }\n);\n```\nMake sure you replace the `APP_ID` with your CometChat **App ID** in the above code.\n\n## Login your user\nOnce initialization is successful, you will need to log the user into CometChat using the login() method.\n\nWe recommend you call the CometChat login method once your user logs into your app.\n```Javascript\n\nvar UID = \"SUPERHERO1\";\nvar apiKey = \"API_KEY\";\n\nCometChat.login(UID, apiKey).then(\n  User => {\n    console.log(\"Login Successful:\", { User });\n    // User loged in successfully.\n  },\n  error => {\n    console.log(\"Login failed with exception:\", { error });\n    // User login failed, check error and take appropriate action.\n  }\n);\n```\nMake sure you replace the `API_KEY` with your `CometChat` **API Key** in the above code.\n\n>**Sample Users**\n>We have set-up 5 users for testing having UIDs: `SUPERHERO1`, `SUPERHERO2`, `SUPERHERO3`, `SUPERHERO4` and `SUPERHERO5`.\n\nThe `login()` method returns the User object on `Promise` resolved containing all the information of the logged in user.\n\n## Send a message\nOnce your user has logged in, you can send a message using the `sendMessage()` method.\n```Javascript\nvar receiverID = \"SUPERHERO2\";\nvar messageText = \"Hello\";\nvar messageType = CometChat.MESSAGE_TYPE.TEXT;\nvar receiverType = CometChat.RECEIVER_TYPE.USER;\n\nvar textMessage = new CometChat.TextMessage(receiverID, messageText, messageType, receiverType);\n\nCometChat.sendMessage(textMessage).then(\n  message => {\n    console.log(\"Message sent successfully:\", message);\n    // Do something with message\n  },\n  error => {\n    console.log(\"Message sending failed with error:\", error);\n    // Handle any error\n  }\n);\n```\n| **Parameter** | **Description**                                                                                                                                 |\n|---------------|-------------------------------------------------------------------------------------------------------------------------------------------------|\n| receiverID    | The UID or GUID of the recipient                                                                                                                |\n| messageText   | The message string to be sent                                                                                                                   |\n| messageType   | The type of the message that needs to be sent which in this case is `CometChat.MESSAGE_TYPE.TEXT` (text)                                        |\n| receiverType  | The type of the receiver to whom the message is to be sent i.e `CometChat.RECEIVER_TYPE.USER` (user) or `CometChat.RECEIVER_TYPE.GROUP` (group) |\n\nOnce the message is sent successfully, you will receive the message information as <a href=\"https://prodocs.cometchat.com/docs/js-appendix#section-textmessage\">`TextMessage` </a> object on `Promise` resolved.\n\n## Receive Messages\nYou can add multiple MessageListener using the `addMessageListener()` method, to receive incoming message wherever you need.\n\n```Javascript \nvar listenerID = \"UNIQUE_LISTENER_ID\";can we get single amazon server !\nCometChat.addMessageListener(listenerID, new CometChat.MessageListener({\n  onTextMessageReceived: message => {\n    console.log(\"Message received successfully:\", message);\n    // Handle text message\n  }\n}));\n```\n| **Parameter** | **Description**                                                                                |\n|---------------|------------------------------------------------------------------------------------------------|\n| listenerID    | An ID that uniquely identifies that listener. We recommend using the activity or fragment name |\n \n\nTo learn more, please refer to our <a href=\"https://prodocs.cometchat.com/docs/js-quick-start\">javascript Developer Documentation</a>.","gitHead":"a3a4cf6e9fba6abfac7f0f88db1fd7d5cc63ae49","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"gajraajay","email":"ajay.gajra@inscripts.in"},"repository":{"url":"git+https://github.com/cometchat-pro/javascript-chat-sdk.git","type":"git"},"_npmVersion":"6.9.0","description":"A complete chat solution.","directories":{},"_nodeVersion":"8.11.3","_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/chat_1.4.0-beta.0_1556548888742_0.7068316916881736","host":"s3://npm-registry-packages"}},"1.4.0":{"name":"@cometchat-pro/chat","version":"1.4.0","keywords":["CometChat","chat","messaging","chat","sdk","pro","message","sdk","messaging","sdk","audio","chat","video","chat","webRTC"],"author":{"name":"CometChat"},"license":"SEE LICENSE IN LICENSE.md","_id":"@cometchat-pro/chat@1.4.0","maintainers":[{"name":"anantgarg","email":"anant.garg@inscripts.com"},{"name":"gajraajay","email":"ajay.gajra@inscripts.in"}],"homepage":"https://github.com/cometchat-pro/javascript-chat-sdk#readme","bugs":{"url":"https://github.com/cometchat-pro/javascript-chat-sdk/issues"},"dist":{"shasum":"52d715dcc307d3fd128912430ee76b36a11c2731","tarball":"https://registry.npmjs.org/@cometchat-pro/chat/-/chat-1.4.0.tgz","fileCount":5,"integrity":"sha512-SAP0d7VIhzBVCUV6NBZEIxnwi2UssN3o2i3Yv+fpTjIiIIPehSkDsVDeeDLFVT75oAxfp7aO2Jcm1ZSN4s2gVQ==","signatures":[{"sig":"MEUCIENvozkr69ruav4XtUKjXhbJ5ynO6HNY/QNDynV/pEP4AiEA4DIA0XI0GV/npLZJWbBAk6A7Mg1BzG5X4M64LTZfRUk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":339845,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcyGjYCRA9TVsSAnZWagAAHeIP/1QRMdqiiYmQtYZVeOrO\nYCLPaBaOqAIhRHJuafWBYE4euV8WxhleUyTFOTEDk4nZYMqCbjEA6KxfjbxM\nTU4oNyaSbl40DsvPx1qPEOgUfpdtIO1h7oMEV/4VYWmxa7zMWlqKRp/iGiLF\nkQV6fPdp1fMgAlzXc1lnbvaZEh4pedOMbQtNH26HHSUSb2S8wTeB124ldkJL\nYQJ6DVAlF8sO6f9FcNWTewhshkZ53Z//TFLAc1cT2MzlS2qBGgshg8DeexZn\nLVPq5YJdsLiKsglUL4yiXoZHi2QH1z+mwjkj2anoO0uJPeWU6+/51EkVqjHU\n0bsI2S1ZioEhfhXFfaFVLUZijl1OYpR7shj3MW9/HHCdyyUkHOagQTPvWBMJ\nvG/pqkeFOs/NoOI5z1HJCau6sAo6cwlDOVPpuCWO1xP+rFx8jW/Y9iv2+0QL\nheyVgQO12rPA3xiCroHOSAA+Pny0EOcABILKaVSddqswVhImpnO5MSuISUwc\narGkYZV7wMoPq8ZgMp/tdTgK91+PB50evpk5z9GU7j9KYFJC8Z7+m0OHFRh/\nNFuHw0GK1zDnPBwNDYeZ9TZ8hB6/BIV0QFBZkK6HaPgBzv77OYIyWKV7tXXc\no98XofmSrv9lziCH1cQKKI4ayJxeQfsgOUTRvCkInGjPIDLuMj7RCZiGepjX\nAxgr\r\n=KEe9\r\n-----END PGP SIGNATURE-----\r\n"},"main":"CometChat.js","gitHead":"a3a4cf6e9fba6abfac7f0f88db1fd7d5cc63ae49","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"gajraajay","email":"ajay.gajra@inscripts.in"},"deprecated":"this version is deprecated","repository":{"url":"git+https://github.com/cometchat-pro/javascript-chat-sdk.git","type":"git"},"_npmVersion":"6.9.0","description":"A complete chat solution.","directories":{},"_nodeVersion":"8.11.3","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/chat_1.4.0_1556637911674_0.24964697061289787","host":"s3://npm-registry-packages"}},"1.4.1":{"name":"@cometchat-pro/chat","version":"1.4.1","keywords":["CometChat","chat","messaging","chat","sdk","pro","message","sdk","messaging","sdk","audio","chat","video","chat","webRTC"],"author":{"name":"CometChat"},"license":"SEE LICENSE IN LICENSE.md","_id":"@cometchat-pro/chat@1.4.1","maintainers":[{"name":"anantgarg","email":"anant.garg@inscripts.com"},{"name":"gajraajay","email":"ajay.gajra@inscripts.in"}],"homepage":"https://github.com/cometchat-pro/javascript-chat-sdk#readme","bugs":{"url":"https://github.com/cometchat-pro/javascript-chat-sdk/issues"},"dist":{"shasum":"56d131aef602cbb5fe8939ff4d0088abdfc4e8e9","tarball":"https://registry.npmjs.org/@cometchat-pro/chat/-/chat-1.4.1.tgz","fileCount":5,"integrity":"sha512-FHfqDarE2C81OIw5GK84fdVylRu4xkAA1Jkg7YDR4d9+lTTeuUYhq01xkJfJuMKmVoTwavSbm2ujzJZ/OtCP6A==","signatures":[{"sig":"MEUCIEAFRCSRqxFpTllTP/P2s8GwFXK+slyjn7B2ZvNx5zllAiEAlg11NTiTtdXx+MFZqbd8KFy6vM+7UoKaYj7nWkFMVXs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":340506,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc0BLJCRA9TVsSAnZWagAAARgQAJzYvpRflzRY3h1baS9e\n2x06tREOpjoB30lwVgESCmdfYVTAimEFYnqMpxltSlksfT0qz//fQc7UGgiU\nKshx17Y8del3SOIFu688VhbZKF1w/OYV2SJK6Qo/6TCrwBYXSddQZ9+Mi2IK\nazKZvLgV1J0XgEVeqyHrNHO9x91wqt3hWYGCp0ryQXaALI3jdYyUBJ2wFfXf\no9yaXyu89xg2l/7pR+DzAzPW3VORMabkt/EHr7nJnopnt+fkkeKT6QyhpY1W\nrSYjBYiWHiwlncyhJkpWIS74meiINixhF5EENCaKxR8EOtUeOYcFD52x2SRN\no+H7zkz2jmpZ+1ntkzJfsGurT/1dj3nXSsOuWFETSPLr4N1cyHe6u6BLzm4t\nr1Ij6F33DEiilijkCGTb1su80KN9hQwjPNr2dXnwwQCiBqrz6jNhWbyygAx1\nYxctVnqsg6PcgWNVBb/dRPxyQ/bvOSSu0wv1aBuhhS4ijLxVN7GRATj63Gl1\ntna4CrL9/1rkIuO9HwLqGkVujXowx6sEXEzs83cXxQdZaQfRU2S1+Depm1xL\nWWspNm0cZplDHdbuvd/A6Rw9apjNaltF457gjJ5zB8uPt28JlaEYkCYQSp1f\nHAVrPOwAwFW07OuJZs/3+Oze81oJCehumYeuLsfx+hjFPIogbe/eZ5BaKA3g\nolh1\r\n=K2pJ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"CometChat.js","gitHead":"a45c896088c0fe027583234ad37b70925710bdd9","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"gajraajay","email":"ajay.gajra@inscripts.in"},"repository":{"url":"git+https://github.com/cometchat-pro/javascript-chat-sdk.git","type":"git"},"_npmVersion":"6.9.0","description":"A complete chat solution.","directories":{},"_nodeVersion":"8.11.3","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/chat_1.4.1_1557140168374_0.0780958762199595","host":"s3://npm-registry-packages"}},"1.4.2-beta.0":{"name":"@cometchat-pro/chat","version":"1.4.2-beta.0","keywords":["CometChat","chat","messaging","chat","sdk","pro","message","sdk","messaging","sdk","audio","chat","video","chat","webRTC"],"author":{"name":"CometChat"},"license":"SEE LICENSE IN LICENSE.md","_id":"@cometchat-pro/chat@1.4.2-beta.0","maintainers":[{"name":"anantgarg","email":"anant.garg@inscripts.com"},{"name":"gajraajay","email":"ajay.gajra@inscripts.in"}],"homepage":"https://github.com/cometchat-pro/javascript-chat-sdk#readme","bugs":{"url":"https://github.com/cometchat-pro/javascript-chat-sdk/issues"},"dist":{"shasum":"5e5f9e9ee8cd3cd2da67d4814665a38dc20a8137","tarball":"https://registry.npmjs.org/@cometchat-pro/chat/-/chat-1.4.2-beta.0.tgz","fileCount":5,"integrity":"sha512-5waAPg5AHRfPxqVrt7xmgiutEgMwwvnWK3rD3qs13EVzFeP3AZ4mUjXWWsQrLf5ghDkFTLCzShpjwfGiFGot1g==","signatures":[{"sig":"MEYCIQCgO6b4e2GHaiR2lKC24+75phzPLXMah81xr4Cc7f1PkwIhAJJQTmRAEx4gEdj500xlrTuQ+ze4P4Lzg8XQXAjsS7wN","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":340590,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc0YVFCRA9TVsSAnZWagAAloQP/RlxmztQutLEfcARQcR6\noLkBwKExLcFZIQX4aZtwb1thK0jwGYRcCTHYp6cBBPHjUr0kXWZZlrw4eqnK\nVAUdhYOIX2EA6R8Pa06d1KJn4CQlNBQyZiHTIEUCMpyU7/4/FdKSBvXm21Rb\nHr6dkMO5bb2Yzuq2wRNlpFTdmEExD0jAz6RmQ4fd6UHW1tWYrkBhsN9AToPl\n8Z1HYzS/8jJ2RcFofewR/C1gsjib3q9A7fptF4tzKbGqAbjml66k5hHW4FY5\nPE/e7IGixHgqGzBoOJKML0BbSCEtI78PZoUwyseF+s0AqUc/LexFK1gpLP5P\nZVe8wLqRei0FfUcktY0WeOcDN/x+X8ViFfGTyJqywlJMiC97LZnC5oqYW3An\nSEj+q3S1Maeh8U2ne6HqfS+oLW7lKnpkoty96heoCywqYYm7PCmSSJYNZAVj\nCYHLLAdFsF+syv3YaoY0cW9e05nX7vd6AfskEKwNio9E4+aGBP1rwerLQqCf\nOdzZ4yqQs6orsN1Ze7WvWzogMazux4DSijD88WHFZoljcjS7vu+zPMd13rwh\n5NjLYZJnG/LhL1emy/xHNzYgpj/dAcUBSsSAvo+HXP0Spiq+THg+ASPQD5iR\nupDXq4YuH2yo4gqEBwvsZlIX2edvlcBxT+g0mUy9J3be2izMmxxY6Z/zCwA7\nbM22\r\n=PKS0\r\n-----END PGP SIGNATURE-----\r\n"},"main":"CometChat.js","readme":"<div style=\"width:100%\">\n<div style=\"width:100%\">\n\t<div style=\"width:50%; display:inline-block\">\n\t\t<p align=\"center\">\n\t\t<img style=\"text-align:center\" width=\"180\" height=\"180\" alt=\"\" src=\"https://raw.githubusercontent.com/cometchat-pro/ios-swift-chat-app/master/Screenshots/CometChat%20Logo.png\">\t\n\t\t</p>\t\n\t</div>\t\n</div>\n</br>\n</br>\n</div>\n\nCometChat Pro enables you to add voice, video & text chat for your website & app.\n\n<a href=\"https://www.npmjs.com\">[![Platform](https://img.shields.io/badge/Platform-Javascript-blue.svg)](#)</a>\n<a href=\"https://www.npmjs.com\">[![Platform](https://img.shields.io/badge/Platform-NPM-orange.svg)](#)</a>\n\n# Quick Start\n\nThis guide demonstrates how to add chat to a Javascript application using CometChat. Before you begin, we strongly recommend you read the <a href=\"https://prodocs.cometchat.com/docs/concepts\" target=\"_blank\">Key Concepts</a> guide.\n\n## Get your Application Keys\n\n<a href=\"https://app.cometchat.com\" target=\"_blank\">Signup for CometChat</a> and then:\n\n1. Create a new app: Enter a name & hit the **+** button\n2. Head over to the **API Keys** section and click on the **Create API Key** button\n3. Enter a name and select the scope as **Auth Only**\n4. Now note the **API Key** and **App ID**\n\n## Add the CometChat Dependency\n\n### NPM\nFirst, install via npm\n\n`Shell`\n\n```shell\nnpm install @cometchat-pro/chat --save\n```\n\nThen, import the `CometChat` object wherever you want to use CometChat\n\n`JavaScript`\n\n```Javascript \nimport { CometChat } from \"@cometchat-pro/chat\" \n```\n### HTML (via CDN)\nInclude the CometChat Javascript library in your HTML code\n\n\n```HTML\n<script type=\"text/javascript\" src=\"https://unpkg.com/@cometchat-pro/chat/CometChat.js\"></script>\n```\n\n## Initialize CometChat\nThe `init()` method initializes the settings required for `CometChat`.\n\nYou need to call `init()` before calling any other method from CometChat.\n\n```Javascript\nvar appID = \"APP_ID\";\n\nCometChat.init(appID).then(\n  hasInitialized => {\n    console.log(\"Initialization completed successfully\", hasInitialized);\n    // You can now call login function.\n  },\n  error => {\n    console.log(\"Initialization failed with error:\", error);\n    // Check the reason for error and take apppropriate action.\n  }\n);\n```\nMake sure you replace the `APP_ID` with your CometChat **App ID** in the above code.\n\n## Login your user\nOnce initialization is successful, you will need to log the user into CometChat using the login() method.\n\nWe recommend you call the CometChat login method once your user logs into your app.\n```Javascript\n\nvar UID = \"SUPERHERO1\";\nvar apiKey = \"API_KEY\";\n\nCometChat.login(UID, apiKey).then(\n  User => {\n    console.log(\"Login Successful:\", { User });\n    // User loged in successfully.\n  },\n  error => {\n    console.log(\"Login failed with exception:\", { error });\n    // User login failed, check error and take appropriate action.\n  }\n);\n```\nMake sure you replace the `API_KEY` with your `CometChat` **API Key** in the above code.\n\n>**Sample Users**\n>We have set-up 5 users for testing having UIDs: `SUPERHERO1`, `SUPERHERO2`, `SUPERHERO3`, `SUPERHERO4` and `SUPERHERO5`.\n\nThe `login()` method returns the User object on `Promise` resolved containing all the information of the logged in user.\n\n## Send a message\nOnce your user has logged in, you can send a message using the `sendMessage()` method.\n```Javascript\nvar receiverID = \"SUPERHERO2\";\nvar messageText = \"Hello\";\nvar messageType = CometChat.MESSAGE_TYPE.TEXT;\nvar receiverType = CometChat.RECEIVER_TYPE.USER;\n\nvar textMessage = new CometChat.TextMessage(receiverID, messageText, messageType, receiverType);\n\nCometChat.sendMessage(textMessage).then(\n  message => {\n    console.log(\"Message sent successfully:\", message);\n    // Do something with message\n  },\n  error => {\n    console.log(\"Message sending failed with error:\", error);\n    // Handle any error\n  }\n);\n```\n| **Parameter** | **Description**                                                                                                                                 |\n|---------------|-------------------------------------------------------------------------------------------------------------------------------------------------|\n| receiverID    | The UID or GUID of the recipient                                                                                                                |\n| messageText   | The message string to be sent                                                                                                                   |\n| messageType   | The type of the message that needs to be sent which in this case is `CometChat.MESSAGE_TYPE.TEXT` (text)                                        |\n| receiverType  | The type of the receiver to whom the message is to be sent i.e `CometChat.RECEIVER_TYPE.USER` (user) or `CometChat.RECEIVER_TYPE.GROUP` (group) |\n\nOnce the message is sent successfully, you will receive the message information as <a href=\"https://prodocs.cometchat.com/docs/js-appendix#section-textmessage\">`TextMessage` </a> object on `Promise` resolved.\n\n## Receive Messages\nYou can add multiple MessageListener using the `addMessageListener()` method, to receive incoming message wherever you need.\n\n```Javascript \nvar listenerID = \"UNIQUE_LISTENER_ID\";can we get single amazon server !\nCometChat.addMessageListener(listenerID, new CometChat.MessageListener({\n  onTextMessageReceived: message => {\n    console.log(\"Message received successfully:\", message);\n    // Handle text message\n  }\n}));\n```\n| **Parameter** | **Description**                                                                                |\n|---------------|------------------------------------------------------------------------------------------------|\n| listenerID    | An ID that uniquely identifies that listener. We recommend using the activity or fragment name |\n \n\nTo learn more, please refer to our <a href=\"https://prodocs.cometchat.com/docs/js-quick-start\">javascript Developer Documentation</a>.","gitHead":"a45c896088c0fe027583234ad37b70925710bdd9","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"gajraajay","email":"ajay.gajra@inscripts.in"},"repository":{"url":"git+https://github.com/cometchat-pro/javascript-chat-sdk.git","type":"git"},"_npmVersion":"6.9.0","description":"A complete chat solution.","directories":{},"_nodeVersion":"8.11.3","_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/chat_1.4.2-beta.0_1557235012017_0.06121577061230621","host":"s3://npm-registry-packages"}},"1.4.2":{"name":"@cometchat-pro/chat","version":"1.4.2","keywords":["CometChat","chat","messaging","chat","sdk","pro","message","sdk","messaging","sdk","audio","chat","video","chat","webRTC"],"author":{"name":"CometChat"},"license":"SEE LICENSE IN LICENSE.md","_id":"@cometchat-pro/chat@1.4.2","maintainers":[{"name":"anantgarg","email":"anant.garg@inscripts.com"},{"name":"gajraajay","email":"ajay.gajra@inscripts.in"}],"homepage":"https://github.com/cometchat-pro/javascript-chat-sdk#readme","bugs":{"url":"https://github.com/cometchat-pro/javascript-chat-sdk/issues"},"dist":{"shasum":"e19c24d3e7073d098556fd3c7f5fe94759d2cd6f","tarball":"https://registry.npmjs.org/@cometchat-pro/chat/-/chat-1.4.2.tgz","fileCount":5,"integrity":"sha512-jYT38lcn0aiuZU7uuzewEpS2RPjkJCx5lRl/Z2CELtIqlmWbTNO67m3jpaxkvZsqc5Q2KRkj4fF+1J0sOPnCig==","signatures":[{"sig":"MEUCIQDRswsTv6qwkcJ4kZCL/p2zoU3x/Aki6IJRKKIP3CPLrQIgCq5cqzKS1119H7xvW9dzSqiUNUqjCYhLDPYhDDTVA24=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":340583,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc0adiCRA9TVsSAnZWagAAEVIP/jeN48gOPIDMB71fG3Mt\n96v3biriFbkdd3G6hyWIeDd1GLlZSukzpCnP74GUCDrrHeUaDUcpiFSnpN8p\nbQVTvwcmnELiYZFeCiyCQTs6jCVpc4K1Bjbfto+QOlBEPfjrhkPt6qptKjnF\nenAj5wcSfN9C30P+/fbOnozwTxQtL432lhPzYOOoe9hCqupO2rFhLJH2WeuU\nRISkMdXN+qBuh2bfvIXvmcTMrGcduVloOnSR+pkg1qxO/Hx5kQe7AgFtHpNY\n1HboyCrT9yUxRcEWLzst/KOyPG2VeeMF7dNe3q5JKNj6wkLXzeNp34vc5axK\nF5WK6npIA7CwSrQX0C1TNlERYY7YEENEf9IO5OxQptG76Oh0uKhjg7Hp5e/Q\nMyO3Epb5T9jsFwt3v2rwh6ut98xcbDv1Vcs1UvpyhFYFPU9HMLcwHcVhZM5y\nQ9STpMmIOHAuE/S1YN3tOQz1+2OhUI+op0TMO3iwaaoOP5flt3hs2KZDKnB5\nG+usDTbhflCtJk+No43VitCTTMnD8jbI8T98ehMLM4wPRv0eSu3Vp6ksSQTU\nC4dMNABqz6Vefb1kFMHRt63XzzuE2dbxvSKx4r1RptZgJ+R/R1s1NyxA2xaw\nymYkCgp7lRUesdCAxQ4wHk+guzJiGKaLByVZPKw7+bQN6/AVMcVi0La3SdCB\n8t9T\r\n=Q6oQ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"CometChat.js","gitHead":"a45c896088c0fe027583234ad37b70925710bdd9","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"gajraajay","email":"ajay.gajra@inscripts.in"},"repository":{"url":"git+https://github.com/cometchat-pro/javascript-chat-sdk.git","type":"git"},"_npmVersion":"6.9.0","description":"A complete chat solution.","directories":{},"_nodeVersion":"8.11.3","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/chat_1.4.2_1557243746101_0.5586107156882401","host":"s3://npm-registry-packages"}},"1.4.3-beta.0":{"name":"@cometchat-pro/chat","version":"1.4.3-beta.0","keywords":["CometChat","chat","messaging","chat","sdk","pro","message","sdk","messaging","sdk","audio","chat","video","chat","webRTC"],"author":{"name":"CometChat"},"license":"SEE LICENSE IN LICENSE.md","_id":"@cometchat-pro/chat@1.4.3-beta.0","maintainers":[{"name":"anantgarg","email":"anant.garg@inscripts.com"},{"name":"gajraajay","email":"ajay.gajra@inscripts.in"}],"homepage":"https://github.com/cometchat-pro/javascript-chat-sdk#readme","bugs":{"url":"https://github.com/cometchat-pro/javascript-chat-sdk/issues"},"dist":{"shasum":"b18a0b5d1abb0d45980adbbad5a012974a29caac","tarball":"https://registry.npmjs.org/@cometchat-pro/chat/-/chat-1.4.3-beta.0.tgz","fileCount":5,"integrity":"sha512-z9ED6Vya9Nu/+VULU/809RvJVtkKrbcQUXJYJBk1BB8+IxS09XspIeroardUJQBiM13sptmBLxmZElWCboQJ6w==","signatures":[{"sig":"MEYCIQCHLf1qLT+S/wc5QBRNipFe4aRSN3poEknPqBLBc4a14wIhAKMeYcCe/N5Btt2t9xXumqs/fgJ4h0EofBEtIOIJDMKe","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":340685,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc1XXxCRA9TVsSAnZWagAAN4UP/jFdYnOBmpmAM2iLHVRB\n2HQSCVt9+q2AMbCFVakhshbU4HJQAgK3YjmmaRKYEEVgBQFt5p6XFTmh2Xra\nOs235nIqwXjLBScaR/IHIsZiNzr9NRWeQ50ouC5V3ufDWdnoZjhzyIppluZ5\nC74y+I7RDeQv/o7VKIicE7nMGIG0xxeSlVdcooVcocn3GQlXnN7KM50HtjC4\nr43x49dDYgeDmxp+4VXZd+ivubE9wTuU1YPkcvwT5iDbfqFIGY0DbP/rAecc\nxNIriT7eQ9TLgR3Rqw/YBXL1Hq70Xxm5jQfB1BtniqW3kb9rkrPkYWDNlkQ3\nx/YabkRJWKYeowts2rc+TlrGvcz6PITOyuvoBXefM1xu6CykffeFWoUbz54y\nrESs7vNUwwXyRbSbwvJrOTI4LGdFogxIo8E92Xpn8/kat/0ObnTqzzURLPIq\nvkHXC5ZXU0fV3UiT26PzB9a1fWgBjDhiCjIuDmfCTMf37qPaA9SVuZlrWxnv\nwlzTZEn09DQ5O0UCtRlYanyvgiSLIj1FdIZPGdSdmi5ujljOKD7D9FHViNlV\nGJlwF9gEkioOlNg/4zkc7vd3tMsfNdZusw6rYUhvUsbiON2O87s+ZSbgT2Cq\nZe0BDzoL8OmaWXViI6NOZ4mjDwBWDOkz6HHtryemgTTsFQb+4A2A72XIJrHc\nKB1t\r\n=wM3k\r\n-----END PGP SIGNATURE-----\r\n"},"main":"CometChat.js","readme":"<div style=\"width:100%\">\n<div style=\"width:100%\">\n\t<div style=\"width:50%; display:inline-block\">\n\t\t<p align=\"center\">\n\t\t<img style=\"text-align:center\" width=\"180\" height=\"180\" alt=\"\" src=\"https://raw.githubusercontent.com/cometchat-pro/ios-swift-chat-app/master/Screenshots/CometChat%20Logo.png\">\t\n\t\t</p>\t\n\t</div>\t\n</div>\n</br>\n</br>\n</div>\n\nCometChat Pro enables you to add voice, video & text chat for your website & app.\n\n<a href=\"https://www.npmjs.com\">[![Platform](https://img.shields.io/badge/Platform-Javascript-blue.svg)](#)</a>\n<a href=\"https://www.npmjs.com\">[![Platform](https://img.shields.io/badge/Platform-NPM-orange.svg)](#)</a>\n\n# Quick Start\n\nThis guide demonstrates how to add chat to a Javascript application using CometChat. Before you begin, we strongly recommend you read the <a href=\"https://prodocs.cometchat.com/docs/concepts\" target=\"_blank\">Key Concepts</a> guide.\n\n## Get your Application Keys\n\n<a href=\"https://app.cometchat.com\" target=\"_blank\">Signup for CometChat</a> and then:\n\n1. Create a new app: Enter a name & hit the **+** button\n2. Head over to the **API Keys** section and click on the **Create API Key** button\n3. Enter a name and select the scope as **Auth Only**\n4. Now note the **API Key** and **App ID**\n\n## Add the CometChat Dependency\n\n### NPM\nFirst, install via npm\n\n`Shell`\n\n```shell\nnpm install @cometchat-pro/chat --save\n```\n\nThen, import the `CometChat` object wherever you want to use CometChat\n\n`JavaScript`\n\n```Javascript \nimport { CometChat } from \"@cometchat-pro/chat\" \n```\n### HTML (via CDN)\nInclude the CometChat Javascript library in your HTML code\n\n\n```HTML\n<script type=\"text/javascript\" src=\"https://unpkg.com/@cometchat-pro/chat/CometChat.js\"></script>\n```\n\n## Initialize CometChat\nThe `init()` method initializes the settings required for `CometChat`.\n\nYou need to call `init()` before calling any other method from CometChat.\n\n```Javascript\nvar appID = \"APP_ID\";\n\nCometChat.init(appID).then(\n  hasInitialized => {\n    console.log(\"Initialization completed successfully\", hasInitialized);\n    // You can now call login function.\n  },\n  error => {\n    console.log(\"Initialization failed with error:\", error);\n    // Check the reason for error and take apppropriate action.\n  }\n);\n```\nMake sure you replace the `APP_ID` with your CometChat **App ID** in the above code.\n\n## Login your user\nOnce initialization is successful, you will need to log the user into CometChat using the login() method.\n\nWe recommend you call the CometChat login method once your user logs into your app.\n```Javascript\n\nvar UID = \"SUPERHERO1\";\nvar apiKey = \"API_KEY\";\n\nCometChat.login(UID, apiKey).then(\n  User => {\n    console.log(\"Login Successful:\", { User });\n    // User loged in successfully.\n  },\n  error => {\n    console.log(\"Login failed with exception:\", { error });\n    // User login failed, check error and take appropriate action.\n  }\n);\n```\nMake sure you replace the `API_KEY` with your `CometChat` **API Key** in the above code.\n\n>**Sample Users**\n>We have set-up 5 users for testing having UIDs: `SUPERHERO1`, `SUPERHERO2`, `SUPERHERO3`, `SUPERHERO4` and `SUPERHERO5`.\n\nThe `login()` method returns the User object on `Promise` resolved containing all the information of the logged in user.\n\n## Send a message\nOnce your user has logged in, you can send a message using the `sendMessage()` method.\n```Javascript\nvar receiverID = \"SUPERHERO2\";\nvar messageText = \"Hello\";\nvar messageType = CometChat.MESSAGE_TYPE.TEXT;\nvar receiverType = CometChat.RECEIVER_TYPE.USER;\n\nvar textMessage = new CometChat.TextMessage(receiverID, messageText, messageType, receiverType);\n\nCometChat.sendMessage(textMessage).then(\n  message => {\n    console.log(\"Message sent successfully:\", message);\n    // Do something with message\n  },\n  error => {\n    console.log(\"Message sending failed with error:\", error);\n    // Handle any error\n  }\n);\n```\n| **Parameter** | **Description**                                                                                                                                 |\n|---------------|-------------------------------------------------------------------------------------------------------------------------------------------------|\n| receiverID    | The UID or GUID of the recipient                                                                                                                |\n| messageText   | The message string to be sent                                                                                                                   |\n| messageType   | The type of the message that needs to be sent which in this case is `CometChat.MESSAGE_TYPE.TEXT` (text)                                        |\n| receiverType  | The type of the receiver to whom the message is to be sent i.e `CometChat.RECEIVER_TYPE.USER` (user) or `CometChat.RECEIVER_TYPE.GROUP` (group) |\n\nOnce the message is sent successfully, you will receive the message information as <a href=\"https://prodocs.cometchat.com/docs/js-appendix#section-textmessage\">`TextMessage` </a> object on `Promise` resolved.\n\n## Receive Messages\nYou can add multiple MessageListener using the `addMessageListener()` method, to receive incoming message wherever you need.\n\n```Javascript \nvar listenerID = \"UNIQUE_LISTENER_ID\";can we get single amazon server !\nCometChat.addMessageListener(listenerID, new CometChat.MessageListener({\n  onTextMessageReceived: message => {\n    console.log(\"Message received successfully:\", message);\n    // Handle text message\n  }\n}));\n```\n| **Parameter** | **Description**                                                                                |\n|---------------|------------------------------------------------------------------------------------------------|\n| listenerID    | An ID that uniquely identifies that listener. We recommend using the activity or fragment name |\n \n\nTo learn more, please refer to our <a href=\"https://prodocs.cometchat.com/docs/js-quick-start\">javascript Developer Documentation</a>.","gitHead":"a45c896088c0fe027583234ad37b70925710bdd9","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"gajraajay","email":"ajay.gajra@inscripts.in"},"repository":{"url":"git+https://github.com/cometchat-pro/javascript-chat-sdk.git","type":"git"},"_npmVersion":"6.9.0","description":"A complete chat solution.","directories":{},"_nodeVersion":"8.11.3","_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/chat_1.4.3-beta.0_1557493232529_0.7294210615157111","host":"s3://npm-registry-packages"}},"1.4.3":{"name":"@cometchat-pro/chat","version":"1.4.3","keywords":["CometChat","chat","messaging","chat","sdk","pro","message","sdk","messaging","sdk","audio","chat","video","chat","webRTC"],"author":{"name":"CometChat"},"license":"SEE LICENSE IN LICENSE.md","_id":"@cometchat-pro/chat@1.4.3","maintainers":[{"name":"anantgarg","email":"anant.garg@inscripts.com"},{"name":"gajraajay","email":"ajay.gajra@inscripts.in"}],"homepage":"https://github.com/cometchat-pro/javascript-chat-sdk#readme","bugs":{"url":"https://github.com/cometchat-pro/javascript-chat-sdk/issues"},"dist":{"shasum":"27f530bb141e9f3a2a948fd95ebc9368cbf2d77e","tarball":"https://registry.npmjs.org/@cometchat-pro/chat/-/chat-1.4.3.tgz","fileCount":5,"integrity":"sha512-blm5FfwJhajI3e1kqRzbmehniFPpC4jtoVT8Tramo9e/KiMzARJ4DMMNfwu+UawrMS9XL9a5xxFPzoABB6HDbQ==","signatures":[{"sig":"MEYCIQCYLneH+J2M7Asdvr8ux1A/Txs777BdP2nJ6xQ5UIPQeQIhAK51X6rXPb5qfxDNgpBEb3cL2M3m6gkYMT34le9xc1Ya","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":340678,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc2vzmCRA9TVsSAnZWagAAxFgP/Rl4xsr2CrBVBJMvEBgO\nJqkPZwO6vc6jyV3aTq6Cd1PPo1YDuD80wB0L0sWQgUO0pg16Po2B9szpkDFk\nhhzL8ceWqTktwgJy36/IlELD4/qB0kFjJ+74zxZdYDDVyvhDy5HGgeJ4r019\nqRIVG/momMgnWvbonnFTYx+sckeZDwQ4ViklWbv90DA9BIim3QPMwk2hb599\nw+dtQtSYihy9hKwzqOpqFlYA9hrFXBnbZvB3pYAWXfsPUkdR4E4NN0CX050n\nlPKI0MY6sVRCyqNgYYLDrKWsLOZGHzch1VfEg40EK/k8Pwe9ph2KSwgPGJbk\ntLbSYxIB3rwkwo7KU07zWivxwX2uCgeYnM6udia0Peui4CfcmzPZN7SqUAJ6\nzTjHHFm2M9gn+0o5hfh6m3kWl2ZiBsOTeBve1A29cWeSfIKAzP444uhEqg4p\noozr4Cp0B7l/Ldbm+AdNtRtjBaxs0f7sC+uUIOa2JlEEsp5jg1KH3YaG9u+G\n+Ga6I7EoGRRihfrWkJLECD41ZptvWhFloOq5MC+2STPEaL76ElLrDGjTaMEh\n+vorUDoau6nY7j9/O5tG9pnp81V9vY8bUgDk2d+QCMZ4lQldo3ZijfpLEisJ\nHBhq1oVp2DZAs38Xb7A0bbaNJszrJOs54+w8J5vtuwescbYHjKIZfsaa15SL\nlTqu\r\n=aAq1\r\n-----END PGP SIGNATURE-----\r\n"},"main":"CometChat.js","gitHead":"41e49e1d2ea477128a1917c25dbb40ea0dfd2dd8","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"gajraajay","email":"ajay.gajra@inscripts.in"},"repository":{"url":"git+https://github.com/cometchat-pro/javascript-chat-sdk.git","type":"git"},"_npmVersion":"6.9.0","description":"A complete chat solution.","directories":{},"_nodeVersion":"8.11.3","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/chat_1.4.3_1557855461019_0.525827634698681","host":"s3://npm-registry-packages"}},"1.5.0":{"name":"@cometchat-pro/chat","version":"1.5.0","keywords":["CometChat","chat","messaging","chat","sdk","pro","message","sdk","messaging","sdk","audio","chat","video","chat","webRTC"],"author":{"name":"CometChat"},"license":"SEE LICENSE IN LICENSE.md","_id":"@cometchat-pro/chat@1.5.0","maintainers":[{"name":"anantgarg","email":"anant.garg@inscripts.com"},{"name":"gajraajay","email":"ajay.gajra@inscripts.in"}],"homepage":"https://github.com/cometchat-pro/javascript-chat-sdk#readme","bugs":{"url":"https://github.com/cometchat-pro/javascript-chat-sdk/issues"},"dist":{"shasum":"1b9812f69b4146f27bcf53d2addbded392441483","tarball":"https://registry.npmjs.org/@cometchat-pro/chat/-/chat-1.5.0.tgz","fileCount":5,"integrity":"sha512-QKk2aVMw8O5UfFqVyBG1gCVngt4nNs87o4SUKR8llB4ug1HT1gPyg+MyFW5ko703emIECbie036w1dCPQvq/tA==","signatures":[{"sig":"MEUCIF4jTAlNNqZg4RVWx2mqJvMj/Safv4WIgtiTMMXjUWLWAiEA1qvjD42F2Zr02KCfJFqiOMzt80Reekib3FM3bLhssLQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":343708,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc4u9OCRA9TVsSAnZWagAANVQP/3lTJl0mrFRGekgkri+b\n7zpqEjJAfthK13/cytrX0GVOPHl9wri+6ZO9Pi2nmoixypDjoKYwTRegbw42\nbBjnWEUKqcgWcWxrZdLMB7RoiUPfw6OkuF7nLhJtHQ9K7opcdcbv6aDbhUNN\n5I805dv2iOJtDBhB09fOpiiE/V40SpNFobXi6ySwc6m4oYqDFO4J1BMvgjqC\nGa2ADzZfNpcz+YJUW3nZ6yGyKKELReGFEEIgoE2Yb1SxTMAOX/Txe7blDXWy\nNgNnsPTdixOn1wDrsfoAkyr2pfe1n/XbrmiurdUWb5D50bKOMoImYFl95UxS\nZhXzh3aOtFIXBgDi0a6yeW6bL8B4IG6z76M8ZBs4XdPQHQLXchZEQnu6wDkx\njLbdkdGlWo5wurzG+RQ5SgTcXGizDTRnQzt4dJbvDsT7QjYmnJb4KLM7R+TS\n8rMLUaU94Yv3RTIRnalU1+LHfnS2sG63xfYD/JV7RNs6r4UACej3uQe1QUHD\nJEBdamT0kC3On3z4PIcV+WXDhI/k1EAav6vZ1WNEuJl65mL8AZLxmogE13Fg\n/Dajj/J7cd2HoRE6HWK8tvP+whalp89+YAYU85/PyBOEr0YEKPLG7cT5q8YQ\nRHxajC57UGgTemI0bkENkp8Ag5nA4hbcbqBRGYgz/KPVUsre+BIDy0YLCIHF\nqE/6\r\n=4A/7\r\n-----END PGP SIGNATURE-----\r\n"},"main":"CometChat.js","gitHead":"a24d3b94511ceafd8ed237b4fd3a13dda33c43d8","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"gajraajay","email":"ajay.gajra@inscripts.in"},"repository":{"url":"git+https://github.com/cometchat-pro/javascript-chat-sdk.git","type":"git"},"_npmVersion":"6.9.0","description":"A complete chat solution.","directories":{},"_nodeVersion":"8.11.3","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/chat_1.5.0_1558376269561_0.17075621272265074","host":"s3://npm-registry-packages"}},"1.5.1":{"name":"@cometchat-pro/chat","version":"1.5.1","keywords":["CometChat","chat","messaging","chat","sdk","pro","message","sdk","messaging","sdk","audio","chat","video","chat","webRTC"],"author":{"name":"CometChat"},"license":"SEE LICENSE IN LICENSE.md","_id":"@cometchat-pro/chat@1.5.1","maintainers":[{"name":"anantgarg","email":"anant.garg@inscripts.com"},{"name":"gajraajay","email":"ajay.gajra@inscripts.in"}],"homepage":"https://github.com/cometchat-pro/javascript-chat-sdk#readme","bugs":{"url":"https://github.com/cometchat-pro/javascript-chat-sdk/issues"},"dist":{"shasum":"41e7fad5d44a5b79108641305f1101ba6023f672","tarball":"https://registry.npmjs.org/@cometchat-pro/chat/-/chat-1.5.1.tgz","fileCount":5,"integrity":"sha512-unsHf0T50w622SO8bGVzLph7GYkMXsKvQh8XlP5MD+Rn4pp/9nCgKAEtUdr3RnMScLz8hyPt/hOZbBoOoIBGOw==","signatures":[{"sig":"MEQCIFB6ax5+FMI/kP//ZTYVXkS0+Z2vUr+3t91v1KsrdknEAiAAzUibB/HcmSJgD1PBzaTVGFVcvYlw3K/eYlxm473v4g==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":343700,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc4vM3CRA9TVsSAnZWagAAZmQP/3lctRRs/hJp+88QWk9C\nJ8815XdcwWkjsHGXpiWvG79B/b4r75ntrleI6KYcy/SdKT+Sd1uKP0U1qGZv\noNrLle/ZY4Lvz00is3mJVHaba9/EBa9HHOM486QyShpoCSMSQSgH/4lp9784\nEZM1Ckz4LBVk73j31HqgYWv9d4rWCUt5/lgkEAHNZ4Y8lONzQY27yY/VJXHZ\n1G+1/gb18NDhUq2JlTPnBzGmDQ8ilLdaKSGT7UhvkU3t8Ott6FXcl9lvM9VY\nIW66CY7u9+MEbYQ605qOLg0berBn8t0Vt1RUXYrDNldM8TYbkVbq1vKWF2rI\nBcg9ceM+JlR2QoU2RrNQA66SCXrVvSY9N5Zhb1G9rONctqC05wfkyhA+OnnN\n5bCeP9q6UcO+me8Z5/sur1VSJ7QMc63tTlDg3eYyDksFpgwAxVf3o1yyj9Db\nAMHJ4p/EtMqYA/2iDNY0iDRY9QW6JvEujjh3Id//NaFeC/tQ6yECezcWuMLY\nfoOEVaJT4EfBUVGeFuKcLuttpbJf9vU1uN5cJtJ+HqIwfdi+N9jZzLJzIz8m\nqPsnD2bzxm78Dd/kAWcuQV+FSfq6ts16ZK1129o6/uVM9sKIvz7whlQIZWgt\nfD9sQ2P3lyAKU0bSMFj994O81TfYYj/NsIXzis7UjUDmyECWlsWSfoEwF2Dv\nSbXS\r\n=KTik\r\n-----END PGP SIGNATURE-----\r\n"},"main":"CometChat.js","gitHead":"f9b81a48e8bbdb74c6d1dc8f9f3232cf0b089f74","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"gajraajay","email":"ajay.gajra@inscripts.in"},"repository":{"url":"git+https://github.com/cometchat-pro/javascript-chat-sdk.git","type":"git"},"_npmVersion":"6.9.0","description":"A complete chat solution.","directories":{},"_nodeVersion":"8.11.3","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/chat_1.5.1_1558377270684_0.6205909301426067","host":"s3://npm-registry-packages"}},"1.6.0":{"name":"@cometchat-pro/chat","version":"1.6.0","keywords":["CometChat","chat","messaging","chat","sdk","pro","message","sdk","messaging","sdk","audio","chat","video","chat","webRTC"],"author":{"name":"CometChat"},"license":"SEE LICENSE IN LICENSE.md","_id":"@cometchat-pro/chat@1.6.0","maintainers":[{"name":"anantgarg","email":"anant.garg@inscripts.com"},{"name":"gajraajay","email":"ajay.gajra@inscripts.in"}],"homepage":"https://github.com/cometchat-pro/javascript-chat-sdk#readme","bugs":{"url":"https://github.com/cometchat-pro/javascript-chat-sdk/issues"},"dist":{"shasum":"5086dcf8147f26257efab481a0df63e5dbf4496b","tarball":"https://registry.npmjs.org/@cometchat-pro/chat/-/chat-1.6.0.tgz","fileCount":5,"integrity":"sha512-5hzP+I7QCkB5gLWeZw0Qtc1ZSjRkak9Ak2Cq0Bc7cofVk/DKYtOih5J352xXLFHFK0SF1uOM1cSt9ZmctGt6kg==","signatures":[{"sig":"MEYCIQDRUm/VWQ8BsDannNFRhMcs8AXwXPL5mmOV/ELHIsbwLAIhAJgfMmoUDDhotiyDe/zR3lUV/MEb9VXrg9V78Enp5SPc","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":355734,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc99uaCRA9TVsSAnZWagAAUhoP/j+1XFstvRY/e+6RuDsT\noFfmxVJzbC424c4vtXOTMxazvI9wfU7IMJeeGLvrRuMEeZYBVqAy81DYOA8D\n383/6yLstry+enGGtn1SSPJRzwY+75Sm19kHmYN7QEL1DzryTmseX/ZftUA5\ne7T+P0IUvV4dSreDHTRx2XOel2JVElfcnl1yMOXXttwAkf0IL/qM75roVd1y\nNgCo6rNAoRoe/uLCm40qvjtzWz3P05fM65Umu7EX3toWC7Dg2Nb8m0Wl9S3P\ngtFbZpX+86inwVQ/5f75VHHBrZaqVvYSyx9I0a33YGRSQfpbdE5vjg7kHknt\nwPojEf/PjPlSlAD89CUaSceYGatg9JfqBOVQ5AhWtM4vetRNBapxGnK2YTmS\nIuSPNE18DZDoZoJVlP0fbCB3N+wKKscccyxGiJnUvEeQrTSwP6/twEHksKOs\nLS784w5gRk1D9OTk3TuJM4sx8dQ6tWsut5krBQgPwRQZZXjf/UXcfrv2R595\nl8/TJSsSZLj8NkA1mNNGdTcN+AXs7iWPKl/1plZq0TJEsd6aYEHJPJImZ/77\nVkhf798lD/fq62modWBwHPb6TpMK+h39Q3yElYWVILHr/QfT4COhzyMLKpmz\nRtCsmCBBCIa/lMiEVQFoEHnWMqx4YTaj0wqCK/g19PKPv2KBN8AfA/xAP3FZ\nMHOf\r\n=kus3\r\n-----END PGP SIGNATURE-----\r\n"},"main":"CometChat.js","gitHead":"f9b81a48e8bbdb74c6d1dc8f9f3232cf0b089f74","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"gajraajay","email":"ajay.gajra@inscripts.in"},"repository":{"url":"git+https://github.com/cometchat-pro/javascript-chat-sdk.git","type":"git"},"_npmVersion":"6.9.0","description":"A complete chat solution.","directories":{},"_nodeVersion":"8.11.3","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/chat_1.6.0_1559747481500_0.2168170287615936","host":"s3://npm-registry-packages"}},"1.7.0":{"name":"@cometchat-pro/chat","version":"1.7.0","keywords":["CometChat","chat","messaging","chat","sdk","pro","message","sdk","messaging","sdk","audio","chat","video","chat","webRTC"],"author":{"name":"CometChat"},"license":"SEE LICENSE IN LICENSE.md","_id":"@cometchat-pro/chat@1.7.0","maintainers":[{"name":"anantgarg","email":"anant.garg@inscripts.com"},{"name":"gajraajay","email":"ajay.gajra@inscripts.in"}],"homepage":"https://github.com/cometchat-pro/javascript-chat-sdk#readme","bugs":{"url":"https://github.com/cometchat-pro/javascript-chat-sdk/issues"},"dist":{"shasum":"61954e4106a240d4cf860707c4029060d84f1228","tarball":"https://registry.npmjs.org/@cometchat-pro/chat/-/chat-1.7.0.tgz","fileCount":5,"integrity":"sha512-aJ3pLaXVhU+siCymsRYuYtlkW0jXGIe8cmZOjZ9hUQkf2qe4m3iauM+RGiiH8He2U9yROojzrq4C1FiV8NKseg==","signatures":[{"sig":"MEQCICMP0YN3uTOrAOkIWfhIcL8mJLkclWQMsmLK+6ON2FnJAiB2l5SJVKxOf9msukJN6cxk0zRiSI9CJixnmpgEAXVVXw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":358003,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc/86mCRA9TVsSAnZWagAA+vEP/2U1M6p56FJ/J96smMZ9\npP3okCUS57nKykOizwgq//9lsU97lCkBGjZrFeBV+5+gi+1iTJrquyT2lprI\nMjTFqSNZ4/rt/OsfADVgiFze+/Qmv+BqJ28GIda/Z9SFkAL4XkN7r2hW9IiT\nx/AwOTk7rlJsbOjRMYDSXQduByWecKSKeHm50u2CPuD3fWmLQ8EbsYQZ72jB\nZMTDk6ENzSk4Gy+0OrvjZC8ShmnssrQZ7jTBhgn2pufhvVHqkQo0hTBhb6oA\nhQCh3YwuSjVbeno56EYhziQAZLlzKTjQtO71g4gjwhgR6ERPxWbzCp5vcnk8\nAgsg+1m1+u0MIiuVajXrzUo5sc+lT8vkD1s73eGE55/Qj7HxmXGYnHejhXs0\nHHTr7VIis4s6E9gp0FO9wGcWir/5/PNousb6FHCgZ7oCvRXbYW0/PQfmLAlE\nyp/4xxueUSBMoVUpouZxIb3KscBy81g6lYtLDx4kpGhl9/Fj3z96IDwhn5Pd\nS0T8xqf7s0a23bz0956mF2xCWTzUCn+ofyaWZLip/m0O4aUwCdcAmYiePY5B\ndNKc4cW0xGJDmpHk1rKJkRY1tuWvOvPThrhMfk1dDb9zWgql/wE3HIYe5EEt\nnpUIM5JTJnwIxqdNiDZoEWsQaLQprgiZZanAruYQCANyzje2gyXlvmGnKEZj\nY7LO\r\n=4+sO\r\n-----END PGP SIGNATURE-----\r\n"},"main":"CometChat.js","gitHead":"e0be78695b3e654f830b7b82ff041fb7e73cc574","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"gajraajay","email":"ajay.gajra@inscripts.in"},"repository":{"url":"git+https://github.com/cometchat-pro/javascript-chat-sdk.git","type":"git"},"_npmVersion":"6.9.0","description":"A complete chat solution.","directories":{},"_nodeVersion":"8.11.3","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/chat_1.7.0_1560268453564_0.805885873964534","host":"s3://npm-registry-packages"}},"1.7.1":{"name":"@cometchat-pro/chat","version":"1.7.1","keywords":["CometChat","chat","messaging","chat","sdk","pro","message","sdk","messaging","sdk","audio","chat","video","chat","webRTC"],"author":{"name":"CometChat"},"license":"SEE LICENSE IN LICENSE.md","_id":"@cometchat-pro/chat@1.7.1","maintainers":[{"name":"anantgarg","email":"anant.garg@inscripts.com"},{"name":"gajraajay","email":"ajay.gajra@inscripts.in"}],"homepage":"https://github.com/cometchat-pro/javascript-chat-sdk#readme","bugs":{"url":"https://github.com/cometchat-pro/javascript-chat-sdk/issues"},"dist":{"shasum":"a91c652ab589e5fb637f0d1d631a7218dae177fa","tarball":"https://registry.npmjs.org/@cometchat-pro/chat/-/chat-1.7.1.tgz","fileCount":5,"integrity":"sha512-hvWHMZq3+sBaHle7c60PaaETgvgMaFJcLcrMxKSEabuSmxkIYyefdL2Ncxo08+EAaCWnr3imfFPQ/LP5mXl+iA==","signatures":[{"sig":"MEUCIQCKiyqqsc2KO2toZL441Fak1x+RK1f6EkVVGth3YetavAIgOj16NIuX3ybu2e+gQHkaFFb1sWMKsUC6udTrdFNQOts=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":361469,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdElcCCRA9TVsSAnZWagAAJ4AP/jrpV40yZDm+7ileknLq\niVYY8G5xCPKtFusp1fdPsQlPvnkkR5+W7e1SxtHr39uSlUIED/828QTtijsz\n9WezR5aXo09MksQiGYEDoKW3tijTy6bAQC97DwUAYXYaPtPzZEUaNLTgxnHT\ndpfbGaUdpThTUiBlCsjfEOPMmQUj6sDv8pfhwQINP9JZ3Bv5JJ9OXYcrRuTi\nFZ37/So2hzOPXrBMh3a8PAq5mFSkwU6TMvrWgAZWG+Huh4fFComndw5BPQiB\nAiNsIP98MEVCjfgodJIR1EYBi2SezJnL7TfSavvyRg4FWo+u7FyS5CVfdb1Q\nILmG/ZBecf/8aluSdyRML5q2v8raFTZe1eFn4vj4D3E5L/hK5IiMewE5VZEW\n5yuBtl5v4HSKq0nrqw8GYmpw/cfixeNGg3HkoNYGsvxG502Rx+IFtnnFusBY\nSZhi6566GJxqlr6sQ5WZ/sA7WjCkKtTza+OfaBuE+gT3XmDekTAgYrxzBc6T\n/revLI9pDyhtVYcY7vIfwVsQx/VD0VwjDJl6gXApjWwnvG66crH83/Wavsp+\nHNQPJGl8+B3CEJa02XUh3ylfyn5hyH6PI1qFLMBmbmszGCY+784mSz3x46u/\nkGtOWEtvySdowtdRRIEde7EM+0x/jG3uI0yWhMb0RwcSQ2QEDEnuNKCv/mz1\n0AR0\r\n=c00U\r\n-----END PGP SIGNATURE-----\r\n"},"main":"CometChat.js","gitHead":"96b425802fc8aa7b1d429fd108f32a0439f843be","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"gajraajay","email":"ajay.gajra@inscripts.in"},"repository":{"url":"git+https://github.com/cometchat-pro/javascript-chat-sdk.git","type":"git"},"_npmVersion":"6.9.0","description":"A complete chat solution.","directories":{},"_nodeVersion":"8.11.3","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/chat_1.7.1_1561483009417_0.25376961445820645","host":"s3://npm-registry-packages"}},"1.8.2":{"name":"@cometchat-pro/chat","version":"1.8.2","keywords":["CometChat","chat","messaging","chat","sdk","pro","message","sdk","messaging","sdk","audio","chat","video","chat","webRTC"],"author":{"name":"CometChat"},"license":"SEE LICENSE IN LICENSE.md","_id":"@cometchat-pro/chat@1.8.2","maintainers":[{"name":"anantgarg","email":"anant.garg@inscripts.com"},{"name":"gajraajay","email":"ajay.gajra@inscripts.in"}],"homepage":"https://github.com/cometchat-pro/javascript-chat-sdk#readme","bugs":{"url":"https://github.com/cometchat-pro/javascript-chat-sdk/issues"},"dist":{"shasum":"fd5a0cf0b7108252133036c9ffac3c451bc0c4ed","tarball":"https://registry.npmjs.org/@cometchat-pro/chat/-/chat-1.8.2.tgz","fileCount":5,"integrity":"sha512-YsuG5vuVsPtmLuGFhYOmmWEmvTIPGgIiFKFwGuLuO5yDT2voEDQoyCWcITowZxaQfG83lBjW7EfnpHHS62s4nQ==","signatures":[{"sig":"MEQCIDaKdB8dMoKGILw6bj883nTCq3irzTALlza4YBKqEbJPAiAQJ17GbgEklS5jkHcFKRNOuj3xZe4Y7SlD6by/Zx/WaQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":361536,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdFG3lCRA9TVsSAnZWagAAzZwQAJrmswssLzz1VR3rCrrR\n651cxmNtOkL0Fbur2rFy4NwSD3rsxPg5ZFQeLezt7wE7sOsTGIA7Fbmtwqtw\nA63KUvCNc+dAN2urcfDX2fhZNsB8r9ZfooNn5zpJPOCnAmfLsxNpRJR9ldk5\n/PVeJcGSPPqBquZLLHkxEbZ8QItZgaVbb4VJHVen1oHjn8eXOqCDg470inxH\nM+J3HnyLH5vLcyuK14tVPXG6bQ7oIXklTJTwSTjK0BG5d+zvPxq5VTWCRg/l\nCXAboxJONM33nInbXBKPp6pigQuTf5uJRORFQv6ROqS5dcqOgvDF9iSvhTNU\np3gT+PLgNFDJM72OC5z5yS8sigIid0T5lgPECUcUT0KpTRPf0UWqpddx++4n\n9MSSyLKMyQJFKP7Li1JUtf3zdSqR0ccYpX/72/kxluDup97azKSGfxcC+VPx\njqEeKKzWaZCfTP8XzD26OmNooP8EtlGiTdl/3qRpWOnEdgKCz7q+rbeslUZf\ntawwKdN4z2HVu4kiWKsYa9bY05iRgArcCj6SZoO954OMNmy7+NytEgfmheZ4\nW7hgPerWlJvuFoDKDEkmIBUNTGaWWlayxwle3MgFz32BGmrCEgmxn8Z9FV+t\nbGQDcvdwbL6fvqXwgC3MUUi9qrawddn1AXduBUHbBgEidg5/TGB3bouPQRFW\nFimt\r\n=q3Hu\r\n-----END PGP SIGNATURE-----\r\n"},"main":"CometChat.js","gitHead":"781f1bff0f3513a3d013af1f722aa6dac6514501","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"gajraajay","email":"ajay.gajra@inscripts.in"},"repository":{"url":"git+https://github.com/cometchat-pro/javascript-chat-sdk.git","type":"git"},"_npmVersion":"6.9.0","description":"A complete chat solution.","directories":{},"_nodeVersion":"8.11.3","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/chat_1.8.2_1561619940958_0.7188830963614348","host":"s3://npm-registry-packages"}},"1.8.3":{"name":"@cometchat-pro/chat","version":"1.8.3","keywords":["CometChat","chat","messaging","chat","sdk","pro","message","sdk","messaging","sdk","audio","chat","video","chat","webRTC"],"author":{"name":"CometChat"},"license":"SEE LICENSE IN LICENSE.md","_id":"@cometchat-pro/chat@1.8.3","maintainers":[{"name":"anantgarg","email":"anant.garg@inscripts.com"},{"name":"gajraajay","email":"ajay.gajra@inscripts.in"}],"homepage":"https://github.com/cometchat-pro/javascript-chat-sdk#readme","bugs":{"url":"https://github.com/cometchat-pro/javascript-chat-sdk/issues"},"dist":{"shasum":"e63f93331078882b293664a51185106e469415bd","tarball":"https://registry.npmjs.org/@cometchat-pro/chat/-/chat-1.8.3.tgz","fileCount":5,"integrity":"sha512-dumzehzdaQ6QtZ68hFv4rOMmehcNHU6F4dupHmDvhcldJhn2tmTR7xgBhmq6+Hz9YcjlVSePAD4VMgGunCfXbg==","signatures":[{"sig":"MEUCIE8AmbQip3j+gsgTHuNLhuBkMcVXtSPA4jHMEbvOn2c2AiEAoUf/UNvEOg0mdxCeAuCFzOFujIv6ECgi2jv0al0EvKU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":361923,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdFLF2CRA9TVsSAnZWagAAigIP/icjA45eSP5Ogkqkt4Py\n+eHiGc/g4HWPrKpzViujUKWchMvC1Xrd1ZmZNvf9yPEotfrUyZSEPmi+YzwE\nqn1HQtV28SnK/ss30p6gQoJN7YDg0KeuTO0i4LjNiSmkbYcZfKHW4nnFlpL3\n3SJkMDqfAHGP3w09lDHpbWqabksaSF+cwae4z75e1V/PdaLq3GAwPezx7IqQ\n1fvHxvXHL3IxolveEswjk2snPKxd5gBaGy/JI6+6UG97hNW56r+kx/Px8XcQ\nPZ+AAJPg/i6GU8V3T561YNu+9TNhUp6MunBgFzyvKTDI94nMTrPvQEefx52V\nO3jL46IBe3UNmhvkPLCX0pXUbUx0qK7k/9Vad+1SleKL01Rb2Y0sp9CJlV+7\n05Ae3OZ45ttph4wGmm8ejGYRxRFtR3CWRT/8/C25biCih1mSOurAHz4hOYGw\npGO5UVkbfuHDXkJKob9mOj+gygbLqgKgJwxE9Fpk4w+3Po3Kb6++mVrJMwXK\n/eiHeN2/CI7XPyeP62nu7vkEaf61QbRtREEZjgFE6279xFoXqWzYxpAkjepX\naWrmuQ0Uy/BIEkwOo2LzhlRfE4ytdltWqwv9NVq0q7Kyl2vpO8x9iPX9wI39\nr/ag+QQOwq6WxVguiqXX3WvxBkoPa4H9N/6DfNtkUyxAN+V8O2cKl7NEZDJY\nwP0q\r\n=/zOQ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"CometChat.js","gitHead":"713c0605ab2fa88b012aed0fb440622260d59231","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"gajraajay","email":"ajay.gajra@inscripts.in"},"repository":{"url":"git+https://github.com/cometchat-pro/javascript-chat-sdk.git","type":"git"},"_npmVersion":"6.9.0","description":"A complete chat solution.","directories":{},"_nodeVersion":"8.11.3","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/chat_1.8.3_1561637237760_0.467764714449592","host":"s3://npm-registry-packages"}},"1.8.4":{"name":"@cometchat-pro/chat","version":"1.8.4","keywords":["CometChat","chat","messaging","chat","sdk","pro","message","sdk","messaging","sdk","audio","chat","video","chat","webRTC"],"author":{"name":"CometChat"},"license":"SEE LICENSE IN LICENSE.md","_id":"@cometchat-pro/chat@1.8.4","maintainers":[{"name":"anantgarg","email":"anant.garg@inscripts.com"},{"name":"gajraajay","email":"ajay.gajra@inscripts.in"}],"homepage":"https://github.com/cometchat-pro/javascript-chat-sdk#readme","bugs":{"url":"https://github.com/cometchat-pro/javascript-chat-sdk/issues"},"dist":{"shasum":"f90f193cd02c544fd4cac29826f0d11f023f53ee","tarball":"https://registry.npmjs.org/@cometchat-pro/chat/-/chat-1.8.4.tgz","fileCount":5,"integrity":"sha512-F1SMJ/s8TnOjxXsiTzpr2kLvu7ZRWO40jT/ORzRCipoicZ51dbHWiDtdfy/8j9EbSQGnMGfNKFEiEdRdkiKpyQ==","signatures":[{"sig":"MEUCIDRD+i+sANT57uz/W4iD1qPb52KgxCgZYghQP8r5eBSDAiEAtiM/wsbaVQ+QIomizb8jDpX4BkloQ5TzlGQ6d74MbXk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":361673,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdGe9bCRA9TVsSAnZWagAA9sEP/03FMD92Wpw7g8V6FRrA\nVqt7uXdrpA/tB5+kjckTbEpOgBLAtJ/bWEsymqzNfFZtYUvjZ6QdAZ37YktG\nnav0+Y30iIs3jLh2aiE7kuATUF+kwjWzsuX22itxaIGK99ITW4DfLI9CB8lg\nPTGpME3N0I4vwnUPPc8KqXDdwMELgwdhkHkWmGiyVQbuP4/yi7Vch7BZY09K\na9xUCH2nsWCHTu+pBPph1q0C8npFl2/aQCrmLcN9NR/9IRjF0SWy/4MRMKbZ\nCp+nGkOG6IcUJeKuYrPbFZ9zsqnxvfZOL4tqNpclUR+n5z0+PlYwHWEn+n13\n3yNtzMpL6ilD2yxbnConA6zmaZMm6GPzF5Y8HD3ubghoTCVbx2LumR5kkzDA\nwwbAO/6JdeImYNepYxOEKDjtzGp82Su1FlfR7zGo/tvvLdIpyRd+gQywwrS/\nRomzODrgDiZxBHoKhAPJb8PeQrnPuJutEfyaaHYW6iXyx6BS9rAQVUKyzNCv\nMcShPp+4fhXScItisLzJw3aL8dldYXNMtiP8sbm12A1wUCG81mvLEc6Jy4iO\nKQwig2TR62MEmPF6cGL2XcVyP3ZRMiSC1UQmMJlMVH3c4MDseLK3zf18dTex\npUE7zS6dtT+UtPzyd/Nv+W6QP7dg+brA2tN3Um8ZUEmhLho+c8fLcMiPvlVU\n9EWy\r\n=LR1S\r\n-----END PGP SIGNATURE-----\r\n"},"main":"CometChat.js","gitHead":"01a15299cb67a555c92ef6ae7243bd9e9b0f7457","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"gajraajay","email":"ajay.gajra@inscripts.in"},"repository":{"url":"git+https://github.com/cometchat-pro/javascript-chat-sdk.git","type":"git"},"_npmVersion":"6.9.0","description":"A complete chat solution.","directories":{},"_nodeVersion":"8.11.3","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/chat_1.8.4_1561980762990_0.25990312740487065","host":"s3://npm-registry-packages"}},"1.8.5":{"name":"@cometchat-pro/chat","version":"1.8.5","keywords":["CometChat","chat","messaging","chat","sdk","pro","message","sdk","messaging","sdk","audio","chat","video","chat","webRTC"],"author":{"name":"CometChat"},"license":"SEE LICENSE IN LICENSE.md","_id":"@cometchat-pro/chat@1.8.5","maintainers":[{"name":"anantgarg","email":"anant.garg@inscripts.com"},{"name":"gajraajay","email":"ajay.gajra@inscripts.in"},{"name":"inskshitiz","email":"kshitiz.shakya@inscripts.in"}],"homepage":"https://github.com/cometchat-pro/javascript-chat-sdk#readme","bugs":{"url":"https://github.com/cometchat-pro/javascript-chat-sdk/issues"},"dist":{"shasum":"b15cc80f3d8557eb4cb5a04c8e0262fb3b44a498","tarball":"https://registry.npmjs.org/@cometchat-pro/chat/-/chat-1.8.5.tgz","fileCount":5,"integrity":"sha512-My2q942Yd8r6hnPBDytccpHA9DyAfeefWXXWufxbJJ1BQbJ9so2vHIX51NT+JoSZ5rRWM8TvqgxTuqS0O/gGiQ==","signatures":[{"sig":"MEYCIQCptab0AlyL6BHKhE+AR3Z+hz7NuMcB8VBN/YjD+FJssAIhAM+oTi7aW4uFSb9bfX5ZHjKyIgshu1jicIdT0/vLhuCx","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":364249,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdJ1COCRA9TVsSAnZWagAAGt0P/3jf1F5rjyA3dkui5b5P\nGGHkpTvG+u3tKkxtxVLBtQ5PNlqP719R8uzqf5K1C9iYsUzxStVvZlgfU3rj\nk/S1y758Fdz6ZfIi2AZJp36bQ+moCkKDQTJmDXmtP0UwXLlzZYKkVN3ZuFMM\nX2ld9DaKiJJCtHXQneW1rzrJY/SB4aksOT3tFJaGWkoShxGLet7WgNsmCPof\n5EeCW1wi8SyRbFJ+pjnbx2C8BDyLJLjBSfE6nPQZjVb9NICKIBcRTQ6NirX1\no6XiUBRzldkwXwW2dX9rNDiihKMUKEmDwN9WdAR0uolCO0lYo5iLfqSq6DAB\nQ44QS1qp5RaN+S+f/ZkxKafcI/Q8dgKUJcgzZEm4WaRG6qqH2h3BG/zoCS7y\nrBl4kMV7v2AMYcOVpT9zltEKqD0cASRzfR45turgTnoYBwllHYBMnoReEMh0\ndw4d9q/qASWEtchX5TNtd5K1DvUclCSPckoSqdzZx8iglKlf0tS23ciMZ1dG\nO7KPIPdYU/OVgSz72qsnykpu1UBjFMIzlx55sWtNLxQPN1fU+OPBKqWf1Yei\n6GiayNn2GGbKCtFGOc0Wa8lOjINIVN1ZcfBdur1hfaWSl/68eX7ekD215GBE\n3V33ibB3VKMB0a0eWaO/Ul7prQFHo0z0pqpPbvXQ6v8bUPYbycEb212pSZtf\nhU9D\r\n=0Y1Z\r\n-----END PGP SIGNATURE-----\r\n"},"main":"CometChat.js","gitHead":"01a15299cb67a555c92ef6ae7243bd9e9b0f7457","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"gajraajay","email":"ajay.gajra@inscripts.in"},"repository":{"url":"git+https://github.com/cometchat-pro/javascript-chat-sdk.git","type":"git"},"_npmVersion":"6.9.0","description":"A complete chat solution.","directories":{},"_nodeVersion":"8.11.3","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/chat_1.8.5_1562857614242_0.19176272828829832","host":"s3://npm-registry-packages"}},"1.8.6-beta":{"name":"@cometchat-pro/chat","version":"1.8.6-beta","keywords":["CometChat","chat","messaging","chat","sdk","pro","message","sdk","messaging","sdk","audio","chat","video","chat","webRTC"],"author":{"name":"CometChat"},"license":"SEE LICENSE IN LICENSE.md","_id":"@cometchat-pro/chat@1.8.6-beta","maintainers":[{"name":"anantgarg","email":"anant.garg@inscripts.com"},{"name":"gajraajay","email":"ajay.gajra@inscripts.in"},{"name":"inskshitiz","email":"kshitiz.shakya@inscripts.in"}],"homepage":"https://github.com/cometchat-pro/javascript-chat-sdk#readme","bugs":{"url":"https://github.com/cometchat-pro/javascript-chat-sdk/issues"},"dist":{"shasum":"c1e8b97db4059c5c00d79d8c05abf147754d8ffe","tarball":"https://registry.npmjs.org/@cometchat-pro/chat/-/chat-1.8.6-beta.tgz","fileCount":5,"integrity":"sha512-NWCH4OSPkI7VwgM7i9vOexE99qoBQY9UknsmEiyXVP29gzDaBEpMpx2vsBj8eK41xl7KYvWqlEZdTPOMyEP8pw==","signatures":[{"sig":"MEUCIQCawXW5oqHuPfLljQLzdMyIp8M0NJvFdJwiRkSVbCLf4AIgFfOA5paS1hh59rolif6StntjfSA5D1KA5j30VLH3tSs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":364395,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdKKdfCRA9TVsSAnZWagAAE6EQAIndT6aQgjHVx+ktw4hM\nl7lohAvN4vJuYgmrXhbTOKqEy8nxvEWdWnwmVRMh41z++U0aaSPdfH+tyBVD\nuMQKCXYc/z20DF+oK1zHVJIg+NPwgywGpxjAu5+ZPBh9dlGjstHpbFt7c+Pc\nucK3dQWnTdKzpuF0TcQQDEbaasdjfwygBJgCQsXhtIakPD1KOvj15ezpwj69\nt+nm1iOPUKmub7SIpkiSxCOdbJO01difl8IVqV48BOpQXlmzfdvsV/nRRI4E\nPp/TdQOGprEvyyUWQYL2z5lF8CxdUVZFl8v3GFg/63j2HTryVhIBBbqKZKMC\nC76kxhO6H1h8BOR+V81j1bF4ZmtKWay6johbT3rdQnrMOVOQ63EknY+QuMLO\nU0qZEmiolzcRBYrc7y9h59vPIaPpDLgUma6ZTSPs6Te0NH+llI5Rd3flnwbD\nwmjU4Yi6S6ey494IwDM+unfIYbq79/v6t+EFOIDydK/fDJ3d88p1ub2AQcyJ\nUKQW8x3pbYq9h550qUwW+7UKHGB9mzfY7H+5cFsgMVXhAQXBv9ljqDMFdGMG\n5f+5P/J4erFtt6L1COP+eqvRiN7D4rmD/DpO5sWbBcc6eSepyAu+rPeqCvS2\nO1B7EPle2CVpYzjhHlSNjkWcp666Lk2Vv6VARg9vKTdNPAgM2Wx4qrl9wvim\n+F+P\r\n=wLEA\r\n-----END PGP SIGNATURE-----\r\n"},"main":"CometChat.js","readme":"<div style=\"width:100%\">\n<div style=\"width:100%\">\n\t<div style=\"width:50%; display:inline-block\">\n\t\t<p align=\"center\">\n\t\t<img style=\"text-align:center\" width=\"180\" height=\"180\" alt=\"\" src=\"https://raw.githubusercontent.com/cometchat-pro/ios-swift-chat-app/master/Screenshots/CometChat%20Logo.png\">\t\n\t\t</p>\t\n\t</div>\t\n</div>\n</br>\n</br>\n</div>\n\nCometChat Pro enables you to add voice, video & text chat for your website & app.\n\n<a href=\"https://www.npmjs.com\">[![Platform](https://img.shields.io/badge/Platform-Javascript-blue.svg)](#)</a>\n<a href=\"https://www.npmjs.com\">[![Platform](https://img.shields.io/badge/Platform-NPM-orange.svg)](#)</a>\n\n# Quick Start\n\nThis guide demonstrates how to add chat to a Javascript application using CometChat. Before you begin, we strongly recommend you read the <a href=\"https://prodocs.cometchat.com/docs/concepts\" target=\"_blank\">Key Concepts</a> guide.\n\n## Get your Application Keys\n\n<a href=\"https://app.cometchat.com\" target=\"_blank\">Signup for CometChat</a> and then:\n\n1. Create a new app: Enter a name & hit the **+** button\n2. Head over to the **API Keys** section and click on the **Create API Key** button\n3. Enter a name and select the scope as **Auth Only**\n4. Now note the **API Key** and **App ID**\n\n## Add the CometChat Dependency\n\n### NPM\nFirst, install via npm\n\n`Shell`\n\n```shell\nnpm install @cometchat-pro/chat --save\n```\n\nThen, import the `CometChat` object wherever you want to use CometChat\n\n`JavaScript`\n\n```Javascript \nimport { CometChat } from \"@cometchat-pro/chat\" \n```\n### HTML (via CDN)\nInclude the CometChat Javascript library in your HTML code\n\n\n```HTML\n<script type=\"text/javascript\" src=\"https://unpkg.com/@cometchat-pro/chat/CometChat.js\"></script>\n```\n\n## Initialize CometChat\nThe `init()` method initializes the settings required for `CometChat`.\n\nYou need to call `init()` before calling any other method from CometChat.\n\n```Javascript\nvar appID = \"APP_ID\";\n\nCometChat.init(appID).then(\n  hasInitialized => {\n    console.log(\"Initialization completed successfully\", hasInitialized);\n    // You can now call login function.\n  },\n  error => {\n    console.log(\"Initialization failed with error:\", error);\n    // Check the reason for error and take apppropriate action.\n  }\n);\n```\nMake sure you replace the `APP_ID` with your CometChat **App ID** in the above code.\n\n## Login your user\nOnce initialization is successful, you will need to log the user into CometChat using the login() method.\n\nWe recommend you call the CometChat login method once your user logs into your app.\n```Javascript\n\nvar UID = \"SUPERHERO1\";\nvar apiKey = \"API_KEY\";\n\nCometChat.login(UID, apiKey).then(\n  User => {\n    console.log(\"Login Successful:\", { User });\n    // User loged in successfully.\n  },\n  error => {\n    console.log(\"Login failed with exception:\", { error });\n    // User login failed, check error and take appropriate action.\n  }\n);\n```\nMake sure you replace the `API_KEY` with your `CometChat` **API Key** in the above code.\n\n>**Sample Users**\n>We have set-up 5 users for testing having UIDs: `SUPERHERO1`, `SUPERHERO2`, `SUPERHERO3`, `SUPERHERO4` and `SUPERHERO5`.\n\nThe `login()` method returns the User object on `Promise` resolved containing all the information of the logged in user.\n\n## Send a message\nOnce your user has logged in, you can send a message using the `sendMessage()` method.\n```Javascript\nvar receiverID = \"SUPERHERO2\";\nvar messageText = \"Hello\";\nvar messageType = CometChat.MESSAGE_TYPE.TEXT;\nvar receiverType = CometChat.RECEIVER_TYPE.USER;\n\nvar textMessage = new CometChat.TextMessage(receiverID, messageText, messageType, receiverType);\n\nCometChat.sendMessage(textMessage).then(\n  message => {\n    console.log(\"Message sent successfully:\", message);\n    // Do something with message\n  },\n  error => {\n    console.log(\"Message sending failed with error:\", error);\n    // Handle any error\n  }\n);\n```\n| **Parameter** | **Description**                                                                                                                                 |\n|---------------|-------------------------------------------------------------------------------------------------------------------------------------------------|\n| receiverID    | The UID or GUID of the recipient                                                                                                                |\n| messageText   | The message string to be sent                                                                                                                   |\n| messageType   | The type of the message that needs to be sent which in this case is `CometChat.MESSAGE_TYPE.TEXT` (text)                                        |\n| receiverType  | The type of the receiver to whom the message is to be sent i.e `CometChat.RECEIVER_TYPE.USER` (user) or `CometChat.RECEIVER_TYPE.GROUP` (group) |\n\nOnce the message is sent successfully, you will receive the message information as <a href=\"https://prodocs.cometchat.com/docs/js-appendix#section-textmessage\">`TextMessage` </a> object on `Promise` resolved.\n\n## Receive Messages\nYou can add multiple MessageListener using the `addMessageListener()` method, to receive incoming message wherever you need.\n\n```Javascript \nvar listenerID = \"UNIQUE_LISTENER_ID\";can we get single amazon server !\nCometChat.addMessageListener(listenerID, new CometChat.MessageListener({\n  onTextMessageReceived: message => {\n    console.log(\"Message received successfully:\", message);\n    // Handle text message\n  }\n}));\n```\n| **Parameter** | **Description**                                                                                |\n|---------------|------------------------------------------------------------------------------------------------|\n| listenerID    | An ID that uniquely identifies that listener. We recommend using the activity or fragment name |\n \n\nTo learn more, please refer to our <a href=\"https://prodocs.cometchat.com/docs/js-quick-start\">javascript Developer Documentation</a>.","gitHead":"999273588a42a992d104d70a000eea9709ef419a","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"gajraajay","email":"ajay.gajra@inscripts.in"},"repository":{"url":"git+https://github.com/cometchat-pro/javascript-chat-sdk.git","type":"git"},"_npmVersion":"6.9.0","description":"A complete chat solution.","directories":{},"_nodeVersion":"8.11.3","_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/chat_1.8.6-beta_1562945375156_0.846402350662931","host":"s3://npm-registry-packages"}},"1.8.6":{"name":"@cometchat-pro/chat","version":"1.8.6","keywords":["CometChat","chat","messaging","chat","sdk","pro","message","sdk","messaging","sdk","audio","chat","video","chat","webRTC"],"author":{"name":"CometChat"},"license":"SEE LICENSE IN LICENSE.md","_id":"@cometchat-pro/chat@1.8.6","maintainers":[{"name":"anantgarg","email":"anant.garg@inscripts.com"},{"name":"gajraajay","email":"ajay.gajra@inscripts.in"},{"name":"inskshitiz","email":"kshitiz.shakya@inscripts.in"}],"homepage":"https://github.com/cometchat-pro/javascript-chat-sdk#readme","bugs":{"url":"https://github.com/cometchat-pro/javascript-chat-sdk/issues"},"dist":{"shasum":"3da0f8c8989b5712316f9ba84803a09aa15d143d","tarball":"https://registry.npmjs.org/@cometchat-pro/chat/-/chat-1.8.6.tgz","fileCount":2,"integrity":"sha512-nXpPeERELIg3JtWW2FbiVY7+ojpQ5U0q1YVwiwBmy/dB0kVEG7D0tkoB9K5l8m+IKo+iCKMz9imgJOlEPt581Q==","signatures":[{"sig":"MEQCIQD2lWvfMz99l2hn+BcTCxKSTKYLP9VuznPUfL7gfXD9kgIfbysSW9ES3Uw+twUlKwbRGP2wTnaOlQQFBocHEkLwZg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":305992,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdTFPgCRA9TVsSAnZWagAAd90P+gOHqbJcN3rFNoQ/q6G8\ncPB9H4XQEv1llacCFfGL8rKcXRYWBZWupd4mBWpgw6j+LC1AUiTnFn3MgBL2\nVk0zJ+lz46rjMzeqmCM3OLUa44Y5MLhDXfa3JuMgo0uk4NrXuMYGJybQwVrc\npkFdVLfdG/NHDCzCToLkF1dA7b7QClZ+vz9Y2aPdDg9ze2NLAQDopzw4iai9\nPO9pQ3sd+bvR73bVqDYtOdc5fJF7f+srs+fCfB3/VKVBpqEAt2R/XJerJrNy\niC0aABH8s6vrURi9uG+zvl2U+G31Eeu+cWhFFRCQoabi5+0l57mLhlEJl2Va\naIyy/cQbeI37LPchaEWGTCeHHJb1hPfdUoECwdeRR8gieAbHYbIRrgvCNj/I\neH+tc0x1HRGAd4UzJtvwNSpcJcJmD634FQIU4SBsm1KN2uYKxDk0tSp2ar8d\nzOrbuTtXgjT+uQQZ+6UYoTzYxgaaGW8ysKLmqWw1PXOahrhE/x9iJ90EbhJ8\nzNFD8wzNHcBnE08vKczP9lCKyt0hW7NU7hq+thBGtAbPAggoYz1uyODkOlFW\nGuRAt803r3NuYWxByxdWoqGmg+ij8iuCfTIDAPiqoPZm0NtiGJcHTTcmzAUi\nKnWfA/zCEAABu8Ba6mvfclXcswiWSIVGs3spEs5tJjS2CJkgfg1Iu9m+1EDE\nTWuT\r\n=OQef\r\n-----END PGP SIGNATURE-----\r\n"},"main":"CometChat.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"gajraajay","email":"ajay.gajra@inscripts.in"},"repository":{"url":"git+https://github.com/cometchat-pro/javascript-chat-sdk.git","type":"git"},"_npmVersion":"6.9.0","description":"A complete chat solution.","directories":{},"_nodeVersion":"10.16.1","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/chat_1.8.6_1565283288475_0.3232355339023538","host":"s3://npm-registry-packages"}},"1.8.7":{"name":"@cometchat-pro/chat","version":"1.8.7","keywords":["CometChat","chat","messaging","chat","sdk","pro","message","sdk","messaging","sdk","audio","chat","video","chat","webRTC"],"author":{"name":"CometChat"},"license":"SEE LICENSE IN LICENSE.md","_id":"@cometchat-pro/chat@1.8.7","maintainers":[{"name":"anantgarg","email":"anant.garg@inscripts.com"},{"name":"gajraajay","email":"ajay.gajra@inscripts.in"},{"name":"inskshitiz","email":"kshitiz.shakya@inscripts.in"}],"homepage":"https://github.com/cometchat-pro/javascript-chat-sdk#readme","bugs":{"url":"https://github.com/cometchat-pro/javascript-chat-sdk/issues"},"dist":{"shasum":"13ad1d0d5d79823e126e2263d4d890e419b88182","tarball":"https://registry.npmjs.org/@cometchat-pro/chat/-/chat-1.8.7.tgz","fileCount":2,"integrity":"sha512-YR5EcVNzoFEwZI6nKHevlvyIg1JiX2XADzm0xC46qlorAAtmHYsOVQNTx2C/RA6yqfAzCu7HV7AqkDjuvx6A4w==","signatures":[{"sig":"MEYCIQDTBkx8khCvqiYSnH81ym6alx+oLGsjcwOcbQs/OVqvHwIhAPAYMMnaZiGKJf0ZIBqyuRKjYRqyYOSY3f4qMDcYaY28","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":305785,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdanP0CRA9TVsSAnZWagAAu0cQAKQxwZAOypze2dSJ0eVi\nJ92kDyUlo+47ZgQ4NgY7jPC76K+9S6CmC7Iw8ma6Nvrb4BNGFHYO/ZfP/PBe\nh19MqgJMNYXFwSjM5dqnNlJNW4OE9/YdsQGQPeFZmLKoUEjtQii7TPfmdbkh\nHH+Ia/tQbbRqwmw8dZnVQtpNag7U2ZhCJctaVtnsO2anETa7ByK79xECUzuV\n/6iqb14XsO3C0d8WQuzMiEJbHje8FGND/4D3vGBNCMiYINY0AhPpGfmcHqM2\nsOWWfuMC/BHTrbNoXYrtHy9V08MITeuJf8nhdhFwLZCwr8933p8lYrsYNttn\n0m90RaX62eoeH0BdY+jiMw221Np3OMSQovenAxPJkl2UHs5Ox0pwgcM+IzUO\nI2qTBZtLfHEXdA1O/YX8dDbpDutoj7v14M0Z6IoISSUT97kiidnyNznH40/U\nY3VgRbX4ZD/tZkI4kGOFGHLR3HJBcKbj6Y6IHNKs/8z06VIcNHvFpngXx2/L\n21R7GX90wTnVuNpp9XyvDkSK9c210OmSvR3i/WCqgYm8c7YgEig4oVOSh1c6\n3Ns0DDWmyP3NShP0Jk9v1iQ0rsqPsUFuR1xd8oW4O0eWBetQTNWNcBqpi9pN\nVMsF7Xr1RghEt0C285tBogaP1nSdPHtSNr7wcxCFDdFHfbWuyPoNnTLWk5Ro\nPU/Q\r\n=9vhH\r\n-----END PGP SIGNATURE-----\r\n"},"main":"CometChat.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"gajraajay","email":"ajay.gajra@inscripts.in"},"repository":{"url":"git+https://github.com/cometchat-pro/javascript-chat-sdk.git","type":"git"},"_npmVersion":"6.9.0","description":"A complete chat solution.","directories":{},"_nodeVersion":"10.16.1","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/chat_1.8.7_1567257587712_0.11412341656014746","host":"s3://npm-registry-packages"}},"2.0.0-beta.0":{"name":"@cometchat-pro/chat","version":"2.0.0-beta.0","keywords":["CometChat","chat","messaging","chat","sdk","pro","message","sdk","messaging","sdk","audio","chat","video","chat","webRTC"],"author":{"name":"CometChat"},"license":"SEE LICENSE IN LICENSE.md","_id":"@cometchat-pro/chat@2.0.0-beta.0","maintainers":[{"name":"anantgarg","email":"anant.garg@inscripts.com"},{"name":"gajraajay","email":"ajay.gajra@inscripts.in"},{"name":"inskshitiz","email":"kshitiz.shakya@inscripts.in"}],"homepage":"https://github.com/cometchat-pro/javascript-chat-sdk#readme","bugs":{"url":"https://github.com/cometchat-pro/javascript-chat-sdk/issues"},"dist":{"shasum":"276bdf2ef0e6bc130dec3b9936135080a4864ebb","tarball":"https://registry.npmjs.org/@cometchat-pro/chat/-/chat-2.0.0-beta.0.tgz","fileCount":5,"integrity":"sha512-Zk1Qj5T/ns0fpUoqVjGNLmTN0qscEQ98bv8beFMUjf2swZ2ygzmOK3p4e3JFCYWwufW4nRVpBKYwS8KTyWYRMg==","signatures":[{"sig":"MEUCIQCzClMBUHckT1svmf64cxvhNpfdcUknhU9+nG3LczMb5QIgQfZoHCpxLJOh/sbndMVQxY1nO462RNT8cbgz3UNWjQw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":401029,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdb5KJCRA9TVsSAnZWagAASp8QAJ4oJm7JlIK+Mw6Bvufp\n5uP+/k/QEcVvYkBFulhjV2qNntiYvLudF7RTwJ5L7kbXvq66wbXlmQNW6UM9\nN4GPFrZ2buHJRlZgKEL77CJGn8MrRsW5n6EWzzwpfxqWHFsYSnw2E26FeV6W\n28tm9kB/i3+IJExlTIjwfbhyPSgxJIOeC3Hah9L8YTZFqAwp73O8vj0YqAZ1\ny+IbsBwsh+a1LeS2nH/wal88uTtZRXM1Qtt+X935qoe8ePXL/tvqwt7b4u3I\nRqfmXiM4/bKzoyTO0d1cB4cMRlbz3xsnjITqqXlEUmosdDu18HfSYdQ1fpgp\nLrR7zEOWlkQIUCT0TbdAREnlDYS87xjHnYi+MYh/+kHPgASeVuh+bzHWcaXw\nPFO3wB7f0LvKvc3uQizslMtVjzPY/l/qr4Eaz2NX0l24kZu7GMdBMVhu4UnQ\niSiRQZg7lzfrwjkPvsm7bz7ruQ49bIHyvMEubZkVjvfcnvWkosPP8XSSo1o+\nkTOaU1rJeFxzGe80BWxaP25Abv/uRdwcpvAi+dzsp8+3nXzZsHNHG21253o9\n6OTu2DYZr0sd/rI1+jVgtSBhg/Z8v7t2v5aCyH+qDcYb7KbvZBBuhxip2DrE\nP84W/fXkdUTo4xIw54/ktVN/G35gr68PVM2PlC5x5WlfKooMGifUD6tsUzxW\nhlrj\r\n=DA5P\r\n-----END PGP SIGNATURE-----\r\n"},"main":"CometChat.js","readme":"<div style=\"width:100%\">\n<div style=\"width:100%\">\n\t<div style=\"width:50%; display:inline-block\">\n\t\t<p align=\"center\">\n\t\t<img style=\"text-align:center\" width=\"180\" height=\"180\" alt=\"\" src=\"https://raw.githubusercontent.com/cometchat-pro/ios-swift-chat-app/master/Screenshots/CometChat%20Logo.png\">\t\n\t\t</p>\t\n\t</div>\t\n</div>\n</br>\n</br>\n</div>\n\nCometChat Pro enables you to add voice, video & text chat for your website & app.\n\n<a href=\"https://www.npmjs.com\">[![Platform](https://img.shields.io/badge/Platform-Javascript-blue.svg)](#)</a>\n<a href=\"https://www.npmjs.com\">[![Platform](https://img.shields.io/badge/Platform-NPM-orange.svg)](#)</a>\n\n# Quick Start\n\nThis guide demonstrates how to add chat to a Javascript application using CometChat. Before you begin, we strongly recommend you read the <a href=\"https://prodocs.cometchat.com/docs/concepts\" target=\"_blank\">Key Concepts</a> guide.\n\n## Get your Application Keys\n\n<a href=\"https://app.cometchat.com\" target=\"_blank\">Signup for CometChat</a> and then:\n\n1. Create a new app: Enter a name & hit the **+** button\n2. Head over to the **API Keys** section and click on the **Create API Key** button\n3. Enter a name and select the scope as **Auth Only**\n4. Now note the **API Key** and **App ID**\n\n## Add the CometChat Dependency\n\n### NPM\nFirst, install via npm\n\n`Shell`\n\n```shell\nnpm install @cometchat-pro/chat --save\n```\n\nThen, import the `CometChat` object wherever you want to use CometChat\n\n`JavaScript`\n\n```Javascript \nimport { CometChat } from \"@cometchat-pro/chat\" \n```\n### HTML (via CDN)\nInclude the CometChat Javascript library in your HTML code\n\n\n```HTML\n<script type=\"text/javascript\" src=\"https://unpkg.com/@cometchat-pro/chat/CometChat.js\"></script>\n```\n\n## Initialize CometChat\nThe `init()` method initializes the settings required for `CometChat`.\n\nYou need to call `init()` before calling any other method from CometChat.\n\n```Javascript\nvar appID = \"APP_ID\";\n\nCometChat.init(appID).then(\n  hasInitialized => {\n    console.log(\"Initialization completed successfully\", hasInitialized);\n    // You can now call login function.\n  },\n  error => {\n    console.log(\"Initialization failed with error:\", error);\n    // Check the reason for error and take apppropriate action.\n  }\n);\n```\nMake sure you replace the `APP_ID` with your CometChat **App ID** in the above code.\n\n## Login your user\nOnce initialization is successful, you will need to log the user into CometChat using the login() method.\n\nWe recommend you call the CometChat login method once your user logs into your app.\n```Javascript\n\nvar UID = \"SUPERHERO1\";\nvar apiKey = \"API_KEY\";\n\nCometChat.login(UID, apiKey).then(\n  User => {\n    console.log(\"Login Successful:\", { User });\n    // User loged in successfully.\n  },\n  error => {\n    console.log(\"Login failed with exception:\", { error });\n    // User login failed, check error and take appropriate action.\n  }\n);\n```\nMake sure you replace the `API_KEY` with your `CometChat` **API Key** in the above code.\n\n>**Sample Users**\n>We have set-up 5 users for testing having UIDs: `SUPERHERO1`, `SUPERHERO2`, `SUPERHERO3`, `SUPERHERO4` and `SUPERHERO5`.\n\nThe `login()` method returns the User object on `Promise` resolved containing all the information of the logged in user.\n\n## Send a message\nOnce your user has logged in, you can send a message using the `sendMessage()` method.\n```Javascript\nvar receiverID = \"SUPERHERO2\";\nvar messageText = \"Hello\";\nvar messageType = CometChat.MESSAGE_TYPE.TEXT;\nvar receiverType = CometChat.RECEIVER_TYPE.USER;\n\nvar textMessage = new CometChat.TextMessage(receiverID, messageText, messageType, receiverType);\n\nCometChat.sendMessage(textMessage).then(\n  message => {\n    console.log(\"Message sent successfully:\", message);\n    // Do something with message\n  },\n  error => {\n    console.log(\"Message sending failed with error:\", error);\n    // Handle any error\n  }\n);\n```\n| **Parameter** | **Description**                                                                                                                                 |\n|---------------|-------------------------------------------------------------------------------------------------------------------------------------------------|\n| receiverID    | The UID or GUID of the recipient                                                                                                                |\n| messageText   | The message string to be sent                                                                                                                   |\n| messageType   | The type of the message that needs to be sent which in this case is `CometChat.MESSAGE_TYPE.TEXT` (text)                                        |\n| receiverType  | The type of the receiver to whom the message is to be sent i.e `CometChat.RECEIVER_TYPE.USER` (user) or `CometChat.RECEIVER_TYPE.GROUP` (group) |\n\nOnce the message is sent successfully, you will receive the message information as <a href=\"https://prodocs.cometchat.com/docs/js-appendix#section-textmessage\">`TextMessage` </a> object on `Promise` resolved.\n\n## Receive Messages\nYou can add multiple MessageListener using the `addMessageListener()` method, to receive incoming message wherever you need.\n\n```Javascript \nvar listenerID = \"UNIQUE_LISTENER_ID\";can we get single amazon server !\nCometChat.addMessageListener(listenerID, new CometChat.MessageListener({\n  onTextMessageReceived: message => {\n    console.log(\"Message received successfully:\", message);\n    // Handle text message\n  }\n}));\n```\n| **Parameter** | **Description**                                                                                |\n|---------------|------------------------------------------------------------------------------------------------|\n| listenerID    | An ID that uniquely identifies that listener. We recommend using the activity or fragment name |\n \n\nTo learn more, please refer to our <a href=\"https://prodocs.cometchat.com/docs/js-quick-start\">javascript Developer Documentation</a>.","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"gajraajay","email":"ajay.gajra@inscripts.in"},"repository":{"url":"git+https://github.com/cometchat-pro/javascript-chat-sdk.git","type":"git"},"_npmVersion":"6.9.0","description":"A complete chat solution.","directories":{},"_nodeVersion":"10.16.1","_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/chat_2.0.0-beta.0_1567593096220_0.7527883258073333","host":"s3://npm-registry-packages"}},"2.0.0-beta.1":{"name":"@cometchat-pro/chat","version":"2.0.0-beta.1","keywords":["CometChat","chat","messaging","chat","sdk","pro","message","sdk","messaging","sdk","audio","chat","video","chat","webRTC"],"author":{"name":"CometChat"},"license":"SEE LICENSE IN LICENSE.md","_id":"@cometchat-pro/chat@2.0.0-beta.1","maintainers":[{"name":"anantgarg","email":"anant.garg@inscripts.com"},{"name":"gajraajay","email":"ajay.gajra@inscripts.in"},{"name":"inskshitiz","email":"kshitiz.shakya@inscripts.in"}],"homepage":"https://github.com/cometchat-pro/javascript-chat-sdk#readme","bugs":{"url":"https://github.com/cometchat-pro/javascript-chat-sdk/issues"},"dist":{"shasum":"e2caec23edb7d7c424363c16fc6aef98a31414f8","tarball":"https://registry.npmjs.org/@cometchat-pro/chat/-/chat-2.0.0-beta.1.tgz","fileCount":5,"integrity":"sha512-4k/9ccyChVA5FDqGNsqz4e2gzF6bllfY4sIEXDhN3Z3G9CTSRGWmgeMZiITM3cVzZJQksMYqGrMxWXDlGanavA==","signatures":[{"sig":"MEYCIQCYdLMoqgzUIhzfsTi1M/+bkwLWUK8IU6QhBGour9yaiQIhAIFXweA/YALtLfIfTXSbnje5tXAZSsw47kEZNDP/9ou8","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":417665,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdf828CRA9TVsSAnZWagAAtYMP/igVw5i41bzeE9dgMlya\nE+7BuPGr0Ada/9DmyLDXrunPSptYDusZGNhWyTGQy78kYJTZfmnRWHiiKuas\nJY5sVbccf7a/Xx0g8CHE69OqkHkn1o8GwnP7AQP0Q1CxmrONtCj53Z6ZRg9A\nj15TDzIud95w78uz6qYH3nuW5uOyRsRpPAiMqXPsPhy+ZPcWZlN8qaCfY3lg\nMvxIccaSC/JQwk+vW4UnHLRcEBm0rxHKR8RLvotg05rXbIGgRGzBGDDofBLP\nVy7VstzOdeThMgP0OXtA+a6SJr+z5VDU9NDZXXfc+c2G614QBoCTnPNPCE0K\nB/kM0T1EGg9TK7br0Q3yUiSDoIexh1t19ifxgNV1R8pf1CioxxyAn++9MIRg\nh5WNUoo7iSEt+vb7PJEuYKNWoGIdHs/iVKsmU9jDzZ/J58AYrpdK0by8wYbj\nEK1LES1D+ekiecDrn5FeyjiDYVuSSAF8ekgpS9HAnmXSjwFHe90ab5tEBLWS\nxjitWKSSumoh1ffR1kQHncdGr8gJGwqsFDgCUL1lD20ynAVLsGj9tg+6wyEH\nj5SOWGYokHSwOgGDh8SBgBi9wUJ/iiu4B3x+lkkl0oj99kWnU1B/yaA0i8oE\nBOrPgl2qs6b7G7ftHn0MfkV7kcEbLmR3qBd6qwIA/tcjZtr4UOni4HEgwiiQ\n2rIR\r\n=AqUP\r\n-----END PGP SIGNATURE-----\r\n"},"main":"CometChat.js","readme":"<div style=\"width:100%\">\n<div style=\"width:100%\">\n\t<div style=\"width:50%; display:inline-block\">\n\t\t<p align=\"center\">\n\t\t<img style=\"text-align:center\" width=\"180\" height=\"180\" alt=\"\" src=\"https://raw.githubusercontent.com/cometchat-pro/ios-swift-chat-app/master/Screenshots/CometChat%20Logo.png\">\t\n\t\t</p>\t\n\t</div>\t\n</div>\n</br>\n</br>\n</div>\n\nCometChat Pro enables you to add voice, video & text chat for your website & app.\n\n<a href=\"https://www.npmjs.com\">[![Platform](https://img.shields.io/badge/Platform-Javascript-blue.svg)](#)</a>\n<a href=\"https://www.npmjs.com\">[![Platform](https://img.shields.io/badge/Platform-NPM-orange.svg)](#)</a>\n\n# Quick Start\n\nThis guide demonstrates how to add chat to a Javascript application using CometChat. Before you begin, we strongly recommend you read the <a href=\"https://prodocs.cometchat.com/docs/concepts\" target=\"_blank\">Key Concepts</a> guide.\n\n## Get your Application Keys\n\n<a href=\"https://app.cometchat.com\" target=\"_blank\">Signup for CometChat</a> and then:\n\n1. Create a new app: Enter a name & hit the **+** button\n2. Head over to the **API Keys** section and click on the **Create API Key** button\n3. Enter a name and select the scope as **Auth Only**\n4. Now note the **API Key** and **App ID**\n\n## Add the CometChat Dependency\n\n### NPM\nFirst, install via npm\n\n`Shell`\n\n```shell\nnpm install @cometchat-pro/chat --save\n```\n\nThen, import the `CometChat` object wherever you want to use CometChat\n\n`JavaScript`\n\n```Javascript \nimport { CometChat } from \"@cometchat-pro/chat\" \n```\n### HTML (via CDN)\nInclude the CometChat Javascript library in your HTML code\n\n\n```HTML\n<script type=\"text/javascript\" src=\"https://unpkg.com/@cometchat-pro/chat/CometChat.js\"></script>\n```\n\n## Initialize CometChat\nThe `init()` method initializes the settings required for `CometChat`.\n\nYou need to call `init()` before calling any other method from CometChat.\n\n```Javascript\nvar appID = \"APP_ID\";\n\nCometChat.init(appID).then(\n  hasInitialized => {\n    console.log(\"Initialization completed successfully\", hasInitialized);\n    // You can now call login function.\n  },\n  error => {\n    console.log(\"Initialization failed with error:\", error);\n    // Check the reason for error and take apppropriate action.\n  }\n);\n```\nMake sure you replace the `APP_ID` with your CometChat **App ID** in the above code.\n\n## Login your user\nOnce initialization is successful, you will need to log the user into CometChat using the login() method.\n\nWe recommend you call the CometChat login method once your user logs into your app.\n```Javascript\n\nvar UID = \"SUPERHERO1\";\nvar apiKey = \"API_KEY\";\n\nCometChat.login(UID, apiKey).then(\n  User => {\n    console.log(\"Login Successful:\", { User });\n    // User loged in successfully.\n  },\n  error => {\n    console.log(\"Login failed with exception:\", { error });\n    // User login failed, check error and take appropriate action.\n  }\n);\n```\nMake sure you replace the `API_KEY` with your `CometChat` **API Key** in the above code.\n\n>**Sample Users**\n>We have set-up 5 users for testing having UIDs: `SUPERHERO1`, `SUPERHERO2`, `SUPERHERO3`, `SUPERHERO4` and `SUPERHERO5`.\n\nThe `login()` method returns the User object on `Promise` resolved containing all the information of the logged in user.\n\n## Send a message\nOnce your user has logged in, you can send a message using the `sendMessage()` method.\n```Javascript\nvar receiverID = \"SUPERHERO2\";\nvar messageText = \"Hello\";\nvar messageType = CometChat.MESSAGE_TYPE.TEXT;\nvar receiverType = CometChat.RECEIVER_TYPE.USER;\n\nvar textMessage = new CometChat.TextMessage(receiverID, messageText, messageType, receiverType);\n\nCometChat.sendMessage(textMessage).then(\n  message => {\n    console.log(\"Message sent successfully:\", message);\n    // Do something with message\n  },\n  error => {\n    console.log(\"Message sending failed with error:\", error);\n    // Handle any error\n  }\n);\n```\n| **Parameter** | **Description**                                                                                                                                 |\n|---------------|-------------------------------------------------------------------------------------------------------------------------------------------------|\n| receiverID    | The UID or GUID of the recipient                                                                                                                |\n| messageText   | The message string to be sent                                                                                                                   |\n| messageType   | The type of the message that needs to be sent which in this case is `CometChat.MESSAGE_TYPE.TEXT` (text)                                        |\n| receiverType  | The type of the receiver to whom the message is to be sent i.e `CometChat.RECEIVER_TYPE.USER` (user) or `CometChat.RECEIVER_TYPE.GROUP` (group) |\n\nOnce the message is sent successfully, you will receive the message information as <a href=\"https://prodocs.cometchat.com/docs/js-appendix#section-textmessage\">`TextMessage` </a> object on `Promise` resolved.\n\n## Receive Messages\nYou can add multiple MessageListener using the `addMessageListener()` method, to receive incoming message wherever you need.\n\n```Javascript \nvar listenerID = \"UNIQUE_LISTENER_ID\";can we get single amazon server !\nCometChat.addMessageListener(listenerID, new CometChat.MessageListener({\n  onTextMessageReceived: message => {\n    console.log(\"Message received successfully:\", message);\n    // Handle text message\n  }\n}));\n```\n| **Parameter** | **Description**                                                                                |\n|---------------|------------------------------------------------------------------------------------------------|\n| listenerID    | An ID that uniquely identifies that listener. We recommend using the activity or fragment name |\n \n\nTo learn more, please refer to our <a href=\"https://prodocs.cometchat.com/docs/js-quick-start\">javascript Developer Documentation</a>.","gitHead":"f306c578aac96cd066305d400d6ea83e8cbcdd64","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"gajraajay","email":"ajay.gajra@inscripts.in"},"repository":{"url":"git+https://github.com/cometchat-pro/javascript-chat-sdk.git","type":"git"},"_npmVersion":"6.9.0","description":"A complete chat solution.","directories":{},"_nodeVersion":"10.16.1","_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/chat_2.0.0-beta.1_1568656827917_0.6998281824187351","host":"s3://npm-registry-packages"}},"2.0.0-beta1":{"name":"@cometchat-pro/chat","version":"2.0.0-beta1","keywords":["CometChat","chat","messaging","chat","sdk","pro","message","sdk","messaging","sdk","audio","chat","video","chat","webRTC"],"author":{"name":"CometChat"},"license":"SEE LICENSE IN LICENSE.md","_id":"@cometchat-pro/chat@2.0.0-beta1","maintainers":[{"name":"anantgarg","email":"anant.garg@inscripts.com"},{"name":"gajraajay","email":"ajay.gajra@inscripts.in"},{"name":"inskshitiz","email":"kshitiz.shakya@inscripts.in"}],"homepage":"https://github.com/cometchat-pro/javascript-chat-sdk#readme","bugs":{"url":"https://github.com/cometchat-pro/javascript-chat-sdk/issues"},"dist":{"shasum":"347b5863f03198f07c8e058b782f32aad6a4dc18","tarball":"https://registry.npmjs.org/@cometchat-pro/chat/-/chat-2.0.0-beta1.tgz","fileCount":5,"integrity":"sha512-vhpFCIaKfJYLpJuhcxfpHDOPUH41m3uc2YUGniIvwqoyfeV7vnNRZW7Ab1fvn+QE9Y8yd8JjLosluVTrdVwueQ==","signatures":[{"sig":"MEYCIQCC9umS6xw5QqyEz8BjFzJfWPURy+R5Gs9BBYuVIA7HTgIhAIr5+DuSmcXmGdIjFDOX+LP52TOHBpYcWXGAmxhNdqRJ","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":417664,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdf9BoCRA9TVsSAnZWagAAwdAP/20vbkIB1iNcIQweSHK7\npxbVt3PZbR7cmnAZCWXKQ5yRT6nQc2VEbRYk4nzj0lqeyupuffuv33vHT5WK\nkrOSvAg/GdpttAGAZpeUCQNttpEiIBJkpXTjcwunnT9DVqHQ42/7MBJFTp2E\npYjo9IwBOP6OHWq54EGRdg9Ftwu1C4+S+3Qw0/HDGQsqvVmaU/fyCYqiZAkh\nfZVGhqzoBK6juw/K13vb7dYY3qwmm3grYgs1IQlAE14YBsrdxc1QfagTj+FJ\nulRXXC6LOpNQvS6ThyNmw384Rg8Mgn66pPlA7IzbInsOzCS4L+hz5xOun7mZ\nAepiWCXRf2fGP7b94/poyDrtpS/M2AuhE54aHJ9+9sXA2SXm45CgKqmTRxcj\nv0xWftUbB/MD7WVtwa7Vv6OxmHXbcuCgRUuYYbgMcaKXk4P6MJ0siDTHHDjz\nu45GMg/wJX2VEzQ7HDUTmqCeg2oDLUZSqDIN8nJPDOC208GupNgT1GUryn7F\ntH+U72MLOsB9tm7LNKTBqnAjgjlnZhhsevzPiunIXz73dBprzUjyZa3K791x\n7DFlBipmeLx65ipjJrqp6hGSgU09vvMwmYdVJlh9GQElZF6hK0FwOWCwPlMv\nKEb6uNs7ZvjseSeiQ8wD4f8CbEEZxqS4zGK65kOOWHnxXNpILxUqnmmvjJza\ntQYI\r\n=J+vV\r\n-----END PGP SIGNATURE-----\r\n"},"main":"CometChat.js","readme":"<div style=\"width:100%\">\n<div style=\"width:100%\">\n\t<div style=\"width:50%; display:inline-block\">\n\t\t<p align=\"center\">\n\t\t<img style=\"text-align:center\" width=\"180\" height=\"180\" alt=\"\" src=\"https://raw.githubusercontent.com/cometchat-pro/ios-swift-chat-app/master/Screenshots/CometChat%20Logo.png\">\t\n\t\t</p>\t\n\t</div>\t\n</div>\n</br>\n</br>\n</div>\n\nCometChat Pro enables you to add voice, video & text chat for your website & app.\n\n<a href=\"https://www.npmjs.com\">[![Platform](https://img.shields.io/badge/Platform-Javascript-blue.svg)](#)</a>\n<a href=\"https://www.npmjs.com\">[![Platform](https://img.shields.io/badge/Platform-NPM-orange.svg)](#)</a>\n\n# Quick Start\n\nThis guide demonstrates how to add chat to a Javascript application using CometChat. Before you begin, we strongly recommend you read the <a href=\"https://prodocs.cometchat.com/docs/concepts\" target=\"_blank\">Key Concepts</a> guide.\n\n## Get your Application Keys\n\n<a href=\"https://app.cometchat.com\" target=\"_blank\">Signup for CometChat</a> and then:\n\n1. Create a new app: Enter a name & hit the **+** button\n2. Head over to the **API Keys** section and click on the **Create API Key** button\n3. Enter a name and select the scope as **Auth Only**\n4. Now note the **API Key** and **App ID**\n\n## Add the CometChat Dependency\n\n### NPM\nFirst, install via npm\n\n`Shell`\n\n```shell\nnpm install @cometchat-pro/chat --save\n```\n\nThen, import the `CometChat` object wherever you want to use CometChat\n\n`JavaScript`\n\n```Javascript \nimport { CometChat } from \"@cometchat-pro/chat\" \n```\n### HTML (via CDN)\nInclude the CometChat Javascript library in your HTML code\n\n\n```HTML\n<script type=\"text/javascript\" src=\"https://unpkg.com/@cometchat-pro/chat/CometChat.js\"></script>\n```\n\n## Initialize CometChat\nThe `init()` method initializes the settings required for `CometChat`.\n\nYou need to call `init()` before calling any other method from CometChat.\n\n```Javascript\nvar appID = \"APP_ID\";\n\nCometChat.init(appID).then(\n  hasInitialized => {\n    console.log(\"Initialization completed successfully\", hasInitialized);\n    // You can now call login function.\n  },\n  error => {\n    console.log(\"Initialization failed with error:\", error);\n    // Check the reason for error and take apppropriate action.\n  }\n);\n```\nMake sure you replace the `APP_ID` with your CometChat **App ID** in the above code.\n\n## Login your user\nOnce initialization is successful, you will need to log the user into CometChat using the login() method.\n\nWe recommend you call the CometChat login method once your user logs into your app.\n```Javascript\n\nvar UID = \"SUPERHERO1\";\nvar apiKey = \"API_KEY\";\n\nCometChat.login(UID, apiKey).then(\n  User => {\n    console.log(\"Login Successful:\", { User });\n    // User loged in successfully.\n  },\n  error => {\n    console.log(\"Login failed with exception:\", { error });\n    // User login failed, check error and take appropriate action.\n  }\n);\n```\nMake sure you replace the `API_KEY` with your `CometChat` **API Key** in the above code.\n\n>**Sample Users**\n>We have set-up 5 users for testing having UIDs: `SUPERHERO1`, `SUPERHERO2`, `SUPERHERO3`, `SUPERHERO4` and `SUPERHERO5`.\n\nThe `login()` method returns the User object on `Promise` resolved containing all the information of the logged in user.\n\n## Send a message\nOnce your user has logged in, you can send a message using the `sendMessage()` method.\n```Javascript\nvar receiverID = \"SUPERHERO2\";\nvar messageText = \"Hello\";\nvar messageType = CometChat.MESSAGE_TYPE.TEXT;\nvar receiverType = CometChat.RECEIVER_TYPE.USER;\n\nvar textMessage = new CometChat.TextMessage(receiverID, messageText, messageType, receiverType);\n\nCometChat.sendMessage(textMessage).then(\n  message => {\n    console.log(\"Message sent successfully:\", message);\n    // Do something with message\n  },\n  error => {\n    console.log(\"Message sending failed with error:\", error);\n    // Handle any error\n  }\n);\n```\n| **Parameter** | **Description**                                                                                                                                 |\n|---------------|-------------------------------------------------------------------------------------------------------------------------------------------------|\n| receiverID    | The UID or GUID of the recipient                                                                                                                |\n| messageText   | The message string to be sent                                                                                                                   |\n| messageType   | The type of the message that needs to be sent which in this case is `CometChat.MESSAGE_TYPE.TEXT` (text)                                        |\n| receiverType  | The type of the receiver to whom the message is to be sent i.e `CometChat.RECEIVER_TYPE.USER` (user) or `CometChat.RECEIVER_TYPE.GROUP` (group) |\n\nOnce the message is sent successfully, you will receive the message information as <a href=\"https://prodocs.cometchat.com/docs/js-appendix#section-textmessage\">`TextMessage` </a> object on `Promise` resolved.\n\n## Receive Messages\nYou can add multiple MessageListener using the `addMessageListener()` method, to receive incoming message wherever you need.\n\n```Javascript \nvar listenerID = \"UNIQUE_LISTENER_ID\";can we get single amazon server !\nCometChat.addMessageListener(listenerID, new CometChat.MessageListener({\n  onTextMessageReceived: message => {\n    console.log(\"Message received successfully:\", message);\n    // Handle text message\n  }\n}));\n```\n| **Parameter** | **Description**                                                                                |\n|---------------|------------------------------------------------------------------------------------------------|\n| listenerID    | An ID that uniquely identifies that listener. We recommend using the activity or fragment name |\n \n\nTo learn more, please refer to our <a href=\"https://prodocs.cometchat.com/docs/js-quick-start\">javascript Developer Documentation</a>.","gitHead":"7b6864ad80cc3f01601734ff2919981dd9bdacfb","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"gajraajay","email":"ajay.gajra@inscripts.in"},"repository":{"url":"git+https://github.com/cometchat-pro/javascript-chat-sdk.git","type":"git"},"_npmVersion":"6.9.0","description":"A complete chat solution.","directories":{},"_nodeVersion":"10.16.1","_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/chat_2.0.0-beta1_1568657511910_0.3957918110979064","host":"s3://npm-registry-packages"}},"2.0.0-beta2":{"name":"@cometchat-pro/chat","version":"2.0.0-beta2","keywords":["CometChat","chat","messaging","chat","sdk","pro","message","sdk","messaging","sdk","audio","chat","video","chat","webRTC"],"author":{"name":"CometChat"},"license":"SEE LICENSE IN LICENSE.md","_id":"@cometchat-pro/chat@2.0.0-beta2","maintainers":[{"name":"anantgarg","email":"anant.garg@inscripts.com"},{"name":"gajraajay","email":"ajay.gajra@inscripts.in"},{"name":"inskshitiz","email":"kshitiz.shakya@inscripts.in"}],"homepage":"https://github.com/cometchat-pro/javascript-chat-sdk#readme","bugs":{"url":"https://github.com/cometchat-pro/javascript-chat-sdk/issues"},"dist":{"shasum":"f325a921250fc112c2624325100759c770690aa0","tarball":"https://registry.npmjs.org/@cometchat-pro/chat/-/chat-2.0.0-beta2.tgz","fileCount":5,"integrity":"sha512-K9NuwIAtnI7/bCLpxHnctGRD3tSO6BvGLyqd6AwMxvxexWrDeeXX4ZAI/a095+arbOQOU15nd48P0EKxkrxwrw==","signatures":[{"sig":"MEUCIQDLkxyCQbPHvTzEuljFyw4OTmafv5XPykfb1tKlspNSwwIgYWTiHxPf+rmpqZjkYhmM97PCFRDrE92QwjrzJ2cQoBw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":417903,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdgQHVCRA9TVsSAnZWagAA0uQP/iq6gcF99FBHgIcbWWcP\nujhVzbgVk5RFgyqHTmV0Cb5grvq15Ncwfaf8bL61Aphjxa5YZbqBk4/iOQFo\n2qyKg3HFeq+FnvMN7UMUvnH8/wt94MfB0MG5AC5bgpXZ/C1pChhFgSMfOAQu\n/7Rq8whYSCCx28a/OBFOi/7hKUCNw+EeeGLL2aq2Ah5AekQdP/03guVtj8sj\neXH7Dgy8BEf8UBL4lHPg6Sox2TrLK53lEFhwJ5DnQPJsSm5Pn66wr+XtrH6P\nH9p8MWAVX4X699TG29AQ2No7YI2MM2XaaEVc/FiFF3QlDswx4FOqXf8vDJWK\n2s7HPbw709D9roTdigdBOxAOjsHkc/nieiMOzwrWF5l+eRB+M9SdCr9WkMC4\nhU7gYZtHdQ+q2lsZH0SqyDDITiNwtDHzcQHluD/Z2BCHHoOM40k2acU8Sjvf\nK6/04c9kE0e0u5Syg/bHe6KIpmafugAIWpV/vMtc1BgaY+mPXZ4wP9Gr7mWb\n5o4oJ0CrKa4NSkaMmOk1lgtgo0/D5AJbp4JIBFUXom3ACD/k05zuX8XfLg2D\n4lYFhlRn6YnzaGqSsmqnbHBFkMPsx1/zWpF+OKQIoD7M+IyGeGry5gMA9Ynh\nsh/IylW5HdvSHIUbKgDfkh+o4jg6RRB660JhVnSwxrXMnLpBoflGvLJFEcGn\nA6bZ\r\n=dtNI\r\n-----END PGP SIGNATURE-----\r\n"},"main":"CometChat.js","readme":"<div style=\"width:100%\">\n<div style=\"width:100%\">\n\t<div style=\"width:50%; display:inline-block\">\n\t\t<p align=\"center\">\n\t\t<img style=\"text-align:center\" width=\"180\" height=\"180\" alt=\"\" src=\"https://raw.githubusercontent.com/cometchat-pro/ios-swift-chat-app/master/Screenshots/CometChat%20Logo.png\">\t\n\t\t</p>\t\n\t</div>\t\n</div>\n</br>\n</br>\n</div>\n\nCometChat Pro enables you to add voice, video & text chat for your website & app.\n\n<a href=\"https://www.npmjs.com\">[![Platform](https://img.shields.io/badge/Platform-Javascript-blue.svg)](#)</a>\n<a href=\"https://www.npmjs.com\">[![Platform](https://img.shields.io/badge/Platform-NPM-orange.svg)](#)</a>\n\n# Quick Start\n\nThis guide demonstrates how to add chat to a Javascript application using CometChat. Before you begin, we strongly recommend you read the <a href=\"https://prodocs.cometchat.com/docs/concepts\" target=\"_blank\">Key Concepts</a> guide.\n\n## Get your Application Keys\n\n<a href=\"https://app.cometchat.com\" target=\"_blank\">Signup for CometChat</a> and then:\n\n1. Create a new app: Enter a name & hit the **+** button\n2. Head over to the **API Keys** section and click on the **Create API Key** button\n3. Enter a name and select the scope as **Auth Only**\n4. Now note the **API Key** and **App ID**\n\n## Add the CometChat Dependency\n\n### NPM\nFirst, install via npm\n\n`Shell`\n\n```shell\nnpm install @cometchat-pro/chat --save\n```\n\nThen, import the `CometChat` object wherever you want to use CometChat\n\n`JavaScript`\n\n```Javascript \nimport { CometChat } from \"@cometchat-pro/chat\" \n```\n### HTML (via CDN)\nInclude the CometChat Javascript library in your HTML code\n\n\n```HTML\n<script type=\"text/javascript\" src=\"https://unpkg.com/@cometchat-pro/chat/CometChat.js\"></script>\n```\n\n## Initialize CometChat\nThe `init()` method initializes the settings required for `CometChat`.\n\nYou need to call `init()` before calling any other method from CometChat.\n\n```Javascript\nvar appID = \"APP_ID\";\n\nCometChat.init(appID).then(\n  hasInitialized => {\n    console.log(\"Initialization completed successfully\", hasInitialized);\n    // You can now call login function.\n  },\n  error => {\n    console.log(\"Initialization failed with error:\", error);\n    // Check the reason for error and take apppropriate action.\n  }\n);\n```\nMake sure you replace the `APP_ID` with your CometChat **App ID** in the above code.\n\n## Login your user\nOnce initialization is successful, you will need to log the user into CometChat using the login() method.\n\nWe recommend you call the CometChat login method once your user logs into your app.\n```Javascript\n\nvar UID = \"SUPERHERO1\";\nvar apiKey = \"API_KEY\";\n\nCometChat.login(UID, apiKey).then(\n  User => {\n    console.log(\"Login Successful:\", { User });\n    // User loged in successfully.\n  },\n  error => {\n    console.log(\"Login failed with exception:\", { error });\n    // User login failed, check error and take appropriate action.\n  }\n);\n```\nMake sure you replace the `API_KEY` with your `CometChat` **API Key** in the above code.\n\n>**Sample Users**\n>We have set-up 5 users for testing having UIDs: `SUPERHERO1`, `SUPERHERO2`, `SUPERHERO3`, `SUPERHERO4` and `SUPERHERO5`.\n\nThe `login()` method returns the User object on `Promise` resolved containing all the information of the logged in user.\n\n## Send a message\nOnce your user has logged in, you can send a message using the `sendMessage()` method.\n```Javascript\nvar receiverID = \"SUPERHERO2\";\nvar messageText = \"Hello\";\nvar messageType = CometChat.MESSAGE_TYPE.TEXT;\nvar receiverType = CometChat.RECEIVER_TYPE.USER;\n\nvar textMessage = new CometChat.TextMessage(receiverID, messageText, messageType, receiverType);\n\nCometChat.sendMessage(textMessage).then(\n  message => {\n    console.log(\"Message sent successfully:\", message);\n    // Do something with message\n  },\n  error => {\n    console.log(\"Message sending failed with error:\", error);\n    // Handle any error\n  }\n);\n```\n| **Parameter** | **Description**                                                                                                                                 |\n|---------------|-------------------------------------------------------------------------------------------------------------------------------------------------|\n| receiverID    | The UID or GUID of the recipient                                                                                                                |\n| messageText   | The message string to be sent                                                                                                                   |\n| messageType   | The type of the message that needs to be sent which in this case is `CometChat.MESSAGE_TYPE.TEXT` (text)                                        |\n| receiverType  | The type of the receiver to whom the message is to be sent i.e `CometChat.RECEIVER_TYPE.USER` (user) or `CometChat.RECEIVER_TYPE.GROUP` (group) |\n\nOnce the message is sent successfully, you will receive the message information as <a href=\"https://prodocs.cometchat.com/docs/js-appendix#section-textmessage\">`TextMessage` </a> object on `Promise` resolved.\n\n## Receive Messages\nYou can add multiple MessageListener using the `addMessageListener()` method, to receive incoming message wherever you need.\n\n```Javascript \nvar listenerID = \"UNIQUE_LISTENER_ID\";can we get single amazon server !\nCometChat.addMessageListener(listenerID, new CometChat.MessageListener({\n  onTextMessageReceived: message => {\n    console.log(\"Message received successfully:\", message);\n    // Handle text message\n  }\n}));\n```\n| **Parameter** | **Description**                                                                                |\n|---------------|------------------------------------------------------------------------------------------------|\n| listenerID    | An ID that uniquely identifies that listener. We recommend using the activity or fragment name |\n \n\nTo learn more, please refer to our <a href=\"https://prodocs.cometchat.com/docs/js-quick-start\">javascript Developer Documentation</a>.","gitHead":"aa9484f8b9145282dc7f3171bf60a7ed23d7c153","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"gajraajay","email":"ajay.gajra@inscripts.in"},"repository":{"url":"git+https://github.com/cometchat-pro/javascript-chat-sdk.git","type":"git"},"_npmVersion":"6.9.0","description":"A complete chat solution.","directories":{},"_nodeVersion":"10.16.1","_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/chat_2.0.0-beta2_1568735700476_0.46912305097860174","host":"s3://npm-registry-packages"}},"1.8.8":{"name":"@cometchat-pro/chat","version":"1.8.8","keywords":["CometChat","chat","messaging","chat","sdk","pro","message","sdk","messaging","sdk","audio","chat","video","chat","webRTC"],"author":{"name":"CometChat"},"license":"SEE LICENSE IN LICENSE.md","_id":"@cometchat-pro/chat@1.8.8","maintainers":[{"name":"anantgarg","email":"anant.garg@inscripts.com"},{"name":"gajraajay","email":"ajay.gajra@inscripts.in"},{"name":"inskshitiz","email":"kshitiz.shakya@inscripts.in"}],"homepage":"https://github.com/cometchat-pro/javascript-chat-sdk#readme","bugs":{"url":"https://github.com/cometchat-pro/javascript-chat-sdk/issues"},"dist":{"shasum":"fc1fcb5d9a78254b2df9cd60ac6375d695f85212","tarball":"https://registry.npmjs.org/@cometchat-pro/chat/-/chat-1.8.8.tgz","fileCount":5,"integrity":"sha512-pk+50eqEt3D4l1OlIvl2rcKxHc7hjSdDGax0j1t92NoUARHmhEwcDLLIhtIXOIhU4A/IP6AOrdtap+rwCwXryQ==","signatures":[{"sig":"MEQCIAXOVF20Yj8ldGNS/dRE8I6OwKYhjgUr/atgFzrMWifhAiBhiMjO+NkB1j4FI3QbhQgyeYiA4aX/pPZH5r4cn0+WRg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":376625,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdgiTbCRA9TVsSAnZWagAADA8P/1T/vA5CPNc34ClNCebV\nFbFJDULeuOQssSra8G7TLe4R2oUCcT1+02xdwEsSGnT7HIaKmuZXvgCWJ0GB\nYUtlTyBqjRiGa7KqzsKBJxAz1EkkWPipz6x+Zh/K4ZvCL5sv5jeP+BCpWUEJ\nRsDwDLDM9JnYH3AbPzyuLyu2O8e15dWpneJjNwl2nQQ72YfifzF9dEzUmgcR\nRDQwp2FRkSeDgup/9I1cDBuir3U70pLIk31HeW5UGQmoP7/fiTf4kB4Uicmh\nwx1H9tf84wQMyzO94VXODHp8rMy+eEXeh22a0m5AJzcpE3X943ifQk4icBn9\n5ZreSUpG2X/AymLXwoGgIuBq/JmNgHbMOsUDAm6w1tIlvdp427ZS7bVXf81I\nZnlMIWv301brtaTVcp9gHtQxLa3m9Hz4awSwnQ/nOheIblBcj5Fry218Qsmk\nGb1ZsPsOBHffM+JbaOaeHzXoVtfVG9vFsBIXua//r9GFzq7LVWmEZGiExS5e\nQvSB7w6uAWJfmcxIF8VpsrCbW/OTLmi3GX0PtrnpT/F5UnEIcmQMlt4Sx6Iw\nRCIuaq2q1yeDRLf6UuLIhmR/85lH8lFgRy6YWcOOD2f16+OkvySTJszkdrPQ\nIYAfKNtCNt+ZQP783Idbtt5Xg7n+wJS+VVstw5qYDfX9lHcEj639R/qDN2Ne\ntyyh\r\n=xhlj\r\n-----END PGP SIGNATURE-----\r\n"},"main":"CometChat.js","gitHead":"b042b28170cd8a8cc375197dd9151b7cb54f2832","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"gajraajay","email":"ajay.gajra@inscripts.in"},"repository":{"url":"git+https://github.com/cometchat-pro/javascript-chat-sdk.git","type":"git"},"_npmVersion":"6.9.0","description":"A complete chat solution.","directories":{},"_nodeVersion":"10.16.1","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/chat_1.8.8_1568810202736_0.5552046295197564","host":"s3://npm-registry-packages"}},"2.0.0-beta3":{"name":"@cometchat-pro/chat","version":"2.0.0-beta3","keywords":["CometChat","chat","messaging","chat","sdk","pro","message","sdk","messaging","sdk","audio","chat","video","chat","webRTC"],"author":{"name":"CometChat"},"license":"SEE LICENSE IN LICENSE.md","_id":"@cometchat-pro/chat@2.0.0-beta3","maintainers":[{"name":"anantgarg","email":"anant.garg@inscripts.com"},{"name":"gajraajay","email":"ajay.gajra@inscripts.in"},{"name":"inskshitiz","email":"kshitiz.shakya@inscripts.in"}],"homepage":"https://github.com/cometchat-pro/javascript-chat-sdk#readme","bugs":{"url":"https://github.com/cometchat-pro/javascript-chat-sdk/issues"},"dist":{"shasum":"8483930ed3999d0e33eba56c1e8df49c80241f93","tarball":"https://registry.npmjs.org/@cometchat-pro/chat/-/chat-2.0.0-beta3.tgz","fileCount":5,"integrity":"sha512-1LGQGXF2ySkkdrpTgr4SkYm+KuG2cUY5OhJ0qsyhrQNzlGJz1NGHdxqHnh/Sz9h8WlYgFp4u5vraTXl1dM6RNw==","signatures":[{"sig":"MEUCIHbfZz/wnaGPXiVVEEE7J9bvv60WI7SZeRy38E+QQo1rAiEAtHVTudME2hhZg9T4aFP/hh96qMgP+yrYScrVTSQN3uY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":417970,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdgjitCRA9TVsSAnZWagAA0RYP+wYuZAxeVRffLp2tiYlU\nPHCYplETXDqCj73/yM40zBVpoS7HYQeogYvVq29Vb+dS1Dm734OQ5fXLc98T\no6uMZ7sB7Umw/r2iYbuNH8ACUKbaw5SM0lj4xfpWR5nC34pApbfbZhlmfrTM\nvNwhg2OrTEzNmNNBQPpZBUUkwODzOMRyVYBi071eQhOgIGJULckSWq3Yo+8G\nH1g0+Sv9YrkXzanRjQidC97+Yn/VjFuz096sZ5XOrvC9xmGBatV5SJ5dYUMa\nl7GeCNHQpYa2lpvbNUr1xptSRy1SaUO0cSW47MHa6pSQyjaCPNvsDIhojO/l\nZJO86DtebF3RSowQXm6ZTposXr1iSHTqGq2OkX9vE/LTmxAVBTonxrbWRKoD\nsJuOKLUTb2hDX0DY+WNa8MHS+gl0Ekz+LOahIHCOkCDiz4PKqbRqYNm1W46G\nX3Qe/vLCX+OXs13S0gC4kh95I6Jml3iYtX1dRFZSZRyw+1g4LxBvY38f7iMb\nt8/BeV+RSH9WOYHjIB20JWXF5NI2h3ccLmI8CI0EP6xjzIB/g+GAKWsJ8yXk\nJ9vUZzC7sn/TE+SVOvVaVJJZHD8v/sQa7d9jVn4eYiYFdew5X8Djwz3cQ2nP\nh5vY+UCjgz+C+yNQUxrF5j380ipPe9vL1tfsfSvrU4E+19bmTO6KgyIM5AWU\nOPTn\r\n=1fX5\r\n-----END PGP SIGNATURE-----\r\n"},"main":"CometChat.js","readme":"<div style=\"width:100%\">\n<div style=\"width:100%\">\n\t<div style=\"width:50%; display:inline-block\">\n\t\t<p align=\"center\">\n\t\t<img style=\"text-align:center\" width=\"180\" height=\"180\" alt=\"\" src=\"https://raw.githubusercontent.com/cometchat-pro/ios-swift-chat-app/master/Screenshots/CometChat%20Logo.png\">\t\n\t\t</p>\t\n\t</div>\t\n</div>\n</br>\n</br>\n</div>\n\nCometChat Pro enables you to add voice, video & text chat for your website & app.\n\n<a href=\"https://www.npmjs.com\">[![Platform](https://img.shields.io/badge/Platform-Javascript-blue.svg)](#)</a>\n<a href=\"https://www.npmjs.com\">[![Platform](https://img.shields.io/badge/Platform-NPM-orange.svg)](#)</a>\n\n# Quick Start\n\nThis guide demonstrates how to add chat to a Javascript application using CometChat. Before you begin, we strongly recommend you read the <a href=\"https://prodocs.cometchat.com/docs/concepts\" target=\"_blank\">Key Concepts</a> guide.\n\n## Get your Application Keys\n\n<a href=\"https://app.cometchat.com\" target=\"_blank\">Signup for CometChat</a> and then:\n\n1. Create a new app: Enter a name & hit the **+** button\n2. Head over to the **API Keys** section and click on the **Create API Key** button\n3. Enter a name and select the scope as **Auth Only**\n4. Now note the **API Key** and **App ID**\n\n## Add the CometChat Dependency\n\n### NPM\nFirst, install via npm\n\n`Shell`\n\n```shell\nnpm install @cometchat-pro/chat --save\n```\n\nThen, import the `CometChat` object wherever you want to use CometChat\n\n`JavaScript`\n\n```Javascript \nimport { CometChat } from \"@cometchat-pro/chat\" \n```\n### HTML (via CDN)\nInclude the CometChat Javascript library in your HTML code\n\n\n```HTML\n<script type=\"text/javascript\" src=\"https://unpkg.com/@cometchat-pro/chat/CometChat.js\"></script>\n```\n\n## Initialize CometChat\nThe `init()` method initializes the settings required for `CometChat`.\n\nYou need to call `init()` before calling any other method from CometChat.\n\n```Javascript\nvar appID = \"APP_ID\";\n\nCometChat.init(appID).then(\n  hasInitialized => {\n    console.log(\"Initialization completed successfully\", hasInitialized);\n    // You can now call login function.\n  },\n  error => {\n    console.log(\"Initialization failed with error:\", error);\n    // Check the reason for error and take apppropriate action.\n  }\n);\n```\nMake sure you replace the `APP_ID` with your CometChat **App ID** in the above code.\n\n## Login your user\nOnce initialization is successful, you will need to log the user into CometChat using the login() method.\n\nWe recommend you call the CometChat login method once your user logs into your app.\n```Javascript\n\nvar UID = \"SUPERHERO1\";\nvar apiKey = \"API_KEY\";\n\nCometChat.login(UID, apiKey).then(\n  User => {\n    console.log(\"Login Successful:\", { User });\n    // User loged in successfully.\n  },\n  error => {\n    console.log(\"Login failed with exception:\", { error });\n    // User login failed, check error and take appropriate action.\n  }\n);\n```\nMake sure you replace the `API_KEY` with your `CometChat` **API Key** in the above code.\n\n>**Sample Users**\n>We have set-up 5 users for testing having UIDs: `SUPERHERO1`, `SUPERHERO2`, `SUPERHERO3`, `SUPERHERO4` and `SUPERHERO5`.\n\nThe `login()` method returns the User object on `Promise` resolved containing all the information of the logged in user.\n\n## Send a message\nOnce your user has logged in, you can send a message using the `sendMessage()` method.\n```Javascript\nvar receiverID = \"SUPERHERO2\";\nvar messageText = \"Hello\";\nvar messageType = CometChat.MESSAGE_TYPE.TEXT;\nvar receiverType = CometChat.RECEIVER_TYPE.USER;\n\nvar textMessage = new CometChat.TextMessage(receiverID, messageText, messageType, receiverType);\n\nCometChat.sendMessage(textMessage).then(\n  message => {\n    console.log(\"Message sent successfully:\", message);\n    // Do something with message\n  },\n  error => {\n    console.log(\"Message sending failed with error:\", error);\n    // Handle any error\n  }\n);\n```\n| **Parameter** | **Description**                                                                                                                                 |\n|---------------|-------------------------------------------------------------------------------------------------------------------------------------------------|\n| receiverID    | The UID or GUID of the recipient                                                                                                                |\n| messageText   | The message string to be sent                                                                                                                   |\n| messageType   | The type of the message that needs to be sent which in this case is `CometChat.MESSAGE_TYPE.TEXT` (text)                                        |\n| receiverType  | The type of the receiver to whom the message is to be sent i.e `CometChat.RECEIVER_TYPE.USER` (user) or `CometChat.RECEIVER_TYPE.GROUP` (group) |\n\nOnce the message is sent successfully, you will receive the message information as <a href=\"https://prodocs.cometchat.com/docs/js-appendix#section-textmessage\">`TextMessage` </a> object on `Promise` resolved.\n\n## Receive Messages\nYou can add multiple MessageListener using the `addMessageListener()` method, to receive incoming message wherever you need.\n\n```Javascript \nvar listenerID = \"UNIQUE_LISTENER_ID\";can we get single amazon server !\nCometChat.addMessageListener(listenerID, new CometChat.MessageListener({\n  onTextMessageReceived: message => {\n    console.log(\"Message received successfully:\", message);\n    // Handle text message\n  }\n}));\n```\n| **Parameter** | **Description**                                                                                |\n|---------------|------------------------------------------------------------------------------------------------|\n| listenerID    | An ID that uniquely identifies that listener. We recommend using the activity or fragment name |\n \n\nTo learn more, please refer to our <a href=\"https://prodocs.cometchat.com/docs/js-quick-start\">javascript Developer Documentation</a>.","gitHead":"406021310f7b99dd7334ce2a9173279f40f85d5f","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"gajraajay","email":"ajay.gajra@inscripts.in"},"repository":{"url":"git+https://github.com/cometchat-pro/javascript-chat-sdk.git","type":"git"},"_npmVersion":"6.9.0","description":"A complete chat solution.","directories":{},"_nodeVersion":"10.16.1","_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/chat_2.0.0-beta3_1568815276451_0.9934684386835413","host":"s3://npm-registry-packages"}},"1.8.9":{"name":"@cometchat-pro/chat","version":"1.8.9","keywords":["CometChat","chat","messaging","chat","sdk","pro","message","sdk","messaging","sdk","audio","chat","video","chat","webRTC"],"author":{"name":"CometChat"},"license":"SEE LICENSE IN LICENSE.md","_id":"@cometchat-pro/chat@1.8.9","maintainers":[{"name":"anantgarg","email":"anant.garg@inscripts.com"},{"name":"gajraajay","email":"ajay.gajra@inscripts.in"},{"name":"inskshitiz","email":"kshitiz.shakya@inscripts.in"}],"homepage":"https://github.com/cometchat-pro/javascript-chat-sdk#readme","bugs":{"url":"https://github.com/cometchat-pro/javascript-chat-sdk/issues"},"dist":{"shasum":"c2bcdc6ef3fb0a03d6243423ab8c8ee0eb2947b7","tarball":"https://registry.npmjs.org/@cometchat-pro/chat/-/chat-1.8.9.tgz","fileCount":5,"integrity":"sha512-5OuvYt6iyK4xtBmOu4BAByrZRQiX44mfIOgGnT/EDWOQzb5J++/CWZ8DQPN66oet4qM5zmq77mPJFDvxO0R4Yg==","signatures":[{"sig":"MEUCIQCgwt7APii7Uz+I0sp9kkC/oISmdkiENLowmpcx54Zc5wIgDTCk67RDngr9ixOhvUBgvrp99SfgarMedgiwaQJa9JI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":365023,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdiJmKCRA9TVsSAnZWagAAU5AP/3lPnsGTXlKSIJ5n8Al3\nfW527UqqXl284WWqc4LZELtxs9w5SudF3ukoYpxvLitwu6tAHhRo/4PxF2Ix\nVCjsjeErcN2i9/Poj1joi+9YE2OZRJLXYgFhQSLOi4CrYicZAZIQ3Zuhxt/b\n23X39EX7Qk3N7bdKiu2MmxzQV/Fn9wxaW8pfjLQ3CsLk8sHf2OpN55k0zcNx\nk5EdhASxx3WT4jIZO30Jy4tjEll7TYx2JJWIHYoHzFsEj3n1AJnn0WjgYAU8\n7AxJkVaK5jpjoUFQWOCW+OyG6Mc8E0IhaxcjBvcdl27P2uIHp/CCmfKTPiCB\nZnx60WlG2GV6MQusGLw0ckI8sYxY/E4JINNotAOLlV7WZ79m5Ur4f8me+pPd\nunxo/r4z7dSwCr71TuB1y6gnnTg7OJoTZnac5FiyZ0wY++PKtfUvR9ldt+Xs\nuffkdnFbwi0Gnh7aILH1HOJ8E1e3IHejfdQu6xdea/7UKWLa0Exin/ET/Er8\npfAo9/WmcA0yi2XLlPz0vCxiM7SCY1q5rrEk8bk8kljVrDGeFb/eB8gxYpQy\nxT/XjFp7qZFuR1kSs+nNT7BGMyAHt2Uv9JJBYP3WARA1snODRaUrHNdqpLHD\nzSIL4y+tqFOyK9FVDmX2jNdmlFNxFqlP5t4YZ+FuDAzM+jZ6CnMmk4qbOtvh\n5ewM\r\n=CUuR\r\n-----END PGP SIGNATURE-----\r\n"},"main":"CometChat.js","gitHead":"f2096c698958b9fe65464b5e9025b8ebe8c60ca6","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"gajraajay","email":"ajay.gajra@inscripts.in"},"repository":{"url":"git+https://github.com/cometchat-pro/javascript-chat-sdk.git","type":"git"},"_npmVersion":"6.9.0","description":"A complete chat solution.","directories":{},"_nodeVersion":"10.16.1","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/chat_1.8.9_1569233289784_0.7533209749562497","host":"s3://npm-registry-packages"}},"2.0.0-beta4":{"name":"@cometchat-pro/chat","version":"2.0.0-beta4","keywords":["CometChat","chat","messaging","chat","sdk","pro","message","sdk","messaging","sdk","audio","chat","video","chat","webRTC"],"author":{"name":"CometChat"},"license":"SEE LICENSE IN LICENSE.md","_id":"@cometchat-pro/chat@2.0.0-beta4","maintainers":[{"name":"anantgarg","email":"anant.garg@inscripts.com"},{"name":"gajraajay","email":"ajay.gajra@inscripts.in"},{"name":"inskshitiz","email":"kshitiz.shakya@inscripts.in"}],"homepage":"https://github.com/cometchat-pro/javascript-chat-sdk#readme","bugs":{"url":"https://github.com/cometchat-pro/javascript-chat-sdk/issues"},"dist":{"shasum":"ad3eb316db19aa1ceb367e3a6e2a02b8cd0d9c84","tarball":"https://registry.npmjs.org/@cometchat-pro/chat/-/chat-2.0.0-beta4.tgz","fileCount":5,"integrity":"sha512-RSpM8fifLrON8KwxR1z+/9Uqas9Qz3iAvJKcSQfO8OPNucL16M/5e05GzacYymKgR+lPpnvbQpu9TmQhxxhDuA==","signatures":[{"sig":"MEYCIQDW0Kxq8N1Av2+kl62PxWYBG15A5f0KXb1M6fJc48Y+PgIhAJJre7HLgOlXxbhPqToWlDdmg+0hLQGD7BMGfHW2qXXU","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":417603,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdiJz0CRA9TVsSAnZWagAAsIQP/iHnRkEa6FYn4SSa/jCq\n3WLYVup0yUQ9LNnyRaW83iCpWICYf6M8zrhhwzGh3fZAUJ0LnbhJk1AUMeSj\naFaVeMWKNreW7YGXCU1CyQg0dG6f8OQo81JyU5xEemOnrBtZ98xTHeJCIj6d\n+4Br4tH4NkEe4KXQLED9zly+4fE83ifawjQXVRUe68Un6/r/FVxoxrFBYi4z\niDb1kjSL2DjRCwiVos8U8uYFJUgmLWalc8IshLu08gGciuELWZeKXMVvR+fg\nvPnj42FPbnXizcQ7OHaRPf2F3EmLWloEnlwgThTuShw19w4KVoQByiXM18KR\noLcgrMNuJSpjmQZK9UMDwlp7Pd+D2fU+sYTw0di3RTFpxNL2lVn7D5zzB2dR\nU65WuaGsoX1yFjSfjEe56b/1tDmwFOUhGSNldqbV0Lo3yTNodehY2Yza9wf1\nFfh1bjehXl6gYzAiylLHDO5uWskKcviRxwrq8l8lzCrOuaTuoynVcQJvJ7JE\n9zXxRtoH1+F3UfNK50JZwIASFQ/ljeaIaaRuk3E9huPwr8/nPzMgWpoHTvch\nFIgtnZECtxAMcNBpP+PPS/lUDOBpEbRWW/I8BUBco1u3Huon+C3LUSoWvIOB\nbYEUYbJB+KZxWEm0XVoMrYh7LS7Zx5oplvlt2OccRkBHqFj/8E0iwqXfSzjR\nrThW\r\n=OZC2\r\n-----END PGP SIGNATURE-----\r\n"},"main":"CometChat.js","readme":"<div style=\"width:100%\">\n<div style=\"width:100%\">\n\t<div style=\"width:50%; display:inline-block\">\n\t\t<p align=\"center\">\n\t\t<img style=\"text-align:center\" width=\"180\" height=\"180\" alt=\"\" src=\"https://raw.githubusercontent.com/cometchat-pro/ios-swift-chat-app/master/Screenshots/CometChat%20Logo.png\">\t\n\t\t</p>\t\n\t</div>\t\n</div>\n</br>\n</br>\n</div>\n\nCometChat Pro enables you to add voice, video & text chat for your website & app.\n\n<a href=\"https://www.npmjs.com\">[![Platform](https://img.shields.io/badge/Platform-Javascript-blue.svg)](#)</a>\n<a href=\"https://www.npmjs.com\">[![Platform](https://img.shields.io/badge/Platform-NPM-orange.svg)](#)</a>\n\n# Quick Start\n\nThis guide demonstrates how to add chat to a Javascript application using CometChat. Before you begin, we strongly recommend you read the <a href=\"https://prodocs.cometchat.com/docs/concepts\" target=\"_blank\">Key Concepts</a> guide.\n\n## Get your Application Keys\n\n<a href=\"https://app.cometchat.com\" target=\"_blank\">Signup for CometChat</a> and then:\n\n1. Create a new app: Enter a name & hit the **+** button\n2. Head over to the **API Keys** section and click on the **Create API Key** button\n3. Enter a name and select the scope as **Auth Only**\n4. Now note the **API Key** and **App ID**\n\n## Add the CometChat Dependency\n\n### NPM\nFirst, install via npm\n\n`Shell`\n\n```shell\nnpm install @cometchat-pro/chat --save\n```\n\nThen, import the `CometChat` object wherever you want to use CometChat\n\n`JavaScript`\n\n```Javascript \nimport { CometChat } from \"@cometchat-pro/chat\" \n```\n### HTML (via CDN)\nInclude the CometChat Javascript library in your HTML code\n\n\n```HTML\n<script type=\"text/javascript\" src=\"https://unpkg.com/@cometchat-pro/chat/CometChat.js\"></script>\n```\n\n## Initialize CometChat\nThe `init()` method initializes the settings required for `CometChat`.\n\nYou need to call `init()` before calling any other method from CometChat.\n\n```Javascript\nvar appID = \"APP_ID\";\n\nCometChat.init(appID).then(\n  hasInitialized => {\n    console.log(\"Initialization completed successfully\", hasInitialized);\n    // You can now call login function.\n  },\n  error => {\n    console.log(\"Initialization failed with error:\", error);\n    // Check the reason for error and take apppropriate action.\n  }\n);\n```\nMake sure you replace the `APP_ID` with your CometChat **App ID** in the above code.\n\n## Login your user\nOnce initialization is successful, you will need to log the user into CometChat using the login() method.\n\nWe recommend you call the CometChat login method once your user logs into your app.\n```Javascript\n\nvar UID = \"SUPERHERO1\";\nvar apiKey = \"API_KEY\";\n\nCometChat.login(UID, apiKey).then(\n  User => {\n    console.log(\"Login Successful:\", { User });\n    // User loged in successfully.\n  },\n  error => {\n    console.log(\"Login failed with exception:\", { error });\n    // User login failed, check error and take appropriate action.\n  }\n);\n```\nMake sure you replace the `API_KEY` with your `CometChat` **API Key** in the above code.\n\n>**Sample Users**\n>We have set-up 5 users for testing having UIDs: `SUPERHERO1`, `SUPERHERO2`, `SUPERHERO3`, `SUPERHERO4` and `SUPERHERO5`.\n\nThe `login()` method returns the User object on `Promise` resolved containing all the information of the logged in user.\n\n## Send a message\nOnce your user has logged in, you can send a message using the `sendMessage()` method.\n```Javascript\nvar receiverID = \"SUPERHERO2\";\nvar messageText = \"Hello\";\nvar messageType = CometChat.MESSAGE_TYPE.TEXT;\nvar receiverType = CometChat.RECEIVER_TYPE.USER;\n\nvar textMessage = new CometChat.TextMessage(receiverID, messageText, messageType, receiverType);\n\nCometChat.sendMessage(textMessage).then(\n  message => {\n    console.log(\"Message sent successfully:\", message);\n    // Do something with message\n  },\n  error => {\n    console.log(\"Message sending failed with error:\", error);\n    // Handle any error\n  }\n);\n```\n| **Parameter** | **Description**                                                                                                                                 |\n|---------------|-------------------------------------------------------------------------------------------------------------------------------------------------|\n| receiverID    | The UID or GUID of the recipient                                                                                                                |\n| messageText   | The message string to be sent                                                                                                                   |\n| messageType   | The type of the message that needs to be sent which in this case is `CometChat.MESSAGE_TYPE.TEXT` (text)                                        |\n| receiverType  | The type of the receiver to whom the message is to be sent i.e `CometChat.RECEIVER_TYPE.USER` (user) or `CometChat.RECEIVER_TYPE.GROUP` (group) |\n\nOnce the message is sent successfully, you will receive the message information as <a href=\"https://prodocs.cometchat.com/docs/js-appendix#section-textmessage\">`TextMessage` </a> object on `Promise` resolved.\n\n## Receive Messages\nYou can add multiple MessageListener using the `addMessageListener()` method, to receive incoming message wherever you need.\n\n```Javascript \nvar listenerID = \"UNIQUE_LISTENER_ID\";can we get single amazon server !\nCometChat.addMessageListener(listenerID, new CometChat.MessageListener({\n  onTextMessageReceived: message => {\n    console.log(\"Message received successfully:\", message);\n    // Handle text message\n  }\n}));\n```\n| **Parameter** | **Description**                                                                                |\n|---------------|------------------------------------------------------------------------------------------------|\n| listenerID    | An ID that uniquely identifies that listener. We recommend using the activity or fragment name |\n \n\nTo learn more, please refer to our <a href=\"https://prodocs.cometchat.com/docs/js-quick-start\">javascript Developer Documentation</a>.","gitHead":"3e6ddf76b797df7c127d154d1121f83bed1e5559","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"gajraajay","email":"ajay.gajra@inscripts.in"},"repository":{"url":"git+https://github.com/cometchat-pro/javascript-chat-sdk.git","type":"git"},"_npmVersion":"6.9.0","description":"A complete chat solution.","directories":{},"_nodeVersion":"10.16.1","_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/chat_2.0.0-beta4_1569234163431_0.14498896680889217","host":"s3://npm-registry-packages"}},"1.8.10":{"name":"@cometchat-pro/chat","version":"1.8.10","keywords":["CometChat","chat","messaging","chat","sdk","pro","message","sdk","messaging","sdk","audio","chat","video","chat","webRTC"],"author":{"name":"CometChat"},"license":"SEE LICENSE IN LICENSE.md","_id":"@cometchat-pro/chat@1.8.10","maintainers":[{"name":"anantgarg","email":"anant.garg@inscripts.com"},{"name":"gajraajay","email":"ajay.gajra@inscripts.in"},{"name":"inskshitiz","email":"kshitiz.shakya@inscripts.in"}],"homepage":"https://github.com/cometchat-pro/javascript-chat-sdk#readme","bugs":{"url":"https://github.com/cometchat-pro/javascript-chat-sdk/issues"},"dist":{"shasum":"e3737d9d07528066fe0e75a471eafa4ab82f7bf0","tarball":"https://registry.npmjs.org/@cometchat-pro/chat/-/chat-1.8.10.tgz","fileCount":5,"integrity":"sha512-YXKmV+yz5QB+NuyimXX2f1ExGSpt0XIM4FtkhdANgZ/tOO4Otxap/FM1qSIPlbev0Cs9mpI+qmMXb5nZXrBIOw==","signatures":[{"sig":"MEQCIG3YXD/kRaeKC4QBEqI0frWKj8WiwE/wD2FyVmmiUgjPAiBC+5jFq/njDlPmnOZjoJW6GfrNE8/uzxfGhAUgXQFdTA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":365065,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdigBUCRA9TVsSAnZWagAASSUP/0+u5YUM1f1RmCymOdcP\nZeul5XfrumX1O2C3dta8gJofd9wZQWZJWwXUHo5UFXw7wRz2kmHzmK/JRBCa\nZkr6NU0QIj3C2aojg53BtedQO92iFrbu+RS92jHw/MZjq+v6t2gzZReNBOZ/\naBYrm/fL9mdJ0GYPJ2UFiAKRQ/ECXrpjrpKUu2j7XenG9MBgPILXaig6z42a\nnn2BVopTeMX+zNnLC2eqxlTl8baw/5Pf0cGIB8L01NevkF3bNJvA1FaVlqI8\n9AbngimYfs5/wUJ+dWViyQxv88ubgxHh0InP+RtmaFN0n17c5Sw9NhrQ6B6g\nDiobxKj5h4OEJUM3dhumkXyN7wcmqaD5/ucUktfKBP1EZkdbtmRcfch13C2k\nWHwCYmbt2mxvP9BK7ByfkYGIFiikvO/9fmlDgKB2tLqyab1VH8GvdgC3/Lva\nmuj1wUY3vohnVtolFJWb4GDXeopslukbV5X2HhClWm6tbCwG1WcCKcRZ37sY\nCibOK/EwsgE5x5DIyrxqHoQh6PEB3mdtulrApKFnABUSzFMK1JGdJBC+4sfE\nme/SE9Vq+5ZOZcZz+lBonnWvfv8tlzOopXN+2TDHS9fBK7jY6ewld0lAR49o\n7SA6D4cgMET0vlLlqR8AQFoLSJ92w6tmxp5O/toguwFvLYMoGrdBAezUjK4Q\n4G+I\r\n=nZUf\r\n-----END PGP SIGNATURE-----\r\n"},"main":"CometChat.js","gitHead":"d650f6d9fe58ba4d4911c547bed2408fa6a9820f","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"gajraajay","email":"ajay.gajra@inscripts.in"},"repository":{"url":"git+https://github.com/cometchat-pro/javascript-chat-sdk.git","type":"git"},"_npmVersion":"6.9.0","description":"A complete chat solution.","directories":{},"_nodeVersion":"10.16.1","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/chat_1.8.10_1569325139696_0.6379391102700622","host":"s3://npm-registry-packages"}},"1.8.11":{"name":"@cometchat-pro/chat","version":"1.8.11","keywords":["CometChat","chat","messaging","chat","sdk","pro","message","sdk","messaging","sdk","audio","chat","video","chat","webRTC"],"author":{"name":"CometChat"},"license":"SEE LICENSE IN LICENSE.md","_id":"@cometchat-pro/chat@1.8.11","maintainers":[{"name":"anantgarg","email":"anant.garg@inscripts.com"},{"name":"gajraajay","email":"ajay.gajra@inscripts.in"},{"name":"inskshitiz","email":"kshitiz.shakya@inscripts.in"}],"homepage":"https://github.com/cometchat-pro/javascript-chat-sdk#readme","bugs":{"url":"https://github.com/cometchat-pro/javascript-chat-sdk/issues"},"dist":{"shasum":"e38dcd195ad8931d416878d982289c1ea17288a5","tarball":"https://registry.npmjs.org/@cometchat-pro/chat/-/chat-1.8.11.tgz","fileCount":5,"integrity":"sha512-S3lzgj0BAyqk4OURmI12cqzVX/zQUQnjbuBbsz1vUS/8DIOmMVLEp1rVcLVLuywZ8S6GbexaKajRtPUNyA+IiQ==","signatures":[{"sig":"MEUCIQCLEAmXv2KP9NBAP4A53bnFWJmrZJdz91fUH/hrhvrvMwIgNYpbj4mu1pL6ZqsxwMDMDt5GXMcSjyG9CL9OYLBraQI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":361341,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdi08JCRA9TVsSAnZWagAARIYQAI9RwNPjqQ3AbGR2iOHR\nRKr0zie+qqgS+2Yn4A6KCzWmfklLjmRuLmI8Gg5NSjAzSuiS37fiAlM7ObYe\nrhOxxbnu+bGHIpE3B4WirHwclxEuF5lLlhHHGcon27f/dgVxqcskmNM49el9\naXjIkjswQSPM9JtbGUvXnAv2FTyPSXNNiLSTz9JR0NVnX0Wdf17IeuXRoUbv\nNp1IYUaIVUCVoU/u8F+hAuzybDuY5Ws3AZmzA21VRA805BMnapoZKKvnK2G1\nHUGqTVxi0NJapHLM7MdQRTjUhnlcbxnAWKMlhFrHiFtCMXy2siA0d2VfGbGg\njeekw3evppu7Q+MV56szm5ieG/W6anbrWh/j1UZRG0v/rF+UdL8P7gVvJ1T6\n7C+3OO88/wXMGgX5K0+URnrvFRk2U43mnRnLn074coL4oEtRDqytcteDg9/p\nyY0aF4mzOOYgGc9727OMLUrr3xEcoQJ5vTPRg93lcOhUqPFsll5WHsOtBAEV\ndTaW4e9Ez+mePndNMY54LlSVF0UuvwRRjUvbGxCRKaMi+U90gBCzfy2WfWiL\nURAf+25rhK8tjKht8p2UY37PnWf/OTtICw2i8IWD6ANe/rDbowIA7T5F/Rw8\nHZ8/6tVCZZKeSIWIwuBjE/IdqdDiiDNjSO4z1HIc71VKWtBQZrSFYdzRblnH\ndmG8\r\n=lffD\r\n-----END PGP SIGNATURE-----\r\n"},"main":"CometChat.js","gitHead":"d650f6d9fe58ba4d4911c547bed2408fa6a9820f","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"gajraajay","email":"ajay.gajra@inscripts.in"},"repository":{"url":"git+https://github.com/cometchat-pro/javascript-chat-sdk.git","type":"git"},"_npmVersion":"6.9.0","description":"A complete chat solution.","directories":{},"_nodeVersion":"10.16.1","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/chat_1.8.11_1569410824159_0.6402937982996277","host":"s3://npm-registry-packages"}},"2.0.0-beta5":{"name":"@cometchat-pro/chat","version":"2.0.0-beta5","keywords":["CometChat","chat","messaging","chat","sdk","pro","message","sdk","messaging","sdk","audio","chat","video","chat","webRTC"],"author":{"name":"CometChat"},"license":"SEE LICENSE IN LICENSE.md","_id":"@cometchat-pro/chat@2.0.0-beta5","maintainers":[{"name":"anantgarg","email":"anant.garg@inscripts.com"},{"name":"gajraajay","email":"ajay.gajra@inscripts.in"},{"name":"inskshitiz","email":"kshitiz.shakya@inscripts.in"}],"homepage":"https://github.com/cometchat-pro/javascript-chat-sdk#readme","bugs":{"url":"https://github.com/cometchat-pro/javascript-chat-sdk/issues"},"dist":{"shasum":"db449686fa730157fe9eadba0a1499eae0b08d37","tarball":"https://registry.npmjs.org/@cometchat-pro/chat/-/chat-2.0.0-beta5.tgz","fileCount":5,"integrity":"sha512-5gH/jH54lg8n8F34oqvfNCa0KxDM1+l8dESfufDS3t/kLsPlUn9jVFKysD3PSXJo64hkEfRHedIHSh7rarPrdw==","signatures":[{"sig":"MEYCIQDVzoiwPwXeytnAeqks/CL+zylDL2JeM2Bs5mYr6iemTAIhAJQZgUZe23fVek2Pa4eiV2jKsXgLfZ2VFOKO3fvFoA8M","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":413879,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdi1MZCRA9TVsSAnZWagAAXb4P/3+vB3vIiR6VFKtGSAlX\nBgidjDxmCks1NUaz5agPHqb8xm6maJ4FFX+glXc8GXBliADeqZB1bENwuJGD\ncdnF1bH3pL4Nwj0/mXgJDkkU6gopMKzi5bNmwBmxE4a6FRfFFMyht8ueq4Zo\ngVrpabsXlM9hWfhy/7Jeo/5Ss53eMzusf39SFau83SEhhyRpFFNMjO9HBEem\nDEsuHOGf9VkOU90Vu/O8WCb4bf3gm9joPXqXeqqfITKhjB6by2JN5LBmlfyx\n7yetHYFMLbXkKWqxoRfI9wEv2g8o0fQOGvx6wBp5aEy7PLSDrQW31Udfrtzs\nEW0zChkIeMfIq4NUSicGOrroBh3Brzl3PS5MBpm0IgsZt4EQvzw4ZM3TVsWj\nkjRYZc42QA4DjXm1gKnRD2laV6cupAQ0CIxBUy0QWJjHVewYi2QZxaecD1ZP\n/ruSP3Ql5nufv3ugwNQhjYgmNntmoG9ZzxDVURHRagV6lXExaHkyE2eiizfK\n0WbpOspjrm0jIKfMNXothqSKWHYitZ7vr2zZa2Y/DYqO/HFe3l2cwzu/jaaM\nk8N3HzS+Q6sMdDPPL+aZT6A66sKvZVbv9eq1SflWWsIGmWH6HMD43NyQ0eMN\nUkKV1mE32Acgy6Etk0bB7PBrC8wh2CUm8T01sXHDe2xkaAAtjiVYZZ9Ajxu0\n3z8U\r\n=zDUz\r\n-----END PGP SIGNATURE-----\r\n"},"main":"CometChat.js","readme":"<div style=\"width:100%\">\n<div style=\"width:100%\">\n\t<div style=\"width:50%; display:inline-block\">\n\t\t<p align=\"center\">\n\t\t<img style=\"text-align:center\" width=\"180\" height=\"180\" alt=\"\" src=\"https://raw.githubusercontent.com/cometchat-pro/ios-swift-chat-app/master/Screenshots/CometChat%20Logo.png\">\t\n\t\t</p>\t\n\t</div>\t\n</div>\n</br>\n</br>\n</div>\n\nCometChat Pro enables you to add voice, video & text chat for your website & app.\n\n<a href=\"https://www.npmjs.com\">[![Platform](https://img.shields.io/badge/Platform-Javascript-blue.svg)](#)</a>\n<a href=\"https://www.npmjs.com\">[![Platform](https://img.shields.io/badge/Platform-NPM-orange.svg)](#)</a>\n\n# Quick Start\n\nThis guide demonstrates how to add chat to a Javascript application using CometChat. Before you begin, we strongly recommend you read the <a href=\"https://prodocs.cometchat.com/docs/concepts\" target=\"_blank\">Key Concepts</a> guide.\n\n## Get your Application Keys\n\n<a href=\"https://app.cometchat.com\" target=\"_blank\">Signup for CometChat</a> and then:\n\n1. Create a new app: Enter a name & hit the **+** button\n2. Head over to the **API Keys** section and click on the **Create API Key** button\n3. Enter a name and select the scope as **Auth Only**\n4. Now note the **API Key** and **App ID**\n\n## Add the CometChat Dependency\n\n### NPM\nFirst, install via npm\n\n`Shell`\n\nFor v1.8.x and older:\n\n```shell\nnpm install @cometchat-pro/chat --save\n```\n\nFor v2.0.0-beta:\n\n```shell\nnpm install @cometchat-pro/chat@beta --save\n```\n\nThen, import the `CometChat` object wherever you want to use CometChat\n\n`JavaScript`\n\n```Javascript \nimport { CometChat } from \"@cometchat-pro/chat\" \n```\n\n### HTML (via CDN)\nInclude the CometChat Javascript library in your HTML code\n\nFor v1.8.x and older:\n\n```HTML\n<script type=\"text/javascript\" src=\"https://unpkg.com/@cometchat-pro/chat/CometChat.js\"></script>\n```\n\nFor v2.0.0-beta:\n\n```HTML\n<script type=\"text/javascript\" src=\"https://unpkg.com/@cometchat-pro/chat@beta/CometChat.js\"></script>\n```\n\n\n\nTo learn more, please refer to our Javascript Developer Documentation:\n\nFor v1.8.x and older: <a href=\"https://prodocs.cometchat.com/docs/js-quick-start\">Documentation</a>\n\nFor v2.0.0-beta: <a href=\"https://prodocs.cometchat.com/v2.0/docs/js-quick-start\">Documentation</a>","gitHead":"3e6ddf76b797df7c127d154d1121f83bed1e5559","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"gajraajay","email":"ajay.gajra@inscripts.in"},"repository":{"url":"git+https://github.com/cometchat-pro/javascript-chat-sdk.git","type":"git"},"_npmVersion":"6.9.0","description":"A complete chat solution.","directories":{},"_nodeVersion":"10.16.1","_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/chat_2.0.0-beta5_1569411864526_0.5017151396398412","host":"s3://npm-registry-packages"}},"1.8.12":{"name":"@cometchat-pro/chat","version":"1.8.12","keywords":["CometChat","chat","messaging","chat","sdk","pro","message","sdk","messaging","sdk","audio","chat","video","chat","webRTC"],"author":{"name":"CometChat"},"license":"SEE LICENSE IN LICENSE.md","_id":"@cometchat-pro/chat@1.8.12","maintainers":[{"name":"anantgarg","email":"anant.garg@inscripts.com"},{"name":"gajraajay","email":"ajay.gajra@inscripts.in"},{"name":"inskshitiz","email":"kshitiz.shakya@inscripts.in"}],"homepage":"https://github.com/cometchat-pro/javascript-chat-sdk#readme","bugs":{"url":"https://github.com/cometchat-pro/javascript-chat-sdk/issues"},"dist":{"shasum":"4ca9c4ee2ca938fe405d8d665d89e3e2790657ad","tarball":"https://registry.npmjs.org/@cometchat-pro/chat/-/chat-1.8.12.tgz","fileCount":5,"integrity":"sha512-e+Q8LCK5bfZeNfLvqudUFGIF/j4qggKBrBXDA8DailNTllVV4uFs6NDNrFeN+Rll3RTQvQmAXZtbaCGaavGpzg==","signatures":[{"sig":"MEQCIF1068Eph90CgJjoKQ0yAbkp/OYGjxbnDhAkVLQ0Eil0AiA9VD/F/0BKOJYjGNQ9cAsp2P2VLKJYKXGfi3PCHiv7tQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":361519,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdk9z0CRA9TVsSAnZWagAACPkQAJeUzvTJRQY6wNaYWzN+\niHMX4eVtvD/Mu0Z39euSj8/JFcsHUEuz+88Npil+d/lxwLxcv+lE9Z08oSmE\nai402VShHA5hUHHkzD3Wejabo5Hk97CjrLMlOk/Si6Dt4CYVJe3nvdEu4vRs\nrb0OyfEZ0Z3lR4iyPXDxDOuMZN/fHQhT9zoRdfduDOiYVs8RbBGljWYgFJAp\nM7HwlD6XNokRRf1HAOZmxnbVqPI0WLNvHqppRfd3kxny0ibLAYTgRx5SGWOz\nRrgEp4w8ic2Q4JfPY5Io5/cCWZQ2Jto/2zHXU9HN6QzPwJeWsar+ekO83gE4\nkGKDPlSx1YiaIDligehkGF4Pm5rrSKKEKWM8crL988SfhEtTK1wMCZI2jKwz\nx4DqPVi3ZJZYgSTArlaf8/6E8deLL33eYQY0lqaZdNdiTnXv39+hWeWvpgvA\nKOymU7qryOvR7fOHfroWPeBV5KZxENPwfqJWyQN/xK1vOIoCagTBKh+P/PUz\nJWUZh5MKxKESqXi0TuAnst2Q1yboCC70AI4dC3AVHTXZJH+asXlWYyKcgr4s\nNVSoiEhZ7tAic6k62o4BDzR2V7vKTvr0E1k+zBKqwH5iSMfISvp+3hQ2repe\n/Fy7cAZIvZsPMuRzCU/IoNGik+KOoyG2EbjKKYEdEuTFYn+dE4ULq3ceXg7H\ng9HP\r\n=y9FE\r\n-----END PGP SIGNATURE-----\r\n"},"main":"CometChat.js","gitHead":"5c969addb0495cfcc5af12424403d0b449388ea4","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"gajraajay","email":"ajay.gajra@inscripts.in"},"repository":{"url":"git+https://github.com/cometchat-pro/javascript-chat-sdk.git","type":"git"},"_npmVersion":"6.11.3","description":"A complete chat solution.","directories":{},"_nodeVersion":"10.16.3","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/chat_1.8.12_1569971444230_0.6108801881423302","host":"s3://npm-registry-packages"}},"2.0.0-beta6":{"name":"@cometchat-pro/chat","version":"2.0.0-beta6","keywords":["CometChat","chat","messaging","chat","sdk","pro","message","sdk","messaging","sdk","audio","chat","video","chat","webRTC"],"author":{"name":"CometChat"},"license":"SEE LICENSE IN LICENSE.md","_id":"@cometchat-pro/chat@2.0.0-beta6","maintainers":[{"name":"anantgarg","email":"anant.garg@inscripts.com"},{"name":"gajraajay","email":"ajay.gajra@inscripts.in"},{"name":"inskshitiz","email":"kshitiz.shakya@inscripts.in"}],"homepage":"https://github.com/cometchat-pro/javascript-chat-sdk#readme","bugs":{"url":"https://github.com/cometchat-pro/javascript-chat-sdk/issues"},"dist":{"shasum":"37d3a554e13c996d2bacc9567c1ec17b16801f60","tarball":"https://registry.npmjs.org/@cometchat-pro/chat/-/chat-2.0.0-beta6.tgz","fileCount":5,"integrity":"sha512-qq7Fxq4B4VWcgnzHgTE4O0zl+qiZjfW4ZY8zOpc/ONOyqkdhc0MF3Qt+0cW6mtFx86sl+7HTJtkj8uX/gBzMpQ==","signatures":[{"sig":"MEQCIHlBM5HpG9KGtkkEx0WkLDKXb1NprVpXYbn1svy20rZVAiBtEomtjWgkDX16hHEydKukx+grX/M9/t/PCOC7JjUkgQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":406158,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdk99JCRA9TVsSAnZWagAAhCkP+QAccXQkD0h5gw94aV1M\ncYXcswHZhngPs2tzrgpsTv2TlPh7AAX1NkS1a3rp0ASw5SW2hWTnTOJI1Fjv\nAa0eZryyQKAd3Zmpt5jfRbU3KW1G5O471SIYJUxBHdPD5o5mdM2aBXDsuZJo\n9FxwQGyp1SuqZHWfmhzWh0YyI+BJMGhhvxXmWX4To2qMjFSCoPCVftswJx5L\nvDbEzdkXVvBPRxM5pj1/v/U628wmuE7d1fvWy/adK2I2BTmOY/ITDyXXYbjX\nVdXf1MqoKmP20bJSzN8NoU6XX5+V9hf53v/ZKw7TVZLxu5yZn/97rpn5Wwn2\n6qPK9oSfKExhHRdlQnB7OKdQVNhE5bXb84oE7+lkCXiretOFO/kz6AQfEXH3\nxblsPoVbQM3mO1gKua+rWgcfSjXRG4auaIhmjDOZR+oN6DgOqXlVFDi1Cmq3\niR6P2xbNnynf+Q7mISjNEXAM2GURSSssARtF+8YUZdJA39nNbAKxFFqax5Vt\nYEUan3EvquCA4JMN/nNm3swoBJ5U9yiCYv4FiPKY5sCtaYR6dtw+7e7qThsE\nAiGStszyPUbhchq8uGMMGJ/vooKGTqg9c8C7nh389tghdJQLG0DeabsMmPzd\nmrI/WV6D+agxeguPgDv9WRvv2Ji5CvHMhQvUQWCIYgQhAWtjO104W8M5MUtH\n5ELF\r\n=1j8f\r\n-----END PGP SIGNATURE-----\r\n"},"main":"CometChat.js","readme":"<div style=\"width:100%\">\n<div style=\"width:100%\">\n\t<div style=\"width:50%; display:inline-block\">\n\t\t<p align=\"center\">\n\t\t<img style=\"text-align:center\" width=\"180\" height=\"180\" alt=\"\" src=\"https://raw.githubusercontent.com/cometchat-pro/ios-swift-chat-app/master/Screenshots/CometChat%20Logo.png\">\t\n\t\t</p>\t\n\t</div>\t\n</div>\n</br>\n</br>\n</div>\n\nCometChat Pro enables you to add voice, video & text chat for your website & app.\n\n<a href=\"https://www.npmjs.com\">[![Platform](https://img.shields.io/badge/Platform-Javascript-blue.svg)](#)</a>\n<a href=\"https://www.npmjs.com\">[![Platform](https://img.shields.io/badge/Platform-NPM-orange.svg)](#)</a>\n\n# Quick Start\n\nThis guide demonstrates how to add chat to a Javascript application using CometChat. Before you begin, we strongly recommend you read the <a href=\"https://prodocs.cometchat.com/docs/concepts\" target=\"_blank\">Key Concepts</a> guide.\n\n## Get your Application Keys\n\n<a href=\"https://app.cometchat.com\" target=\"_blank\">Signup for CometChat</a> and then:\n\n1. Create a new app: Enter a name & hit the **+** button\n2. Head over to the **API Keys** section and click on the **Create API Key** button\n3. Enter a name and select the scope as **Auth Only**\n4. Now note the **API Key** and **App ID**\n\n## Add the CometChat Dependency\n\n### NPM\nFirst, install via npm\n\n`Shell`\n\n```shell\nnpm install @cometchat-pro/chat --save\n```\n\nThen, import the `CometChat` object wherever you want to use CometChat\n\n`JavaScript`\n\n```Javascript \nimport { CometChat } from \"@cometchat-pro/chat\" \n```\n### HTML (via CDN)\nInclude the CometChat Javascript library in your HTML code\n\n\n```HTML\n<script type=\"text/javascript\" src=\"https://unpkg.com/@cometchat-pro/chat/CometChat.js\"></script>\n```\n\n## Initialize CometChat\nThe `init()` method initializes the settings required for `CometChat`.\n\nYou need to call `init()` before calling any other method from CometChat.\n\n```Javascript\nvar appID = \"APP_ID\";\n\nCometChat.init(appID).then(\n  hasInitialized => {\n    console.log(\"Initialization completed successfully\", hasInitialized);\n    // You can now call login function.\n  },\n  error => {\n    console.log(\"Initialization failed with error:\", error);\n    // Check the reason for error and take apppropriate action.\n  }\n);\n```\nMake sure you replace the `APP_ID` with your CometChat **App ID** in the above code.\n\n## Login your user\nOnce initialization is successful, you will need to log the user into CometChat using the login() method.\n\nWe recommend you call the CometChat login method once your user logs into your app.\n```Javascript\n\nvar UID = \"SUPERHERO1\";\nvar apiKey = \"API_KEY\";\n\nCometChat.login(UID, apiKey).then(\n  User => {\n    console.log(\"Login Successful:\", { User });\n    // User loged in successfully.\n  },\n  error => {\n    console.log(\"Login failed with exception:\", { error });\n    // User login failed, check error and take appropriate action.\n  }\n);\n```\nMake sure you replace the `API_KEY` with your `CometChat` **API Key** in the above code.\n\n>**Sample Users**\n>We have set-up 5 users for testing having UIDs: `SUPERHERO1`, `SUPERHERO2`, `SUPERHERO3`, `SUPERHERO4` and `SUPERHERO5`.\n\nThe `login()` method returns the User object on `Promise` resolved containing all the information of the logged in user.\n\n## Send a message\nOnce your user has logged in, you can send a message using the `sendMessage()` method.\n```Javascript\nvar receiverID = \"SUPERHERO2\";\nvar messageText = \"Hello\";\nvar messageType = CometChat.MESSAGE_TYPE.TEXT;\nvar receiverType = CometChat.RECEIVER_TYPE.USER;\n\nvar textMessage = new CometChat.TextMessage(receiverID, messageText, messageType, receiverType);\n\nCometChat.sendMessage(textMessage).then(\n  message => {\n    console.log(\"Message sent successfully:\", message);\n    // Do something with message\n  },\n  error => {\n    console.log(\"Message sending failed with error:\", error);\n    // Handle any error\n  }\n);\n```\n| **Parameter** | **Description**                                                                                                                                 |\n|---------------|-------------------------------------------------------------------------------------------------------------------------------------------------|\n| receiverID    | The UID or GUID of the recipient                                                                                                                |\n| messageText   | The message string to be sent                                                                                                                   |\n| messageType   | The type of the message that needs to be sent which in this case is `CometChat.MESSAGE_TYPE.TEXT` (text)                                        |\n| receiverType  | The type of the receiver to whom the message is to be sent i.e `CometChat.RECEIVER_TYPE.USER` (user) or `CometChat.RECEIVER_TYPE.GROUP` (group) |\n\nOnce the message is sent successfully, you will receive the message information as <a href=\"https://prodocs.cometchat.com/docs/js-appendix#section-textmessage\">`TextMessage` </a> object on `Promise` resolved.\n\n## Receive Messages\nYou can add multiple MessageListener using the `addMessageListener()` method, to receive incoming message wherever you need.\n\n```Javascript \nvar listenerID = \"UNIQUE_LISTENER_ID\";can we get single amazon server !\nCometChat.addMessageListener(listenerID, new CometChat.MessageListener({\n  onTextMessageReceived: message => {\n    console.log(\"Message received successfully:\", message);\n    // Handle text message\n  }\n}));\n```\n| **Parameter** | **Description**                                                                                |\n|---------------|------------------------------------------------------------------------------------------------|\n| listenerID    | An ID that uniquely identifies that listener. We recommend using the activity or fragment name |\n \n\nTo learn more, please refer to our <a href=\"https://prodocs.cometchat.com/docs/js-quick-start\">javascript Developer Documentation</a>.","gitHead":"999273588a42a992d104d70a000eea9709ef419a","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"gajraajay","email":"ajay.gajra@inscripts.in"},"repository":{"url":"git+https://github.com/cometchat-pro/javascript-chat-sdk.git","type":"git"},"_npmVersion":"6.11.3","description":"A complete chat solution.","directories":{},"_nodeVersion":"10.16.3","_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/chat_2.0.0-beta6_1569972040873_0.582231253343751","host":"s3://npm-registry-packages"}},"2.0.0-beta7":{"name":"@cometchat-pro/chat","version":"2.0.0-beta7","keywords":["CometChat","chat","messaging","chat","sdk","pro","message","sdk","messaging","sdk","audio","chat","video","chat","webRTC"],"author":{"name":"CometChat"},"license":"SEE LICENSE IN LICENSE.md","_id":"@cometchat-pro/chat@2.0.0-beta7","maintainers":[{"name":"anantgarg","email":"anant.garg@inscripts.com"},{"name":"gajraajay","email":"ajay.gajra@inscripts.in"},{"name":"inskshitiz","email":"kshitiz.shakya@inscripts.in"}],"homepage":"https://github.com/cometchat-pro/javascript-chat-sdk#readme","bugs":{"url":"https://github.com/cometchat-pro/javascript-chat-sdk/issues"},"dist":{"shasum":"56e12583fccaf45f58a95333df532fa8c7973dcd","tarball":"https://registry.npmjs.org/@cometchat-pro/chat/-/chat-2.0.0-beta7.tgz","fileCount":5,"integrity":"sha512-wwtZhExIFHzBwTp4pO1GtiS7QvWkuJdakMbEyZgEPwc2V/X+yAPIgiJkCzksebbzDiOx1HeyQrATnOpNEIXEtQ==","signatures":[{"sig":"MEQCIC+q0dpAaw73mIcXaAlSWheaRhW+dxIO2QX4UivCci4QAiB3W5QfCa73sJ6waV2coz6EnEwrR3JdvPGPoaJvh02vkQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":414618,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdn0zeCRA9TVsSAnZWagAAlF4P/RMpg+cYz+QdX623MzJv\nEYMu+7pLqYm3jeXXq5OjoRd3LPrbeAEgiL9/HbZYqaIgTyjHToikeu2/dg/w\n8Li5uUR9NollupTc+4QT2fQij1nQGzDiQU+u08jUIk9lJK+2hDA1ZnklMA1i\nEWdd+6wXjOPLwFQB4Aqm9hvVfsSYybSw6eco1V5zlNvS0FBZE+ssquXMtcdl\n4b1RFETgqHa8FkHq1X5X/Mr0GblzzV2IFxwEOdAdj+Af86cEcO0w7/odyPq0\nvjEbSMH7QSpy9TixuVf2iLba47Mp7l1bG284l4mLsm1OYcmWE+WAtUxUc0ex\n6nLIDCHJWMNs8t7VK4Ws2DdCa/I0KeIpPPG24DrqorkGktph+iSUCxpmXuUK\nVlO3BRmSetvr4yticbq57mS3TG25ifGhshRMelFWB6tYyxP8b6/7zs6YwIYT\nJZ/VP+qInMbWn3Cr887CDG7u8f1PgKSX8p1O5z51NORHko68KTaA5naPID0B\nV6nIm4mbzpTjcLJXJJ7OmQf1Vm0kKefy5R2CHrQEBgZLhi3/8TpHUpbHMNbf\nRtq+yNrBRB6ZBX5i1LL8XvHwo6Ee4+vqrdBraunchFjB51rZE+hMLDtiXls7\n54VRh2x1/5fEYYTRwE7Z77lHyIAFtqWmRpgJT/LXRaJVajtUlXeD7F2RkLZ1\ndOwd\r\n=3H5W\r\n-----END PGP SIGNATURE-----\r\n"},"main":"CometChat.js","readme":"<div style=\"width:100%\">\n<div style=\"width:100%\">\n\t<div style=\"width:50%; display:inline-block\">\n\t\t<p align=\"center\">\n\t\t<img style=\"text-align:center\" width=\"180\" height=\"180\" alt=\"\" src=\"https://raw.githubusercontent.com/cometchat-pro/ios-swift-chat-app/master/Screenshots/CometChat%20Logo.png\">\t\n\t\t</p>\t\n\t</div>\t\n</div>\n</br>\n</br>\n</div>\n\nCometChat Pro enables you to add voice, video & text chat for your website & app.\n\n<a href=\"https://www.npmjs.com\">[![Platform](https://img.shields.io/badge/Platform-Javascript-blue.svg)](#)</a>\n<a href=\"https://www.npmjs.com\">[![Platform](https://img.shields.io/badge/Platform-NPM-orange.svg)](#)</a>\n\n# Quick Start\n\nThis guide demonstrates how to add chat to a Javascript application using CometChat. Before you begin, we strongly recommend you read the <a href=\"https://prodocs.cometchat.com/docs/concepts\" target=\"_blank\">Key Concepts</a> guide.\n\n## Get your Application Keys\n\n<a href=\"https://app.cometchat.com\" target=\"_blank\">Signup for CometChat</a> and then:\n\n1. Create a new app: Enter a name & hit the **+** button\n2. Head over to the **API Keys** section and click on the **Create API Key** button\n3. Enter a name and select the scope as **Auth Only**\n4. Now note the **API Key** and **App ID**\n\n## Add the CometChat Dependency\n\n### NPM\nFirst, install via npm\n\n`Shell`\n\nFor v1.8.x and older:\n\n```shell\nnpm install @cometchat-pro/chat --save\n```\n\nFor v2.0.0-beta:\n\n```shell\nnpm install @cometchat-pro/chat@beta --save\n```\n\nThen, import the `CometChat` object wherever you want to use CometChat\n\n`JavaScript`\n\n```Javascript \nimport { CometChat } from \"@cometchat-pro/chat\" \n```\n\n### HTML (via CDN)\nInclude the CometChat Javascript library in your HTML code\n\nFor v1.8.x and older:\n\n```HTML\n<script type=\"text/javascript\" src=\"https://unpkg.com/@cometchat-pro/chat/CometChat.js\"></script>\n```\n\nFor v2.0.0-beta:\n\n```HTML\n<script type=\"text/javascript\" src=\"https://unpkg.com/@cometchat-pro/chat@beta/CometChat.js\"></script>\n```\n\n\n\nTo learn more, please refer to our Javascript Developer Documentation:\n\nFor v1.8.x and older: <a href=\"https://prodocs.cometchat.com/docs/js-quick-start\">Documentation</a>\n\nFor v2.0.0-beta: <a href=\"https://prodocs.cometchat.com/v2.0/docs/js-quick-start\">Documentation</a>","gitHead":"3b194612b1d8a9e3001b8f28e717043abc6582af","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"gajraajay","email":"ajay.gajra@inscripts.in"},"repository":{"url":"git+https://github.com/cometchat-pro/javascript-chat-sdk.git","type":"git"},"_npmVersion":"6.9.0","description":"A complete chat solution.","directories":{},"_nodeVersion":"10.16.1","_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/chat_2.0.0-beta7_1570720989676_0.6137923982482956","host":"s3://npm-registry-packages"}},"2.0.0-beta8":{"name":"@cometchat-pro/chat","version":"2.0.0-beta8","keywords":["CometChat","chat","messaging","chat","sdk","pro","message","sdk","messaging","sdk","audio","chat","video","chat","webRTC"],"author":{"name":"CometChat"},"license":"SEE LICENSE IN LICENSE.md","_id":"@cometchat-pro/chat@2.0.0-beta8","maintainers":[{"name":"anantgarg","email":"anant.garg@inscripts.com"},{"name":"gajraajay","email":"ajay.gajra@inscripts.in"},{"name":"inskshitiz","email":"kshitiz.shakya@inscripts.in"}],"homepage":"https://github.com/cometchat-pro/javascript-chat-sdk#readme","bugs":{"url":"https://github.com/cometchat-pro/javascript-chat-sdk/issues"},"dist":{"shasum":"bb5f0f52f4becf2ca451e3d628173ac6b4805a9b","tarball":"https://registry.npmjs.org/@cometchat-pro/chat/-/chat-2.0.0-beta8.tgz","fileCount":5,"integrity":"sha512-o8yx1U99WierWh+NiBQnQvcQR31+Pjkxadl2CAKL/iWn7DAoanO3Qwml/5uatxeLzNUenLE7Do2/DxANIzarIg==","signatures":[{"sig":"MEUCIC0eQU6teTVc7jXyTtaI21XCv52I1tc9ojKhfNiSzBXkAiEA7+d2K2p1FKoBlN5MeHvBwyh8baKvbJTPSJaY3ojQUJ0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":416572,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdpzNnCRA9TVsSAnZWagAAHVAQAILC2WFKLockHAayO5Xz\nufp0EneC878tGo1Yze/4/RDQH2g1iMlJiZmll1IV6NNNH9+STCVXIe+U4MLS\n7wkyfspO5GkZhXS/5lt0k7rxqY9Oo/zTBr0t9Lg5+gfHhCTly5FioJP+cE6N\n+jJLG2gdC5N4CYFvr3KT4Amn5UMOEcZAlhLxQEnMQPWnXqfRXfflflJ2Zqe+\nUMp0vY7HpW59AdHeIbgaZZTPjzmj05yfKqlvhJuoN8Co5fyF00j+ETuWdHCE\np+YyGF41TXPkCrFgtw94P9OddCSqKIe8w+qGh7Qye53SIHWpZpA558Y0Tca2\nP/bNOQpMKjk2RXi/ETCxu7klB+Wb5eFX3z9Vytd55WLtt5mtadQDB4g52pwM\nux6lrgcPch3qEADzJsbZ7uI9vr1AE+ecsbjRl10wOcAOnbjxuUPo5gnXg2EW\nEIRMA8vDMMX/w5nJs//JB0h5bw+CibnW8o7OfYNXB5er8RP83e3Ey1lJJsgN\nGoGa6bnF2uEsnVNqfPPGXu2tNqQgG78JunbhyuQP/ZusTiEi4floKPaUPofa\nkBfCKXSQ74BoWCxML6M7Dz9x5YXu20tt1q4P08QD2xieB+4ciZ1C1/lOVA3u\nz8g8TgQhrbVP10KmaFcx+VXcGu90myRTOOw1L8qqNWQoTwAJkFf7dKaMDcQr\nYNQn\r\n=wJSR\r\n-----END PGP SIGNATURE-----\r\n"},"main":"CometChat.js","readme":"<div style=\"width:100%\">\n<div style=\"width:100%\">\n\t<div style=\"width:50%; display:inline-block\">\n\t\t<p align=\"center\">\n\t\t<img style=\"text-align:center\" width=\"180\" height=\"180\" alt=\"\" src=\"https://raw.githubusercontent.com/cometchat-pro/ios-swift-chat-app/master/Screenshots/CometChat%20Logo.png\">\t\n\t\t</p>\t\n\t</div>\t\n</div>\n</br>\n</br>\n</div>\n\nCometChat Pro enables you to add voice, video & text chat for your website & app.\n\n<a href=\"https://www.npmjs.com\">[![Platform](https://img.shields.io/badge/Platform-Javascript-blue.svg)](#)</a>\n<a href=\"https://www.npmjs.com\">[![Platform](https://img.shields.io/badge/Platform-NPM-orange.svg)](#)</a>\n\n# Quick Start\n\nThis guide demonstrates how to add chat to a Javascript application using CometChat. Before you begin, we strongly recommend you read the <a href=\"https://prodocs.cometchat.com/docs/concepts\" target=\"_blank\">Key Concepts</a> guide.\n\n## Get your Application Keys\n\n<a href=\"https://app.cometchat.com\" target=\"_blank\">Signup for CometChat</a> and then:\n\n1. Create a new app: Enter a name & hit the **+** button\n2. Head over to the **API Keys** section and click on the **Create API Key** button\n3. Enter a name and select the scope as **Auth Only**\n4. Now note the **API Key** and **App ID**\n\n## Add the CometChat Dependency\n\n### NPM\nFirst, install via npm\n\n`Shell`\n\nFor v1.8.x and older:\n\n```shell\nnpm install @cometchat-pro/chat --save\n```\n\nFor v2.0.0-beta:\n\n```shell\nnpm install @cometchat-pro/chat@beta --save\n```\n\nThen, import the `CometChat` object wherever you want to use CometChat\n\n`JavaScript`\n\n```Javascript \nimport { CometChat } from \"@cometchat-pro/chat\" \n```\n\n### HTML (via CDN)\nInclude the CometChat Javascript library in your HTML code\n\nFor v1.8.x and older:\n\n```HTML\n<script type=\"text/javascript\" src=\"https://unpkg.com/@cometchat-pro/chat/CometChat.js\"></script>\n```\n\nFor v2.0.0-beta:\n\n```HTML\n<script type=\"text/javascript\" src=\"https://unpkg.com/@cometchat-pro/chat@beta/CometChat.js\"></script>\n```\n\n\n\nTo learn more, please refer to our Javascript Developer Documentation:\n\nFor v1.8.x and older: <a href=\"https://prodocs.cometchat.com/docs/js-quick-start\">Documentation</a>\n\nFor v2.0.0-beta: <a href=\"https://prodocs.cometchat.com/v2.0/docs/js-quick-start\">Documentation</a>","gitHead":"2a8f2c11eb1723db3eab882c871356844822251c","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"gajraajay","email":"ajay.gajra@inscripts.in"},"repository":{"url":"git+https://github.com/cometchat-pro/javascript-chat-sdk.git","type":"git"},"_npmVersion":"6.9.0","description":"A complete chat solution.","directories":{},"_nodeVersion":"10.16.1","_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/chat_2.0.0-beta8_1571238759295_0.43566001795203757","host":"s3://npm-registry-packages"}},"1.8.13":{"name":"@cometchat-pro/chat","version":"1.8.13","keywords":["CometChat","chat","messaging","chat","sdk","pro","message","sdk","messaging","sdk","audio","chat","video","chat","webRTC"],"author":{"name":"CometChat"},"license":"SEE LICENSE IN LICENSE.md","_id":"@cometchat-pro/chat@1.8.13","maintainers":[{"name":"anantgarg","email":"anant.garg@inscripts.com"},{"name":"gajraajay","email":"ajay.gajra@inscripts.in"},{"name":"inskshitiz","email":"kshitiz.shakya@inscripts.in"}],"homepage":"https://github.com/cometchat-pro/javascript-chat-sdk#readme","bugs":{"url":"https://github.com/cometchat-pro/javascript-chat-sdk/issues"},"dist":{"shasum":"ac8573d776cb79f803748a6aafe2541bae3a808c","tarball":"https://registry.npmjs.org/@cometchat-pro/chat/-/chat-1.8.13.tgz","fileCount":5,"integrity":"sha512-S4S6Lzt1+5GDj7KQu0FjE8YNVoZFvx1KTAK1lhZHe6Evcr0mIwf8bbIzXo9oxV0Qpa2D8SfcOkJ/E0AdT4/sIg==","signatures":[{"sig":"MEYCIQCoT4cNwJluDp/MpNGXt/MV91wDV46kpEuTeqXHbhrrZQIhAMdlizR723wlSQwOtqnBkyJi6juN5pf1gfuLKtijkXx4","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":361531,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdpzU8CRA9TVsSAnZWagAAD1UP/iFfh8Fkk5Wsy4iY9j27\nVw+97pGCH2S9926MTsTsbW4EINEcwX1Uyfu+i8uKLWwuy8P6UrU+m4NJ+MYV\nn9RBkjUhq/0SzxS83kw0WyzVpqBICAEcddlwKP5SOORMv/u0Ddhw6QMmsxOW\nOLzqtBDQvjOYljhY7vbY4tUSlQkx7c+rJ3rRotaEDBW8T/B2IM/xbm43bTXi\nq2ZwFR7e863lRBQyCO+ZeJ6Uk+dj7lLAW93/vEBXhei/xBkw2M2dDmox3GRv\ng2Nx4/1ngLSxHJS7omM+aF/uPg2FrtKSjNrm6I7TP/SnPRJnksQJOrOwZ2T7\ndfuZuP/v5xdb9JEsKT7P6HuPjsoxMHMxgLvE/2oC9cidZfATXmLkXjgdnsJ8\nzSuMQJihVrq54a3XnXVjWonlgX8YmKWGma02exm5159JGAv3kO4h3S3y+Oqr\ngLqOPdYuf4PeiHLFTDGNwV4aowV6dVebbYmxS65kAShuI2deY/1wsT+VmReE\nBt6HHZWw9rwTHvc2KoqE/IKp7TQgiw5gnf3zgiDjPI0ACENpJeWLTfcr/p00\nMVvkuY2PAA5cFb90jVsog+eXF25JLMkz+BcfOaMeb0Y6GAcAj9Ox816q3x/k\nbCBkmhJzN/enhmDxmvbTm/VfkFv1xYytsTsQdm8gdTnJIp4aVSzY8v+Owowx\n9+NB\r\n=Vrli\r\n-----END PGP SIGNATURE-----\r\n"},"main":"CometChat.js","gitHead":"e84c6008b4ddeeb7f074590d786d3e8ed9dba529","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"gajraajay","email":"ajay.gajra@inscripts.in"},"repository":{"url":"git+https://github.com/cometchat-pro/javascript-chat-sdk.git","type":"git"},"_npmVersion":"6.9.0","description":"A complete chat solution.","directories":{},"_nodeVersion":"10.16.1","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/chat_1.8.13_1571239227828_0.6316819331400845","host":"s3://npm-registry-packages"}},"2.0.0-beta9":{"name":"@cometchat-pro/chat","version":"2.0.0-beta9","keywords":["CometChat","chat","messaging","chat","sdk","pro","message","sdk","messaging","sdk","audio","chat","video","chat","webRTC"],"author":{"name":"CometChat"},"license":"SEE LICENSE IN LICENSE.md","_id":"@cometchat-pro/chat@2.0.0-beta9","maintainers":[{"name":"anantgarg","email":"anant.garg@inscripts.com"},{"name":"gajraajay","email":"ajay.gajra@inscripts.in"},{"name":"inskshitiz","email":"kshitiz.shakya@inscripts.in"}],"homepage":"https://github.com/cometchat-pro/javascript-chat-sdk#readme","bugs":{"url":"https://github.com/cometchat-pro/javascript-chat-sdk/issues"},"dist":{"shasum":"55489ade064bf05a9342f9ea1353cec178f69f78","tarball":"https://registry.npmjs.org/@cometchat-pro/chat/-/chat-2.0.0-beta9.tgz","fileCount":2,"integrity":"sha512-XFnE/B5RlKEBBjvDrIojrQC4UIUWuW51QC0mTYhoj0Cx3vlucwFjTKNd7Y13zf47hfUF3LVBEmGNVwtVk23YKw==","signatures":[{"sig":"MEUCIFc11ieYvWgonht9+EQqdgJsbvqbdeJ4pWddcFXuiTmrAiEAy8Ey0N7uXVUZD3hrS5BA0H3Uivkbxq9aMcAaycO1YCM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":357499,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdtKLaCRA9TVsSAnZWagAAj2IP/1W6XoFuu3FJGiR266+4\nJlm4jwWpUpcFsbWZyR/VGzE05e1aMpcE8y8L6yhOG0ghCyfpb/e75RiKbVJl\nZY2ynuI4luGnrpMD8fyWrYV63TKDF5n6myZ+zeXnw0G9yOu3aVk5nEMmZ/hj\nCf/FXS42vcHX/gvnQIp5Tr+EmOQvQkpnNuwiDXldyfKLcdUHrJui+HDzXZ7t\n9sbmiSl3Dh/Tmb+ksTi31Rt+Vj5DECnJ40cvag2d8m5B1FKlUvJpCpMF1zqv\nJsQJcyeX/NdQ/vmlKyzt2GP/VypRG0WUGA+4aciNwykczbe1VJOgpuWGPOh9\n5L7Z93utIgw4hHHNjzqf+Aco9n81PO+RjMvS12Pz7oxprMQyAiZw/b2EJluu\nDNVL33dqe1p18YOGLXiYpXJltqatA5W+hTKbS9EE1riw69FMIcY8X7oud+Cq\nFEBViiE3yTxAmRbkC0q5uhuoUcla1s4ZulE76cx3pcCGjYpY+CTH598nGzkG\nmfAHzY3qpXf53itsKnV3tyggBsP7UB0yaJ9Gtq7q0dPd4BzyVgimiJPZpYvw\nwWLM18rzsypC1t73132iS+SIOjWxgdUx8Qnt8GvBp/ZFX9ge1qQi4hhLUTHH\n+yZXyEK8h9SeqemVXz1+Tj0y1nyg+04oXdo7+GvDl5TvgpFIeKVfxGUg8t8t\ntThc\r\n=/vW3\r\n-----END PGP SIGNATURE-----\r\n"},"main":"CometChat.js","readme":"ERROR: No README data found!","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"gajraajay","email":"ajay.gajra@inscripts.in"},"repository":{"url":"git+https://github.com/cometchat-pro/javascript-chat-sdk.git","type":"git"},"_npmVersion":"6.9.0","description":"A complete chat solution.","directories":{},"_nodeVersion":"8.11.3","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/chat_2.0.0-beta9_1572119257900_0.5408446052193405","host":"s3://npm-registry-packages"}},"2.0.0-beta10":{"name":"@cometchat-pro/chat","version":"2.0.0-beta10","keywords":["CometChat","chat","messaging","chat","sdk","pro","message","sdk","messaging","sdk","audio","chat","video","chat","webRTC"],"author":{"name":"CometChat"},"license":"SEE LICENSE IN LICENSE.md","_id":"@cometchat-pro/chat@2.0.0-beta10","maintainers":[{"name":"anantgarg","email":"anant.garg@inscripts.com"},{"name":"gajraajay","email":"ajay.gajra@inscripts.in"},{"name":"inskshitiz","email":"kshitiz.shakya@inscripts.in"}],"homepage":"https://github.com/cometchat-pro/javascript-chat-sdk#readme","bugs":{"url":"https://github.com/cometchat-pro/javascript-chat-sdk/issues"},"dist":{"shasum":"f052007ae19fd5ec53d3f02f811e8949f16bf59d","tarball":"https://registry.npmjs.org/@cometchat-pro/chat/-/chat-2.0.0-beta10.tgz","fileCount":5,"integrity":"sha512-FCa61XSIv0w9GPd2vLkqB9PEfegco+whcbTlZFEmj78ID20Otg3B+95g6zSqCSEu/b6J5iA8YduCyXkjzkWpNg==","signatures":[{"sig":"MEQCIDVBS9+MizSrGhVO0swYYOh0Kxyhipix3Jgy49Rz0wH4AiBJxX4ljs1DAcebB2XJ5C5hdg8+6ETUlQYX43iD6JnELQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":425802,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJduT/lCRA9TVsSAnZWagAAP/QP/3zOcTDLu7G+jlM+pg/3\nS/89utBMJVVxg55qYm5heDEWLxto5y6xg6RWgeF7nRQ3Nl5SJ2jIK+bM1PmY\nL236W9Lcgq96GpVRFqWq+ClgTN8vIZsypHp26Tt8K4dNakQP/8sQSMVbyx/7\nmmHbHEopIte0bVBe7APbO4fuGJkXInt0lMVVn7f7Q0tFG91NOHkPphWGdTd6\nQZX9t8IW+057djsWVj6486PATvjPZR6sG2J924hJVHRa0FyfdFGmKMjYA+2d\nDd97B9dTjNNrj2HO7nECxQ678Lc957365/vuUUxFsqDnKSa9RT6f4Khz2K8m\noLlf5ea7Vt2khB/yif8+ptPDoqToUSGzqcok+YTC68ELMprrPh57o8hXtBYR\nPJCR+k+iHmDFuJjamYBwu+UqbBSfx2UB+Ar384vE9UHGDp47wTElAEbfTwhH\ngZsjSEffGGVKKOH2l4dTnotnC0HsVInmZgAOHc1nUwbqE7aqQelxLs75StnW\nRXq0d3g1HpZO4BkBb1cdBcvr3Qms1RlKd53bDcaLCXrvCBm3Qm626Y5Kr7Ci\n9CX1QEVeUfxsxJNnvzFqcv8rEyQbAS0eTQeSmxLtG9xnIhe2hGRzhYwCVRMO\nuCJ9asucDGcAgWyMcB+YdaiNCvZdzP1unUvshOdDrR1MwyWFJCu4CY+NtHEX\nOd0Z\r\n=kpJY\r\n-----END PGP SIGNATURE-----\r\n"},"main":"CometChat.js","readme":"<div style=\"width:100%\">\n<div style=\"width:100%\">\n\t<div style=\"width:50%; display:inline-block\">\n\t\t<p align=\"center\">\n\t\t<img style=\"text-align:center\" width=\"180\" height=\"180\" alt=\"\" src=\"https://raw.githubusercontent.com/cometchat-pro/ios-swift-chat-app/master/Screenshots/CometChat%20Logo.png\">\t\n\t\t</p>\t\n\t</div>\t\n</div>\n</br>\n</br>\n</div>\n\nCometChat Pro enables you to add voice, video & text chat for your website & app.\n\n<a href=\"https://www.npmjs.com\">[![Platform](https://img.shields.io/badge/Platform-Javascript-blue.svg)](#)</a>\n<a href=\"https://www.npmjs.com\">[![Platform](https://img.shields.io/badge/Platform-NPM-orange.svg)](#)</a>\n\n# Quick Start\n\nThis guide demonstrates how to add chat to a Javascript application using CometChat. Before you begin, we strongly recommend you read the <a href=\"https://prodocs.cometchat.com/docs/concepts\" target=\"_blank\">Key Concepts</a> guide.\n\n## Get your Application Keys\n\n<a href=\"https://app.cometchat.com\" target=\"_blank\">Signup for CometChat</a> and then:\n\n1. Create a new app: Enter a name & hit the **+** button\n2. Head over to the **API Keys** section and click on the **Create API Key** button\n3. Enter a name and select the scope as **Auth Only**\n4. Now note the **API Key** and **App ID**\n\n## Add the CometChat Dependency\n\n### NPM\nFirst, install via npm\n\n`Shell`\n\nFor v1.8.x and older:\n\n```shell\nnpm install @cometchat-pro/chat --save\n```\n\nFor v2.0.0-beta:\n\n```shell\nnpm install @cometchat-pro/chat@beta --save\n```\n\nThen, import the `CometChat` object wherever you want to use CometChat\n\n`JavaScript`\n\n```Javascript \nimport { CometChat } from \"@cometchat-pro/chat\" \n```\n\n### HTML (via CDN)\nInclude the CometChat Javascript library in your HTML code\n\nFor v1.8.x and older:\n\n```HTML\n<script type=\"text/javascript\" src=\"https://unpkg.com/@cometchat-pro/chat/CometChat.js\"></script>\n```\n\nFor v2.0.0-beta:\n\n```HTML\n<script type=\"text/javascript\" src=\"https://unpkg.com/@cometchat-pro/chat@beta/CometChat.js\"></script>\n```\n\n\n\nTo learn more, please refer to our Javascript Developer Documentation:\n\nFor v1.8.x and older: <a href=\"https://prodocs.cometchat.com/docs/js-quick-start\">Documentation</a>\n\nFor v2.0.0-beta: <a href=\"https://prodocs.cometchat.com/v2.0/docs/js-quick-start\">Documentation</a>","gitHead":"f727967b6cee507fdd9161d04b4efc02aea95ee6","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"gajraajay","email":"ajay.gajra@inscripts.in"},"repository":{"url":"git+https://github.com/cometchat-pro/javascript-chat-sdk.git","type":"git"},"_npmVersion":"6.9.0","description":"A complete chat solution.","directories":{},"_nodeVersion":"10.16.1","_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/chat_2.0.0-beta10_1572421605066_0.045704682210448544","host":"s3://npm-registry-packages"}},"2.0.0":{"name":"@cometchat-pro/chat","version":"2.0.0","keywords":["CometChat","chat","messaging","chat","sdk","pro","message","sdk","messaging","sdk","audio","chat","video","chat","webRTC"],"author":{"name":"CometChat"},"license":"SEE LICENSE IN LICENSE.md","_id":"@cometchat-pro/chat@2.0.0","maintainers":[{"name":"anantgarg","email":"anant.garg@inscripts.com"},{"name":"gajraajay","email":"ajay.gajra@inscripts.in"},{"name":"inskshitiz","email":"kshitiz.shakya@inscripts.in"}],"homepage":"https://github.com/cometchat-pro/javascript-chat-sdk#readme","bugs":{"url":"https://github.com/cometchat-pro/javascript-chat-sdk/issues"},"dist":{"shasum":"07fc2bfa91467c1db9aa15ccb4c5c0487c8e71e1","tarball":"https://registry.npmjs.org/@cometchat-pro/chat/-/chat-2.0.0.tgz","fileCount":5,"integrity":"sha512-Sb2HaVm/s3J72q3wl915wmFVguUiexJsIfONkJoyaZTndU5xa4QZqtutlFLW+WCDAWCDyoPGfbLKUpJS3HsICw==","signatures":[{"sig":"MEYCIQD7CfrctXaWNrz8lwJTyi6n5/sc6TWTmaI+i22+EN19awIhALuEu3lFgTzBJD5N7p5w1r2hmp5f/+zRKjVsXrip/FNd","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":425795,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdwtaFCRA9TVsSAnZWagAAXs4P/0lgK9HBPVFkMRA+dfdy\nGAXy75EVnvR7lDsjzxKarZjtf25r8j+vs2y7FPLC8gwIt7tRyt64pK++NUd5\nl9roOKAq9YE2a3na5Kzc2koxAFDJhhfd2/Zd8LxmZ8UWbmOgwHnnbJNoWAy/\nXS2s2xHLVLheaJgsmA85aRhaewmAQjvYFadLTZUKSFkGWIRT1t1xT1k/KeKe\nSavwv7tndn/8tA+Y/IAH1Z+opfuKJJ/DBhtcvbUgXJU+7+F+IQrHeLyL4Enw\n/v0lw0SaOm7BHbM6jIF4rUEf9/6aaIZCQIbT5KlZL+P2kVPJmAHj7dObCyS3\nuwvhXtd6pcCU18oU+hWzpz4mt83dah9mTrvzbkFR+/16muJebCrb70jTGQL0\n+9TPKhzglXowmCWWH7e6cK+PZrO9dyRQ7hEySnMgqrMBXs00DIxBolFIr0JL\n7Qfdo9sBFl2hgLbJqkQ7d/DXENr/vyvdIUXvMsLh1GZyIGHS7+NouKt+U/Ur\ngYuDF5bv/6uVfzHfOkGpMnKUasY/2vZNlqQNPzb+b32RvCXo5LQpA8MJGZom\nMd3lLq6rajkThPiaf5DLgWPeXVx9XXxDLLN1Q1iwgg1dsEwmV7P6Wk5Zhkva\nMzIVm5wfdh22LI+qkbXuz/HV6HAEAGOWlKLKCXM46rzbD9rewWCqkOYHfFtR\n/9ZL\r\n=J5sd\r\n-----END PGP SIGNATURE-----\r\n"},"main":"CometChat.js","gitHead":"f727967b6cee507fdd9161d04b4efc02aea95ee6","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"gajraajay","email":"ajay.gajra@inscripts.in"},"repository":{"url":"git+https://github.com/cometchat-pro/javascript-chat-sdk.git","type":"git"},"_npmVersion":"6.9.0","description":"A complete chat solution.","directories":{},"_nodeVersion":"10.16.1","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/chat_2.0.0_1573049989236_0.9554374427408014","host":"s3://npm-registry-packages"}},"1.8.14":{"name":"@cometchat-pro/chat","version":"1.8.14","keywords":["CometChat","chat","messaging","chat","sdk","pro","message","sdk","messaging","sdk","audio","chat","video","chat","webRTC"],"author":{"name":"CometChat"},"license":"SEE LICENSE IN LICENSE.md","_id":"@cometchat-pro/chat@1.8.14","maintainers":[{"name":"anantgarg","email":"anant.garg@inscripts.com"},{"name":"gajraajay","email":"ajay.gajra@inscripts.in"},{"name":"mayur-bhandari","email":"mayur.bhandari@inscripts.com"},{"name":"taru.agarwal","email":"taru.agarwal@inscripts.com"}],"homepage":"https://github.com/cometchat-pro/javascript-chat-sdk#readme","bugs":{"url":"https://github.com/cometchat-pro/javascript-chat-sdk/issues"},"dist":{"shasum":"e4b0f61845ef14cf45cac69997bbd691d3594241","tarball":"https://registry.npmjs.org/@cometchat-pro/chat/-/chat-1.8.14.tgz","fileCount":5,"integrity":"sha512-iidcgPPwugqj5ueiF9QHD/gkt3cxoKfRPSz3ipBU1zlHlkuEUYfKuD+Crl6rBLY8Czx7gVNWTOdaTZFar7aDJg==","signatures":[{"sig":"MEUCIQDaNGDBUA5F6vT2Dqxk1dk6ervBLgTb0Ov8noylply04wIgCfKZn6gM39FdeE+UNW4RADbBTTlEp5H9QjuMBsfeOwg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":367014,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd1qWnCRA9TVsSAnZWagAAmB8P/jplAS1Iw2x4wpyH/x/t\nZhIgITnGZJX2amvBqoUPf2kk/8sV4XgbrJGXvo9owYrKhJi6ZpKgIBvB5H1c\nh4S8MUedw+ZPCtvcYXGwYYfHGqkVANqGtDw7WDjWxvWmaEqDwSpPO2bUfL+U\nikaBdd80Iba1xV+yFdqF/JZyDcHznDqrquanai4pjcbCPqbPU+yx4y6LnHor\n4sAxS9s0FMbQ/znhhe4QwJd4p/bAxnzN6Lmlt6z6okyxzLmzC7yN9HvbwE23\nYP4Epo6ssUtrC9jVHALfwALty5g43XRg7kulpT4kMyXeBG04Aeh3Ikt/uizM\n51gjGg552SHPXYfL+V1JacrAZacVSg9IwksWforBWdc1KWGPSzxctHnw8A46\nWlCJDv5tnMBMdk2GRPCebJPxSfR/0G8x/GWVcEBYBNbsWpgWVrQyf5udBElQ\nIhaRUSxn64hd0OpapwILK5GIX+dWyO64/2X0/EalrPN5rJcrcoY9vWspMEeg\n4LNlR6bBW+TVTgdfKgdvtHIM0dr3US2BtkbTL1YpP0MbEgcMp34sWWmWFIvz\nFl+JUU/7nRYYRYhpHuyH+Pv5lYU4UA5tJikV61sabqwySywYZ3yzAGEe70R3\nE0svlgSl2oaUC2zq7P6S4A4OWWCTyb2FnL5jxhjaZry9BeSCnCxfDZ7TJYcx\n8Sc/\r\n=A/05\r\n-----END PGP SIGNATURE-----\r\n"},"main":"CometChat.js","gitHead":"e84c6008b4ddeeb7f074590d786d3e8ed9dba529","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"gajraajay","email":"ajay.gajra@inscripts.in"},"repository":{"url":"git+https://github.com/cometchat-pro/javascript-chat-sdk.git","type":"git"},"_npmVersion":"6.9.0","description":"A complete chat solution.","directories":{},"_nodeVersion":"10.16.1","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/chat_1.8.14_1574348198887_0.2492345723114635","host":"s3://npm-registry-packages"}},"2.0.2":{"name":"@cometchat-pro/chat","version":"2.0.2","keywords":["CometChat","chat","messaging","chat","sdk","pro","message","sdk","messaging","sdk","audio","chat","video","chat","webRTC"],"author":{"name":"CometChat"},"license":"SEE LICENSE IN LICENSE.md","_id":"@cometchat-pro/chat@2.0.2","maintainers":[{"name":"anantgarg","email":"anant.garg@inscripts.com"},{"name":"gajraajay","email":"ajay.gajra@inscripts.in"},{"name":"mayur-bhandari","email":"mayur.bhandari@inscripts.com"},{"name":"taru.agarwal","email":"taru.agarwal@inscripts.com"}],"homepage":"https://github.com/cometchat-pro/javascript-chat-sdk#readme","bugs":{"url":"https://github.com/cometchat-pro/javascript-chat-sdk/issues"},"dist":{"shasum":"552b400961d36a323be54db7151ec41510ba7bf1","tarball":"https://registry.npmjs.org/@cometchat-pro/chat/-/chat-2.0.2.tgz","fileCount":5,"integrity":"sha512-fFtVs037wsraOC23UHmtMMAiSQ3myhL57EJPjUnCSv48jmWgOo08Q6jdylosIkpRbykYMEplwjdv33bgtRyjfQ==","signatures":[{"sig":"MEQCIC/3ohdFxGq5AwZptpRm2Z3BSyUvHG4xdHhmej80jHUwAiBt0qon4Eb97p0tJ1TnsF8fjc+oNndVKcLeJkwQdAAbAg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":425310,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd16wqCRA9TVsSAnZWagAAB/IP/3CVWLHu9do8uGbvEbWz\n6rRO9ZE7b9ZbohfxLD4rrwYROXISBIIS1vkUfR2sDs4D57ceQQu2e+iDVNNx\nC3cce3k7JDWQOqjXvDlBE2TYJ4fq7RADO1dsUacjoYwfuwZ5y3ajllwGwi0Q\njhzJWa0EBZx1bbTnKeceyzWmPFp9Htjhylz4hiXWlkQ13/XS5VKiRVTvkcb6\nYb3nIU5ffycazojomlgR3vsGdJu6UCooUfIY1jn06MiyLlJTzp5OWxQrKz2V\nE66/FKV6QUPlQM5vNZZsJ6sljOf3Ra3qdkgQe48vHI4a0SaOt5PF/cIqpK5n\n1sWWeqEtuzBUCplL1GzFJkA6Ps22+bp+JSlP3upHx4rit26ZilDYkVrzV6JC\nSZZBVuhgIggxfhy8/eI8CHZVtf1onFRTAdO46Jk4/owzmKq2+JqMiZuGHn9Q\nFUJcu0KyWBfk8djLsM3yz1PcVlsPX1fTy3/mr8sPi/il5LkOTKr9RsxTcmmU\nUpb/0qUEH8w9eVYXULlWCK4A6p7Gm3wlWwsKKtrkZi53OJhZ87faCj4PtlsC\niNdY66iO2AE53atPGyoRO2E9du2odESrlMVTGJK/droauMxJ4BVYrYDlW0Qj\nUQaUXUliuFzxPis6FtU7XN5QL/RJ0DgFG5ZjFly92cgVXb9j6tgvfzITCJjU\nJiHW\r\n=Ibzi\r\n-----END PGP SIGNATURE-----\r\n"},"main":"CometChat.js","gitHead":"9afa7950128d98d64a907ecd29344a65f9d07352","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"mayur-bhandari","email":"mayur.bhandari@inscripts.com"},"repository":{"url":"git+https://github.com/cometchat-pro/javascript-chat-sdk.git","type":"git"},"_npmVersion":"6.9.0","description":"A complete chat solution.","directories":{},"_nodeVersion":"10.16.1","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/chat_2.0.2_1574415401455_0.8078411580777036","host":"s3://npm-registry-packages"}},"1.8.15":{"name":"@cometchat-pro/chat","version":"1.8.15","keywords":["CometChat","chat","messaging","chat","sdk","pro","message","sdk","messaging","sdk","audio","chat","video","chat","webRTC"],"author":{"name":"CometChat"},"license":"SEE LICENSE IN LICENSE.md","_id":"@cometchat-pro/chat@1.8.15","maintainers":[{"name":"anantgarg","email":"anant.garg@inscripts.com"},{"name":"gajraajay","email":"ajay.gajra@inscripts.in"},{"name":"mayur-bhandari","email":"mayur.bhandari@inscripts.com"},{"name":"taru.agarwal","email":"taru.agarwal@inscripts.com"}],"homepage":"https://github.com/cometchat-pro/javascript-chat-sdk#readme","bugs":{"url":"https://github.com/cometchat-pro/javascript-chat-sdk/issues"},"dist":{"shasum":"c085919143cdce8c05ecf07aecb787e020885d07","tarball":"https://registry.npmjs.org/@cometchat-pro/chat/-/chat-1.8.15.tgz","fileCount":5,"integrity":"sha512-TH8VgDAmbKtO49hiGaniA2h5IxcBsaXilapjt98c/PxuVR1bxkmVaXLLDabJ6lBXMKJ2RMqQ2S/ZY10jzbplbQ==","signatures":[{"sig":"MEUCIQChInt1eQ/g1X0OabHPlAOl/exCnlUAv1pH6hZRsFHJLwIgcHuy+44h8VGzSCU4zVtf4in8ThxI5vuBB875jskiqVo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":367024,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd3o58CRA9TVsSAnZWagAAjZwQAI+J3JXtawPCieCEsT7a\nbsLG6qpnJbpDFnPwKSNRKZ6VPHDTRz+rL7ZD4nJMVTImV2n7iAgC85ZtVKye\n0UTMrQgTSh/sJVnz8K5xmePRLmZFoRz5avEyWwDT+Se579xiQhDDyDaZgZBA\nmQfWPaG/qxUDMZkOQT1rz3e+NoCo75ChmeE14xLQEses3siNL19njlDsE9Io\nN2zOkvxdEKyfogXda9Jx8lPUsBaO2lZXCnWiMoHDqFlN7Sub7mWuJQGUW0Cn\nTmFnUjqdi9SCCz+u0ZUFA+wqO2Ya6GeZEptjiPqoup2/NozSzMq4UaxZ2AZO\noNYc3GTA2IkZl4gkDyjUxXzarRxB3sBSWg+iuZx6jtSOVYk7/rONGkQIGglm\n1PlJIZ1jAnqfc11eM/ZDGvqeLo75rv3r1meJr+ifPCPMV7UNHsSn/lC15ljV\nKHh5+m0mrtRkQku4fuphAs4aDNPy7LWoICJ551LRL7NuhtfS/OfIGISzIxnV\nreLe/G1JM0QrJORaX6+tdg5QLgoioQtRIaWxm5dj2aqQZ4y0NT9lfLuXFUHh\n/8ejyEbgNQhZR3QdebER9nATEov9PI6ExOwim/BzxVNY77zy78m3L2Rqfqrx\n85VyIlajcJlVhuSH3GT+gfMzzXAUIapi9FxfjU64Az15NmZrmxx49A10/Y57\nQwOC\r\n=t/bD\r\n-----END PGP SIGNATURE-----\r\n"},"main":"CometChat.js","gitHead":"824439e39504e643b5c069cae58d8beaae6240ad","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"gajraajay","email":"ajay.gajra@inscripts.in"},"repository":{"url":"git+https://github.com/cometchat-pro/javascript-chat-sdk.git","type":"git"},"_npmVersion":"6.9.0","description":"A complete chat solution.","directories":{},"_nodeVersion":"10.14.2","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/chat_1.8.15_1574866555760_0.12497870391013333","host":"s3://npm-registry-packages"}},"2.0.3":{"name":"@cometchat-pro/chat","version":"2.0.3","keywords":["CometChat","chat","messaging","chat","sdk","pro","message","sdk","messaging","sdk","audio","chat","video","chat","webRTC"],"author":{"name":"CometChat"},"license":"SEE LICENSE IN LICENSE.md","_id":"@cometchat-pro/chat@2.0.3","maintainers":[{"name":"anantgarg","email":"anant.garg@inscripts.com"},{"name":"gajraajay","email":"ajay.gajra@inscripts.in"},{"name":"mayur-bhandari","email":"mayur.bhandari@inscripts.com"},{"name":"taru.agarwal","email":"taru.agarwal@inscripts.com"}],"homepage":"https://github.com/cometchat-pro/javascript-chat-sdk#readme","bugs":{"url":"https://github.com/cometchat-pro/javascript-chat-sdk/issues"},"dist":{"shasum":"1a96f9ab9756f4882e331986c77b636d9ec95639","tarball":"https://registry.npmjs.org/@cometchat-pro/chat/-/chat-2.0.3.tgz","fileCount":5,"integrity":"sha512-guF6y3YRriT51Xpdtn3ti9iCNuuIcCuAd1mm5JjvDSqm6JZBzMEZexGNEMQYIWYq5LeOtwoI0VQ7k21dlNmwew==","signatures":[{"sig":"MEQCIEI/dnM9uayVJ/Pbwk8Lq+dScDvWITnJkr8sph8qIj1rAiACIJU55lCdf+NBki4X9bZyx6rSOa/FwfCdiIZBqQ1Zkg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":419246,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd3o7tCRA9TVsSAnZWagAA6j4P/isnlN9J3GEuRM+0GRpO\nmm3WO0wxOwGW3G4UtLUrZn3P5AwRlmH817Mu0UtxR7bRY1wQtmwmzITilBOf\n1Y2JAV5TvJGKfMpPQSnFY5TcwiCa4UUIKsogdW6K9jGoBxgENQyTwHz15y6l\n+EX4ts38vKmnxZtunGRwcztdlAjrS92KaSJ3TspWYTWAiUaUDX/EopoJ0nl0\nQLl0aroCG4Wu09LrM3A5QfgZJB1KCX3/9dS7iaIfmDC55iW0KnBvvn9ZWGV0\nyvTAHoxjj4HNKufc8gE1RjM3fHhtk4oP3QdUnfkyB0lX5XvrbJ36DBiD2e84\nl+vIbryaqnpwizKmjPqPj+X+H2/HZYMyogQHaShxiI2eosVzvAYRvLSJktoq\nOlpU+0zqtD3FMS7cZvtHmKK1/8Ph6E86iv8mkRuIR+wj3JMbbc99cXvbc27Y\nK2yVrYr49zWm92vKWM5Ld0kdZgn3a4dXFnk+ZqTqEqWPrJuRa/INDWR1xsnj\nqoFvUhCGzZOyJ2ZddF0Z65zi6VOBTPQstRVOkQlzH/sSpzNSlwunzpmHoEJr\nPArZqrhzJKsk81jXDdCZGAoMVrnAk9BvF79sYaPy5Qi1Ib4vObNHmwhQDiAI\nF1So1wmwH4B1h0ngZ4+8wK83YD6Vw4zkaFvzRZLv1DCafXXqmZfGmOJscSs4\nplxP\r\n=4s3F\r\n-----END PGP SIGNATURE-----\r\n"},"main":"CometChat.js","gitHead":"824439e39504e643b5c069cae58d8beaae6240ad","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"gajraajay","email":"ajay.gajra@inscripts.in"},"repository":{"url":"git+https://github.com/cometchat-pro/javascript-chat-sdk.git","type":"git"},"_npmVersion":"6.9.0","description":"A complete chat solution.","directories":{},"_nodeVersion":"10.14.2","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/chat_2.0.3_1574866668758_0.8792739235387517","host":"s3://npm-registry-packages"}},"2.0.4":{"name":"@cometchat-pro/chat","version":"2.0.4","keywords":["CometChat","chat","messaging","chat","sdk","pro","message","sdk","messaging","sdk","audio","chat","video","chat","webRTC"],"author":{"name":"CometChat"},"license":"SEE LICENSE IN LICENSE.md","_id":"@cometchat-pro/chat@2.0.4","maintainers":[{"name":"anantgarg","email":"anant.garg@inscripts.com"},{"name":"gajraajay","email":"ajay.gajra@inscripts.in"},{"name":"mayur-bhandari","email":"mayur.bhandari@inscripts.com"},{"name":"taru.agarwal","email":"taru.agarwal@inscripts.com"}],"homepage":"https://github.com/cometchat-pro/javascript-chat-sdk#readme","bugs":{"url":"https://github.com/cometchat-pro/javascript-chat-sdk/issues"},"dist":{"shasum":"c37edcf069950f95e2b24c283c1f7ce5c74b886d","tarball":"https://registry.npmjs.org/@cometchat-pro/chat/-/chat-2.0.4.tgz","fileCount":5,"integrity":"sha512-v5Unm9WKXbVXvRqgfrHexjInnEYII/KXKapaKDc0mSkz+ipN76uY0crzq5fyshx6Na+hPNThp36Qh7sm6bAmPg==","signatures":[{"sig":"MEUCIBlsANpzLPBB5Ozh440BN4ZgPPkbATWOGy5jss9NlJmcAiEArLlcq4w2ut4xnjrs15S3RpYE6hTz2KmZrUyOqsx/oRM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":425364,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd5jqNCRA9TVsSAnZWagAAX+kP/AqqMYByW7IOi2GSt3SQ\nCCX4ZSU3h203CPlhU8ekEbxIjd5mtcOCdrzM1gJr9qTIQnUReobMUymhJLQe\nUAVXdk1gR4YeSqxAhcWQ51Qxb7O+bshbtk4h5gZ43PtSEDqqEJFvO32LMOKT\nHO13OdNeRYRaw/7RmI+mTzf/3K0IhLEZK+J6vljX2lHtP9ZflflV+fiyzF5Z\n9Dr6URLKa64JyaKbZMFhhaFZPLcXE3bvtD2T453k9Zaoow0Qeh9HpY1vWqFE\n5aB98UfdBXz1FVpTFYAplABQrnQGNskAz8oDXT9OsVt7HkHXhT7TJTIt9b6l\nWkwcEqAMtnUGIq7Xh1TIwHokkJKzW04RCulBuNYq4eApFRacMXulSy7s+jtq\nkE2TGCdnlj9BHy9i5cGWo3a801YZhQDldeNzntRGUDZoIGhYzJwSdiHNaxTn\nE45bNeUgxwuub6o64SMfZNxyMXTN+UP/Y/o+CJmOBen7MmVfX22n82t4sscm\nzdQIGUcd0Lwt6m+SgzhOhsoNj8kc70vmoXpwKxLBbrNc5mWLMNhzv3ETIxmd\nm6g49ofDy530i1iDSQ+9ZmtjG1IORLyXkcuBdqUHqzCWxpg8BehZPthG22/X\nH3ae0BKnD/ZnnIkwu5jho2eAjo10Nz65uLOVn33SzVnSZyfcfhu6d/wmZMtW\ncpv2\r\n=RIiB\r\n-----END PGP SIGNATURE-----\r\n"},"main":"CometChat.js","gitHead":"718f99636ad78b98f587b79a336b39bfd4198c9c","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"mayur-bhandari","email":"mayur.bhandari@inscripts.com"},"repository":{"url":"git+https://github.com/cometchat-pro/javascript-chat-sdk.git","type":"git"},"_npmVersion":"6.9.0","description":"A complete chat solution.","directories":{},"_nodeVersion":"10.16.1","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/chat_2.0.4_1575369356996_0.46931288505199253","host":"s3://npm-registry-packages"}},"2.0.0-beta11":{"name":"@cometchat-pro/chat","version":"2.0.0-beta11","keywords":["CometChat","chat","messaging","chat","sdk","pro","message","sdk","messaging","sdk","audio","chat","video","chat","webRTC"],"author":{"name":"CometChat"},"license":"SEE LICENSE IN LICENSE.md","_id":"@cometchat-pro/chat@2.0.0-beta11","maintainers":[{"name":"anantgarg","email":"anant.garg@inscripts.com"},{"name":"gajraajay","email":"ajay.gajra@inscripts.in"},{"name":"mayur-bhandari","email":"mayur.bhandari@inscripts.com"},{"name":"taru.agarwal","email":"taru.agarwal@inscripts.com"}],"homepage":"https://github.com/cometchat-pro/javascript-chat-sdk#readme","bugs":{"url":"https://github.com/cometchat-pro/javascript-chat-sdk/issues"},"dist":{"shasum":"a269dcfb6de6e0c03e318ffa875171e2b95f3893","tarball":"https://registry.npmjs.org/@cometchat-pro/chat/-/chat-2.0.0-beta11.tgz","fileCount":5,"integrity":"sha512-LEeQVtryA/6hDESgmoJ7zlesD0BxCmBwDUbBdObEBKRM3PpLOdLYFlBRjIMcJ99D6Qewik3TbtT5bwLd4hUbPg==","signatures":[{"sig":"MEYCIQDOw5EUxQTjiWYBg3mXcCd4coIcbQRrVIhLXL6zl4j9GAIhAIvbOLEAlwBs4OfFLlGhiNs0aB7UIKvEcGLymqdyflrk","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":426765,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd8nL/CRA9TVsSAnZWagAATx8P/06j9zUMuESec0gW3nTI\nkzYHokvJD4QtkJdslWFrSPHDjxhjiL3ckXcI81tVhGjPwogk3MkqGcx+IMWF\nbKvWm6vRgOSrrnRw/l8Il64daqIoK3dOS9sG64H9AH5ZtgNsTvCXDqoa27za\nQux+gK7qMSuoLs+/+2Ukn2SsdqmnfKGYPdYNKOoMGJZpUV1NjCjV5LyrDe6y\nBoxxFfrqUaSGBpZrO/lMAyGA87fDPgLErDHtLmktNiXrzu7w6MILuuziMt7H\nbijta7+zgU+0lysGBKbJgaxsiXzY0PupXAGj9XU+G7rKnOy5Pj4+p/NgJ/pS\n7WSLu52xhiJN8yKX3GUJskW6OlqkDX8Xhbtpgf4ZMF3zqsHJW0qsT/VKZ/WO\nRvd+NeJAfBlru6CntlYm4HApDjztf8xlwFUp0DK8yarReYTTyPH9naB7/5Wj\njX78YmXZGG00DMzM05mkOVk/TURDCQuSVg5KWnuyBPG6yerGDcd6prt+WT2L\nkcIYQrCNXeC7eg4d5TSUX2YrN9+f1+MY+q0jxvZUfWtYogI9K2Oedb8+kl2f\nu/RXripgn2T5MIZeOeIc0ySkk5x2K0uB/Of5CsC8JWknhe04uD7g8QCtNejG\nTVak/VNtjTiolN33u1k3D+16i8rVCmdjg9Mfdf+p4YYnMKDkAo45kbgct6kv\nUpJb\r\n=Bkdn\r\n-----END PGP SIGNATURE-----\r\n"},"main":"CometChat.js","readme":"<div style=\"width:100%\">\n<div style=\"width:100%\">\n\t<div style=\"width:50%; display:inline-block\">\n\t\t<p align=\"center\">\n\t\t<img style=\"text-align:center\" width=\"180\" height=\"180\" alt=\"\" src=\"https://raw.githubusercontent.com/cometchat-pro/ios-swift-chat-app/master/Screenshots/CometChat%20Logo.png\">\t\n\t\t</p>\t\n\t</div>\t\n</div>\n</br>\n</br>\n</div>\n\nCometChat Pro enables you to add voice, video & text chat for your website & app.\n\n<a href=\"https://www.npmjs.com\">[![Platform](https://img.shields.io/badge/Platform-Javascript-blue.svg)](#)</a>\n<a href=\"https://www.npmjs.com\">[![Platform](https://img.shields.io/badge/Platform-NPM-orange.svg)](#)</a>\n\n# Quick Start\n\nThis guide demonstrates how to add chat to a Javascript application using CometChat. Before you begin, we strongly recommend you read the <a href=\"https://prodocs.cometchat.com/docs/concepts\" target=\"_blank\">Key Concepts</a> guide.\n\n## Get your Application Keys\n\n<a href=\"https://app.cometchat.com\" target=\"_blank\">Signup for CometChat</a> and then:\n\n1. Create a new app: Enter a name & hit the **+** button\n2. Head over to the **API Keys** section and click on the **Create API Key** button\n3. Enter a name and select the scope as **Auth Only**\n4. Now note the **API Key** and **App ID**\n\n## Add the CometChat Dependency\n\n### NPM\nFirst, install via npm\n\n`Shell`\n\nFor v1.8.x and older:\n\n```shell\nnpm install @cometchat-pro/chat@1.8.14 --save\n```\n\nFor v2.0.x:\n\n```shell\nnpm install @cometchat-pro/chat@2.0.4 --save\n```\n\nThen, import the `CometChat` object wherever you want to use CometChat\n\n`JavaScript`\n\n```Javascript \nimport { CometChat } from \"@cometchat-pro/chat\" \n```\n\n### HTML (via CDN)\nInclude the CometChat Javascript library in your HTML code\n\nFor v1.8.x and older:\n\n```HTML\n<script type=\"text/javascript\" src=\"https://unpkg.com/@cometchat-pro/chat@1.8.14/CometChat.js\"></script>\n```\n\nFor v2.0.x:\n\n```HTML\n<script type=\"text/javascript\" src=\"https://unpkg.com/@cometchat-pro/chat@2.0.4/CometChat.js\"></script>\n```\n\n\n\nTo learn more, please refer to our Javascript Developer Documentation:\n\nFor v1.8.x and older: <a href=\"https://prodocs.cometchat.com/docs/js-quick-start\">Documentation</a>\n\nFor v2.0.0-beta: <a href=\"https://prodocs.cometchat.com/v2.0/docs/js-quick-start\">Documentation</a>","gitHead":"718f99636ad78b98f587b79a336b39bfd4198c9c","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"mayur-bhandari","email":"mayur.bhandari@inscripts.com"},"repository":{"url":"git+https://github.com/cometchat-pro/javascript-chat-sdk.git","type":"git"},"_npmVersion":"6.9.0","description":"A complete chat solution.","directories":{},"_nodeVersion":"10.16.1","_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/chat_2.0.0-beta11_1576170238923_0.5582960822799301","host":"s3://npm-registry-packages"}},"2.0.5-beta1":{"name":"@cometchat-pro/chat","version":"2.0.5-beta1","keywords":["CometChat","chat","messaging","chat","sdk","pro","message","sdk","messaging","sdk","audio","chat","video","chat","webRTC"],"author":{"name":"CometChat"},"license":"SEE LICENSE IN LICENSE.md","_id":"@cometchat-pro/chat@2.0.5-beta1","maintainers":[{"name":"anantgarg","email":"anant.garg@inscripts.com"},{"name":"gajraajay","email":"ajay.gajra@inscripts.in"},{"name":"mayur-bhandari","email":"mayur.bhandari@inscripts.com"},{"name":"taru.agarwal","email":"taru.agarwal@inscripts.com"}],"homepage":"https://github.com/cometchat-pro/javascript-chat-sdk#readme","bugs":{"url":"https://github.com/cometchat-pro/javascript-chat-sdk/issues"},"dist":{"shasum":"0b37d701553e1045b2de5f4ea1445315efbf1baf","tarball":"https://registry.npmjs.org/@cometchat-pro/chat/-/chat-2.0.5-beta1.tgz","fileCount":5,"integrity":"sha512-Whsol9sGMGuKTUM9DeNf1bLIdWG4CwnaCqVZUKQVr4yaGYgeKmF58mlCJaxzNkqLK3I3QQwbK2KHvAkqX3rCIQ==","signatures":[{"sig":"MEUCIQDIg7C4VnNxp079cVKlYiUXHorrwQfV51PlFTeYh8UjwAIge2ornG64jZ65MbRW8wmQheZRobXud43+KCC7bWawZLc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":426770,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd88nNCRA9TVsSAnZWagAArgoP/ioNeSPyUwEpc5VCqubF\nxXB+R8RwTWFFBSArrSkxysXek20Avj4duEpnQiSPOVNMmtP80rWCZBJJwwh+\nVWZmhR0XbRQ21lumGhUSmi1whqUuGYjyfvpAZCHMI/FBvoPWxv/ZKNAcJ9Qw\nGROQ4T208JZNqn5uMLTGGOkZh7LxoZzKjjJ23GBrc/ChY5Fl9W5FJQBeJm+v\nLa+DbvBjv4LYmA85k/6xYtVY5Kc0rD/Z26lA0xNM82/p2lLP1uyxAzpdtxeZ\nd4a7UyzL8n4OzrpXZoxxefEQv3hrBA9cAzEa3AJl8Mf+n7tTR+lHohFDLSsD\nXNyzPAahvvK0KrfEpeFhhqmKjUwmKvvZIdnhroA/8vN18DkWQaed7bnD/B9T\nFhomWXDc4+7fA/QfGUhb5mfZSJuMwuLuSoqsiNHifYQk3cS+puYDLULr9oT3\nlOzyoGkKGUz8PfUGS3OPmpKPRQJQo/+p8DzQk7Hs/Na3qyoanCA6ZhAEWqIf\nhrg3zeQ2Gf2FOIWOsXm4mBtNz2bTLYLrxMQvaBcG48Z3ccXhiZJL3ZLn2BDB\n3OsGDJbZRUGVvXeD/W6bKPfuBa698gnIyPaV2aefVQKcWx/5wx2ehIxw1lZ4\n4DinkJGdn92HMBmjzv9Fkis70h6/6du/6sTpYuW9wpLCNsStIpt7tksMtCgv\nPPP7\r\n=SYp0\r\n-----END PGP SIGNATURE-----\r\n"},"main":"CometChat.js","readme":"<div style=\"width:100%\">\n<div style=\"width:100%\">\n\t<div style=\"width:50%; display:inline-block\">\n\t\t<p align=\"center\">\n\t\t<img style=\"text-align:center\" width=\"180\" height=\"180\" alt=\"\" src=\"https://raw.githubusercontent.com/cometchat-pro/ios-swift-chat-app/master/Screenshots/CometChat%20Logo.png\">\t\n\t\t</p>\t\n\t</div>\t\n</div>\n</br>\n</br>\n</div>\n\nCometChat Pro enables you to add voice, video & text chat for your website & app.\n\n<a href=\"https://www.npmjs.com\">[![Platform](https://img.shields.io/badge/Platform-Javascript-blue.svg)](#)</a>\n<a href=\"https://www.npmjs.com\">[![Platform](https://img.shields.io/badge/Platform-NPM-orange.svg)](#)</a>\n\n# Quick Start\n\nThis guide demonstrates how to add chat to a Javascript application using CometChat. Before you begin, we strongly recommend you read the <a href=\"https://prodocs.cometchat.com/docs/concepts\" target=\"_blank\">Key Concepts</a> guide.\n\n## Get your Application Keys\n\n<a href=\"https://app.cometchat.com\" target=\"_blank\">Signup for CometChat</a> and then:\n\n1. Create a new app: Enter a name & hit the **+** button\n2. Head over to the **API Keys** section and click on the **Create API Key** button\n3. Enter a name and select the scope as **Auth Only**\n4. Now note the **API Key** and **App ID**\n\n## Add the CometChat Dependency\n\n### NPM\nFirst, install via npm\n\n`Shell`\n\nFor v1.8.x and older:\n\n```shell\nnpm install @cometchat-pro/chat@1.8.14 --save\n```\n\nFor v2.0.x:\n\n```shell\nnpm install @cometchat-pro/chat@2.0.4 --save\n```\n\nThen, import the `CometChat` object wherever you want to use CometChat\n\n`JavaScript`\n\n```Javascript \nimport { CometChat } from \"@cometchat-pro/chat\" \n```\n\n### HTML (via CDN)\nInclude the CometChat Javascript library in your HTML code\n\nFor v1.8.x and older:\n\n```HTML\n<script type=\"text/javascript\" src=\"https://unpkg.com/@cometchat-pro/chat@1.8.14/CometChat.js\"></script>\n```\n\nFor v2.0.x:\n\n```HTML\n<script type=\"text/javascript\" src=\"https://unpkg.com/@cometchat-pro/chat@2.0.4/CometChat.js\"></script>\n```\n\n\n\nTo learn more, please refer to our Javascript Developer Documentation:\n\nFor v1.8.x and older: <a href=\"https://prodocs.cometchat.com/docs/js-quick-start\">Documentation</a>\n\nFor v2.0.0-beta: <a href=\"https://prodocs.cometchat.com/v2.0/docs/js-quick-start\">Documentation</a>","gitHead":"76aa3a65569b3ddda926f209e6f5d03cc831fd90","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"mayur-bhandari","email":"mayur.bhandari@inscripts.com"},"repository":{"url":"git+https://github.com/cometchat-pro/javascript-chat-sdk.git","type":"git"},"_npmVersion":"6.9.0","description":"A complete chat solution.","directories":{},"_nodeVersion":"10.16.1","_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/chat_2.0.5-beta1_1576257997302_0.9721774084374399","host":"s3://npm-registry-packages"}},"2.0.5-beta2":{"name":"@cometchat-pro/chat","version":"2.0.5-beta2","keywords":["CometChat","chat","messaging","chat","sdk","pro","message","sdk","messaging","sdk","audio","chat","video","chat","webRTC"],"author":{"name":"CometChat"},"license":"SEE LICENSE IN LICENSE.md","_id":"@cometchat-pro/chat@2.0.5-beta2","maintainers":[{"name":"anantgarg","email":"anant.garg@inscripts.com"},{"name":"gajraajay","email":"ajay.gajra@inscripts.in"},{"name":"mayur-bhandari","email":"mayur.bhandari@inscripts.com"},{"name":"taru.agarwal","email":"taru.agarwal@inscripts.com"}],"homepage":"https://github.com/cometchat-pro/javascript-chat-sdk#readme","bugs":{"url":"https://github.com/cometchat-pro/javascript-chat-sdk/issues"},"dist":{"shasum":"da7a2650d1f8f33ac283f4ce7ac5709f50f27200","tarball":"https://registry.npmjs.org/@cometchat-pro/chat/-/chat-2.0.5-beta2.tgz","fileCount":5,"integrity":"sha512-mkhTauxtM7hLIVnCVtYGHkpEklRgbNMgSTSpX+qgV7YdjhnOiSXR3Dz4lDjxattrTJxyoqPBUNNY0hRRjFSWeg==","signatures":[{"sig":"MEUCIQCiKXgTEf2BWx0NM8ivPHYLQX/ZZ3zYuCJ+IJgOxkNR4gIgQoIylqCFmudTZXRPCxHuTTw0jWFArmnKs3gCj0BOIao=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":427194,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd97gBCRA9TVsSAnZWagAAaUsP/3b/Y9qK14EXeJ0R7DX7\nP3xLFnZz2Ls+rvDCBPsLiY6b0io4N9kyEBi+tzyicX1NLFP7StgHV/IrYOlu\n68O9HInS6cKqXVHi/FVRxMNnE0eRJGVpEBnjrFPeCEkiI2K8Ux5c7cOZFIUb\nC0+VhT37QUoh/YtBwLLfNc1cftfHof0YqEAlopH7pRwiwWxhnjKzXvAeKjNV\nppDcrKIx7tTVM69JGTGrp10hALZjEBejJf4TJuNGsR3MTcvpiX/Sg8mBqLOr\niI+/Ob1qpPcFChduvhG7QHVFChcD8icCFIIkLKhyhe/XWug/JN1Gd0hzCN/3\nNRURRkD9FJsfpCPbUIs7J1L5nIckoGeL859TeODZvnmfFFzz/DAh2XbOU6Rv\nxppJK+mWo5gZgxWl7EWQ4pRNrM6Hvxl88k8F+rJ5L5pV1K2E4IFrH6fZZno3\nqG+0lod9KqPGOrS93KtoIP2KBV6flWp/xh0NIuACeM0CbaQZt8evKWMDo0xp\n096BYYCRegw6z8eg0boq3uVaIw/5gdJ64A8cuMPXJ3rMd3YhBC7OZDtBTR/t\nM1qoKgnbeUo1L2wuwNch5N7sWaCe45kdkOEWApG/J2e04M/vPIEpOoY1yGsp\npxWUbPuTke07OtOaSOP4494wRFlaHpIX8ziR5WHf7lUCLAR+0oqeopW3sF8f\nDyRa\r\n=qsXz\r\n-----END PGP SIGNATURE-----\r\n"},"main":"CometChat.js","readme":"<div style=\"width:100%\">\n<div style=\"width:100%\">\n\t<div style=\"width:50%; display:inline-block\">\n\t\t<p align=\"center\">\n\t\t<img style=\"text-align:center\" width=\"180\" height=\"180\" alt=\"\" src=\"https://raw.githubusercontent.com/cometchat-pro/ios-swift-chat-app/master/Screenshots/CometChat%20Logo.png\">\t\n\t\t</p>\t\n\t</div>\t\n</div>\n</br>\n</br>\n</div>\n\nCometChat Pro enables you to add voice, video & text chat for your website & app.\n\n<a href=\"https://www.npmjs.com\">[![Platform](https://img.shields.io/badge/Platform-Javascript-blue.svg)](#)</a>\n<a href=\"https://www.npmjs.com\">[![Platform](https://img.shields.io/badge/Platform-NPM-orange.svg)](#)</a>\n\n# Quick Start\n\nThis guide demonstrates how to add chat to a Javascript application using CometChat. Before you begin, we strongly recommend you read the <a href=\"https://prodocs.cometchat.com/docs/concepts\" target=\"_blank\">Key Concepts</a> guide.\n\n## Get your Application Keys\n\n<a href=\"https://app.cometchat.com\" target=\"_blank\">Signup for CometChat</a> and then:\n\n1. Create a new app: Enter a name & hit the **+** button\n2. Head over to the **API Keys** section and click on the **Create API Key** button\n3. Enter a name and select the scope as **Auth Only**\n4. Now note the **API Key** and **App ID**\n\n## Add the CometChat Dependency\n\n### NPM\nFirst, install via npm\n\n`Shell`\n\nFor v1.8.x and older:\n\n```shell\nnpm install @cometchat-pro/chat@1.8.14 --save\n```\n\nFor v2.0.x:\n\n```shell\nnpm install @cometchat-pro/chat@2.0.4 --save\n```\n\nThen, import the `CometChat` object wherever you want to use CometChat\n\n`JavaScript`\n\n```Javascript \nimport { CometChat } from \"@cometchat-pro/chat\" \n```\n\n### HTML (via CDN)\nInclude the CometChat Javascript library in your HTML code\n\nFor v1.8.x and older:\n\n```HTML\n<script type=\"text/javascript\" src=\"https://unpkg.com/@cometchat-pro/chat@1.8.14/CometChat.js\"></script>\n```\n\nFor v2.0.x:\n\n```HTML\n<script type=\"text/javascript\" src=\"https://unpkg.com/@cometchat-pro/chat@2.0.4/CometChat.js\"></script>\n```\n\n\n\nTo learn more, please refer to our Javascript Developer Documentation:\n\nFor v1.8.x and older: <a href=\"https://prodocs.cometchat.com/docs/js-quick-start\">Documentation</a>\n\nFor v2.0.0-beta: <a href=\"https://prodocs.cometchat.com/v2.0/docs/js-quick-start\">Documentation</a>","gitHead":"8a46d00286184cf6ce0bc6c5a30895a382f45532","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"mayur-bhandari","email":"mayur.bhandari@inscripts.com"},"repository":{"url":"git+https://github.com/cometchat-pro/javascript-chat-sdk.git","type":"git"},"_npmVersion":"6.9.0","description":"A complete chat solution.","directories":{},"_nodeVersion":"10.16.1","_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/chat_2.0.5-beta2_1576515585009_0.5549932033688223","host":"s3://npm-registry-packages"}},"2.0.5-beta3":{"name":"@cometchat-pro/chat","version":"2.0.5-beta3","keywords":["CometChat","chat","messaging","chat","sdk","pro","message","sdk","messaging","sdk","audio","chat","video","chat","webRTC"],"author":{"name":"CometChat"},"license":"SEE LICENSE IN LICENSE.md","_id":"@cometchat-pro/chat@2.0.5-beta3","maintainers":[{"name":"anantgarg","email":"anant.garg@inscripts.com"},{"name":"gajraajay","email":"ajay.gajra@inscripts.in"},{"name":"mayur-bhandari","email":"mayur.bhandari@inscripts.com"},{"name":"taru.agarwal","email":"taru.agarwal@inscripts.com"}],"homepage":"https://github.com/cometchat-pro/javascript-chat-sdk#readme","bugs":{"url":"https://github.com/cometchat-pro/javascript-chat-sdk/issues"},"dist":{"shasum":"458dfd811374ca01d76f634c52aefd14c2501651","tarball":"https://registry.npmjs.org/@cometchat-pro/chat/-/chat-2.0.5-beta3.tgz","fileCount":5,"integrity":"sha512-0D7FotQlRdrI6iw4bSi4vrmiTpQNCBNGPNUU6/PyZYCpbU4muWMoGfIjPCm0o0UsJ9/z5t6HPrXxGdn0ZGT3jQ==","signatures":[{"sig":"MEUCIGXIL3Z7Hvvr1zEHPxW+Hev+xUKU5uBW/MbcmamOKbEQAiEA+8eB8Ha6fCnMuM2Yr2FbhGcPZCDuKKLsFr9vS/wiUc4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":428249,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd+62BCRA9TVsSAnZWagAAzgkP+wSCgr8tGk4krlB+gfPQ\nhbKihNtumsfz2/l/GHROir8Lwk4brFOEb/m6kdVS6ltVgvRFrMuzrnumwAJ4\nxZ/8chibDZW2SVlWykX8e9FeoZWjFbcgMYRDmZWPCjNIwyf8oIiUcYGbrwdp\nA15nAeFpuq/IupDxQid/DWXHHCfLpAxF4CVg89zvhfT/4btv/1aZ4esk4S0y\nCWtvVviLMSd35AUvsLVdN3YibGzU0JlYiCZ7VHDar/Z+O8QoIXEWgjeOx/Lg\njEZHDJm9CQMsXXJ4Qx6kYMbDuMT6aEzZKGQ1xA+iNfeXZr5h66+dKpqFVZZa\nQbrO4MvSUzKb6jRrqEGZvTSZTLWv4sO/vY7DN2Sblx5UIlSQUxrHYMQk4wK9\nfAcHxWUt6zTN+/iu63wm3vwOTYjWMLQ+lSatOzEjAWuPI95pEhSKfUfVoPju\n+bEZK/swTvNCAFEla0OmZzzqQshVHpbCpU4BkEpZNKhMdD59fsXzHcLY/hSB\nWOx3TSA9I7oavKLL2Rg9mYBznsI0RehNPKWmKYaSfS3ryvWpYlkfGuUXT+xB\n+n0dr2INExZxz7QVNVkVC3eIUk/F7tucfjbmK/zkLGZJ3RPpqHHBGApqi0KX\nBtEvqH0/SGXR3+FniFMG3lOnc8RBMYPL5oavBBNI7kYmOHq2wkDHA6STbcS/\nXcPB\r\n=JBR/\r\n-----END PGP SIGNATURE-----\r\n"},"main":"CometChat.js","readme":"<div style=\"width:100%\">\n<div style=\"width:100%\">\n\t<div style=\"width:50%; display:inline-block\">\n\t\t<p align=\"center\">\n\t\t<img style=\"text-align:center\" width=\"180\" height=\"180\" alt=\"\" src=\"https://raw.githubusercontent.com/cometchat-pro/ios-swift-chat-app/master/Screenshots/CometChat%20Logo.png\">\t\n\t\t</p>\t\n\t</div>\t\n</div>\n</br>\n</br>\n</div>\n\nCometChat Pro enables you to add voice, video & text chat for your website & app.\n\n<a href=\"https://www.npmjs.com\">[![Platform](https://img.shields.io/badge/Platform-Javascript-blue.svg)](#)</a>\n<a href=\"https://www.npmjs.com\">[![Platform](https://img.shields.io/badge/Platform-NPM-orange.svg)](#)</a>\n\n# Quick Start\n\nThis guide demonstrates how to add chat to a Javascript application using CometChat. Before you begin, we strongly recommend you read the <a href=\"https://prodocs.cometchat.com/docs/concepts\" target=\"_blank\">Key Concepts</a> guide.\n\n## Get your Application Keys\n\n<a href=\"https://app.cometchat.com\" target=\"_blank\">Signup for CometChat</a> and then:\n\n1. Create a new app: Enter a name & hit the **+** button\n2. Head over to the **API Keys** section and click on the **Create API Key** button\n3. Enter a name and select the scope as **Auth Only**\n4. Now note the **API Key** and **App ID**\n\n## Add the CometChat Dependency\n\n### NPM\nFirst, install via npm\n\n`Shell`\n\nFor v1.8.x and older:\n\n```shell\nnpm install @cometchat-pro/chat@1.8.14 --save\n```\n\nFor v2.0.x:\n\n```shell\nnpm install @cometchat-pro/chat@2.0.4 --save\n```\n\nThen, import the `CometChat` object wherever you want to use CometChat\n\n`JavaScript`\n\n```Javascript \nimport { CometChat } from \"@cometchat-pro/chat\" \n```\n\n### HTML (via CDN)\nInclude the CometChat Javascript library in your HTML code\n\nFor v1.8.x and older:\n\n```HTML\n<script type=\"text/javascript\" src=\"https://unpkg.com/@cometchat-pro/chat@1.8.14/CometChat.js\"></script>\n```\n\nFor v2.0.x:\n\n```HTML\n<script type=\"text/javascript\" src=\"https://unpkg.com/@cometchat-pro/chat@2.0.4/CometChat.js\"></script>\n```\n\n\n\nTo learn more, please refer to our Javascript Developer Documentation:\n\nFor v1.8.x and older: <a href=\"https://prodocs.cometchat.com/docs/js-quick-start\">Documentation</a>\n\nFor v2.0.0-beta: <a href=\"https://prodocs.cometchat.com/v2.0/docs/js-quick-start\">Documentation</a>","gitHead":"9826dc6cfd66c5a409408538079993c3dac5a8c5","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"mayur-bhandari","email":"mayur.bhandari@inscripts.com"},"repository":{"url":"git+https://github.com/cometchat-pro/javascript-chat-sdk.git","type":"git"},"_npmVersion":"6.9.0","description":"A complete chat solution.","directories":{},"_nodeVersion":"10.16.1","_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/chat_2.0.5-beta3_1576775040541_0.4213573076526027","host":"s3://npm-registry-packages"}},"2.0.5-beta4":{"name":"@cometchat-pro/chat","version":"2.0.5-beta4","keywords":["CometChat","chat","messaging","chat","sdk","pro","message","sdk","messaging","sdk","audio","chat","video","chat","webRTC"],"author":{"name":"CometChat"},"license":"SEE LICENSE IN LICENSE.md","_id":"@cometchat-pro/chat@2.0.5-beta4","maintainers":[{"name":"anantgarg","email":"anant.garg@inscripts.com"},{"name":"gajraajay","email":"ajay.gajra@inscripts.in"},{"name":"mayur-bhandari","email":"mayur.bhandari@inscripts.com"},{"name":"taru.agarwal","email":"taru.agarwal@inscripts.com"}],"homepage":"https://github.com/cometchat-pro/javascript-chat-sdk#readme","bugs":{"url":"https://github.com/cometchat-pro/javascript-chat-sdk/issues"},"dist":{"shasum":"52dd6ca0e262f0f7a9c7d918ff1321ee00096b09","tarball":"https://registry.npmjs.org/@cometchat-pro/chat/-/chat-2.0.5-beta4.tgz","fileCount":5,"integrity":"sha512-KItjvGOVDdQZ4MFZyJdmztQZuufYpjmPAQqVGmeEAd1R9RC6ZG73H+Tp2/ROoSloK0x7JrQ/6puMxj1KmMvzHg==","signatures":[{"sig":"MEUCIBfksLg5XCxuhUs3+9IGZv/WH0zxvR/c5gVaJYNGPaIkAiEA9qUdRJqUESs8DbnT7QBhufCh0q4NGwYfRWFHdSTXXOc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":443250,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeBbpcCRA9TVsSAnZWagAAvG4P/jz7v3/APDhEm3u0662U\nSyitoj4mB9rWWnEq9wirYWpHzVuYMlIi19EjrPlXbArrCqCF0VeqbC7Pzc2m\nsJU+Wz3v/Ta3ATSHT011wazwTt9uOs8AmKvG/lJH3XWoZCEJhkdoqrfMoq9j\n2LQfqadI77YypBAlGOgHhYnRe0YasYxUAjUWS9H/G2zxs9xwL8kx40nC5E/t\n5ONnM3FvqSl5HZrSp/Dorl0bOCaWDAudjACs3ygDjo6ZyOaIqtqqJdYfKa4d\nMMciQg7FTB3gQykpMBE49j7BWMTgQiINg9gNbKRDyoWkVqDABlntM1lth0jD\nGcoK272iweYZf6sVgdN/jd4TW9lWUSuM6ocFJe7B3mwYURU9AUIVFKNw4uHd\nou1oO0rJ04U3i+vH7NYcwJaFslFQ5phWbR7Ixm8YtWmBllY7zrOfvhqlgTFK\n4qBFX9Ws2Hy/VDrqHp57wqC5y3FWdB8ETAaNkIRc+jRG+OneTCpe6xOTiRRf\nx+tET0kCLvS13IKgUsjORHDpdV0tuBxvcsyHwMPnL6TxbOZjdSEKJbEQ640s\nH28ErHO9CtstdQAaQBagdWhCVKzEo2fo17l44ufePxNpwzSrU7eyZihxERgr\nZzwYGchhc1zxXuzDkhDs9SxbDJ+RzvM18LULIKjIRyUsLZnFXw4neqR3NuQB\nCQS+\r\n=EH0x\r\n-----END PGP SIGNATURE-----\r\n"},"main":"CometChat.js","readme":"<div style=\"width:100%\">\n<div style=\"width:100%\">\n\t<div style=\"width:50%; display:inline-block\">\n\t\t<p align=\"center\">\n\t\t<img style=\"text-align:center\" width=\"180\" height=\"180\" alt=\"\" src=\"https://raw.githubusercontent.com/cometchat-pro/ios-swift-chat-app/master/Screenshots/CometChat%20Logo.png\">\t\n\t\t</p>\t\n\t</div>\t\n</div>\n</br>\n</br>\n</div>\n\nCometChat Pro enables you to add voice, video & text chat for your website & app.\n\n<a href=\"https://www.npmjs.com\">[![Platform](https://img.shields.io/badge/Platform-Javascript-blue.svg)](#)</a>\n<a href=\"https://www.npmjs.com\">[![Platform](https://img.shields.io/badge/Platform-NPM-orange.svg)](#)</a>\n\n# Quick Start\n\nThis guide demonstrates how to add chat to a Javascript application using CometChat. Before you begin, we strongly recommend you read the <a href=\"https://prodocs.cometchat.com/docs/concepts\" target=\"_blank\">Key Concepts</a> guide.\n\n## Get your Application Keys\n\n<a href=\"https://app.cometchat.com\" target=\"_blank\">Signup for CometChat</a> and then:\n\n1. Create a new app: Enter a name & hit the **+** button\n2. Head over to the **API Keys** section and click on the **Create API Key** button\n3. Enter a name and select the scope as **Auth Only**\n4. Now note the **API Key** and **App ID**\n\n## Add the CometChat Dependency\n\n### NPM\nFirst, install via npm\n\n`Shell`\n\nFor v1.8.x and older:\n\n```shell\nnpm install @cometchat-pro/chat@1.8.14 --save\n```\n\nFor v2.0.x:\n\n```shell\nnpm install @cometchat-pro/chat@2.0.4 --save\n```\n\nThen, import the `CometChat` object wherever you want to use CometChat\n\n`JavaScript`\n\n```Javascript \nimport { CometChat } from \"@cometchat-pro/chat\" \n```\n\n### HTML (via CDN)\nInclude the CometChat Javascript library in your HTML code\n\nFor v1.8.x and older:\n\n```HTML\n<script type=\"text/javascript\" src=\"https://unpkg.com/@cometchat-pro/chat@1.8.14/CometChat.js\"></script>\n```\n\nFor v2.0.x:\n\n```HTML\n<script type=\"text/javascript\" src=\"https://unpkg.com/@cometchat-pro/chat@2.0.4/CometChat.js\"></script>\n```\n\n\n\nTo learn more, please refer to our Javascript Developer Documentation:\n\nFor v1.8.x and older: <a href=\"https://prodocs.cometchat.com/docs/js-quick-start\">Documentation</a>\n\nFor v2.0.0-beta: <a href=\"https://prodocs.cometchat.com/v2.0/docs/js-quick-start\">Documentation</a>","gitHead":"9826dc6cfd66c5a409408538079993c3dac5a8c5","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"mayur-bhandari","email":"mayur.bhandari@inscripts.com"},"repository":{"url":"git+https://github.com/cometchat-pro/javascript-chat-sdk.git","type":"git"},"_npmVersion":"6.9.0","description":"A complete chat solution.","directories":{},"_nodeVersion":"10.16.1","_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/chat_2.0.5-beta4_1577433691463_0.32244371957026674","host":"s3://npm-registry-packages"}},"2.0.5-beta5":{"name":"@cometchat-pro/chat","version":"2.0.5-beta5","keywords":["CometChat","chat","messaging","chat","sdk","pro","message","sdk","messaging","sdk","audio","chat","video","chat","webRTC"],"author":{"name":"CometChat"},"license":"SEE LICENSE IN LICENSE.md","_id":"@cometchat-pro/chat@2.0.5-beta5","maintainers":[{"name":"anantgarg","email":"anant.garg@inscripts.com"},{"name":"gajraajay","email":"ajay.gajra@inscripts.in"},{"name":"mayur-bhandari","email":"mayur.bhandari@inscripts.com"},{"name":"taru.agarwal","email":"taru.agarwal@inscripts.com"}],"homepage":"https://github.com/cometchat-pro/javascript-chat-sdk#readme","bugs":{"url":"https://github.com/cometchat-pro/javascript-chat-sdk/issues"},"dist":{"shasum":"300600545a5ddf5e9099400a6cc2e8e36a492b8b","tarball":"https://registry.npmjs.org/@cometchat-pro/chat/-/chat-2.0.5-beta5.tgz","fileCount":5,"integrity":"sha512-eQunxAjNhCKePHoyUpajdkArZOokp4R0G3H90t64beRPIhHIC6jWky7q7TXsu5KFOG4yDZMRkbuYCSycp8u/QQ==","signatures":[{"sig":"MEYCIQCZc/MBXcgb4boG7uMgLcVD1cHXXZZiJOKAOFF6KMdd1wIhAN/8QK/x+FdNPzYW/wlD1eX5f0Go39kFB6pwZCTwUWNh","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":443708,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeDvBDCRA9TVsSAnZWagAA/zwP/2dazdiLXo8pM2VqGvCx\nEqDDrG+SKRnIFB99p/lc7yHF7vfysxMHjZYceSB8OfUhpCgxxA6rPWhCJKA9\nHkUNCKXkTujF2IXZ5y6AvnlvOOYkF/CTJth6NSNqAhKQUZ4iQe2YCu8r/bF3\nrLVZhLrvgNzKbJxELFZQYyaZiRKLE3Y0p89QvvMALazbadQAtZjeRiIRHXGe\nHQSfmYkm62O+/Ze6aH11Ix+KFdphhIsFLvxWzsboi9mAwNjG0rhMxvqwksk6\nlgvxtVQmvgLNdy7HwnJjYzobAhFck+D7iDnY73cKbwkcMjyjqFxw7Db1K22u\n8GpAfBJ0a79iobvsV4MOepoid2qiiYxek2P8qcJsEpxp01ldUAppm05EXSNw\nli2Vb6r+fE2e/N/PvFgCYBB8n7LggXblibw09lK0rJMJWxeG1y5T2punjgzn\nAnnyjgVacedxx+ZxpK/osgr04gUgzCcpfhUWTlYAx21kHv3O6lKiMsq9HFUS\nt//0jAQijXGl45sahDre5MAdIL6GtD5/9NiNNq+WWwcakHoGK//KFWV/6Um2\ntDi4bh+LGNp38DP0zSjVijOhJwjNSuE1AXATouHI1LtMe5Y44KYlsvsgt/IT\n/7SXo2uab5H17U3RwlMYSc7xZ0cP1ps6aFj6BCJEwfR2b6ziSHjU7eVUTZvW\nNxhn\r\n=C9Ul\r\n-----END PGP SIGNATURE-----\r\n"},"main":"CometChat.js","readme":"<div style=\"width:100%\">\n<div style=\"width:100%\">\n\t<div style=\"width:50%; display:inline-block\">\n\t\t<p align=\"center\">\n\t\t<img style=\"text-align:center\" width=\"180\" height=\"180\" alt=\"\" src=\"https://raw.githubusercontent.com/cometchat-pro/ios-swift-chat-app/master/Screenshots/CometChat%20Logo.png\">\t\n\t\t</p>\t\n\t</div>\t\n</div>\n</br>\n</br>\n</div>\n\nCometChat Pro enables you to add voice, video & text chat for your website & app.\n\n<a href=\"https://www.npmjs.com\">[![Platform](https://img.shields.io/badge/Platform-Javascript-blue.svg)](#)</a>\n<a href=\"https://www.npmjs.com\">[![Platform](https://img.shields.io/badge/Platform-NPM-orange.svg)](#)</a>\n\n# Quick Start\n\nThis guide demonstrates how to add chat to a Javascript application using CometChat. Before you begin, we strongly recommend you read the <a href=\"https://prodocs.cometchat.com/docs/concepts\" target=\"_blank\">Key Concepts</a> guide.\n\n## Get your Application Keys\n\n<a href=\"https://app.cometchat.com\" target=\"_blank\">Signup for CometChat</a> and then:\n\n1. Create a new app: Enter a name & hit the **+** button\n2. Head over to the **API Keys** section and click on the **Create API Key** button\n3. Enter a name and select the scope as **Auth Only**\n4. Now note the **API Key** and **App ID**\n\n## Add the CometChat Dependency\n\n### NPM\nFirst, install via npm\n\n`Shell`\n\nFor v1.8.x and older:\n\n```shell\nnpm install @cometchat-pro/chat@1.8.14 --save\n```\n\nFor v2.0.x:\n\n```shell\nnpm install @cometchat-pro/chat@2.0.4 --save\n```\n\nThen, import the `CometChat` object wherever you want to use CometChat\n\n`JavaScript`\n\n```Javascript \nimport { CometChat } from \"@cometchat-pro/chat\" \n```\n\n### HTML (via CDN)\nInclude the CometChat Javascript library in your HTML code\n\nFor v1.8.x and older:\n\n```HTML\n<script type=\"text/javascript\" src=\"https://unpkg.com/@cometchat-pro/chat@1.8.14/CometChat.js\"></script>\n```\n\nFor v2.0.x:\n\n```HTML\n<script type=\"text/javascript\" src=\"https://unpkg.com/@cometchat-pro/chat@2.0.4/CometChat.js\"></script>\n```\n\n\n\nTo learn more, please refer to our Javascript Developer Documentation:\n\nFor v1.8.x and older: <a href=\"https://prodocs.cometchat.com/docs/js-quick-start\">Documentation</a>\n\nFor v2.0.0-beta: <a href=\"https://prodocs.cometchat.com/v2.0/docs/js-quick-start\">Documentation</a>","gitHead":"eee220022026975b25fdc4937abd3aed8e90f55b","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"mayur-bhandari","email":"mayur.bhandari@inscripts.com"},"repository":{"url":"git+https://github.com/cometchat-pro/javascript-chat-sdk.git","type":"git"},"_npmVersion":"6.9.0","description":"A complete chat solution.","directories":{},"_nodeVersion":"10.16.1","_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/chat_2.0.5-beta5_1578037315161_0.7561655047201115","host":"s3://npm-registry-packages"}},"2.0.5":{"name":"@cometchat-pro/chat","version":"2.0.5","keywords":["CometChat","chat","messaging","chat","sdk","pro","message","sdk","messaging","sdk","audio","chat","video","chat","webRTC"],"author":{"name":"CometChat"},"license":"SEE LICENSE IN LICENSE.md","_id":"@cometchat-pro/chat@2.0.5","maintainers":[{"name":"anantgarg","email":"anant.garg@inscripts.com"},{"name":"gajraajay","email":"ajay.gajra@inscripts.in"},{"name":"mayur-bhandari","email":"mayur.bhandari@inscripts.com"},{"name":"taru.agarwal","email":"taru.agarwal@inscripts.com"}],"homepage":"https://github.com/cometchat-pro/javascript-chat-sdk#readme","bugs":{"url":"https://github.com/cometchat-pro/javascript-chat-sdk/issues"},"dist":{"shasum":"c72f260c623191c413cbd119ce08ff57f1b7c089","tarball":"https://registry.npmjs.org/@cometchat-pro/chat/-/chat-2.0.5.tgz","fileCount":5,"integrity":"sha512-b/UmneDX9Pl/pJXcDW26zDuRD71JKW7FgG6Ode1EHyO+WEQpgCMmKjzhj6zDGEhiRsMcT5D4NAMBRkq1//QY6A==","signatures":[{"sig":"MEUCIHqeAZXDdTUs7Fl7WdkUyQjfQvvAGeOTWp3BebXcxbGuAiEAxOE2+FTzX3SyfDTadE1chxBuGVnFmGypT2e/rrJulyk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":445414,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeFeGpCRA9TVsSAnZWagAAi9MP/AyA/ODi7g6dWwx24GRB\nzqFikPD3MYMnu+vp3HL4QNQndF6GEQsyY0nU5njAjAdKlxSndY4uDdS4bpg4\nTcjZ7aLGz9Wn38jAt51AD+ek+sMpnY7adU453piZVK4z98eiTEFvMOBvMrSU\nwJbs1v0MtKDymNCeNh4vQOtN1+wWZwUJSvS4Wd/iMmoUa/cR4aytT2feBvjv\n/ipBLCmj1TaVZwxvBbOdFF2rX4cjmL/HYkjgZG8pV5Bfjw9rRPDkfUpvz5oK\nFeCdAj40bJwkGs4YxsT7UL5uVV8ZQWcM1wKbCnneUFy/GuzGFxdDI7VL1e9m\np4MQ06YIeP9OWOfqmeucQy5siwqywkt0ie1zCqulLmYR6rc97VIMnSgPo0Sr\n5pduGf9doY1VqiNoiFI5HRMcXB1mi2DUNtcJqdk1kurTrrXTaObNW49o1Qn5\nmbmBTCPEnvALqBGSIBu+/MkGelUMCaQazpYpnZfke9h7V3f6QMNRrHXLB1u0\nHWmTid/Hyye3CirkkUlHSneuOI3ZSZTMSDtCQHmFbYPeKpkKYzlv1w3wUdvx\ndDLfkQ7OH07NwC+Njfm8qT1VZKNGmb47KZLSnFy6bnv4xvoj2CAkjGNyCqOf\nqkcd3kPSI4Mh2SV3P5zZ8px5RaARZ3yC7PQZWNX6Qzz0nNlHHBVAAdzdL7GA\nl4o+\r\n=6L3L\r\n-----END PGP SIGNATURE-----\r\n"},"main":"CometChat.js","gitHead":"bfe43c992a48c0b182dc99fe89873c0592e767b2","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"mayur-bhandari","email":"mayur.bhandari@inscripts.com"},"repository":{"url":"git+https://github.com/cometchat-pro/javascript-chat-sdk.git","type":"git"},"_npmVersion":"6.9.0","description":"A complete chat solution.","directories":{},"_nodeVersion":"10.16.1","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/chat_2.0.5_1578492329361_0.5203915398715186","host":"s3://npm-registry-packages"}},"2.0.6":{"name":"@cometchat-pro/chat","version":"2.0.6","keywords":["CometChat","chat","messaging","chat","sdk","pro","message","sdk","messaging","sdk","audio","chat","video","chat","webRTC"],"author":{"name":"CometChat"},"license":"SEE LICENSE IN LICENSE.md","_id":"@cometchat-pro/chat@2.0.6","maintainers":[{"name":"anantgarg","email":"anant.garg@inscripts.com"},{"name":"gajraajay","email":"ajay.gajra@inscripts.in"},{"name":"jitvarpatil","email":"jitvar.patil@inscripts.com"},{"name":"mayur-bhandari","email":"mayur.bhandari@inscripts.com"},{"name":"ranjanravi85","email":"ravi.ranjan@inscripts.com"},{"name":"taru.agarwal","email":"taru.agarwal@inscripts.com"}],"homepage":"https://github.com/cometchat-pro/javascript-chat-sdk#readme","bugs":{"url":"https://github.com/cometchat-pro/javascript-chat-sdk/issues"},"dist":{"shasum":"59a91adb64d51268fb7eeee9717032c1056eefb8","tarball":"https://registry.npmjs.org/@cometchat-pro/chat/-/chat-2.0.6.tgz","fileCount":5,"integrity":"sha512-J7Tq8e7C2bwP+XW6XXoYQ7Jx3MLON9eR58RUDcK5Zj+0OsVDgsbD9+SGPylUtAlgWShXBPAC19XqfC8xtOtkdw==","signatures":[{"sig":"MEUCIQDtjK0w96MmGLf6dfiPeXItkymTD2BzhgU+SeQGyh8ILgIgHW+e12THa95cvgeD12TWsQ10UiKqvaVqAB/ZXlVQj00=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":449844,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeRA33CRA9TVsSAnZWagAAYUEP/2C8rJC+IdCYFoqJzmr0\nLXKVV02Gv7tpyX/mRQfbj64BQ+jVpDY267jIXPqPsmbraXHcUQHGrTPzHHGS\nAzuWpYhsRNnZ3tj5TqBAWTht9m1nVLiWrXhUT0P+UdNrcjKud+e+tWoSruoQ\nlSWGxJxJIkpWkQwvij/jrMcyuQ99h2QzXmrOS7/mVqFdAXe60j8ZpJUuzY9T\nb3yTuw3AcUVYSqKvSvtfjXSca4TBi9o32NzcG7Wns18wAfb09Jmy39/bh0QH\n9pyEGwJsP21QNkHBHSxTtt1BguHCiY/QXIapz3qYW/BR4zH/ufEvJ3mWVAde\nT4sVmXL2V/YThpHMb+X8b7zdNn9WjbXw7eHgM8k227Q2Gn9ZuzTsrkh7LdZW\nVr12TemfWfuZlyvq+XmDh+stGGmxEaku6Sx67mxY+xI7nLPy8A0A1iy9yYin\nM2bDeQsSKXeRPxGjwWa8r6lF9+pru5XBF2ai1Ihk801EaZh9VApZMcyDgNDZ\n8/roxl0UyHZxRObsxAyGBQrl+vKHnkFyN7ILVB25IENalz+iirhoRUBM+TtX\n5fLBzM+JOUwsngIRmmipLCwhwV+IVeowfukJcgtnM9tuoKNMLzQ2Iuz8CGqu\ne+WYMy7gM+3+Tx0lp9Av/cdNCfAK1ydbmqMuQgvCjFwFARMAJTOoDoNk03HV\nICno\r\n=NWdo\r\n-----END PGP SIGNATURE-----\r\n"},"main":"CometChat.js","gitHead":"2da980dab86fdc441e8de98b77ed0ed19cf5c4e2","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"mayur-bhandari","email":"mayur.bhandari@inscripts.com"},"repository":{"url":"git+https://github.com/cometchat-pro/javascript-chat-sdk.git","type":"git"},"_npmVersion":"6.9.0","description":"A complete chat solution.","directories":{},"_nodeVersion":"10.16.1","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/chat_2.0.6_1581518326797_0.3384007060806331","host":"s3://npm-registry-packages"}},"2.0.7-beta1":{"name":"@cometchat-pro/chat","version":"2.0.7-beta1","keywords":["CometChat","chat","messaging","chat","sdk","pro","message","sdk","messaging","sdk","audio","chat","video","chat","webRTC"],"author":{"name":"CometChat"},"license":"SEE LICENSE IN LICENSE.md","_id":"@cometchat-pro/chat@2.0.7-beta1","maintainers":[{"name":"anantgarg","email":"anant.garg@inscripts.com"},{"name":"gajraajay","email":"ajay.gajra@inscripts.in"},{"name":"jitvarpatil","email":"jitvar.patil@inscripts.com"},{"name":"mayur-bhandari","email":"mayur.bhandari@inscripts.com"},{"name":"ranjanravi85","email":"ravi.ranjan@inscripts.com"},{"name":"taru.agarwal","email":"taru.agarwal@inscripts.com"}],"homepage":"https://github.com/cometchat-pro/javascript-chat-sdk#readme","bugs":{"url":"https://github.com/cometchat-pro/javascript-chat-sdk/issues"},"dist":{"shasum":"6ad6e04d097c864767d01462aad909b4eed29e4b","tarball":"https://registry.npmjs.org/@cometchat-pro/chat/-/chat-2.0.7-beta1.tgz","fileCount":5,"integrity":"sha512-9SKMOzEr0eFt4TUQRL+orElATOzrvdvbauvLGJYJV8XJIhCh3QioVuswtvHnZGdu5zV8Xf9MbeJp8o+IvdIraw==","signatures":[{"sig":"MEUCIBC6HNjPzLHnPrUdXI2BSSWnqAAhVNkrmAoXNSZjBIJ5AiEAxczc95t9kussHlfQ8l37GJn+D83h6ZGpDvriJeiGNDs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":451303,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeV+tFCRA9TVsSAnZWagAA/c4P/R3zt4MZ9tXOQPgR2jvx\nfzQ/LoD0HpdR63v7X7RSz9ZIod35zsU8SuF8TBLRD+nuCb2NsONIsr2egAC4\n0YM9vDp7y+GJ7pxoqmvvIqrweRD400JFWR/PxCEYCO9PTljQJbshkDuZbd8x\nqMz50s5WiScMNzKZbCBmw9eUpOGpAhcC4xhxhHu2W/qutyiK9MbqWc8qRroq\nIsc1+Ni1D2mWMI+mqcTsmIYmypgvsc8rn/d5HC3u6zkre5Z9ozaVnYwdi6QP\neU/G7gb8Tx3hDksMzIFX6FVzfPaqZItw/j/6gQSYDikfhhO3NSLkkOehOOp7\nJMmCO9P8tEyYlh/DPfgAavTcxMWwo/ML9gfCzS/lgXI9NuClw3FbavM8VCFk\nkexOrlAOdvsO3loJEUWSSMiFzUPl7kzD1tQiCbkVjJ7uUuHKzx10+F+iTcPS\nuXj/I1e3DcvMtITD3z2he5fH5+YF7gnEn7UY7C6UA/RVnzAulFLQCgMfRJUU\n6HMeWGo/STICeRqH2P16wxZDkW26V6YT5jT/tH1gy6oytk8mEh5/1vWciaRU\n9qvZYFzK7xcJP9D1eu9z4VunntlK22u6habs3QJyXuQJ+ZYVntsxAhp70Kda\nRP+w0uqwaPBlX454a1Tb0sLetT6bHRPcY/uLTbkFJh6GaDW6Mqr52eTpCyGU\nAwJj\r\n=+6OF\r\n-----END PGP SIGNATURE-----\r\n"},"main":"CometChat.js","readme":"<div style=\"width:100%\">\n<div style=\"width:100%\">\n\t<div style=\"width:50%; display:inline-block\">\n\t\t<p align=\"center\">\n\t\t<img style=\"text-align:center\" width=\"180\" height=\"180\" alt=\"\" src=\"https://raw.githubusercontent.com/cometchat-pro/ios-swift-chat-app/master/Screenshots/CometChat%20Logo.png\">\t\n\t\t</p>\t\n\t</div>\t\n</div>\n</br>\n</br>\n</div>\n\nCometChat Pro enables you to add voice, video & text chat for your website & app.\n\n<a href=\"https://www.npmjs.com\">[![Platform](https://img.shields.io/badge/Platform-Javascript-blue.svg)](#)</a>\n<a href=\"https://www.npmjs.com\">[![Platform](https://img.shields.io/badge/Platform-NPM-orange.svg)](#)</a>\n\n# Quick Start\n\nThis guide demonstrates how to add chat to a Javascript application using CometChat. Before you begin, we strongly recommend you read the <a href=\"https://prodocs.cometchat.com/docs/concepts\" target=\"_blank\">Key Concepts</a> guide.\n\n## Get your Application Keys\n\n<a href=\"https://app.cometchat.com\" target=\"_blank\">Signup for CometChat</a> and then:\n\n1. Create a new app: Enter a name & hit the **+** button\n2. Head over to the **API Keys** section and click on the **Create API Key** button\n3. Enter a name and select the scope as **Auth Only**\n4. Now note the **API Key** and **App ID**\n\n## Add the CometChat Dependency\n\n### NPM\nFirst, install via npm\n\nFor v2:\n\n```\nnpm install @cometchat-pro/chat@2.0.6 --save\n```\n\nThen, import the `CometChat` object wherever you want to use CometChat\n\n\n```\nimport { CometChat } from \"@cometchat-pro/chat\" \n```\n\n### HTML (via CDN)\nInclude the CometChat Javascript library in your HTML code\n\nFor v2:\n\n```\n<script type=\"text/javascript\" src=\"https://unpkg.com/@cometchat-pro/chat@2.0.6/CometChat.js\"></script>\n```\n\nTo learn more, please refer to our Documentation: <a href=\"https://prodocs.cometchat.com/v2.0/docs/js-quick-start\">Documentation</a>","gitHead":"6a4ae6410ec6eab0db3dc4f20b0b89983c38db92","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"mayur-bhandari","email":"mayur.bhandari@inscripts.com"},"repository":{"url":"git+https://github.com/cometchat-pro/javascript-chat-sdk.git","type":"git"},"_npmVersion":"6.9.0","description":"A complete chat solution.","directories":{},"_nodeVersion":"10.16.1","_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/chat_2.0.7-beta1_1582820165420_0.20015652622393354","host":"s3://npm-registry-packages"}},"2.0.7-beta2":{"name":"@cometchat-pro/chat","version":"2.0.7-beta2","keywords":["CometChat","chat","messaging","chat","sdk","pro","message","sdk","messaging","sdk","audio","chat","video","chat","webRTC"],"author":{"name":"CometChat"},"license":"SEE LICENSE IN LICENSE.md","_id":"@cometchat-pro/chat@2.0.7-beta2","maintainers":[{"name":"anantgarg","email":"anant.garg@inscripts.com"},{"name":"gajraajay","email":"ajay.gajra@inscripts.in"},{"name":"jitvarpatil","email":"jitvar.patil@inscripts.com"},{"name":"mayur-bhandari","email":"mayur.bhandari@inscripts.com"},{"name":"ranjanravi85","email":"ravi.ranjan@inscripts.com"},{"name":"taru.agarwal","email":"taru.agarwal@inscripts.com"}],"homepage":"https://github.com/cometchat-pro/javascript-chat-sdk#readme","bugs":{"url":"https://github.com/cometchat-pro/javascript-chat-sdk/issues"},"dist":{"shasum":"6e6c22e70cd833fed21914af3407684757747de9","tarball":"https://registry.npmjs.org/@cometchat-pro/chat/-/chat-2.0.7-beta2.tgz","fileCount":5,"integrity":"sha512-VMG6lZKQ4gfxGsU9uVoq6k5FRZ0rSZtZ47Oyo8WQ5N+fy1o31/95QlSoHY19MwCVc6D+YSDPR/yav/yUTvP+ug==","signatures":[{"sig":"MEUCIHwORSLZvxFD9fl8/+UOUbrygylsBPFuND4fjTQmBz8OAiEApxyQcbJRnDZzU88JOpQvlD6TbpZSzg6rdxQz3W9PE+4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":455827,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJedNkPCRA9TVsSAnZWagAA+RUP/3f3ErvCqb2TqtGoNXVI\nriCvUwu5fSO4pDR/kzyLZ9/ZVQlq9j74iqB+syFLNZCw6ltzBGqnOFdh7FeO\nBIaaAotTGDqZ0x7yveq3CMFiDI9x7jpOPhSYv/TbolpJmuy7DLSCctQnJYl0\n/o4bUUdUhmk0D5zUlOjS3p3vThl6U1HUJBrVViQDCFSaGFfa9qpOCLqfx9t1\nsGEhb4ZW2DfOBznp4eM1nRBXe0kIqaUoDEypMra3y0Mrn9D8tYu215xWgcXi\nPDna7rwAmxlNMD7n+ExF7ZWa009jdHhFr7gq61vc8NovJVLU0C26V2Sk3hAJ\n8CU5Uah3Ut/lJNtyA3Zivu2v3xuw3x8DsvNtOZJ9OmeFt2kzODSD+O5CADhh\nRkVEgv3dhJWb75wDX5Gppv/B2lbQZ49Zi6O6ed2OV3Og8kyCxA9CLKZNnfz2\nQrix31sxEDcsvUP+xHEaGymV4Y2tCe9keg57inSVzw1NMp4hzSkNCjoL6hT8\nlm0W7JNZ8GF/LRJfk1ixQ7qfgWaB7q+0XDgfWysq6A+q6Ej3j7gN/egFgcBo\nTehd2UyxI+rzlD7TDQ/y6o8mZy9hZadU9tKyTVaLJDrM+LC66oz40slj4XMW\nLpx6gLQw4hEOZx73gwqBm4jxZXeI4HtquHkjf9oKEFCLwREeY2/lpc3jFamI\nshYI\r\n=2hQ7\r\n-----END PGP SIGNATURE-----\r\n"},"main":"CometChat.js","readme":"<div style=\"width:100%\">\n<div style=\"width:100%\">\n\t<div style=\"width:50%; display:inline-block\">\n\t\t<p align=\"center\">\n\t\t<img style=\"text-align:center\" width=\"180\" height=\"180\" alt=\"\" src=\"https://raw.githubusercontent.com/cometchat-pro/ios-swift-chat-app/master/Screenshots/CometChat%20Logo.png\">\t\n\t\t</p>\t\n\t</div>\t\n</div>\n</br>\n</br>\n</div>\n\nCometChat Pro enables you to add voice, video & text chat for your website & app.\n\n<a href=\"https://www.npmjs.com\">[![Platform](https://img.shields.io/badge/Platform-Javascript-blue.svg)](#)</a>\n<a href=\"https://www.npmjs.com\">[![Platform](https://img.shields.io/badge/Platform-NPM-orange.svg)](#)</a>\n\n# Quick Start\n\nThis guide demonstrates how to add chat to a Javascript application using CometChat. Before you begin, we strongly recommend you read the <a href=\"https://prodocs.cometchat.com/docs/concepts\" target=\"_blank\">Key Concepts</a> guide.\n\n## Get your Application Keys\n\n<a href=\"https://app.cometchat.com\" target=\"_blank\">Signup for CometChat</a> and then:\n\n1. Create a new app: Enter a name & hit the **+** button\n2. Head over to the **API Keys** section and click on the **Create API Key** button\n3. Enter a name and select the scope as **Auth Only**\n4. Now note the **API Key** and **App ID**\n\n## Add the CometChat Dependency\n\n### NPM\nFirst, install via npm\n\nFor v2:\n\n```\nnpm install @cometchat-pro/chat@2.0.6 --save\n```\n\nThen, import the `CometChat` object wherever you want to use CometChat\n\n\n```\nimport { CometChat } from \"@cometchat-pro/chat\" \n```\n\n### HTML (via CDN)\nInclude the CometChat Javascript library in your HTML code\n\nFor v2:\n\n```\n<script type=\"text/javascript\" src=\"https://unpkg.com/@cometchat-pro/chat@2.0.6/CometChat.js\"></script>\n```\n\nTo learn more, please refer to our Documentation: <a href=\"https://prodocs.cometchat.com/v2.0/docs/js-quick-start\">Documentation</a>","gitHead":"7ea93d62fb9e709da2348c07daffdf821c9d4b3d","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"mayur-bhandari","email":"mayur.bhandari@inscripts.com"},"repository":{"url":"git+https://github.com/cometchat-pro/javascript-chat-sdk.git","type":"git"},"_npmVersion":"6.9.0","description":"A complete chat solution.","directories":{},"_nodeVersion":"10.16.1","_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/chat_2.0.7-beta2_1584716046441_0.051792042581972675","host":"s3://npm-registry-packages"}},"2.0.7":{"name":"@cometchat-pro/chat","version":"2.0.7","keywords":["CometChat","chat","messaging","chat","sdk","pro","message","sdk","messaging","sdk","audio","chat","video","chat","webRTC"],"author":{"name":"CometChat"},"license":"SEE LICENSE IN LICENSE.md","_id":"@cometchat-pro/chat@2.0.7","maintainers":[{"name":"anantgarg","email":"anant.garg@inscripts.com"},{"name":"gajraajay","email":"ajay.gajra@inscripts.in"},{"name":"jitvarpatil","email":"jitvar.patil@inscripts.com"},{"name":"mayur-bhandari","email":"mayur.bhandari@inscripts.com"},{"name":"ranjanravi85","email":"ravi.ranjan@inscripts.com"},{"name":"taru.agarwal","email":"taru.agarwal@inscripts.com"}],"homepage":"https://github.com/cometchat-pro/javascript-chat-sdk#readme","bugs":{"url":"https://github.com/cometchat-pro/javascript-chat-sdk/issues"},"dist":{"shasum":"51c68f22c3475d86be576d71108be869d2cb9ffc","tarball":"https://registry.npmjs.org/@cometchat-pro/chat/-/chat-2.0.7.tgz","fileCount":5,"integrity":"sha512-h6VQl5Id04s1nejmW2nNCnsnRB49ohj94Vtl23Gt7Xm1ApbeQiqA8nkCklZRqin2XDqwVw4OM93aNmVcaplIDQ==","signatures":[{"sig":"MEUCIFoitG/s13se7psGHJuGdzEadaMoDXFjhfSoRfCtmwCzAiEAiPDfcg9YcbdM9ClQuykloZS3KJJmWPbs+vp+tsBOXdE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":451550,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJelFJnCRA9TVsSAnZWagAAH6oP/3hC1ob/vf+WpvRGLXKx\notGgAJe4o27F8jxAL/fKrjUPHUFlwPknyy5PcJHDU9XNCbbzZHIC52RsII7q\nEHOLHMiffQ1Hh9zjkSdfVBJvnMjr+j7e5AT4BtsYRXO4mFFGf1Z64sZLOR3o\nfAtZdLFaB9fVOQcNjx7CIPA6LPA5DVEwZTR87E3QxCZZqoFIrkMvU0yzqS/A\nX3//5LaJQN7BRiWYrs3+J/sJ1N7vtXr1PIWjCANm42Mqqb5gcHNG1bYRzul5\nSQh4WbkW4S7D0Dmuj4AefI/Ol8af5ZlFXyVqcIsaGfC6NdlsmL1uB1Eohp+a\nv4x7Amo14b1z9UUgJjhObvwyU4W7xFmjD4WjStsSrQaoRY++hVb8U3ytc/SI\noZn44qYBYHX3Uy0IFImqdkjEGWncF3qwu2SZSoBxTz48xheHbCCyn3vZxs/I\nWVr3i4VVHK9D065b7+rM+fCtElKNFhOF2HQ3rWZQoLwfOMvV3hSwZBJBBMpu\nynvRvCS+eLkdjKuDlrFW+nMRtXUII1Vb5B4TDIT2UgcUAhWk9YELe1LwSiKl\nQC0L5XWwGyzDwwadKnOX8JKk2fyEwEnZjHIH1/2Z1+AHbhJCVlqqyx7yi6X6\nzsI+/cIDKLeBbW2M91K1JnIm2LjRaq3HIVZNv4RUXCAeKYZ+ftf0mWEOgeuy\nRDc1\r\n=WIN+\r\n-----END PGP SIGNATURE-----\r\n"},"main":"CometChat.js","gitHead":"bf4c1d3b86c141d5ec712e8eb0a62e8693977f10","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"mayur-bhandari","email":"mayur.bhandari@inscripts.com"},"repository":{"url":"git+https://github.com/cometchat-pro/javascript-chat-sdk.git","type":"git"},"_npmVersion":"6.9.0","description":"A complete chat solution.","directories":{},"_nodeVersion":"10.16.1","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/chat_2.0.7_1586778726893_0.4026170600457806","host":"s3://npm-registry-packages"}},"2.0.8-beta1":{"name":"@cometchat-pro/chat","version":"2.0.8-beta1","keywords":["CometChat","chat","messaging","chat","sdk","pro","message","sdk","messaging","sdk","audio","chat","video","chat","webRTC"],"author":{"name":"CometChat"},"license":"SEE LICENSE IN LICENSE.md","_id":"@cometchat-pro/chat@2.0.8-beta1","maintainers":[{"name":"anantgarg","email":"anant.garg@inscripts.com"},{"name":"gajraajay","email":"ajay.gajra@inscripts.in"},{"name":"jitvarpatil","email":"jitvar.patil@inscripts.com"},{"name":"mayur-bhandari","email":"mayur.bhandari@inscripts.com"},{"name":"ranjanravi85","email":"ravi.ranjan@inscripts.com"},{"name":"taru.agarwal","email":"taru.agarwal@inscripts.com"}],"homepage":"https://github.com/cometchat-pro/javascript-chat-sdk#readme","bugs":{"url":"https://github.com/cometchat-pro/javascript-chat-sdk/issues"},"dist":{"shasum":"3945bb022b5df2a90a681a74353df6c53bbd39de","tarball":"https://registry.npmjs.org/@cometchat-pro/chat/-/chat-2.0.8-beta1.tgz","fileCount":5,"integrity":"sha512-vUZXK97qkCbaOPGBSMSJHq1VAla2/3b6jYQ3YjA70R7Xbj7MYA6QsuWwH7YmR5ekE20DuUb39t2QSpBMjyaykw==","signatures":[{"sig":"MEUCIQC17b/v5PqUE5sRZ4GUj6RK+c/32oHv3RTTPyneCLIvlAIgYFc99bmTb7gxI12+X7MxzjfhvtEfbZNspyT4m4AqHIM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":451562,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeoLCICRA9TVsSAnZWagAALIgP/jhGt8D0e3xevaAOTdgh\ncfrPcuTGN1+m5B57oWL7YNOBEoGdhrQep4IIAQhGFs00f2Opf7MPRZMkV2V0\nSuKIEF/soTi+inQVJOWrdsqByf87R9jMHbhi06hcYVPJ8Zrq+p2wt36vhvRQ\ntK6Ynyf62UXMT6J6bzYZmtmM2HhKMisHzxDH+TN3bX7+gigKCEFmULHK4LOb\n6M40JUxVDvOyt+DAsfIovF+eqVM4/6cLr1DnF0KSzXMrNoIq1fItIAZAobAH\noF2065CYwG2uoQS/RRRm4Fa5xS/XrNkCezZKVp58ISelXOGuRu3LAr9ihl58\nvAsdQQdj2WzFJATS+oIT2IzNGv3fm1IRdzKvdBbPtC+6DBS+MhOheR4Z38U3\nD4vbMBI74t7+2j0saHLtdOjx1mGD9eOKYM58qFFWjzS7EcN5JF5A1YuWaI7b\nL0nAY4mPFY+0tLWvL9Q1Mea3/n0vuMbnuO6J10cJhUiQVQfM+Dl4ceRjq0eK\njJsPd8A9CnyzlbD8Bbl0ZIL5i3FwFnWF7xWeIsbaATQX7Q4T7akOda+/chuk\nWRATwHuOni12jlNWlAOyvvMtAQBrduA8q2v+Cp/NQYma2yWO3/sscy+/ygz3\nqDLo6RDu4RxMflMdSHHX9ZKwzL4itbJr1kSptEfSkGN2sI9q1UO1oCJZvYo9\nVM96\r\n=cF1z\r\n-----END PGP SIGNATURE-----\r\n"},"main":"CometChat.js","readme":"<div style=\"width:100%\">\n<div style=\"width:100%\">\n\t<div style=\"width:50%; display:inline-block\">\n\t\t<p align=\"center\">\n\t\t<img style=\"text-align:center\" width=\"180\" height=\"180\" alt=\"\" src=\"https://raw.githubusercontent.com/cometchat-pro/ios-swift-chat-app/master/Screenshots/CometChat%20Logo.png\">\t\n\t\t</p>\t\n\t</div>\t\n</div>\n</br>\n</br>\n</div>\n\nCometChat Pro enables you to add voice, video & text chat for your website & app.\n\n<a href=\"https://www.npmjs.com\">[![Platform](https://img.shields.io/badge/Platform-Javascript-blue.svg)](#)</a>\n<a href=\"https://www.npmjs.com\">[![Platform](https://img.shields.io/badge/Platform-NPM-orange.svg)](#)</a>\n\n# Quick Start\n\nThis guide demonstrates how to add chat to a Javascript application using CometChat. Before you begin, we strongly recommend you read the <a href=\"https://prodocs.cometchat.com/docs/concepts\" target=\"_blank\">Key Concepts</a> guide.\n\n## Get your Application Keys\n\n<a href=\"https://app.cometchat.com\" target=\"_blank\">Signup for CometChat</a> and then:\n\n1. Create a new app: Enter a name & hit the **+** button\n2. Head over to the **API Keys** section and click on the **Create API Key** button\n3. Enter a name and select the scope as **Auth Only**\n4. Now note the **API Key** and **App ID**\n\n## Add the CometChat Dependency\n\n### NPM\nFirst, install via npm\n\n```\nnpm install @cometchat-pro/chat@2.0.7 --save\n```\n\nThen, import the `CometChat` object wherever you want to use CometChat\n\n```\nimport { CometChat } from \"@cometchat-pro/chat\" \n```\n\n### HTML (via CDN)\nInclude the CometChat Javascript library in your HTML code\n\n```\n<script type=\"text/javascript\" src=\"https://unpkg.com/@cometchat-pro/chat@2.0.7/CometChat.js\"></script>\n```\n\nTo learn more, please refer to our Documentation: <a href=\"https://prodocs.cometchat.com/v2.0/docs/js-quick-start\">Documentation</a>","gitHead":"2c7f44cef3412ae36460fd65b4701cdda2f79613","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"mayur-bhandari","email":"mayur.bhandari@inscripts.com"},"repository":{"url":"git+https://github.com/cometchat-pro/javascript-chat-sdk.git","type":"git"},"_npmVersion":"6.9.0","description":"A complete chat solution.","directories":{},"_nodeVersion":"10.16.1","_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/chat_2.0.8-beta1_1587589255216_0.050249705126458544","host":"s3://npm-registry-packages"}},"2.1.0-beta1":{"name":"@cometchat-pro/chat","version":"2.1.0-beta1","keywords":["CometChat","chat","messaging","chat","sdk","pro","message","sdk","messaging","sdk","audio","chat","video","chat","webRTC"],"author":{"name":"CometChat"},"license":"SEE LICENSE IN LICENSE.md","_id":"@cometchat-pro/chat@2.1.0-beta1","maintainers":[{"name":"anantgarg","email":"anant.garg@inscripts.com"},{"name":"gajraajay","email":"ajay.gajra@inscripts.in"},{"name":"jitvarpatil","email":"jitvar.patil@inscripts.com"},{"name":"mayur-bhandari","email":"mayur.bhandari@inscripts.com"},{"name":"ranjanravi85","email":"ravi.ranjan@inscripts.com"},{"name":"taru.agarwal","email":"taru.agarwal@inscripts.com"}],"homepage":"https://github.com/cometchat-pro/javascript-chat-sdk#readme","bugs":{"url":"https://github.com/cometchat-pro/javascript-chat-sdk/issues"},"dist":{"shasum":"19322fda9f735785add18eeff2dfd98d6f1af030","tarball":"https://registry.npmjs.org/@cometchat-pro/chat/-/chat-2.1.0-beta1.tgz","fileCount":5,"integrity":"sha512-xHWzDxwBVLSoFZms3vQDek3IY3NuRZqItn7P0t0CMJS/AOzZcU/x3cIyfl6smWXd9XPHKDt25c6fa2TrG9PfgA==","signatures":[{"sig":"MEUCIGY74txB+Q4MdQbPyGO1XV/mzAmKpHFqlXd1EBHspjKRAiEAqiWSXB793h8/FTh/WV3utTogevIJ/tQW2+FKPN2ZcZU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":451768,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeqIAUCRA9TVsSAnZWagAAsJIQAJbqvbHx6+7/PAgKclli\nJwZF5QLuFXp4x5UtR8auzLXbfMKxAKIlW19qhIZMnTbgmbdIpCTzJQazgJz2\nGollEdzsiBKn+FeB8lMsKJOhzWXLwULDn+XYserfmoLG+nYCSvf6MwKYls4E\nSXrYtkXlLlEzYaTTpI9auu8h9zBrX6Q8NsDJsMmwyvDJ0IvZrEfzchrvHK5r\nPWsD4iDNA/CzWIFFQ9sfw24AnujpqhlY5nMIRBfwk0JJ83vIgrA5lgdqwikp\nZCO3HCIcb53mgHxh3mm9nfZxt6A9rOUWW2cOnAHeY/TTXT0AcWJog561qLWJ\nM/+c4TUeWLZcA86FbFjEZ0eOKs1RpuwSlQ5xJZfAEeIpDj1wnGmGz/rRN5GL\nLKGSYF0sHNKsm7vtcj1GiAAPYOMkYojIWDh4p4YbSJvGxWfJxeGZWEzQVjuz\n7mXWXk5ItQyebu/qYZkovVxI8rAFoH2oOdl6uGAEYRDaGK8i4w/cggEZkbb6\n7nO9tT7dfYu3AWV9pNHg86FaZMR4/EthMEwZtoonBg2PQCOL+xeYAo/qx/xF\nGK/G/m0raQ/CSXk+vWqGWR1xVHHRLsxW7LgnOe0K5xr5IcRqaCS2IUDNZitb\nyPhs3HPuIrJRDccDlKgr9wOrzY6h5mWkHBlycMPpfUSe+CiThYdmTDeU7yap\n1Vgf\r\n=Y9kZ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"CometChat.js","readme":"<div style=\"width:100%\">\n<div style=\"width:100%\">\n\t<div style=\"width:50%; display:inline-block\">\n\t\t<p align=\"center\">\n\t\t<img style=\"text-align:center\" width=\"180\" height=\"180\" alt=\"\" src=\"https://raw.githubusercontent.com/cometchat-pro/ios-swift-chat-app/master/Screenshots/CometChat%20Logo.png\">\t\n\t\t</p>\t\n\t</div>\t\n</div>\n</br>\n</br>\n</div>\n\nCometChat Pro enables you to add voice, video & text chat for your website & app.\n\n<a href=\"https://www.npmjs.com\">[![Platform](https://img.shields.io/badge/Platform-Javascript-blue.svg)](#)</a>\n<a href=\"https://www.npmjs.com\">[![Platform](https://img.shields.io/badge/Platform-NPM-orange.svg)](#)</a>\n\n# Quick Start\n\nThis guide demonstrates how to add chat to a Javascript application using CometChat. Before you begin, we strongly recommend you read the <a href=\"https://prodocs.cometchat.com/docs/concepts\" target=\"_blank\">Key Concepts</a> guide.\n\n## Get your Application Keys\n\n<a href=\"https://app.cometchat.com\" target=\"_blank\">Signup for CometChat</a> and then:\n\n1. Create a new app: Enter a name & hit the **+** button\n2. Head over to the **API Keys** section and click on the **Create API Key** button\n3. Enter a name and select the scope as **Auth Only**\n4. Now note the **API Key** and **App ID**\n\n## Add the CometChat Dependency\n\n### NPM\nFirst, install via npm\n\n```\nnpm install @cometchat-pro/chat@2.0.7 --save\n```\n\nThen, import the `CometChat` object wherever you want to use CometChat\n\n```\nimport { CometChat } from \"@cometchat-pro/chat\" \n```\n\n### HTML (via CDN)\nInclude the CometChat Javascript library in your HTML code\n\n```\n<script type=\"text/javascript\" src=\"https://unpkg.com/@cometchat-pro/chat@2.0.7/CometChat.js\"></script>\n```\n\nTo learn more, please refer to our Documentation: <a href=\"https://prodocs.cometchat.com/v2.0/docs/js-quick-start\">Documentation</a>","gitHead":"3db00498f672c115234fcb03fedc760d37610c71","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"mayur-bhandari","email":"mayur.bhandari@inscripts.com"},"repository":{"url":"git+https://github.com/cometchat-pro/javascript-chat-sdk.git","type":"git"},"_npmVersion":"6.9.0","description":"A complete chat solution.","directories":{},"_nodeVersion":"10.16.1","_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/chat_2.1.0-beta1_1588101139972_0.12524551859592226","host":"s3://npm-registry-packages"}},"2.0.8-beta2":{"name":"@cometchat-pro/chat","version":"2.0.8-beta2","keywords":["CometChat","chat","messaging","chat","sdk","pro","message","sdk","messaging","sdk","audio","chat","video","chat","webRTC"],"author":{"name":"CometChat"},"license":"SEE LICENSE IN LICENSE.md","_id":"@cometchat-pro/chat@2.0.8-beta2","maintainers":[{"name":"anantgarg","email":"anant.garg@inscripts.com"},{"name":"gajraajay","email":"ajay.gajra@inscripts.in"},{"name":"jitvarpatil","email":"jitvar.patil@inscripts.com"},{"name":"mayur-bhandari","email":"mayur.bhandari@inscripts.com"},{"name":"ranjanravi85","email":"ravi.ranjan@inscripts.com"},{"name":"taru.agarwal","email":"taru.agarwal@inscripts.com"}],"homepage":"https://github.com/cometchat-pro/javascript-chat-sdk#readme","bugs":{"url":"https://github.com/cometchat-pro/javascript-chat-sdk/issues"},"dist":{"shasum":"3756c47fa3ff92134a5428b443a925ca6b26bf67","tarball":"https://registry.npmjs.org/@cometchat-pro/chat/-/chat-2.0.8-beta2.tgz","fileCount":5,"integrity":"sha512-UC7oaGzWDaptLa75SZgZHbBjuYxXatINv0Nu5VdwpDcg3UsJacwnBLMQgcqVsuwVZXvHc9VgY5PXSDE5Ye0I0Q==","signatures":[{"sig":"MEUCID22HCn36diDLwxuSnYsPC1ogyWF6HdmyYx+8j4IMwLoAiEA4W8uBQ4ELLSU+ThcBsgijoKinFhCZhN73lKbU+ZM9Rs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":453842,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJesH0vCRA9TVsSAnZWagAAELIP/Rzf88EEMkpL6f5npbj/\n21Yjapc2yQpjohUqhGzZcJ2ZvtMzMwUBCCJQo3ZWqRlAxfCtkVUNc6i2b5Wp\n38CI8GM8VP/27LuYMg0JjoY6cKoLV5iP74ewW9w4Fh47hnB8RxEgOcd9cWhK\nyk3VIBqI8WiN8QCvJon4vOO0FZ7aMqj0edQPQhHBJGEs5B+FX3k/d8YpHFVk\nqLuNGDYcc5TcH94ONiASwdWxhp9DrHEVoFa+Y9X1mRX+sAsyA52hY6XnR45A\nASdJq/siLiZKOvkfJw6qpkwWXwJH/a8VBKVfH99XD4xNABOUU9VvQpXasQn1\nF+z6QTfk5jKbPXG2+GYmO6XmA524ee8x08Afl1u9FKq1dTRIdPxaORyp1EVr\nsAYuCWEoXNb94wzZqzCbpq1o+TeX1W+hksPqKSmwgv1CxG+oJsJmtZuv+SQ/\nWl8sUCC0MR0GQbtsFcP8sRGPokcq8/gJusB82grxMhDIaZF4jY0peXTSKd7s\niWCaUYX58HXFCsSi1xyf2hEfBwYRvt8GosC1RrKOFShPxscuzJhIctTc2/hh\nIKBJiH4jUISFMi/PPtdrU/pd33dtBLcLHm4yRvFVFIc6lOPlsGG/tZGE89Dt\nQ2YaZLSrPCPhU0aHcPM0UoypLg2gMEuarNDu+7c5EeuJTc7P/SzqPNNs9u/U\nr6SH\r\n=TCZG\r\n-----END PGP SIGNATURE-----\r\n"},"main":"CometChat.js","readme":"<div style=\"width:100%\">\n<div style=\"width:100%\">\n\t<div style=\"width:50%; display:inline-block\">\n\t\t<p align=\"center\">\n\t\t<img style=\"text-align:center\" width=\"180\" height=\"180\" alt=\"\" src=\"https://raw.githubusercontent.com/cometchat-pro/ios-swift-chat-app/master/Screenshots/CometChat%20Logo.png\">\t\n\t\t</p>\t\n\t</div>\t\n</div>\n</br>\n</br>\n</div>\n\nCometChat Pro enables you to add voice, video & text chat for your website & app.\n\n<a href=\"https://www.npmjs.com\">[![Platform](https://img.shields.io/badge/Platform-Javascript-blue.svg)](#)</a>\n<a href=\"https://www.npmjs.com\">[![Platform](https://img.shields.io/badge/Platform-NPM-orange.svg)](#)</a>\n\n# Quick Start\n\nThis guide demonstrates how to add chat to a Javascript application using CometChat. Before you begin, we strongly recommend you read the <a href=\"https://prodocs.cometchat.com/docs/concepts\" target=\"_blank\">Key Concepts</a> guide.\n\n## Get your Application Keys\n\n<a href=\"https://app.cometchat.com\" target=\"_blank\">Signup for CometChat</a> and then:\n\n1. Create a new app: Enter a name & hit the **+** button\n2. Head over to the **API Keys** section and click on the **Create API Key** button\n3. Enter a name and select the scope as **Auth Only**\n4. Now note the **API Key** and **App ID**\n\n## Add the CometChat Dependency\n\n### NPM\nFirst, install via npm\n\n```\nnpm install @cometchat-pro/chat@2.0.7 --save\n```\n\nThen, import the `CometChat` object wherever you want to use CometChat\n\n```\nimport { CometChat } from \"@cometchat-pro/chat\" \n```\n\n### HTML (via CDN)\nInclude the CometChat Javascript library in your HTML code\n\n```\n<script type=\"text/javascript\" src=\"https://unpkg.com/@cometchat-pro/chat@2.0.7/CometChat.js\"></script>\n```\n\nTo learn more, please refer to our Documentation: <a href=\"https://prodocs.cometchat.com/v2.0/docs/js-quick-start\">Documentation</a>","gitHead":"42bc7877d18c20598f3d10e6a349194ea7417da3","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"mayur-bhandari","email":"mayur.bhandari@inscripts.com"},"repository":{"url":"git+https://github.com/cometchat-pro/javascript-chat-sdk.git","type":"git"},"_npmVersion":"6.9.0","description":"A complete chat solution.","directories":{},"_nodeVersion":"10.16.1","_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/chat_2.0.8-beta2_1588624686643_0.15037020061455264","host":"s3://npm-registry-packages"}},"2.0.8":{"name":"@cometchat-pro/chat","version":"2.0.8","keywords":["CometChat","chat","messaging","chat","sdk","pro","message","sdk","messaging","sdk","audio","chat","video","chat","webRTC"],"author":{"name":"CometChat"},"license":"SEE LICENSE IN LICENSE.md","_id":"@cometchat-pro/chat@2.0.8","maintainers":[{"name":"anantgarg","email":"anant.garg@inscripts.com"},{"name":"gajraajay","email":"ajay.gajra@inscripts.in"},{"name":"jitvarpatil","email":"jitvar.patil@inscripts.com"},{"name":"mayur-bhandari","email":"mayur.bhandari@inscripts.com"},{"name":"ranjanravi85","email":"ravi.ranjan@inscripts.com"},{"name":"taru.agarwal","email":"taru.agarwal@inscripts.com"}],"homepage":"https://github.com/cometchat-pro/javascript-chat-sdk#readme","bugs":{"url":"https://github.com/cometchat-pro/javascript-chat-sdk/issues"},"dist":{"shasum":"2373d3211bd695ff8b4d695e3d83252742a5276c","tarball":"https://registry.npmjs.org/@cometchat-pro/chat/-/chat-2.0.8.tgz","fileCount":5,"integrity":"sha512-OMLvF7ePPOvwkQ431HyrrRfU44F+hkCpz1++3Tov1dqHxZBaMe0sWIWIz7Do52tGmwSRQYG4BGRsHWZnXJ8mPw==","signatures":[{"sig":"MEUCIE1epaK4T23/E5AAfTEJ2vl35bjk0uVc2dSuJI7sW0NbAiEA3XeXf2tRv0KNuTWR5UxhdjMa8yDrl6QkJKkm6zlOUdQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":456889,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJezkZTCRA9TVsSAnZWagAAXqgQAIsc9IhX1jRGQIDGxD0D\nZpsASVHnwE/WBsieiNrkv97yvsz2y7xAScowOAO1Y6xZFo4D9UdzUH/62Aak\nHRSddHJKHmKEt0v5PwwxycklM+D352kZUvSKcR/81VAxrQntGT0I1QRXZEz0\nnn+Grd5FToidzO7w0xO2WoSYJf7+ZXH/nDER9bwVnK9yJAo6w4N+2GSAd1sz\nKMLNRP53CKjXTnW0tIzbKntheVg1XxJR+a6hrvsBxliSs3RV/yYlBOvZJX89\nYGhMC0wizfVoyQt1YxbnCSK8o6+GTjPvoiXRQmNNVhsJBeS7PHmcxy49bdRC\nJebaVMZJkNemOvaaIpiYgSIpSISH+e/mLBeESmaTgML+rQXzxUflSgqVK3Ns\nHOHOM615EBIAnTlFGDH0wsdPJhKqA9WI75BHdqRELIx9PiQmzNSDdnOg1oaq\nPe7KUXgVd17PAGua29QW0ayR/1297ii94SjdqMK8wGyhMiDZHbW/L7wlPVWH\nXq8CjKvJA1/d0/U5yZhOWy+fnbMQGSbjpXd/zVFQbiTW5JvgyEBJw5pct0ll\nKQUtA2okhMZOCyprvUzq0gNjIfQX1uwQajFAHh2TsUAy5PHwc70zOO7pFJj9\n7MpIAG0Ar4HxpzNY+hjwZlZxEEzYEKFYV4wyWogVMvlcgSAhfWGxQ2rOkrwf\n8agK\r\n=ZGfI\r\n-----END PGP SIGNATURE-----\r\n"},"main":"CometChat.js","gitHead":"37aa0daf98a12baeed5fdc779f02c4ae50a8cfa8","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"mayur-bhandari","email":"mayur.bhandari@inscripts.com"},"repository":{"url":"git+https://github.com/cometchat-pro/javascript-chat-sdk.git","type":"git"},"_npmVersion":"6.9.0","description":"A complete chat solution.","directories":{},"_nodeVersion":"10.16.1","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/chat_2.0.8_1590576722564_0.7035658898005621","host":"s3://npm-registry-packages"}},"2.0.9-beta1":{"name":"@cometchat-pro/chat","version":"2.0.9-beta1","keywords":["CometChat","chat","messaging","chat","sdk","pro","message","sdk","messaging","sdk","audio","chat","video","chat","webRTC"],"author":{"name":"CometChat"},"license":"SEE LICENSE IN LICENSE.md","_id":"@cometchat-pro/chat@2.0.9-beta1","maintainers":[{"name":"anantgarg","email":"anant.garg@inscripts.com"},{"name":"gajraajay","email":"ajay.gajra@inscripts.in"},{"name":"jitvarpatil","email":"jitvar.patil@inscripts.com"},{"name":"mayur-bhandari","email":"mayur.bhandari@inscripts.com"},{"name":"ranjanravi85","email":"ravi.ranjan@inscripts.com"},{"name":"taru.agarwal","email":"taru.agarwal@inscripts.com"}],"homepage":"https://github.com/cometchat-pro/javascript-chat-sdk#readme","bugs":{"url":"https://github.com/cometchat-pro/javascript-chat-sdk/issues"},"dist":{"shasum":"d077aa90cbc53f330e6b1bd22ebd70865af3fedb","tarball":"https://registry.npmjs.org/@cometchat-pro/chat/-/chat-2.0.9-beta1.tgz","fileCount":5,"integrity":"sha512-EjSoloRggv4xsucolsFsDrCuN+k9fjf5w2Nwu/nbWlbxSiTvEa3/hv81sV+1Ef3ZZ+cjybAUZPNVlczJVvCmKA==","signatures":[{"sig":"MEUCIQDzPfJCxDZypCeq2fOu5msn5VU4a8iBI5WJ+CpEvI8OjgIgfYoLIfRvA9vG6jKT34IiAAR94avgnNaN+uaG1WoWOJI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":457171,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe0+JcCRA9TVsSAnZWagAAEZUQAID9/e2feS8gvrX/1V7P\nyZYBGSZGNeQGboTfQg67L0EV/NI18qPHKHOaP9NEvxfTHRl9uCr0eO2pLXqo\n4uE1p0Bvu2pTDPSqt/qV1NA+als3VkzRsbvBtb5ZQ/Rae8JNb5b8pAK6SyrD\nKPbWbalKLeq5IhnQcQxwdjHlbdas9Vv/JUCp13v1aP3dYdcNUbgoiUX0wZp6\nXt7fImD/2iTOiXQ2WlkR+0s/9+wlSYGXQROFvWfZULcuhrWHnnksLa3R0L26\nVm3YpmePyTi4xfm/JxhxhCNdaOCD6A//22KgeQBADUazsQkD4Rn9vIXsxT9k\nvmJApUGlyAasjko+4UP4fO3RaR2Ln0p/v+UWgJ5IP/K+noPF/ZVRHXSprmnQ\nLbBgkCovVyV6SvX5uI7d5AoJO8AgRDhyRC3kec0EAkTH7o89LwkBgnKYLkpb\nv8Ff6Q1unf3yLvlGlGJ4RhOel77V4TgTYX7MMWvZ0bny50CuQExrqrqmmSAu\nzXxvLBa22lQtZz1T/AM15+fKDj0ZdaJD3AD9cmfsh0ySvrb/4QvAhc9SVCaG\nHIMc7Q69Qwv3l6VjbAVWCwZ1MUXeFHNwB2otO7YHrlAcyQy1ijQ0lagevB+/\nRPxQPtnOfNSzr7Oda5zlGfe/HPVXQGTAXKd/bLMd0KJC0gMB5Ol0R1DTHCW0\n+nEv\r\n=Zkkd\r\n-----END PGP SIGNATURE-----\r\n"},"main":"CometChat.js","readme":"<div style=\"width:100%\">\n<div style=\"width:100%\">\n\t<div style=\"width:50%; display:inline-block\">\n\t\t<p align=\"center\">\n\t\t<img style=\"text-align:center\" width=\"180\" height=\"180\" alt=\"\" src=\"https://raw.githubusercontent.com/cometchat-pro/ios-swift-chat-app/master/Screenshots/CometChat%20Logo.png\">\t\n\t\t</p>\t\n\t</div>\t\n</div>\n</br>\n</br>\n</div>\n\nCometChat Pro enables you to add voice, video & text chat for your website & app.\n\n<a href=\"https://www.npmjs.com\">[![Platform](https://img.shields.io/badge/Platform-Javascript-blue.svg)](#)</a>\n<a href=\"https://www.npmjs.com\">[![Platform](https://img.shields.io/badge/Platform-NPM-orange.svg)](#)</a>\n\n# Quick Start\n\nThis guide demonstrates how to add chat to a Javascript application using CometChat. Before you begin, we strongly recommend you read the <a href=\"https://prodocs.cometchat.com/docs/concepts\" target=\"_blank\">Key Concepts</a> guide.\n\n## Get your Application Keys\n\n<a href=\"https://app.cometchat.com\" target=\"_blank\">Signup for CometChat</a> and then:\n\n1. Create a new app: Enter a name & hit the **+** button\n2. Head over to the **API Keys** section and click on the **Create API Key** button\n3. Enter a name and select the scope as **Auth Only**\n4. Now note the **API Key** and **App ID**\n\n## Add the CometChat Dependency\n\n### NPM\nFirst, install via npm\n\n```\nnpm install @cometchat-pro/chat@2.0.8 --save\n```\n\nThen, import the `CometChat` object wherever you want to use CometChat\n\n```\nimport { CometChat } from \"@cometchat-pro/chat\" \n```\n\n### HTML (via CDN)\nInclude the CometChat Javascript library in your HTML code\n\n```\n<script type=\"text/javascript\" src=\"https://unpkg.com/@cometchat-pro/chat@2.0.8/CometChat.js\"></script>\n```\n\nTo learn more, please refer to our Documentation: <a href=\"https://prodocs.cometchat.com/v2.0/docs/js-quick-start\">Documentation</a>","gitHead":"0b106f3aa5aadc42015f3eb840a5b096234ecd4b","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"mayur-bhandari","email":"mayur.bhandari@inscripts.com"},"repository":{"url":"git+https://github.com/cometchat-pro/javascript-chat-sdk.git","type":"git"},"_npmVersion":"6.9.0","description":"A complete chat solution.","directories":{},"_nodeVersion":"10.16.1","_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/chat_2.0.9-beta1_1590944347969_0.6568755322933717","host":"s3://npm-registry-packages"}},"2.0.9":{"name":"@cometchat-pro/chat","version":"2.0.9","keywords":["CometChat","chat","messaging","chat","sdk","pro","message","sdk","messaging","sdk","audio","chat","video","chat","webRTC"],"author":{"name":"CometChat"},"license":"SEE LICENSE IN LICENSE.md","_id":"@cometchat-pro/chat@2.0.9","maintainers":[{"name":"anantgarg","email":"anant.garg@inscripts.com"},{"name":"gajraajay","email":"ajay.gajra@inscripts.in"},{"name":"jitvarpatil","email":"jitvar.patil@inscripts.com"},{"name":"mayur-bhandari","email":"mayur.bhandari@inscripts.com"},{"name":"ranjanravi85","email":"ravi.ranjan@inscripts.com"},{"name":"taru.agarwal","email":"taru.agarwal@inscripts.com"}],"homepage":"https://github.com/cometchat-pro/javascript-chat-sdk#readme","bugs":{"url":"https://github.com/cometchat-pro/javascript-chat-sdk/issues"},"dist":{"shasum":"5571f094264fb75143a32988ef4b40439097d8df","tarball":"https://registry.npmjs.org/@cometchat-pro/chat/-/chat-2.0.9.tgz","fileCount":5,"integrity":"sha512-6lOXmnYc+8ESaojJovjQvQHRIbmwYsn2o9jDoT9/F69ix1MAq8eb1N4I5BeAWzP+lOmY36A5vjJEfJnLRJySVA==","signatures":[{"sig":"MEUCIHnhzulxI/aNIBiBVVuQz5MLvmM4k5l9AOo8rbjyd9DmAiEAxh7xnbT/Lsldqp4KHDDocU5jyC1+p4ZFc3oX20OeG4s=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":458676,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe3nX8CRA9TVsSAnZWagAARTMP/1Lty8LGUKkgo4KBs20Y\nGOiJTHajHirdZJhmSYJ+ezaB0SXLxGFqPdzD/Wt17eUXWhhR8gDsjmAZLNh2\nCoOnakxVzz2B2uAknuK6lj8mAXMd/3bBROcBCZATn8c425UVjfoPCkvlxebz\nJW8VuhZYZQx8OQwSmamP801XxHEytJjn+pfv0/lVXHirV6Q1Y0csAlecnqZQ\nOG9KPegOuXuDdZJEeyJeGWO8c6XDx71IWHpb1XWOYREubumtX2tucdmIHf/F\n0kgSujqL5BYAU3vSdgwOVSloOLKIK9QrKJ/HtOc9qg6ou313jGGUyGhMv4YY\ne7tFMgWetDER3y2Ki7+2sG1HkBjOlvH6SkZEd3yXgHsiJgV31vFrTSqX/U3+\npQ3pHU5yNcmozIgLyl2l5jJBxCfXyZ1jHLsg/PFkndst/cCU+UAUR4ai4NlQ\n6+jKqtvCON3PI3g52iS26Q10VuJGgBgw5+esw0nTwVimMAXe521PM8uXWsax\n0+Ud20suvXrMrGahzQaiyriH5zNTAiL9rlqZ1/X3T37XufYjD9o0ukydJk6J\n27AsScGvIFRtKQFQ6m4hAX90+s7Er7/fFyEkMW/UMYGRhtfBTTtSMJdYSZgo\n1300qwOzmwEUTDBRrcZ/ca/82cuPgSFX5W2RWr2C49EnX5dQm8Wgg+t2Q7yf\nmSoc\r\n=ipnZ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"CometChat.js","gitHead":"634cefc29600745114bcdd52f8db7ba70d66870e","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"mayur-bhandari","email":"mayur.bhandari@inscripts.com"},"repository":{"url":"git+https://github.com/cometchat-pro/javascript-chat-sdk.git","type":"git"},"_npmVersion":"6.9.0","description":"A complete chat solution.","directories":{},"_nodeVersion":"10.16.1","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/chat_2.0.9_1591637499576_0.5605771968646227","host":"s3://npm-registry-packages"}},"2.0.10":{"name":"@cometchat-pro/chat","version":"2.0.10","keywords":["CometChat","chat","messaging","chat","sdk","pro","message","sdk","messaging","sdk","audio","chat","video","chat","webRTC"],"author":{"name":"CometChat"},"license":"SEE LICENSE IN LICENSE.md","_id":"@cometchat-pro/chat@2.0.10","maintainers":[{"name":"anantgarg","email":"anant.garg@inscripts.com"},{"name":"gajraajay","email":"ajay.gajra@inscripts.in"},{"name":"jitvarpatil","email":"jitvar.patil@inscripts.com"},{"name":"mayur-bhandari","email":"mayur.bhandari@inscripts.com"},{"name":"ranjanravi85","email":"ravi.ranjan@inscripts.com"},{"name":"taru.agarwal","email":"taru.agarwal@inscripts.com"}],"homepage":"https://github.com/cometchat-pro/javascript-chat-sdk#readme","bugs":{"url":"https://github.com/cometchat-pro/javascript-chat-sdk/issues"},"dist":{"shasum":"7ce542513a3461ed27c1c1a7eef2803455ced9aa","tarball":"https://registry.npmjs.org/@cometchat-pro/chat/-/chat-2.0.10.tgz","fileCount":5,"integrity":"sha512-4w5JSppOfYpKJYOGk1eK8Zp7hfJU+Olu/Cb1pi+APylYoZ013JUb/RedCiGqcuf/7j9jfwEr30wDhmbpZzVjdg==","signatures":[{"sig":"MEUCIQCTCo8I09TD3HmiAm+6s4O/6MOR0TFWhSOaix3J977ByQIgUFRu/My9yYrcOBVingeBWnkiPP9VoHJlFxDlERke/1A=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":463892,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe56chCRA9TVsSAnZWagAA29AP/ivMiWkUpkqeXS80A2B/\nEtcOjOaHdJKpu34o52S915LRvL1vOfRZOs7Ox58H7gj2dJaVWxLUAmNO3lYj\nbMAXVzLXXocCeulmkGx9IwTKYJwuRF4qVPdgfQ1l/wBgwu8qCY+8xiqWvZHa\n1eJAoyBy8/SfoHTWN71E4yZX2pEa324ttJ/AAjiWf0t55Vn/CiMCDPYDlR/E\nQJLEq8Ry5/HFlEGtruB6ggZkcmtVnH5EzHYmYkAR6qQBaSP8aeEYnrwH/C2d\nuqTvl300XMGrefJ8+JxZK3pN3qT9Kgd8+HHwWGbFeZmzeReiiZ9a5NIUTZ3n\n+NbN9coDj9IWhgYg1dUT57ah2c2xRIZiQwWSHYGEwJ5DUdAgzdE0icUNGCzZ\nPfdXIGZkp9HUIZWRuSOg/isQbESsgtd84NDbJg83kigCKguRRAACHD/xhowK\nZLeYBD9suIf9y/P/Ju0Fg6KFMQ4mOueF/yd74h0NfUR1igotsiZPg1Fgcxy+\nGkNquzC6WG1L6EupCp8cNKPGK1pAMp2/qhN5KTzGd9uqjWuyf8YXhYBj0MDu\nXet5zcpTWLJFSH6yEaK4e/A+ZnvoHJuiYw/Lx/kdHrbvnlMgKQfBwGVQYuTJ\nxd4jSytJmhY2Oy75//onuBiuoswc5DQwDCjIeG9zdQEJgoJo4TL7H6s5wodM\nKdUl\r\n=9IrD\r\n-----END PGP SIGNATURE-----\r\n"},"main":"CometChat.js","gitHead":"962ceb78b4d218736efd6f4465ba23a3d86ef3b1","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"mayur-bhandari","email":"mayur.bhandari@inscripts.com"},"repository":{"url":"git+https://github.com/cometchat-pro/javascript-chat-sdk.git","type":"git"},"_npmVersion":"6.9.0","description":"A complete chat solution.","directories":{},"_nodeVersion":"10.16.1","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/chat_2.0.10_1592239905185_0.9607786367466158","host":"s3://npm-registry-packages"}},"2.0.11-beta1":{"name":"@cometchat-pro/chat","version":"2.0.11-beta1","keywords":["CometChat","chat","messaging","chat","sdk","pro","message","sdk","messaging","sdk","audio","chat","video","chat","webRTC"],"author":{"name":"CometChat"},"license":"SEE LICENSE IN LICENSE.md","_id":"@cometchat-pro/chat@2.0.11-beta1","maintainers":[{"name":"anantgarg","email":"anant.garg@inscripts.com"},{"name":"gajraajay","email":"ajay.gajra@inscripts.in"},{"name":"jitvarpatil","email":"jitvar.patil@inscripts.com"},{"name":"mayur-bhandari","email":"mayur.bhandari@inscripts.com"},{"name":"ranjanravi85","email":"ravi.ranjan@inscripts.com"},{"name":"taru.agarwal","email":"taru.agarwal@inscripts.com"}],"homepage":"https://github.com/cometchat-pro/javascript-chat-sdk#readme","bugs":{"url":"https://github.com/cometchat-pro/javascript-chat-sdk/issues"},"dist":{"shasum":"25e4220cb92c76e51ba4310df566486a0eee0fe3","tarball":"https://registry.npmjs.org/@cometchat-pro/chat/-/chat-2.0.11-beta1.tgz","fileCount":5,"integrity":"sha512-CD4v87VEGY01ERfe4MzLX3zrkjUzpBTgMLmB9+0ji8jpjGGjHdPEsGsxt2jAbEVE6+eR2NUkwFxn4Tsbwlxyag==","signatures":[{"sig":"MEUCIQDSJ9kXwc5lT2z5rqp2LsUCTvzG2CH+WEWltbqTMFOlTQIgT9VqDVFjGzJTc6EtYAuSRDbHFJvE70fR+ZG/a22O3mA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":464000,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe8ihPCRA9TVsSAnZWagAAPXwP/3c2rCbzKANxNXq8StMd\nhwMf8dGFDgfpFWDjXhUbTBE3R6qo6K8y+vMN5PmxLcOBMzZcaclMEy+EEXWD\ndyY2tyWujQn60WcZsQnfqSYyF8Q+UcWMD/veiXYhxte1ouDinC/AXInXDvq1\nMfU8BELWhOkM8Me0PpPN2/vAh8jocUXObZUB7NxjWzAF0gcIH2yeMCHCbZZV\nThhTaVO29XP2OS3jijWP3RkbizUK0AgAMtKroT+pAd+NYfur4mU/u9opHaxB\nncZZ1WxBxMPyAXM7VIshbFHP5eY1zAQaQTyeoILNt61Xj7nddomNDiYWOOks\n60Zm3pfp+1tKqaIlw0rVIDxQqDD2hFf6eLj9VurJiEF/SQWdUHkPGJ1wUGHb\nptTYIgtyw0fqK+GBD1XtoZbm/ReJPDxH/MUNO8M/ivAZR/T5AbdaWYzHQDmo\na2n8kzcw0S0l113XCpm6MA1lq23pOTd3D/BUBRG5Y+ohFnaJO10kz4PZYtDl\n/CDP4TO81p3+RcuwNSQnjK7/dT0Mw4Owb+feI98nUKc+JUcexJZ9hqlqloSk\nRH2rydM+6JgX8rhmYV5TF6bBgcmOA3ywepRe5YH6dEB5cadgATUNgMT7KxK0\nYy5jfD1o9fRmVEIMh00IHfauvZyiNmpA5LAyH55AgwY7eFHxlP40dL5YtRLW\n8k4M\r\n=Y2zk\r\n-----END PGP SIGNATURE-----\r\n"},"main":"CometChat.js","readme":"<div style=\"width:100%\">\n<div style=\"width:100%\">\n\t<div style=\"width:50%; display:inline-block\">\n\t\t<p align=\"center\">\n\t\t<img style=\"text-align:center\" width=\"180\" height=\"180\" alt=\"\" src=\"https://raw.githubusercontent.com/cometchat-pro/ios-swift-chat-app/master/Screenshots/CometChat%20Logo.png\">\t\n\t\t</p>\t\n\t</div>\t\n</div>\n</br>\n</br>\n</div>\n\nCometChat Pro enables you to add voice, video & text chat for your website & app.\n\n<a href=\"https://www.npmjs.com\">[![Platform](https://img.shields.io/badge/Platform-Javascript-blue.svg)](#)</a>\n<a href=\"https://www.npmjs.com\">[![Platform](https://img.shields.io/badge/Platform-NPM-orange.svg)](#)</a>\n\n# Quick Start\n\nThis guide demonstrates how to add chat to a Javascript application using CometChat. Before you begin, we strongly recommend you read the <a href=\"https://prodocs.cometchat.com/docs/concepts\" target=\"_blank\">Key Concepts</a> guide.\n\n## Get your Application Keys\n\n<a href=\"https://app.cometchat.com\" target=\"_blank\">Signup for CometChat</a> and then:\n\n1. Create a new app: Enter a name & hit the **+** button\n2. Head over to the **API Keys** section and click on the **Create API Key** button\n3. Enter a name and select the scope as **Auth Only**\n4. Now note the **API Key** and **App ID**\n\n## Add the CometChat Dependency\n\n### NPM\nFirst, install via npm\n\n```\nnpm install @cometchat-pro/chat@2.0.10 --save\n```\n\nThen, import the `CometChat` object wherever you want to use CometChat\n\n```\nimport { CometChat } from \"@cometchat-pro/chat\" \n```\n\n### HTML (via CDN)\nInclude the CometChat Javascript library in your HTML code\n\n```\n<script type=\"text/javascript\" src=\"https://unpkg.com/@cometchat-pro/chat@2.0.10/CometChat.js\"></script>\n```\n\nTo learn more, please refer to our Documentation: <a href=\"https://prodocs.cometchat.com/v2.0/docs/js-quick-start\">Documentation</a>","gitHead":"1316b5d9a34cd64e0d9ec00f4b56d363fa68d4f8","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"mayur-bhandari","email":"mayur.bhandari@inscripts.com"},"repository":{"url":"git+https://github.com/cometchat-pro/javascript-chat-sdk.git","type":"git"},"_npmVersion":"6.9.0","description":"A complete chat solution.","directories":{},"_nodeVersion":"10.16.1","_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/chat_2.0.11-beta1_1592928334520_0.70000610495273","host":"s3://npm-registry-packages"}},"2.0.11-beta2":{"name":"@cometchat-pro/chat","version":"2.0.11-beta2","keywords":["CometChat","chat","messaging","chat","sdk","pro","message","sdk","messaging","sdk","audio","chat","video","chat","webRTC"],"author":{"name":"CometChat"},"license":"SEE LICENSE IN LICENSE.md","_id":"@cometchat-pro/chat@2.0.11-beta2","maintainers":[{"name":"anantgarg","email":"anant.garg@inscripts.com"},{"name":"gajraajay","email":"ajay.gajra@inscripts.in"},{"name":"jitvarpatil","email":"jitvar.patil@inscripts.com"},{"name":"mayur-bhandari","email":"mayur.bhandari@inscripts.com"},{"name":"ranjanravi85","email":"ravi.ranjan@inscripts.com"},{"name":"taru.agarwal","email":"taru.agarwal@inscripts.com"}],"homepage":"https://github.com/cometchat-pro/javascript-chat-sdk#readme","bugs":{"url":"https://github.com/cometchat-pro/javascript-chat-sdk/issues"},"dist":{"shasum":"3146320304e0676e370f6dbe19c70f9f2c0b17c9","tarball":"https://registry.npmjs.org/@cometchat-pro/chat/-/chat-2.0.11-beta2.tgz","fileCount":5,"integrity":"sha512-lZObhWu43wc/GAUcJ0fK/tf0dvjaIcFZmlMJUUj20ETmWCOKOzi2I2fDA60KMcXLNGSY6cCc9PRyAFfkX6RT5A==","signatures":[{"sig":"MEUCIQCMzvYDvScV5f21v5wZ/XT8jurUxt3pmQ2ShghylyPWRAIgPQVWnjDaK8e8rLwtiu1lMyB7mDiMFhr5t+qZ+cz/nBU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":464000,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe9MZHCRA9TVsSAnZWagAA5UQP/1WPAvbKGSqepLJd3O+Y\n3am44YCmeYprR+SInOw0WVpgBF874iGzoIu1TdholQsHsMkx5maaWfXGgmVF\nU6C30da8//XheVm4iXi8SoK1oy03nQBWjRbF/6t7ha5fMFJZR+/CnAyIfi2A\nxkEO1/bjveWW2mmA7iVH1EIvvfTmMHoxpMMOK1roVBctF7+rtWqFHG0Tq7Fz\nkczoyXqxPGiXHNA80rkKBR3BvoiB/6fC4aMuFPWJvgkufJSlBsZ7YU+y/z8s\nXpHVJt8oCV/iRGoZ8pvOPCWLbdWPXrIe3skbe7E7Fwt/ZSt/LfxrsDuLZK1z\n6qpmh9OdWUJCvdzcLTHbZIiL3M1RvOUwzAhoG+4D1qR+GPNkML4umV14Nk6f\n9RxiD4iPRhlGBb/qtaOmzRR+ol9JkaYVCBokZ3da3tCaYdHXhQcgwhMt6fFY\n80eIdGjWG5i8rSOhBf2vIag5yTN0fFyQFfvKCCUfMIUj+eMa8Hb52cFVpzox\nd5Jstuyou8opBpPhiiah7H5CvtK4L6U5TFJR0DtYHeFq+fS6WzlMaysMPHoq\njuExmW2ij0Vk82JCrWk52DzfjgYTRzdtS6oWKLyydxxI5Suwe4u4PRShIaYB\nBzAVKf9+NJfZ/PhyNu3PqcMMQ1hAHM7DyxF9L81aUG7z/CeHSd1OwLSYaytj\nXzRw\r\n=ziPD\r\n-----END PGP SIGNATURE-----\r\n"},"main":"CometChat.js","readme":"<div style=\"width:100%\">\n<div style=\"width:100%\">\n\t<div style=\"width:50%; display:inline-block\">\n\t\t<p align=\"center\">\n\t\t<img style=\"text-align:center\" width=\"180\" height=\"180\" alt=\"\" src=\"https://raw.githubusercontent.com/cometchat-pro/ios-swift-chat-app/master/Screenshots/CometChat%20Logo.png\">\t\n\t\t</p>\t\n\t</div>\t\n</div>\n</br>\n</br>\n</div>\n\nCometChat Pro enables you to add voice, video & text chat for your website & app.\n\n<a href=\"https://www.npmjs.com\">[![Platform](https://img.shields.io/badge/Platform-Javascript-blue.svg)](#)</a>\n<a href=\"https://www.npmjs.com\">[![Platform](https://img.shields.io/badge/Platform-NPM-orange.svg)](#)</a>\n\n# Quick Start\n\nThis guide demonstrates how to add chat to a Javascript application using CometChat. Before you begin, we strongly recommend you read the <a href=\"https://prodocs.cometchat.com/docs/concepts\" target=\"_blank\">Key Concepts</a> guide.\n\n## Get your Application Keys\n\n<a href=\"https://app.cometchat.com\" target=\"_blank\">Signup for CometChat</a> and then:\n\n1. Create a new app: Enter a name & hit the **+** button\n2. Head over to the **API Keys** section and click on the **Create API Key** button\n3. Enter a name and select the scope as **Auth Only**\n4. Now note the **API Key** and **App ID**\n\n## Add the CometChat Dependency\n\n### NPM\nFirst, install via npm\n\n```\nnpm install @cometchat-pro/chat@2.0.10 --save\n```\n\nThen, import the `CometChat` object wherever you want to use CometChat\n\n```\nimport { CometChat } from \"@cometchat-pro/chat\" \n```\n\n### HTML (via CDN)\nInclude the CometChat Javascript library in your HTML code\n\n```\n<script type=\"text/javascript\" src=\"https://unpkg.com/@cometchat-pro/chat@2.0.10/CometChat.js\"></script>\n```\n\nTo learn more, please refer to our Documentation: <a href=\"https://prodocs.cometchat.com/v2.0/docs/js-quick-start\">Documentation</a>","gitHead":"87d146ecfc2a771685d7f353394289fcd9b4616e","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"mayur-bhandari","email":"mayur.bhandari@inscripts.com"},"repository":{"url":"git+https://github.com/cometchat-pro/javascript-chat-sdk.git","type":"git"},"_npmVersion":"6.9.0","description":"A complete chat solution.","directories":{},"_nodeVersion":"10.16.1","_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/chat_2.0.11-beta2_1593099847160_0.6220655698721755","host":"s3://npm-registry-packages"}},"2.0.11":{"name":"@cometchat-pro/chat","version":"2.0.11","keywords":["CometChat","chat","messaging","chat","sdk","pro","message","sdk","messaging","sdk","audio","chat","video","chat","webRTC"],"author":{"name":"CometChat"},"license":"SEE LICENSE IN LICENSE.md","_id":"@cometchat-pro/chat@2.0.11","maintainers":[{"name":"anantgarg","email":"anant.garg@inscripts.com"},{"name":"gajraajay","email":"ajay.gajra@inscripts.in"},{"name":"jitvarpatil","email":"jitvar.patil@inscripts.com"},{"name":"mayur-bhandari","email":"mayur.bhandari@inscripts.com"},{"name":"ranjanravi85","email":"ravi.ranjan@inscripts.com"},{"name":"taru.agarwal","email":"taru.agarwal@inscripts.com"}],"homepage":"https://github.com/cometchat-pro/javascript-chat-sdk#readme","bugs":{"url":"https://github.com/cometchat-pro/javascript-chat-sdk/issues"},"dist":{"shasum":"86f8780e94fe1b0383ef7362f2cbdba4410d3479","tarball":"https://registry.npmjs.org/@cometchat-pro/chat/-/chat-2.0.11.tgz","fileCount":5,"integrity":"sha512-P2TCTS4KSOGmn2wZsReByQXb2Bb4t8PkCNTs6kN/3koKF6anWBHEBJPNqd3TBsDP8gWCMMrSa2p+6kzQJOsjxA==","signatures":[{"sig":"MEUCICX4FJUNduYa21FXw6KXl6WbB35jp0Cdxy3pjJb6cIfYAiEAhMmpF0H7Qs80BtvS0F2+lfgKfn/3aQj836/8MO9E4AM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":466585,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfBZgeCRA9TVsSAnZWagAAPLcQAID86xLX7XTbJwuiILdX\nxfKBkroDdB7L6N3gBkAg1Y0lNUtjBhjM84MuHH5nilkxAWmFN8xYjdZi8Kkl\nSRb0H1cxx7nh57Miq6xrXXbr4Vrmy4S6bBHCbqkEGl20z+kvVuqAUguM/S3Z\nmAqy+JXuMTJa/6+d2t4fZ7J09b4H2cE/fc48wUE4H52y6b9U0j515LxPvc8C\nQN6OElofpA3epuH01Na+ky1j8F5t4svQQImYcsoVoO49Cp04DaYoaPqrsSgK\nW1C/0iYD3EvVMZwHwyy2Z7icpZOrForHpUYyJOcvCIveTH+5cNIvxFKuEF7P\nIL3m5HdHTvlEceObVXUbBAI5P4hL/erTEXShw/bjWKJyc2JU+A0r9LoCZ+W6\ntz2vMxshutPEdGqD8HVGpdy6dlyzyvBB44hJLRra/r/1YaFqNdjm60MWEst9\n+pMEm1drIs9FNAPtT+7zdqMfwcfSp15yXpu8XFJ/OYlnrGU/HgjvlKjqdbh+\noCj/oBtlvSt2lhAptHBvTJhqx0L+oAIvGy8pUlumSLq5uLBwBJxWFRERdTkF\nnx1l5Y7TBz2iQE6WxRPA2lfKQDdNVkjgcBK/itGt01rCaHTHWDnJ4YRrdJ/Q\nlGLCS/4awJE9ONMAORRkyIt02yPDWk9OD2reOVd4vfsKfeCDx+d+dKqKCwtG\nt1bp\r\n=FllX\r\n-----END PGP SIGNATURE-----\r\n"},"main":"CometChat.js","gitHead":"7b7a5c0bfc19beca3a2f2ffc9223ee70419c6e2e","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"mayur-bhandari","email":"mayur.bhandari@inscripts.com"},"repository":{"url":"git+https://github.com/cometchat-pro/javascript-chat-sdk.git","type":"git"},"_npmVersion":"6.9.0","description":"A complete chat solution.","directories":{},"_nodeVersion":"10.16.1","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/chat_2.0.11_1594202142418_0.13141939635539268","host":"s3://npm-registry-packages"}},"2.0.12":{"name":"@cometchat-pro/chat","version":"2.0.12","keywords":["CometChat","chat","messaging","chat","sdk","pro","message","sdk","messaging","sdk","audio","chat","video","chat","webRTC"],"author":{"name":"CometChat"},"license":"SEE LICENSE IN LICENSE.md","_id":"@cometchat-pro/chat@2.0.12","maintainers":[{"name":"anantgarg","email":"anant.garg@inscripts.com"},{"name":"gajraajay","email":"ajay.gajra@inscripts.in"},{"name":"jitvarpatil","email":"jitvar.patil@inscripts.com"},{"name":"mayur-bhandari","email":"mayur.bhandari@inscripts.com"},{"name":"ranjanravi85","email":"ravi.ranjan@inscripts.com"},{"name":"taru.agarwal","email":"taru.agarwal@inscripts.com"}],"homepage":"https://github.com/cometchat-pro/javascript-chat-sdk#readme","bugs":{"url":"https://github.com/cometchat-pro/javascript-chat-sdk/issues"},"dist":{"shasum":"b5cfe5764881bd4cec85690411585b3ee96b60a9","tarball":"https://registry.npmjs.org/@cometchat-pro/chat/-/chat-2.0.12.tgz","fileCount":5,"integrity":"sha512-9rf01ZHyvzR/Modjl7HDMDc7LwfOUVwx4kcYhPIOM6jPMbdOcEERgUBL2osiVGUUMH+DEBvt7s3QnmxJepJxtg==","signatures":[{"sig":"MEUCIQCC26Kb45K4vAO++Aj8zQ1P6mx2fYjbaKGvYKfF5exbDgIgWxRLs7idIRqWArASE/BtLG23uN+qZvKBUF2RhQgMXvk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":469570,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfB0PKCRA9TVsSAnZWagAA7gwP+QBELlm/aN6kNDY9cPkU\n4bWtLkUVSMDEc9+FOhiTnu8Z6oT96tlQK5lat07IJ4s7ukurTk4E9t2ItXml\ncDD4SDZj/JkAJgkzLeaYdnf82gj7RNn/cM0aUNXLkcdfG9So89fK+oISigp7\nt6rqjfIAGfjA8aiaBJN2kZxv+JLHyqWCefyvGDtrrqsl6agQgZOFnGf51S6o\n36d1kWXCKP93YKPXcMyDs9SzvHOOJa1pBCq5maIBJemZ0TbBrMQ3LaDuI1SM\nahWjSVqZ+/23+oggaV1KIOC1pF9N828+EMEufJXFVu1QbXK83JoAnHtWGQk4\nOEqA/vnzjuUJ0s+y6/oxe5w8SwgftatQx9Y7wxVzW8ZvQt3lTvdu9Bb4wzLd\nrhdas3wJtiTWEYqepw9gcpurL2WTvmUg0WzOgc1GwA2blmZxaHLvyvU8MZc6\nzOLwKQdhyrnoS/bYcvD/O5BRy9+aIvso0J6Rs14BzWLvDcLn0FQjm2zC3QOJ\nljUcVCJsOz8fGgZljZdvmw/Z8TZckJNO31BUOXyQ5l4YEPWF37Yd+o5BcHe7\nnMc00u6iGzC7GSNXTsg+41Pboj99v560gULqfpjJkPXZ2RSt4YpU1Pd/RY9K\nt6beNZhMhz052lHnPm4NGkGFIkhu2s1gExL5QAp/faFEf2lUmKYfAAA/ckHy\n3Mij\r\n=R3XL\r\n-----END PGP SIGNATURE-----\r\n"},"main":"CometChat.js","gitHead":"607a6806aa7388227856595b172d8e2b075e1756","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"mayur-bhandari","email":"mayur.bhandari@inscripts.com"},"repository":{"url":"git+https://github.com/cometchat-pro/javascript-chat-sdk.git","type":"git"},"_npmVersion":"6.9.0","description":"A complete chat solution.","directories":{},"_nodeVersion":"10.16.1","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/chat_2.0.12_1594311625579_0.19633590952390678","host":"s3://npm-registry-packages"}},"2.1.0":{"name":"@cometchat-pro/chat","version":"2.1.0","keywords":["CometChat","chat","messaging","chat","sdk","pro","message","sdk","messaging","sdk","audio","chat","video","chat","webRTC"],"author":{"name":"CometChat"},"license":"SEE LICENSE IN LICENSE.md","_id":"@cometchat-pro/chat@2.1.0","maintainers":[{"name":"anantgarg","email":"anant.garg@inscripts.com"},{"name":"gajraajay","email":"ajay.gajra@inscripts.in"},{"name":"jitvarpatil","email":"jitvar.patil@inscripts.com"},{"name":"mayur-bhandari","email":"mayur.bhandari@inscripts.com"},{"name":"ranjanravi85","email":"ravi.ranjan@inscripts.com"},{"name":"taru.agarwal","email":"taru.agarwal@inscripts.com"}],"homepage":"https://github.com/cometchat-pro/javascript-chat-sdk#readme","bugs":{"url":"https://github.com/cometchat-pro/javascript-chat-sdk/issues"},"dist":{"shasum":"25b1aac57c09957f718e54dce72fc3f4d9582ffa","tarball":"https://registry.npmjs.org/@cometchat-pro/chat/-/chat-2.1.0.tgz","fileCount":5,"integrity":"sha512-1OY3LlYdI1V/65+lw2GmVUA3YSyJ5oIHSCfnMkyMx4eTYwUq0KmejtCZ7X7RCLQjP7VRk39qusqq0NqgczkIhg==","signatures":[{"sig":"MEYCIQCpxzBOzI6aIONecl1+UjPSSXkt/eCkdKh/oGZl4k4O4gIhAJz59s7qy+QSL3/ot4JGhIB28WZgFriZDVBbqxLsQ0Ry","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":479080,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfPVgCCRA9TVsSAnZWagAAoIMP/iNKz+tRlET1hKbP8y2Z\nzPX0JYrLDofuo8xYtRUkNML7WN/FP79PAgJs0DNyy7mzXzUr1VMVkJI9IXGw\n5veb+klQ7V/Sj0iC+hsCwg9xxkatDCSWmfsYvyFwbf8Gp/XntUXnz6alIM1o\niTS1WfPDBi8qZkB3IZWGcl2eEpmTt5CCS8vQzpSdcG+inlIJM82WX4I6VARw\npoHUdKsjWrqJK75E1ntNVCmmDxmTCUEh8Dnme3DQML2jq1JI+ypw4GVmj4Eo\n1/2pEDDFNvrJNiFoVwPOOgWEFXluMhvYuWYsE/JUKJS5b+M2T1IU6PIf6ov0\nWoyQHp8WfpUNqWrFc4orvOTwzGGX+rJWv/0NNidNSkYkMfDdf59sjTJ+n1hJ\n8gRJ9CDvpq0iNrQYcjvP/zkRMJqQCFsr5uH042NeqmOHDq1sAaQ7BzHUnTfL\nbS29J/oNlQTz9p899tctX3UKCVzl33cjtWtHG1CrVluSyQDqh/Fu7i8Y13kQ\nA3sOLHo7zl6KLx5i8fdGpEmqq2uEdhFIrJkxf+MB9SlA6NwYg2WtaXI2iI1o\nyJab5bR5Cl+J34y2ppDkgIrwS7Cp8JRvLUF3nJIC7VTZejBFtvsMdd9vRaqG\nnbvlPi5HuVcw0Z1R5k0JjscaV7akqzcSd9si7DYhVGTXygbsDjQblln3wuPs\n4uIF\r\n=UzqP\r\n-----END PGP SIGNATURE-----\r\n"},"main":"CometChat.js","gitHead":"607a6806aa7388227856595b172d8e2b075e1756","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"mayur-bhandari","email":"mayur.bhandari@inscripts.com"},"repository":{"url":"git+https://github.com/cometchat-pro/javascript-chat-sdk.git","type":"git"},"_npmVersion":"6.9.0","description":"A complete chat solution.","directories":{},"_nodeVersion":"10.16.1","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/chat_2.1.0_1597855745872_0.845264450522514","host":"s3://npm-registry-packages"}},"2.1.1-beta1":{"name":"@cometchat-pro/chat","version":"2.1.1-beta1","keywords":["CometChat","chat","messaging","chat","sdk","pro","message","sdk","messaging","sdk","audio","chat","video","chat","webRTC"],"author":{"name":"CometChat"},"license":"SEE LICENSE IN LICENSE.md","_id":"@cometchat-pro/chat@2.1.1-beta1","maintainers":[{"name":"anantgarg","email":"anant.garg@inscripts.com"},{"name":"gajraajay","email":"ajay.gajra@inscripts.in"},{"name":"jitvarpatil","email":"jitvar.patil@inscripts.com"},{"name":"mayur-bhandari","email":"mayur.bhandari@inscripts.com"},{"name":"ranjanravi85","email":"ravi.ranjan@inscripts.com"},{"name":"taru.agarwal","email":"taru.agarwal@inscripts.com"}],"homepage":"https://github.com/cometchat-pro/javascript-chat-sdk#readme","bugs":{"url":"https://github.com/cometchat-pro/javascript-chat-sdk/issues"},"dist":{"shasum":"5e21a993de08bdffa6f740913eee55b417335b55","tarball":"https://registry.npmjs.org/@cometchat-pro/chat/-/chat-2.1.1-beta1.tgz","fileCount":5,"integrity":"sha512-AAoh3yEaDDqOYBDNQEa1tFruW1pdz4zY54LbE/TZE+H42kYGYRubJYFAz2wxlHjJ3hX3xyp72vwXSuPecE66tg==","signatures":[{"sig":"MEUCIQC5FA/6xUEkTeYi0Al4mjg6QPhd35pVRp/KrknaafVgFgIgMUjnDIAeSml67UT9n+3MNKZKjz8b5QnYDycSd6h9Nvs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":479402,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfSUCvCRA9TVsSAnZWagAAjl8P/RpFUXM57tzbJ9TsZ5zY\nWVGdvkHu9yh3S9+QfIWheGDV91gBCbrSrt6hmHMdGVyCMfWZg8beK43TC96p\n4mg527QOtL1UvJupTYDOts4G92nyYr1hlvIFwaQakytNiZ29E2aOWKMYYn8j\nMYNAkzKIN8eu6NCkWTgvkSTHVdyZoesP4Y3+9j2fUQ0+nojH+G7fJXVXnip/\ncd5e6UNGps0RbWc8m5LauankT55f6bIcsDF68mCwVLBpreHxL7FOCusI4hWG\nREP0DOXPYt/vc0qHuE0hDZyP6AYe22yhXzBLgfxySI0dX3g0gi8Yq+flOxcV\nkLsgB0X/rP4ifYAs7/0zAEyo72IJAhCysyXHB3hcPE/fr8j1vQT5Ilqt2aNW\nl2CilZ6FPW0HCFXLbHlEtW+WZCSR66qNJ1ZTAZBG8jqbGzL9YUauiZNtcCNN\nLyWekJQOWTtI9LfD/AjxE4RZFiKVsrcZLYhYItB0JVI7RRKqI9RWNSjzkTd0\naJ+15uxKZIanHzBE2sJpyX6wkGibcU1ngJE9+2C5ne9qis8qvnA1uQ/tUx95\ncak7TPwce3O3y/Q9X582dr2RwsOawz0nx+jtqKojJZysYEeVI3ZLoq4YWgFg\nOu6QlvIwbPDk+tTVPXlMsnhLfBisvdYouc5WelOmzU90zYpoY05NwMkk1yE8\nnaYe\r\n=UlJ6\r\n-----END PGP SIGNATURE-----\r\n"},"main":"CometChat.js","readme":"<div style=\"width:100%\">\n<div style=\"width:100%\">\n\t<div style=\"width:50%; display:inline-block\">\n\t\t<p align=\"center\">\n\t\t<img style=\"text-align:center\" width=\"180\" height=\"180\" alt=\"\" src=\"https://raw.githubusercontent.com/cometchat-pro/ios-swift-chat-app/master/Screenshots/CometChat%20Logo.png\">\t\n\t\t</p>\t\n\t</div>\t\n</div>\n</br>\n</br>\n</div>\n\nCometChat Pro enables you to add voice, video & text chat for your website & app.\n\n<a href=\"https://www.npmjs.com\">[![Platform](https://img.shields.io/badge/Platform-Javascript-blue.svg)](#)</a>\n<a href=\"https://www.npmjs.com\">[![Platform](https://img.shields.io/badge/Platform-NPM-orange.svg)](#)</a>\n\n# Quick Start\n\nThis guide demonstrates how to add chat to a Javascript application using CometChat. Before you begin, we strongly recommend you read the <a href=\"https://prodocs.cometchat.com/docs/concepts\" target=\"_blank\">Key Concepts</a> guide.\n\n## Get your Application Keys\n\n<a href=\"https://app.cometchat.com\" target=\"_blank\">Signup for CometChat</a> and then:\n\n1. Create a new app: Enter a name & hit the **+** button\n2. Head over to the **API Keys** section and click on the **Create API Key** button\n3. Enter a name and select the scope as **Auth Only**\n4. Now note the **API Key** and **App ID**\n\n## Add the CometChat Dependency\n\n### NPM\nFirst, install via npm\n\n```\nnpm install @cometchat-pro/chat@2.1.0 --save\n```\n\nThen, import the `CometChat` object wherever you want to use CometChat\n\n```\nimport { CometChat } from \"@cometchat-pro/chat\" \n```\n\n### HTML (via CDN)\nInclude the CometChat Javascript library in your HTML code\n\n```\n<script type=\"text/javascript\" src=\"https://unpkg.com/@cometchat-pro/chat@2.1.0/CometChat.js\"></script>\n```\n\nTo learn more, please refer to our Documentation: <a href=\"https://prodocs.cometchat.com/docs/js-quick-start\">Documentation</a>","gitHead":"8565f7eec5badd5757a4231e3f2543b44e0a87cf","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"mayur-bhandari","email":"mayur.bhandari@inscripts.com"},"repository":{"url":"git+https://github.com/cometchat-pro/javascript-chat-sdk.git","type":"git"},"_npmVersion":"6.9.0","description":"A complete chat solution.","directories":{},"_nodeVersion":"10.16.1","_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/chat_2.1.1-beta1_1598636206492_0.17059149560069797","host":"s3://npm-registry-packages"}},"2.1.1":{"name":"@cometchat-pro/chat","version":"2.1.1","keywords":["CometChat","chat","messaging","chat","sdk","pro","message","sdk","messaging","sdk","audio","chat","video","chat","webRTC"],"author":{"name":"CometChat"},"license":"SEE LICENSE IN LICENSE.md","_id":"@cometchat-pro/chat@2.1.1","maintainers":[{"name":"ranjanravi85","email":"ravi.ranjan@inscripts.com"},{"name":"jitvarpatil","email":"jitvar.patil@inscripts.com"},{"name":"mayur-bhandari","email":"mayur.bhandari@inscripts.com"},{"name":"taru.agarwal","email":"taru.agarwal@inscripts.com"},{"name":"gajraajay","email":"ajay.gajra@inscripts.in"},{"name":"anantgarg","email":"anant.garg@inscripts.com"}],"homepage":"https://github.com/cometchat-pro/javascript-chat-sdk#readme","bugs":{"url":"https://github.com/cometchat-pro/javascript-chat-sdk/issues"},"dist":{"shasum":"a77465f7cafe8ba89862ed80120af0157b19cf83","tarball":"https://registry.npmjs.org/@cometchat-pro/chat/-/chat-2.1.1.tgz","fileCount":5,"integrity":"sha512-t3usev0aN8i4Azan+geHmwH4ljqMIl+KRlym+aS8mTo1HlfkIaFxkE9zSH+XCJFB9cbWuWndy5v7yD8TrD7Lcg==","signatures":[{"sig":"MEQCIDDfAQjAXhfH/uH+AattSiPYY3VMGqkoPCUMA9bYh1s6AiAmgvzBHfkqMlciKxNwyhdXLb0R3Y29BZyEHa25wD7Urw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":490210,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfbgRhCRA9TVsSAnZWagAArEgP/1WIqdivwr3gFDVMDAxF\nNzVdjm/UQlI4cDrcC/VlaIvQhq3INZ1fz4Yhke7QK9WlbTWXwKN9Gimg8fG5\nx/yxH8qCCyPNe3rrOEXaVaw/Nd7oK8149Sm86mi3xm+FpsRX5ubYcs2iDIfy\nQhSNxRIL+B65MYgeKxEEO8nlsC/cqxKQp+8xIdbu7q0trPHTuxeS7AFnmBix\nd9D+Kk4ir062KXZtbJLgtC+KOHIKtohyJ8Z3tf/H6tL6GrE8sZq53u61udg8\nBMkKYtHtVTu4Xa5AdT11uiE9zHAoypTc70vTrE/dM2YQk3Qd8HoUEzM7tsxX\ny9OdTa2xOo6CVQ7twqEnuZ1nMEZQ9nAoFh8j/OfuNbBfHavB3U7WXM3ok3e1\nbSZqvnNj+gzUDiQFptKf4Efn3kvLDw9VLiqwXBdt9iySbaK+B8hRGJ8dzkVX\n4tiOhKu1eFA5b/xZ//q85h31nI17Q6kfMAngLfNcPbhIj0uVcg96tRB7LyTB\nGseMvntJ1OS7mxpbay8Ndnk+/o4apV7Ol01kvXQIQln2arIEdWFfNIpkgNw0\nV3Nht8bx88KvVutt1yF3z9qdFO7WEOkOIhz50DC4bGcLU6q/X73bUZuHXaDw\n7I9erRMoOLns31cVShfkigMtQ5onlHRGm9URif38bhIiAEzDZUvgj0F1bvGt\nJ+tA\r\n=X5Vy\r\n-----END PGP SIGNATURE-----\r\n"},"main":"CometChat.js","gitHead":"3102e39184d3779e61bee1a2a2523f6dc12cc205","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"mayur-bhandari","email":"mayur.bhandari@inscripts.com"},"repository":{"url":"git+https://github.com/cometchat-pro/javascript-chat-sdk.git","type":"git"},"_npmVersion":"6.9.0","description":"A complete chat solution.","directories":{},"_nodeVersion":"10.16.1","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/chat_2.1.1_1601045600561_0.24294032993815962","host":"s3://npm-registry-packages"}},"2.1.2":{"name":"@cometchat-pro/chat","version":"2.1.2","keywords":["CometChat","chat","messaging","chat","sdk","pro","message","sdk","messaging","sdk","audio","chat","video","chat","webRTC"],"author":{"name":"CometChat"},"license":"SEE LICENSE IN LICENSE.md","_id":"@cometchat-pro/chat@2.1.2","maintainers":[{"name":"ranjanravi85","email":"ravi.ranjan@inscripts.com"},{"name":"jitvarpatil","email":"jitvar.patil@inscripts.com"},{"name":"mayur-bhandari","email":"mayur.bhandari@inscripts.com"},{"name":"taru.agarwal","email":"taru.agarwal@inscripts.com"},{"name":"gajraajay","email":"ajay.gajra@inscripts.in"},{"name":"anantgarg","email":"anant.garg@inscripts.com"}],"homepage":"https://github.com/cometchat-pro/javascript-chat-sdk#readme","bugs":{"url":"https://github.com/cometchat-pro/javascript-chat-sdk/issues"},"dist":{"shasum":"312c15e4a0e804cb9f25a3265902854a386a4522","tarball":"https://registry.npmjs.org/@cometchat-pro/chat/-/chat-2.1.2.tgz","fileCount":5,"integrity":"sha512-k2jeJbE2sFSxSOdMaO3r50Sj1xCADeDES0G0oJ6BjysidipV8bu/SNNcdV2PTLX/NLG9n04q0PKEb1Ztwb6ggQ==","signatures":[{"sig":"MEUCIFqz9vuwl96nUiCaYtCyeslmBekdy/qM1DlVOx0sC2uDAiEAsl8lFFFAVC4wHETPZFZBJIfSpqMlhXMxzkvrGJexMXw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":492043,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfgH2oCRA9TVsSAnZWagAAYCEP/jvz3XuJQR/y+oL07g4a\np2fqDmDzUl7TPNhhtsp28GCNbNY6fIhhJnmU6xGk1vagw2jWd74Zx/85od6d\nTSkXhEG5fwze5gjotgKY9rZN127GzOgACbHRAiAcpKjSKq8lhkX2al8YIQvj\ngNo1l4JTz77Y8cWCjUoNI6zXsxl3Xg/2Ur1WjyzMM9iPW37BjWXFaaMGrnc7\nNWaX7Xdm0dajVvQGjegLkvfd1a1usND2cpMoz6t41ljBuGqWtIpdl65P/ET8\nbdDUvcqoruNc7Ja3rQ/bZqBTAXE17oEb14GK3r1tSXiE1lmG9NtukE5F4QWh\nd4s545SBLk3lV42jXz2e7tW0GFirUeDJ8ycZ5+2uAf8Lw9huy/yUAhe2Vofb\nyTnlCyJXU5aKlJuJHyCdrYrSnOTsCZ1RX6vSNHRbcVVMfuSFTGJ7ENUAiE+q\narcJTWUVc7MvzrySzRtQsVYiriOP57Wp1d56yRFi5CKitbNKAbgxYGCnolSr\n1LDpWx5gDwiZr49eVbO6OnHxB5tt0ikAvy/vDzy9MZsB2JOtZgLAWXcd7nMy\nsH0yUq8oimoR3Mnqv73mUqUuJzrRpbdryAPaM5f3KBFRC68xxZGK9ggsrhsU\n2jiqNHo0pOYYb3V0k4BAM+6WCo/SFdeDvP4EXPwAIjo/NrwXnPRHruYgpRTY\nuEsz\r\n=q0/s\r\n-----END PGP SIGNATURE-----\r\n"},"main":"CometChat.js","gitHead":"874e7c70a6a48418c337c5ed594cab9e4e1dba9b","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"mayur-bhandari","email":"mayur.bhandari@inscripts.com"},"repository":{"url":"git+https://github.com/cometchat-pro/javascript-chat-sdk.git","type":"git"},"_npmVersion":"6.9.0","description":"A complete chat solution.","directories":{},"_nodeVersion":"10.16.1","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/chat_2.1.2_1602256295543_0.9204761881539474","host":"s3://npm-registry-packages"}},"2.1.3":{"name":"@cometchat-pro/chat","version":"2.1.3","keywords":["CometChat","chat","messaging","chat","sdk","pro","message","sdk","messaging","sdk","audio","chat","video","chat","webRTC"],"author":{"name":"CometChat"},"license":"SEE LICENSE IN LICENSE.md","_id":"@cometchat-pro/chat@2.1.3","maintainers":[{"name":"ranjanravi85","email":"ravi.ranjan@inscripts.com"},{"name":"jitvarpatil","email":"jitvar.patil@inscripts.com"},{"name":"mayur-bhandari","email":"mayur.bhandari@inscripts.com"},{"name":"taru.agarwal","email":"taru.agarwal@inscripts.com"},{"name":"gajraajay","email":"ajay.gajra@inscripts.in"},{"name":"anantgarg","email":"anant.garg@inscripts.com"}],"homepage":"https://github.com/cometchat-pro/javascript-chat-sdk#readme","bugs":{"url":"https://github.com/cometchat-pro/javascript-chat-sdk/issues"},"dist":{"shasum":"d2e09543b95b801cc1bf0b2781bf8e43f24613e7","tarball":"https://registry.npmjs.org/@cometchat-pro/chat/-/chat-2.1.3.tgz","fileCount":5,"integrity":"sha512-1WxF4VCM8kUtG25e+MbZFiN5PHiQSzrGCVfxlHolxKj1uLIs2poNasNvUKQQy0jzJvQAD1yuFncjqCntq1b+ew==","signatures":[{"sig":"MEUCIQCZg0kLQy64ND0GJVhXjK+o2teXsHsZOHJkN6Rlh0ZhAgIgCeY3RbfP9c40c/4YSs3EPJnDQS//TCKQUfND6uPEYFc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":497292,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfmtBFCRA9TVsSAnZWagAANVUP/i5eL60Eheln9WU5LoYw\niL02ARzmoS79rBPQC+WbYJ3bYLRrElu71JW56o8556nrwaCC7IAJ8q6MTRZM\n8jKDIbJeC7o+qYrPC4P5P+bc1Fkczf00uv6Fbewc6IV032pAC/lPFBL2XxQB\npUT7pb9aq9yS6M1Nz1JzOECxVMMVQTTruvrrREQoOnyrbKf/Ppu1cxX1A+kD\ngamyJalMfTAkSUy7Ae//qSx0Slcg9fX9GD9AQKy740DrKZAwqN0JjBSrPKck\nKKRBuSLFLaHQIhUPB0scGpTKfyspZcK/4FLECCU9Y2DbVObF1kxJh3ZuHgJ7\nlHWKdR9Qj9PZpwlbdisVySQWWS44sZrYSrCWuLqhfvp2JmXJLrGrrf/Jf0eT\n+rOLH43rIiaPKx/m9kze/KQzP5iUgJylaKD1RAURNUKW0RLPn7ex9nPY4/gy\n6tKQar4dFYsukPUyDGtZvhuvJQ5WlRXokG+b8G1qyct7J1aXhOMncCfT6NpS\nof1K3BkJIGVPTMAO4XZYgzzKds2BbcWCCWsFjde6nJjOnejet5eVQQzfVgIy\n0uiRJKMDlKkwHpQnwlC/4CmZE1UV42nA670J9kZ/oOB8bSzpMJ8T7hOxoepV\n+IBmmBSB6qclWp2IZO+NaKo2E5F9bQhNMjdZhxuRQf5x6GPVOjKqyht1y69I\n7pib\r\n=0pn6\r\n-----END PGP SIGNATURE-----\r\n"},"main":"CometChat.js","gitHead":"7ced0e7c266e909e35d368d5772efdf6672ac6ec","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"mayur-bhandari","email":"mayur.bhandari@inscripts.com"},"deprecated":"This version is no longer supported. Upgrade to @latest.","repository":{"url":"git+https://github.com/cometchat-pro/javascript-chat-sdk.git","type":"git"},"_npmVersion":"6.9.0","description":"A complete chat solution.","directories":{},"_nodeVersion":"10.16.1","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/chat_2.1.3_1603981380727_0.8861385131142492","host":"s3://npm-registry-packages"}},"2.1.4":{"name":"@cometchat-pro/chat","version":"2.1.4","keywords":["CometChat","chat","messaging","chat","sdk","pro","message","sdk","messaging","sdk","audio","chat","video","chat","webRTC"],"author":{"name":"CometChat"},"license":"SEE LICENSE IN LICENSE.md","_id":"@cometchat-pro/chat@2.1.4","maintainers":[{"name":"ranjanravi85","email":"ravi.ranjan@inscripts.com"},{"name":"jitvarpatil","email":"jitvar.patil@inscripts.com"},{"name":"mayur-bhandari","email":"mayur.bhandari@inscripts.com"},{"name":"taru.agarwal","email":"taru.agarwal@inscripts.com"},{"name":"gajraajay","email":"ajay.gajra@inscripts.in"},{"name":"anantgarg","email":"anant.garg@inscripts.com"}],"homepage":"https://github.com/cometchat-pro/javascript-chat-sdk#readme","bugs":{"url":"https://github.com/cometchat-pro/javascript-chat-sdk/issues"},"dist":{"shasum":"553b8736d9fd6faac3a6543419efabbc1fd45e59","tarball":"https://registry.npmjs.org/@cometchat-pro/chat/-/chat-2.1.4.tgz","fileCount":5,"integrity":"sha512-z/9m6fI++qT9BaX06JNqpQeDd/tyCjYyQVft+GaYuR1OcSnSKE6cgdwEEM3DyQIv8gFLwstIP1KiW3vH9on/SA==","signatures":[{"sig":"MEYCIQD1Lv9Fr51Q2ht9fcvvHCmdi77dl1DWqZt4EjPFPK34/gIhAOs/TcGWuWuVq3NLLTCiJ0FKNb1RC0PdbQeHbMOaz4Q8","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":499248,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfqXv/CRA9TVsSAnZWagAAQVAP/0GFUtiNZROZmdLjjIVV\nAp2crNJertfAwAlQhWSF/OoJ0WLY6vZyWzKlMttjgUgaf3/Bz4Kr1hb4fIt1\nwor3YeuJnYFSYn7TNIvhKOF1WO9zIiyV1nBKLPPCSYGIEGXHQ6L192izmOjd\nXgxlEsZTELoDCblm+tqK4o4gHzMP8VUWYO+dhTFs+naI1H2PC0LWgZdetSgF\nt/mJoB35iirmne9ZyeGeYTPf8TycTgVLmYVaUxnENfLlKubWKcnCcwRIgA03\nA4V1nwMy+TD9HkHiDkZIRZs0eyvuxoDQr4SwtezEjGqZeskOMJh1uZHyBggU\nvvltFYYOoXrjoyIeuANV/DVPr0/4dc0OlKtHA9+F0hxpA3vsvRScL71L7mRQ\neOFMIVylQBAaD8XAEO0UWEOIRv4yQ7Of1uKfiKRvjOXxPVDwDVlkWNn1xbyD\nsqAmAQz4kRrdErK/iU2XKxcE/5P3Sx311TVpplEK76CjE6p4lZlOcrNNxett\nCxUWm553TDq4wgotjSBY/4xZuXnCkWBOAl5BBrnvtMXW2kqhA0vYc/hQJcpn\nHRsTejkd/MmANHKyfJqRr6YFGJSXmPKnvLJxjBWYNRN7siN2ZoU37wstU78x\nMp9bAYoOZ18VmRsYH/d/KjOpOsJAnJrmHrXIe/dSYHTlPmK/ehq4XA1lLUaF\nWxvv\r\n=PGk4\r\n-----END PGP SIGNATURE-----\r\n"},"main":"CometChat.js","gitHead":"f2ddd02b67b3a1eadfa2cf109f61eebfa89db84c","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"mayur-bhandari","email":"mayur.bhandari@inscripts.com"},"repository":{"url":"git+https://github.com/cometchat-pro/javascript-chat-sdk.git","type":"git"},"_npmVersion":"6.9.0","description":"A complete chat solution.","directories":{},"_nodeVersion":"10.16.1","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/chat_2.1.4_1604942846679_0.8366863995382641","host":"s3://npm-registry-packages"}},"2.1.5-beta1":{"name":"@cometchat-pro/chat","version":"2.1.5-beta1","keywords":["CometChat","chat","messaging","chat","sdk","pro","message","sdk","messaging","sdk","audio","chat","video","chat","webRTC"],"author":{"name":"CometChat"},"license":"SEE LICENSE IN LICENSE.md","_id":"@cometchat-pro/chat@2.1.5-beta1","maintainers":[{"name":"ranjanravi85","email":"ravi.ranjan@inscripts.com"},{"name":"jitvarpatil","email":"jitvar.patil@inscripts.com"},{"name":"mayur-bhandari","email":"mayur.bhandari@inscripts.com"},{"name":"taru.agarwal","email":"taru.agarwal@inscripts.com"},{"name":"gajraajay","email":"ajay.gajra@inscripts.in"},{"name":"anantgarg","email":"anant.garg@inscripts.com"}],"homepage":"https://github.com/cometchat-pro/javascript-chat-sdk#readme","bugs":{"url":"https://github.com/cometchat-pro/javascript-chat-sdk/issues"},"dist":{"shasum":"cccc1beff0651d03b032a077b94f3e8ab663fd36","tarball":"https://registry.npmjs.org/@cometchat-pro/chat/-/chat-2.1.5-beta1.tgz","fileCount":5,"integrity":"sha512-+QDvZSj/evoVF+VXc7+Glh/9+5M/H5LAP2yiLaKMpVxRd2aJplrkz3rn0duBomzTUrRpZYNuu8uPaIg1tLogdQ==","signatures":[{"sig":"MEQCIArxD02om+ddpHnBm+Vmk+bH9N/eGnqT2P29b+gL6XnKAiBlWorzj8b6E1TDQzDU+DZeMChj1XE98EaTQW38ecbxTw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":499350,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJftL8NCRA9TVsSAnZWagAAqPoP/0tzD8mt3ruDM//38D/A\nxv1EdF4105EeY72x3ys0IKOOKCjsXJfscZOeuajrHbj+v77S53FffHpDAbZ9\nkTEncCC+TmV29aHs0Rd1v1OpjTfFZd0A5NMWmvnKOCGGiikuDhBCd8tGiHmm\nEgx3N5H34dPIF7Qm/If+nf7b0I/UN5TRcpCWSL4oEELOusVRyMggC2zV37lE\nvSrtwHhXth7IsbPHAvPNn5cpzujr7WyZgM4e2deQyzTxSy8iuH/+jQM8JqYp\nr54OraLHOxSgMhI3Q2Ali7HHcZ8N3xpWjkDYJ5FWJv6Wqiyf0PCr6kln9A9H\n51lDcNuxOv+dJ+3Ax8l0JjbF4KnaYAbyXBQ6s5t3zgW39kbzJtwKBpHDdk3r\nWv4qPqFPkXhhQo6jqnKthCz0FCaZK6Lb2qJgOmNTJa7/gxyEZO0V2g1a69Pb\nGGOWlIU2ZPFZXt5clvSLrDznpBtPqEuDVsSRYbeP/lXBqxY/wHR85N6uKL2m\nxbn19k2Zz3oqV4DRx9HwIbRFOBwe+Oc6D+TxAF7rf+0UY/gS0jrIjfvwZreb\nZ4McRolp+NdeV4Otf4n1HHHF7v9cWinGgVumV8glnpS3Pw9niGqtgndVwToq\nGjD2XVs3g3qezqewhItYG9EEB+mqLomhqQVdioEV/tQBY/uoFKKRbb4PjEOk\nUVZP\r\n=bD4A\r\n-----END PGP SIGNATURE-----\r\n"},"main":"CometChat.js","readme":"<div style=\"width:100%\">\n<div style=\"width:100%\">\n\t<div style=\"width:50%; display:inline-block\">\n\t\t<p align=\"center\">\n\t\t<img style=\"text-align:center\" width=\"180\" height=\"180\" alt=\"\" src=\"https://raw.githubusercontent.com/cometchat-pro/ios-swift-chat-app/master/Screenshots/CometChat%20Logo.png\">\t\n\t\t</p>\t\n\t</div>\t\n</div>\n</br>\n</br>\n</div>\n\nCometChat Pro enables you to add voice, video & text chat for your website & app.\n\n<a href=\"https://www.npmjs.com\">[![Platform](https://img.shields.io/badge/Platform-Javascript-blue.svg)](#)</a>\n<a href=\"https://www.npmjs.com\">[![Platform](https://img.shields.io/badge/Platform-NPM-orange.svg)](#)</a>\n\n# Quick Start\n\nThis guide demonstrates how to add chat to a Javascript application using CometChat. Before you begin, we strongly recommend you read the <a href=\"https://prodocs.cometchat.com/docs/concepts\" target=\"_blank\">Key Concepts</a> guide.\n\n## Get your Application Keys\n\n<a href=\"https://app.cometchat.com\" target=\"_blank\">Signup for CometChat</a> and then:\n\n1. Create a new app: Enter a name & hit the **+** button\n2. Head over to the **API Keys** section and click on the **Create API Key** button\n3. Enter a name and select the scope as **Auth Only**\n4. Now note the **API Key** and **App ID**\n\n## Add the CometChat Dependency\n\n### NPM\nFirst, install via npm\n\n```\nnpm install @cometchat-pro/chat@2.1.4 --save\n```\n\nThen, import the `CometChat` object wherever you want to use CometChat\n\n```\nimport { CometChat } from \"@cometchat-pro/chat\" \n```\n\n### HTML (via CDN)\nInclude the CometChat Javascript library in your HTML code\n\n```\n<script type=\"text/javascript\" src=\"https://unpkg.com/@cometchat-pro/chat@2.1.4/CometChat.js\"></script>\n```\n\nTo learn more, please refer to our Documentation: <a href=\"https://prodocs.cometchat.com/docs/js-quick-start\">Documentation</a>","gitHead":"bbc09f6362fee8d9948d653fa06ac9c550f98b8e","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"mayur-bhandari","email":"mayur.bhandari@inscripts.com"},"repository":{"url":"git+https://github.com/cometchat-pro/javascript-chat-sdk.git","type":"git"},"_npmVersion":"6.9.0","description":"A complete chat solution.","directories":{},"_nodeVersion":"10.16.1","_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/chat_2.1.5-beta1_1605680908854_0.8590655781847905","host":"s3://npm-registry-packages"}},"2.1.5":{"name":"@cometchat-pro/chat","version":"2.1.5","keywords":["CometChat","chat","messaging","chat","sdk","pro","message","sdk","messaging","sdk","audio","chat","video","chat","webRTC"],"author":{"name":"CometChat"},"license":"SEE LICENSE IN LICENSE.md","_id":"@cometchat-pro/chat@2.1.5","maintainers":[{"name":"ranjanravi85","email":"ravi.ranjan@inscripts.com"},{"name":"jitvarpatil","email":"jitvar.patil@inscripts.com"},{"name":"mayur-bhandari","email":"mayur.bhandari@inscripts.com"},{"name":"taru.agarwal","email":"taru.agarwal@inscripts.com"},{"name":"gajraajay","email":"ajay.gajra@inscripts.in"},{"name":"anantgarg","email":"anant.garg@inscripts.com"}],"homepage":"https://github.com/cometchat-pro/javascript-chat-sdk#readme","bugs":{"url":"https://github.com/cometchat-pro/javascript-chat-sdk/issues"},"dist":{"shasum":"67a6d3479df86acdbd40ce71eb218eb140d2f488","tarball":"https://registry.npmjs.org/@cometchat-pro/chat/-/chat-2.1.5.tgz","fileCount":5,"integrity":"sha512-G0yZ6cQjVXiLse1R4cIVkwNs17/x/lBepsmOIZKivSlJN9NMdwyv0Dt7TvCikjSWo7HuzisvuEc5keXswTZZwg==","signatures":[{"sig":"MEYCIQCXQpKwyUfsoupz39qAy4BNSjClKMW5arz76EZuhQwfjAIhAK1ZFMVnwhuppuEGh4XcaTJYbIx8ktPwoyVUyAba8j5k","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":501941,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfx2UTCRA9TVsSAnZWagAAInEP/22CgT5tBmzFwpdaIbUi\nwZ4+T2/UHMaRN95x/rWd2ZsQgre4nrs8yrLG0+7rAzJ1ckD9CAgH82DBFV/B\nzmGFmNi9+raYLN3A8KqpTcIxCi9aHyWmIsbm5pWN8uyttcPFWQZThtul7Kvh\n2egTbpHxXPlbSGwIPDH89ZX7tGpVCDUL16q/PGTorEGZ/SjBjIZ7ruZziFNh\nClSWuNiPnRs8oqsxiPzla85hnhCaj7PgPsb68ZC88S67QMkQNXInyvREv335\nMtusq0KX0kt+EPggF0lBA7SigI3VqXFVLsnaJF6/8QI17oDZeWqLTQqiOyf2\nQMfGviYQxCqJXbx1AU2yxfh+v7HGbm6H9ITz4FUYZ8rWvi9xaAyCBVp7btGU\n6oq+if2Kj/XhpoKDlYXzUZXQpIHtU5B7yCTBciXJMhlccMRprr9hMpQcGviM\n7SXdgrLArYN1OaEdwKecZ0uLaSryU9HGeHDTaNYmIN66qu1j1HcIb4krVJGF\nh/BBpL794cM7BuFGSqNECRUxQPnmJHr5CQ+YHhdVQk75L2Qtp4ipm9KnJ4mH\n1Y4XFOogpefj64WXE84FUoitFnlmtrAQjMAt0V3PpkLxQDSo/SdDWFfLvRLv\nKn7oSvtAozSqtft6NALyiBOnw8ySG/QyeMEFKQCEPzfpfmTvTdzRYzPzrbw7\nizqm\r\n=SVT1\r\n-----END PGP SIGNATURE-----\r\n"},"main":"CometChat.js","gitHead":"4ffc432018259c750ec67a612a3f9e49cdfffaea","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"mayur-bhandari","email":"mayur.bhandari@inscripts.com"},"repository":{"url":"git+https://github.com/cometchat-pro/javascript-chat-sdk.git","type":"git"},"_npmVersion":"6.9.0","description":"A complete chat solution.","directories":{},"_nodeVersion":"10.16.1","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/chat_2.1.5_1606903058962_0.1335888650933703","host":"s3://npm-registry-packages"}},"2.1.6":{"name":"@cometchat-pro/chat","version":"2.1.6","keywords":["CometChat","chat","messaging","chat","sdk","pro","message","sdk","messaging","sdk","audio","chat","video","chat","webRTC"],"author":{"name":"CometChat"},"license":"SEE LICENSE IN LICENSE.md","_id":"@cometchat-pro/chat@2.1.6","maintainers":[{"name":"anantgarg","email":"anant.garg@inscripts.com"},{"name":"gajraajay","email":"ajay.gajra@inscripts.in"},{"name":"taru.agarwal","email":"taru.agarwal@inscripts.com"},{"name":"mayur-bhandari","email":"mayur.bhandari@inscripts.com"},{"name":"jitvarpatil","email":"jitvar.patil@inscripts.com"},{"name":"ranjanravi85","email":"ravi.ranjan@inscripts.com"}],"homepage":"https://github.com/cometchat-pro/javascript-chat-sdk#readme","bugs":{"url":"https://github.com/cometchat-pro/javascript-chat-sdk/issues"},"dist":{"shasum":"39c70400785b19efe03647af5a9dbfd9724720f2","tarball":"https://registry.npmjs.org/@cometchat-pro/chat/-/chat-2.1.6.tgz","fileCount":5,"integrity":"sha512-3GEo5cw3V3qkMj2wyQPwsqoKMJR6kon3mFRP95fEVAnRRVo9tisPwwUYzqdhLOkzBUmEz/j45WmAFEZDVolGrw==","signatures":[{"sig":"MEYCIQCyklzewUMKtIVry4QbRI4ibF62iDU4ByRbAi+iV1MajQIhAOHZ4C9D+mxP+0WRtmqm0u0Arc81IKtyfhgEkcAx2f6N","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":505441,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf2NmFCRA9TVsSAnZWagAA9LMP+QDPfs+kqUJPuoPGFDsf\nQ8qPQL/PZ9mz3PcWjHgdOFrfHXDRd7fa5aUXR4ooOQqlqcUaXEQhsQ3o1xxt\n7aJgF0Ezij6PuxoAFH6bMXqWBWB5MlTfY+bOVBL78RNeBKXo43mp4kJRbq0m\nc4jHMbVT3DDukeqgBtYUpdEgnv2VLQb5vAL6ITZPTcAhd1xk5dkAw2sfBTJK\n2UJy3eQXj1vnhAL/2C3IuAES07TPNGhftZLXxPqW7783FbaMQbIZZ4rVq0j5\nncIpz2ySLgnEkmlBtIKF9A05BMmWrm2a0qw8j7HvZwn38pap7K+sRGVO3P2n\n/Oqt1hrElZmdue6hPyPLvuYYUilNMvAuBPG2MwCNJDTG6SFvLqhMNhxe5rPH\n3Lk+fuEOO7V6pbU0jymWMpDqoBdVtc8yptjFJfVZAIT9zuN0Dez5ymXSnUvP\nU0EzUli3BMl78wCbYRSv6A2bFXtwmUJuyhQTh2FZ+16vBQGIl0PXUg/oKL3f\nDAgSLqN7XNlXiVdysvCfsclFQg0TNnfsAtQlHqNsl8s6F9fAxaHPUiD6McfX\nP0G8eH6+YFNIgWJeburan2hHUXEkUgprhCAXHHiNGo0Xuul/5Ky9Al7dMle6\n1xaM5TPNqPnHGj0j8f2+QrnMURaOf+xrHFet5aB2SlIyOrOHY7RsjLEoORn2\nBEqX\r\n=O4Kb\r\n-----END PGP SIGNATURE-----\r\n"},"main":"CometChat.js","gitHead":"3eb4150c6e1c173546eb5574eddaad396c487301","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"mayur-bhandari","email":"mayur.bhandari@inscripts.com"},"repository":{"url":"git+https://github.com/cometchat-pro/javascript-chat-sdk.git","type":"git"},"_npmVersion":"6.9.0","description":"A complete chat solution.","directories":{},"_nodeVersion":"10.16.1","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/chat_2.1.6_1608046980781_0.3912024913332264","host":"s3://npm-registry-packages"}},"2.1.7-beta1":{"name":"@cometchat-pro/chat","version":"2.1.7-beta1","keywords":["CometChat","chat","messaging","chat","sdk","pro","message","sdk","messaging","sdk","audio","chat","video","chat","webRTC"],"author":{"name":"CometChat"},"license":"SEE LICENSE IN LICENSE.md","_id":"@cometchat-pro/chat@2.1.7-beta1","maintainers":[{"name":"anantgarg","email":"anant.garg@inscripts.com"},{"name":"gajraajay","email":"ajay.gajra@inscripts.in"},{"name":"taru.agarwal","email":"taru.agarwal@inscripts.com"},{"name":"mayur-bhandari","email":"mayur.bhandari@inscripts.com"},{"name":"jitvarpatil","email":"jitvar.patil@inscripts.com"},{"name":"ranjanravi85","email":"ravi.ranjan@inscripts.com"}],"homepage":"https://github.com/cometchat-pro/javascript-chat-sdk#readme","bugs":{"url":"https://github.com/cometchat-pro/javascript-chat-sdk/issues"},"dist":{"shasum":"bbd2159c7c0c59620bb43e68bfc69ae84a9c90cf","tarball":"https://registry.npmjs.org/@cometchat-pro/chat/-/chat-2.1.7-beta1.tgz","fileCount":5,"integrity":"sha512-5nxa/w/PGqnd2+rxLxTQA3irsDsb4riudT+zjj32yg1dTsEI91xg+pS7xScl8wP4DZTI67OsY3BzRA8vkZjWdQ==","signatures":[{"sig":"MEUCICdoqYIECXtcsHqeiiz8VqYTauI8sVbI4BoQ9QQQ2N2rAiEAjWSEPq7FYHnOAkwP0jg/P7WwnxEdjDwwZKsOdd3oIs8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":507761,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf9J94CRA9TVsSAnZWagAAV3QQAIIl8Ul5YtduzztLFgvy\nH3th3gOhK70wLXRKFaT8G/dz63sZnM6PBMeZZfo+FHreMGPFD8hXrBNXGVG9\nvZT+lVjWd+1n73LW9r1bYwwk/74MwQnd9FOwTbqBrq23baNPrH55eNvA0sc/\nziU7hUYjKeuQMtJ460DwjQFPd7S3Gtzx9JTuS/pZAkJQ5DNoYYCtVlTSAH+2\nilfNqJvMRWl5eFRY7MctkU0R5/V3NraUVQJFTCKjUqU3hQSEZIuFkP28qqac\nAIMgoCxQWz+7z85w9iG7SqspdqG/dKfiLWCm8h6tZykfZ+d8nUN9rt2/Jzp2\n1crQaLV5qlpiRZgC8YrX3SiXVvSwSXoYvDD11u+QFnv6vR4BK5MLf41HfAeW\nN/i7bFW+fW5RXGwDtUXp3pqdHZbsf6O4gzTBIHQpVUTfDpX5bpK0Y80RIuvT\n8AQROk3Nqw5nhkgYCCB0BwHrUG8GyvENU3Jz3TlNrTF2GMXh5VmOLoctI7I2\nKP62mNcvXxMSzVcf5CUYVDZMmDLBq0cdz2wUPiESBCBvnYI1Zd2EAEh0AO68\nRtHp+kOx6pFajgk1Qw0xLhKn87HAy9QGau1Nbe+I9BhYcOWv/o/Cv9rtZPxf\nK9/Xb+iNXQjD07tNVKunntkh/79HH2d6rY0f8Xyj+f7tPnYYf3N+JThC1EkU\nbutR\r\n=oRpp\r\n-----END PGP SIGNATURE-----\r\n"},"main":"CometChat.js","readme":"<div style=\"width:100%\">\n<div style=\"width:100%\">\n\t<div style=\"width:50%; display:inline-block\">\n\t\t<p align=\"center\">\n\t\t<img style=\"text-align:center\" width=\"180\" height=\"180\" alt=\"\" src=\"https://raw.githubusercontent.com/cometchat-pro/ios-swift-chat-app/master/Screenshots/CometChat%20Logo.png\">\t\n\t\t</p>\t\n\t</div>\t\n</div>\n</br>\n</br>\n</div>\n\nCometChat Pro enables you to add voice, video & text chat for your website & app.\n\n<a href=\"https://www.npmjs.com\">[![Platform](https://img.shields.io/badge/Platform-Javascript-blue.svg)](#)</a>\n<a href=\"https://www.npmjs.com\">[![Platform](https://img.shields.io/badge/Platform-NPM-orange.svg)](#)</a>\n\n# Quick Start\n\nThis guide demonstrates how to add chat to a Javascript application using CometChat. Before you begin, we strongly recommend you read the <a href=\"https://prodocs.cometchat.com/docs/concepts\" target=\"_blank\">Key Concepts</a> guide.\n\n## Get your Application Keys\n\n<a href=\"https://app.cometchat.com\" target=\"_blank\">Signup for CometChat</a> and then:\n\n1. Create a new app: Enter a name & hit the **+** button\n2. Head over to the **API Keys** section and click on the **Create API Key** button\n3. Enter a name and select the scope as **Auth Only**\n4. Now note the **API Key** and **App ID**\n\n## Add the CometChat Dependency\n\n### NPM\nFirst, install via npm\n\n```\nnpm install @cometchat-pro/chat@2.1.6 --save\n```\n\nThen, import the `CometChat` object wherever you want to use CometChat\n\n```\nimport { CometChat } from \"@cometchat-pro/chat\" \n```\n\n### HTML (via CDN)\nInclude the CometChat Javascript library in your HTML code\n\n```\n<script type=\"text/javascript\" src=\"https://unpkg.com/@cometchat-pro/chat@2.1.6/CometChat.js\"></script>\n```\n\nTo learn more, please refer to our Documentation: <a href=\"https://prodocs.cometchat.com/docs/js-quick-start\">Documentation</a>","gitHead":"03ca294c06c202bc769a2f261d22ab51700568c2","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"mayur-bhandari","email":"mayur.bhandari@inscripts.com"},"repository":{"url":"git+https://github.com/cometchat-pro/javascript-chat-sdk.git","type":"git"},"_npmVersion":"6.9.0","description":"A complete chat solution.","directories":{},"_nodeVersion":"10.16.1","_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/chat_2.1.7-beta1_1609867128072_0.29773882205280144","host":"s3://npm-registry-packages"}},"2.1.7":{"name":"@cometchat-pro/chat","version":"2.1.7","keywords":["CometChat","chat","messaging","chat","sdk","pro","message","sdk","messaging","sdk","audio","chat","video","chat","webRTC"],"author":{"name":"CometChat"},"license":"SEE LICENSE IN LICENSE.md","_id":"@cometchat-pro/chat@2.1.7","maintainers":[{"name":"anantgarg","email":"anant.garg@inscripts.com"},{"name":"gajraajay","email":"ajay.gajra@inscripts.in"},{"name":"taru.agarwal","email":"taru.agarwal@inscripts.com"},{"name":"mayur-bhandari","email":"mayur.bhandari@inscripts.com"},{"name":"jitvarpatil","email":"jitvar.patil@inscripts.com"},{"name":"ranjanravi85","email":"ravi.ranjan@inscripts.com"}],"homepage":"https://github.com/cometchat-pro/javascript-chat-sdk#readme","bugs":{"url":"https://github.com/cometchat-pro/javascript-chat-sdk/issues"},"dist":{"shasum":"53d181a15ebdb47c5ee3f90cf9a54b461f66f083","tarball":"https://registry.npmjs.org/@cometchat-pro/chat/-/chat-2.1.7.tgz","fileCount":5,"integrity":"sha512-vB2dlkPI2tvVx9EH/lVrxOIIhgcK3/ddFWP2HXBinf32rv5swNXh1JKSnqna/i624Otfare5dBExB7hU/CucCA==","signatures":[{"sig":"MEUCIDatZ9APO2fbA5X6WoJO6MmdyY9lhinjb6S4xtFtMDGgAiEAg7i8aooEGF9LDx8rWJKd9hlrdZiNXt9zULpcFnnhFiw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":514237,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgBbjdCRA9TVsSAnZWagAABHUP/3pTeD8a4WbMujemSvbk\nHugExhMxfE7IDNc18wlZqWH/sw+qFnL8EGcBGBbz6sQBeUXZcwVYOQg0NlJr\nyWxfj6G6M4uYcy4a+S0WD0ieaj3zsZxIimV6w24jdUQ6KAxIaQ9U6rm8PEQ+\n1emOrtR7O7i6l7IinFG6TiPOLbQV0TO95kJfwS909ABVnSaMxJ+KtJTHTyui\nm2n4bqYQ4Cj8vP/iMMRfVpReLLDYfx4sIb8Awnbg4wRvIfHTi2Q42cUxsWHw\nZ/zZbStyjuI4rWej9ic+vHrb+jq0mq55m4OkedeLrvXO6zo5hhCQpbT5S6QG\nQ9LGhTn0FDMcXjrqUHacQPrrKmtwmzOxWBJnkIqsQR8gwofkaAWzDckbwl34\nVxKzdGTbVrz0pwORwxg0APLUtXGuvxQirvt8Mg0zYViW0Qb3wveh/dYq4Wje\nVlFJL2aTOi04X7mwGoa40TVFmhKjcScIYkKJUhNefTCIIPAw3maBe6UAvDV8\nA+WioMaKW1S4qFFE4d1YkM4YqmLNc5xT/HmFYs0WeiRy1bT9AdD9YxdxspeS\n8CrxM86ztQTVgIOcKOl5OrN+HOZneMw/v2WUe7ebxzjg1TjIyadVdT/EVnoY\nXt9h9MAVZp/eqqQ+k5nTnpxyuYVJrnavavRBgjjNi8SkTJHA1jkJMYubZ/3D\neTcC\r\n=w87p\r\n-----END PGP SIGNATURE-----\r\n"},"main":"CometChat.js","gitHead":"5dad001142ae3c22827476c880be0964dc0f2f22","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"mayur-bhandari","email":"mayur.bhandari@inscripts.com"},"repository":{"url":"git+https://github.com/cometchat-pro/javascript-chat-sdk.git","type":"git"},"_npmVersion":"6.9.0","description":"A complete chat solution.","directories":{},"_nodeVersion":"10.16.1","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/chat_2.1.7_1610987741117_0.8530849653372015","host":"s3://npm-registry-packages"}},"2.1.8-beta1":{"name":"@cometchat-pro/chat","version":"2.1.8-beta1","keywords":["CometChat","chat","messaging","chat","sdk","pro","message","sdk","messaging","sdk","audio","chat","video","chat","webRTC"],"author":{"name":"CometChat"},"license":"SEE LICENSE IN LICENSE.md","_id":"@cometchat-pro/chat@2.1.8-beta1","maintainers":[{"name":"anantgarg","email":"anant.garg@inscripts.com"},{"name":"gajraajay","email":"ajay.gajra@inscripts.in"},{"name":"taru.agarwal","email":"taru.agarwal@inscripts.com"},{"name":"mayur-bhandari","email":"mayur.bhandari@inscripts.com"},{"name":"jitvarpatil","email":"jitvar.patil@inscripts.com"},{"name":"ranjanravi85","email":"ravi.ranjan@inscripts.com"}],"homepage":"https://github.com/cometchat-pro/javascript-chat-sdk#readme","bugs":{"url":"https://github.com/cometchat-pro/javascript-chat-sdk/issues"},"dist":{"shasum":"dce6bef9fb5673129d57df4f768e7ca2adf52b0f","tarball":"https://registry.npmjs.org/@cometchat-pro/chat/-/chat-2.1.8-beta1.tgz","fileCount":5,"integrity":"sha512-qgDUWqIoqYk5mK5yqj/WDlK1v6WbR8PSghWzNg1ahakLE+LDuE38UrSlmgrt8jb1oejOK3ZynXxGDS/21fRrNQ==","signatures":[{"sig":"MEUCIHucccIcdKQIBRkbSrvNl7jjk8YjOG+AX7w9k8DbXEFWAiEAsAQAbabiCZdl1oCjD6ah/zOdzKTr2/sbtpVMQe9+asY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":514950,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgISqmCRA9TVsSAnZWagAA6KQP/3lwR3220vLj+bayXyE3\ntIVid+2uSDLM6ZevVXl5nS1TJ/6Fn3jSGLKnCVu4dOmLF1I3YeNjz/uWTYYU\nHV6gZqkVgEjM6jkHCwQNsW1Y/MDqY1CVO9HQRBQixD3fdxl1jL7yTqrK/YM3\njNR/GWhfzo52nQDRf/255xgmRIsQNkS1m2XaJFBn8Gc8agmfZcciSAg1pRh9\n2Skkh2+Vn44jd/uEHUO/9zcMkJenn1ZPGFvNn631NgXByGnTx5NRFmexUTJi\nNFaAI1JP1mpBseYTJG5rkulnYqgi/70wGwOgTf11As6yQvfcT9C0sJg9/2Sr\naJpAHioYY5vg/9s+gVhQWRjLDCXfpd0gH4YEZX9tBykrIB5+ahzObPHkgC59\nnW9G7Zgdu30pbsEA2s5QmuIxdUVsYLP2qh+8k53xF7YXH7jTr1K6MUq8gjBl\nnNzXPdeEZi4zoLelL/Z7+YgiXFitSWjKOGS9Er3af0tlO7adfhY1lLCgVelB\nHGi9G2u9GuEmKV8oCxrW1XPQw3RztARmuqLNLH1uBCJPvssiM8Xl862bKWSW\nBP8ZZpFvFCQsEPHEDqfEbsOrM+0+scMhXbgOqTl7TABjUUw8/ZFOJ5ggYUMh\nafcTznwg2ghwMe+OS7MakTYykYNcwrXzS9Q5vtbs+l/9q/yYf15zt6p3md0k\nkp/1\r\n=ZTMp\r\n-----END PGP SIGNATURE-----\r\n"},"main":"CometChat.js","readme":"<div style=\"width:100%\">\n<div style=\"width:100%\">\n\t<div style=\"width:50%; display:inline-block\">\n\t\t<p align=\"center\">\n\t\t<img style=\"text-align:center\" width=\"180\" height=\"180\" alt=\"\" src=\"https://avatars2.githubusercontent.com/u/45484907?s=200&v=4\">\t\n\t\t</p>\t\n\t</div>\t\n</div>\n</br>\n</br>\n</div>\n\n# CometChat Javascript SDK\n\nCometChat Pro enables you to add voice, video & text chat for your website & app.\nThis guide demonstrates how to add chat to a WebSite using CometChat Pro.\n\n## Features\n\n<ul>\n<li> 1-1 & Group Conversations </li>\n<li> Voice & video calling & conferencing </li>\n<li> Rich Media Attachments </li>\n<li> Typing Indicators </li>\n<li> Custom Messages </li>\n<li> Read receipts </li>\n<li> Online Presence Indicators </li>\n<li> Message History </li>\n<li> Single Sign-on </li>\n<li> Webhooks </li>\n<li> Bots </li>\n<li> Users & Friends List </li>\n<li> Groups List </li>\n<li> Conversations List </li>\n<li> Threaded Conversations </li>\n</ul>\n\n## Extensions\n\n[Push Notification](https://prodocs.cometchat.com/docs/extensions-enhanced-push-notification) | [Email Notification](https://prodocs.cometchat.com/docs/extensions-email-notification) | [SMS Notification](https://prodocs.cometchat.com/docs/extensions-sms-notification) | [Thumbnail Generation](https://prodocs.cometchat.com/docs/extensions-thumbnail-generation) | [Link Preview](https://prodocs.cometchat.com/docs/extensions-link-preview) | [Rich Media Preview](https://prodocs.cometchat.com/docs/extensions-rich-media-preview) | [Voice Transcription](https://prodocs.cometchat.com/docs/extensions-voice-transcription) | [Smart Reply](https://prodocs.cometchat.com/docs/extensions-smart-reply) | [Message Translation](https://prodocs.cometchat.com/docs/extensions-message-translation) | [Emojis](https://prodocs.cometchat.com/docs/extensions-emojis) | [Polls](https://prodocs.cometchat.com/docs/extensions-polls) | [Reactions](https://prodocs.cometchat.com/docs/extensions-reactions) | [Stickers](https://prodocs.cometchat.com/docs/extensions-stickers) | [Video Broadcasting](https://prodocs.cometchat.com/docs/extensions-broadcast) | [Collaborative Documents](https://prodocs.cometchat.com/docs/extensions-collaborative-document) | [Collaborative Whiteboards](https://prodocs.cometchat.com/docs/extensions-collaborative-whiteboard) | [Data Masking Filter](https://prodocs.cometchat.com/docs/extensions-data-masking-filter) | [Profanity Filter](https://prodocs.cometchat.com/docs/extensions-profanity-filter) | [Image Moderation](https://prodocs.cometchat.com/docs/extensions-image-moderation)| [Sentiment Analysis](https://prodocs.cometchat.com/docs/extensions-sentiment-analysis) | [In-flight Message Moderation](https://prodocs.cometchat.com/docs/extensions-in-flight-message-moderation) | [Virus & Malware Scanner](https://prodocs.cometchat.com/docs/extensions-virus-malware-scanner) | [XSS Filter](https://prodocs.cometchat.com/docs/extensions-xss-filter)\n\n[![Platform](https://img.shields.io/badge/Platform-Javascript-brightgreen)](#)\n<a href=\" \"> <img src=\"https://img.shields.io/badge/Version-2.1.7-important\" /></a>\n![GitHub repo size](https://img.shields.io/github/repo-size/cometchat-pro/javascript-chat-sdk)\n![GitHub contributors](https://img.shields.io/github/contributors/cometchat-pro/javascript-chat-sdk)\n![GitHub stars](https://img.shields.io/github/stars/cometchat-pro/javascript-chat-sdk?style=social)\n![Twitter Follow](https://img.shields.io/twitter/follow/cometchat?style=social)\n<hr/>\n\n\n## Prerequisites :star:\nBefore you begin, ensure you have met the following requirements:<br/>\n ✅ &nbsp; You have [`Visual Studio Code`](https://code.visualstudio.com/) or any other code editor installed in your machine.<br/>\n ✅ &nbsp; You have [`npm`](https://www.npmjs.com/get-npm) installed in your machine.<br/>\n ✅ &nbsp; You have read [CometChat Key Concepts](https://prodocs.cometchat.com/docs/concepts).<br/>\n\n<hr/>\n\n## Installing CometChat Javascript SDK\n## Setup :wrench:\n\nTo setup Javascript SDK, you  need to first register on CometChat Dashboard. [Click here to sign up](https://app.cometchat.com/login).\n\n### i. Get your Application Keys :key:\n\n<a href=\"https://app.cometchat.io\" target=\"_blank\">Signup for CometChat</a> and then:\n\n1. Create a new app: Click **Add App** option available  →  Enter App Name & other information  → Create App\n2. At the Top in **QuickStart** section you will find **Auth Key** & **App ID** or else you can head over to the **API & Auth Keys** section and note the **Auth Key** and **App ID**\n<img align=\"center\" src=\"https://files.readme.io/4b771c5-qs_copy.jpg\"/>\n\n<hr/>\n\n### ii. Add the CometChat Dependency\n<ul>\n<li>\n<b>Install via NPM</b><br/>\n1. Run the following command to install the CometChat Pro Javascript SDK<br/>\n\n```javascript\n\tnpm install @cometchat-pro/chat@2.1.7 --save\n```\n</li>\n\n<li>\n<b>Import via CDN</b><br/>\n1. Include the CometChat Pro Javascript library in your HTML code.<br/>\n\n```html\n  <script type=\"text/javascript\" src=\"https://unpkg.com/@cometchat-pro/chat@2.1.7/CometChat.js\"></script>\n```\n\n You can refer to the below link for instructions on how to do so:<br/>\n[📝 Add CometChat Dependency](https://prodocs.cometchat.com/docs/js-quick-start#add-the-cometchat-dependency)\n</li>\n</ul>\n<hr/>\n\n## Configure CometChat Javascript SDK\n\n### i. Initialize CometChat 🌟\nWe suggest you call the init() method on app startup, preferably in the index.js file.\n\n```javascript\nvar appID = \"APP_ID\";\nvar region = \"REGION\";\nvar appSetting = new CometChat.AppSettingsBuilder().subscribePresenceForAllUsers().setRegion(region).build();\nCometChat.init(appID, appSetting).then(\n  () => {\n    console.log(\"Initialization completed successfully\");\n  },\n  error => {\n    console.log(\"Initialization failed with error:\", error);\n  }\n);\n```\n\n| :information_source: &nbsp; <b> Note: Make sure to replace `region` and `appID` with your credentials.</b> |\n|------------------------------------------------------------------------------------------------------------|\n\n### ii. Create User 👤\nOnce initialisation is successful, you will need to create a user. You need to use createUser() method to create user on the fly.\n```javascript\nlet authKey = \"AUTH_KEY\";\nvar uid = \"user1\";\nvar name = \"Kevin\";\n\nvar user = new CometChat.User(uid);\n\nuser.setName(name);\n\nCometChat.createUser(user, authKey).then(\n  user => {\n    console.log(\"user created\", user);\n  },error => {\n    console.log(\"error\", error);\n  }\n);\n```\n>:information_source: <b>Note: Make sure that UID and name are specified as these are mandatory fields to create a user.</b>\n<hr/>\n\n### iii. Login User 👤\nOnce you have created the user successfully, you will need to log the user into CometChat using the login() method.\n```javascript\nvar UID = \"SUPERHERO1\";\nvar authKey = \"AUTH_KEY\";\n\nCometChat.getLoggedinUser().then(\n  user => {\n    if(!user){\n      CometChat.login(UID, authKey).then(\n        user => {\n          console.log(\"Login Successful:\", { user });    \n        },\n        error => {\n          console.log(\"Login failed with exception:\", { error });    \n        }\n      );\n    }else{\n      // User already logged in\n    }\n  }, error => {\n    console.log(\"getLoggedinUser failed with exception:\", { error });\n  }\n);\n```\n\n| :information_source: &nbsp; <b>Note - The login() method needs to be called only once. Also replace AUTH_KEY with your App Auth Key.</b> |\n|------------------------------------------------------------------------------------------------------------|\n\n<hr/>\n\n📝 Please refer to our [Developer Documentation](https://prodocs.cometchat.com/docs/js-quick-start) for more information on how to configure the CometChat Pro SDK and implement various features using the same.\n\n<hr/>\n\n## Learn more about UI-Kit\n[Angular UI Kit](https://github.com/cometchat-pro/javascript-angular-chat-ui-kit) | [React UI Kit](https://github.com/cometchat-pro/javascript-react-chat-ui-kit) | [Vue UI Kit](https://github.com/cometchat-pro/javascript-vue-chat-ui-kit)\n\n## Contributors :clap:\nThanks to the following people who have contributed to this project:\n[👨‍💻 @ajaygajra](https://github.com/ajaygajra)\n[👨‍💻 @mayur-bhandari](https://github.com/mayur-bhandari)\n<hr/>\n\n## Contact :mailbox:\nContact us via real time support present in [CometChat Dashboard.](https://app.cometchat.io/)\n<hr/>","gitHead":"9781d26cbea74e5e1d32f9441f23ecf6829ad152","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"mayur-bhandari","email":"mayur.bhandari@inscripts.com"},"repository":{"url":"git+https://github.com/cometchat-pro/javascript-chat-sdk.git","type":"git"},"_npmVersion":"6.9.0","description":"A complete chat solution.","directories":{},"_nodeVersion":"10.16.1","_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/chat_2.1.8-beta1_1612786341639_0.18780691290037033","host":"s3://npm-registry-packages"}},"2.2.0":{"name":"@cometchat-pro/chat","version":"2.2.0","keywords":["CometChat","chat","messaging","chat","sdk","pro","message","sdk","messaging","sdk","audio","chat","video","chat","webRTC"],"author":{"name":"CometChat"},"license":"SEE LICENSE IN LICENSE.md","_id":"@cometchat-pro/chat@2.2.0","maintainers":[{"name":"anantgarg","email":"anant.garg@inscripts.com"},{"name":"gajraajay","email":"ajay.gajra@inscripts.in"},{"name":"taru.agarwal","email":"taru.agarwal@inscripts.com"},{"name":"mayur-bhandari","email":"mayur.bhandari@inscripts.com"},{"name":"jitvarpatil","email":"jitvar.patil@inscripts.com"},{"name":"ranjanravi85","email":"ravi.ranjan@inscripts.com"}],"homepage":"https://github.com/cometchat-pro/javascript-chat-sdk#readme","bugs":{"url":"https://github.com/cometchat-pro/javascript-chat-sdk/issues"},"dist":{"shasum":"fde89fa9b432154970cc4241e657baa7872eaa5f","tarball":"https://registry.npmjs.org/@cometchat-pro/chat/-/chat-2.2.0.tgz","fileCount":5,"integrity":"sha512-Vhb/1H5YrkxeByCNLmqldRLkNWpPzR9IyFVzAJFS4DCfHzEO3t4GIzUYJJdXIpBWr7QSeMBfwmEnH51Mt5XouQ==","signatures":[{"sig":"MEUCID/oBluxPWKZ6vp8EF7I7yOxANfxVMzO6Py8CvRBtsZCAiEAq1Q6HdvnPQw07Im74n0dpHabItjT0+sBedgzvMywfOk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":517828,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgL8jgCRA9TVsSAnZWagAAiEgP/j7Fyj90mb1pGtR2yDuf\nsNV91si5pK3Tl9k8gtI14iOapQDDXi12CJ/x2ls4HoR7w2EsVq3dUtjYZRqi\nEYNjgLxO6/I4vXGmoqpw9V96VwZMbfQpnuUtlqS0diigSkfLYjYwA1+a6gSy\nDazVOOlO34CdJoXpgQlqDtqBw/5+lT6/Eaa9fYLsoadNbgnPfebMagJ6jCn+\nOKc5Qe8cCol5MlBRIw0IQ9skR8c8Rl0DrIeUsqqXizjc/TVCvH5met+wPFor\nUN4QsWZfUGxQmLmmvc6JhFqMmU9KF1/z6X7KM3zAKmykCe0eIhdO+jbWi7bh\nh/yGvCFoIIfDs8kiTcB4TXWJRrr4pv+XvwQMVXiN4Rft0c6mZ/EPVtvJ6nl7\nBsy2DQ5SGe9KcmsyXVjtzYCtymbX4oPGrJ98BEnF0WJPEnuWpCJeu49cYE3k\nsUvy8g71dA5wtAelxfc09RJo0Y+7jpyE6Oklx02t+R5iuO4sUbje5zkcXWDM\nAWjwZE5ewnpSmYmyGCfGwxA/msNFrC7Sbnt5X+n7noW+HRG+nsS03eaU90Hb\nY+YjNs/AigIjza2iOVzM6LtiO+iWjKJZ3AlsHdSNyLxSA1kGRIbZpyxq9ZH3\njIKcquLwE4Hd9V5kncs3Ecz886dPRsYlO1c8B9YqNkiI9Gmn58nkkbPFAKdx\nQUx3\r\n=u8Yb\r\n-----END PGP SIGNATURE-----\r\n"},"main":"CometChat.js","gitHead":"d9a0f5842f838c50f985fa024e7b91222ce528c1","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"mayur-bhandari","email":"mayur.bhandari@inscripts.com"},"repository":{"url":"git+https://github.com/cometchat-pro/javascript-chat-sdk.git","type":"git"},"_npmVersion":"6.14.11","description":"A complete chat solution.","directories":{},"_nodeVersion":"14.15.5","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/chat_2.2.0_1613744351961_0.5567233217046086","host":"s3://npm-registry-packages"}},"2.2.1":{"name":"@cometchat-pro/chat","version":"2.2.1","keywords":["CometChat","chat","messaging","chat","sdk","pro","message","sdk","messaging","sdk","audio","chat","video","chat","webRTC"],"author":{"name":"CometChat"},"license":"SEE LICENSE IN LICENSE.md","_id":"@cometchat-pro/chat@2.2.1","maintainers":[{"name":"anantgarg","email":"anant.garg@inscripts.com"},{"name":"gajraajay","email":"ajay.gajra@inscripts.in"},{"name":"taru.agarwal","email":"taru.agarwal@inscripts.com"},{"name":"mayur-bhandari","email":"mayur.bhandari@inscripts.com"},{"name":"jitvarpatil","email":"jitvar.patil@inscripts.com"},{"name":"ranjanravi85","email":"ravi.ranjan@inscripts.com"}],"homepage":"https://github.com/cometchat-pro/javascript-chat-sdk#readme","bugs":{"url":"https://github.com/cometchat-pro/javascript-chat-sdk/issues"},"dist":{"shasum":"8b0e79ca163aca06915914086466f6f9e934841b","tarball":"https://registry.npmjs.org/@cometchat-pro/chat/-/chat-2.2.1.tgz","fileCount":5,"integrity":"sha512-9b3BL9OqIr3tRC5Q3P/4ug2g9aBoreDX+qnza3zjenM05nlwtXvEgEzLjZHydEUqvnD+H1EK+jjYlq/T71jWKA==","signatures":[{"sig":"MEYCIQDclOc8AKrA3f3n+k/pDLzSfX0Ra7/51xmHNiUC/BPN4QIhAPqG5egvWr5nHuu8sVy6MHPa5PiQVaOqQQVZLGQ+maET","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":521176,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgPkRbCRA9TVsSAnZWagAAlcwP/icXg52IGXVY99vICzVa\nAy6OxQlkjX7ehP1mY5bF8Mk756T45xd5HU9Nn3rEB88dn6t1tC1IiPuqNwXV\nJz1dajzXxWfiibeCBoGyc77ghCpzBJi3lQwyosz5LpTV+5RGDB2qd1qRwEC+\nrZK1dTRI11UV7UtVdA55OkpOxQzpglUPsRKhkWtQMSjKyj4zXxw93/znwhHb\nHiSC2OooOt+sI2uZav10qNiEhcMkDoWSJYoVfeeuuk7EHFxjxgztDtnbhGwm\nTTIPe+LAW/FYs+HSep+N/gZSAcvjS1tlBC1sTIzA6TUK4XiuRomOcKvzpifp\nxBYtqfGE12Car4XaoiD/LWYtRwz57WDPrMg2HCY4uzI4WuXlsAzR6OAkv9GM\nNY7cHtW2zDB2TZCVEADrp9GC9hHsCnGMNuv8il7mcyZ5tlk3/BCdndfuHgkH\n92Z0afHzSwINvkuAUO8Mg6UG359FQNnx+j2/lgDBwfy4FknUs4ET1ZkUTEtf\ntzY+BNCGzy1anwZif+0jYn5J02nGpJccmzS1ZXX9YZLwloPM4c7Gk2sxYEL1\nrOt5qxk3pWmKC2lHcm7DHmxf6DwQhtxzX29gFxfGp8k1R0a5CPBahRkT/kfc\nMXFxjE4+2DHDggnSD8Z7JB+ohmiCRkxzlA/Ggjp6Vr+mRBcGKwpXr+mdn75v\nU2Ux\r\n=4TmZ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"CometChat.js","gitHead":"e60e8c2f8736a363325e048213ebdd025f9f0e0b","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"mayur-bhandari","email":"mayur.bhandari@inscripts.com"},"repository":{"url":"git+https://github.com/cometchat-pro/javascript-chat-sdk.git","type":"git"},"_npmVersion":"6.14.11","description":"A complete chat solution.","directories":{},"_nodeVersion":"14.15.5","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/chat_2.2.1_1614693466534_0.7057253449284129","host":"s3://npm-registry-packages"}},"2.3.0":{"name":"@cometchat-pro/chat","version":"2.3.0","keywords":["CometChat","chat","messaging","chat","sdk","pro","message","sdk","messaging","sdk","audio","chat","video","chat","webRTC"],"author":{"name":"CometChat"},"license":"SEE LICENSE IN LICENSE.md","_id":"@cometchat-pro/chat@2.3.0","maintainers":[{"name":"anantgarg","email":"anant.garg@inscripts.com"},{"name":"gajraajay","email":"ajay.gajra@inscripts.in"},{"name":"taru.agarwal","email":"taru.agarwal@inscripts.com"},{"name":"mayur-bhandari","email":"mayur.bhandari@inscripts.com"},{"name":"jitvarpatil","email":"jitvar.patil@inscripts.com"},{"name":"ranjanravi85","email":"ravi.ranjan@inscripts.com"}],"homepage":"https://github.com/cometchat-pro/javascript-chat-sdk#readme","bugs":{"url":"https://github.com/cometchat-pro/javascript-chat-sdk/issues"},"dist":{"shasum":"d54b2db8ace69d375b2aac5c5644e39339f8d8e2","tarball":"https://registry.npmjs.org/@cometchat-pro/chat/-/chat-2.3.0.tgz","fileCount":5,"integrity":"sha512-jXvfsUkv69wnnOk53HeoBO1JECPCzxPrK9Hs9cJfrjhEJscWjKy4PyYb0VmD4o+olxZk81enLbCB5dseYtkosw==","signatures":[{"sig":"MEYCIQC3zJFo/vk8pbnLQwEZvVXIRO/5o0oWYzB2BadTRDAcpgIhAPpW7Y1wyV1DeJrsjS3xal+MEzCTorXKLeDTAK8p4AWf","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":528683,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgXIU1CRA9TVsSAnZWagAAczgP/RKFfeiVnfbC9ts8dMWw\nYRjVCnGfMz3nONptt/Hm+oFLHdTQhcOhrYkv4AfD4/4Ipjxz5XqGB+D6uoaW\nzslrTIgz5ZO0OAJdvlHEJ4fVXtHgQkaSnY3HPGFnoeQBXN9GYcJBjearijLI\nrXMy8m3IADpa9ClGjMjLEgBbPOharsZgSSbWN4gMMw5cO480ayWBb8a1sSON\nvzNqedcsbmw/I+OyMdPFrO4Mltx8zLuppkxg8rJNlebu3JcLwUAFj+j/Ctto\nHUUo4pgCU72KrGoNp8B0U3tdweWmGIsEMmAkd0uJbFDYRg81zRCiY2ns2wsU\nwaW+pSKBSCPEOSMGSBqe1MwrPlAm0RXOk801uVopwDUD1B0e3dDNkEb/odqZ\nFDyOpmdy87l2MaoS6uC9yUKhv2cUT3lhjHRIu/NK2nNLrT/SDZoZTN8dRjlP\n51WjIOjC98ev5EVgaLHvP7q0oPokWyRjdeRF8h0PAemPxrhNbpa4ZVONE7fq\ndQ1fCwcP0KGyD8S4iu2g67RZW0qHyVh82sB2/By3lSmyGI8Z6heKx4h/zDbi\nt1l4ssh0+DxQ03yYAc3u+VzJk/NpneZFSRyEZPNBctXMGCRuO62D7J6uh+Tp\nOrgQumTe8X5D3NXSC/y1RewVDs/bjjXNXusD6/87TZsw86rA/IlQro0yxzsq\nLQ6q\r\n=NJg/\r\n-----END PGP SIGNATURE-----\r\n"},"main":"CometChat.js","gitHead":"f1f772881127d470afd7641e87b163deb1e26228","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"mayur-bhandari","email":"mayur.bhandari@inscripts.com"},"repository":{"url":"git+https://github.com/cometchat-pro/javascript-chat-sdk.git","type":"git"},"_npmVersion":"6.14.11","description":"A complete chat solution.","directories":{},"_nodeVersion":"14.15.5","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/chat_2.3.0_1616676148532_0.49122751309039003","host":"s3://npm-registry-packages"}},"3.0.0-beta1":{"name":"@cometchat-pro/chat","version":"3.0.0-beta1","keywords":["CometChat","chat","messaging","chat","sdk","pro","message","sdk","messaging","sdk","audio","chat","video","chat","webRTC"],"author":{"name":"CometChat"},"license":"SEE LICENSE IN LICENSE.md","_id":"@cometchat-pro/chat@3.0.0-beta1","maintainers":[{"name":"anantgarg","email":"anant.garg@inscripts.com"},{"name":"gajraajay","email":"ajay.gajra@inscripts.in"},{"name":"taru.agarwal","email":"taru.agarwal@inscripts.com"},{"name":"mayur-bhandari","email":"mayur.bhandari@inscripts.com"},{"name":"jitvarpatil","email":"jitvar.patil@inscripts.com"},{"name":"ranjanravi85","email":"ravi.ranjan@inscripts.com"}],"homepage":"https://github.com/cometchat-pro/javascript-chat-sdk#readme","bugs":{"url":"https://github.com/cometchat-pro/javascript-chat-sdk/issues"},"dist":{"shasum":"5300bc468915fb4c3f454a77456ca2a1b9b1833c","tarball":"https://registry.npmjs.org/@cometchat-pro/chat/-/chat-3.0.0-beta1.tgz","fileCount":5,"integrity":"sha512-XuuQulYY+nIDdOqMUXBwU6Sw1u39+/euGsGtGzgjx5OBUNHADWs5PGyxEo6wrNsfhsloE1DWHJoLZu6hFCH+2g==","signatures":[{"sig":"MEUCIEKD7A5ivmeOVs2jgibdwBG3OAOHK+df/BAaGqt9JgOcAiEAzZvJdkgdihIEu1fFXe0adInuNBiuFwYoi8g+mvn7fdE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":386747,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgZfGcCRA9TVsSAnZWagAAMmAP/A+/Re4/sGncttYWabXz\nH0isDzZoIasafgI+8TItDHsOtGK7TIGRuo0tE9msRRREFmfXh+Ou6M6OgRwE\n/4Z/11dXv3GD5+U31NzENYfa0tuXonCbqzhRkwXmZPj5qv2jAzOx80uuPkc3\nlUe1zw9guHl6Dfz4gatAHEaXHsbBJuJAOnFXhRewhQ6fgP3uct2LZIlo4BwP\nEZc/WsRjc88UUInmsWW8RJLFFEzR9pho1PsuHJEiROQu/q6q/ipOCFvZaNEs\n1VsY+PeY5XRiqOuiqONhUr+p6iXaN2TFmrA1GG/3iurf+KvoVCnyduWOBL8D\nlwdTk2OmTy6kwYRWuGVxbcvf09FRBjxrTEQAMRtD354+yL+oCKXlZERcdLVn\nAj7ZBHmkliZ6UkIi9N1MOfhO5I3oCtMV6PgpbPWAqW/vp3XzySW2y6g3S4ot\nppBgpzGlnHw6g6CUlJCVkg3bAB3Ek+gD/ky7tN2FMMKyQVf8zLlMSwaOR/Sn\nKC+GPfkOCiH2IHujUDgGKLGLTaHbkk7C8gquQ4Cy5Yf88gsXHWDrIPjCGnUk\nMpduksrAgZeyTI8gb7JaCLnZCrkEQS9YE6BU80q07XE3v3vBY/5U/Ti6GHgs\nNtwW0PzDBu7kXQPwzPcK3h6punnQnmhBPDbjWoFh+m8XX6JhoN4q3NJTU4Lx\n/YRx\r\n=JhAk\r\n-----END PGP SIGNATURE-----\r\n"},"main":"CometChat.js","readme":"<div style=\"width:100%\">\n<div style=\"width:100%\">\n\t<div style=\"width:50%; display:inline-block\">\n\t\t<p align=\"center\">\n\t\t<img style=\"text-align:center\" width=\"180\" height=\"180\" alt=\"\" src=\"https://avatars2.githubusercontent.com/u/45484907?s=200&v=4\">\t\n\t\t</p>\t\n\t</div>\t\n</div>\n</br>\n</br>\n</div>\n\n# CometChat Javascript SDK\n\nCometChat Pro enables you to add voice, video & text chat for your website & app.\nThis guide demonstrates how to add chat to a WebSite using CometChat Pro.\n\n## Features\n\n<ul>\n<li> 1-1 & Group Conversations </li>\n<li> Voice & video calling & conferencing </li>\n<li> Rich Media Attachments </li>\n<li> Typing Indicators </li>\n<li> Custom Messages </li>\n<li> Read receipts </li>\n<li> Online Presence Indicators </li>\n<li> Message History </li>\n<li> Single Sign-on </li>\n<li> Webhooks </li>\n<li> Bots </li>\n<li> Users & Friends List </li>\n<li> Groups List </li>\n<li> Conversations List </li>\n<li> Threaded Conversations </li>\n</ul>\n\n## Extensions\n\n[Push Notification](https://prodocs.cometchat.com/docs/extensions-enhanced-push-notification) | [Email Notification](https://prodocs.cometchat.com/docs/extensions-email-notification) | [SMS Notification](https://prodocs.cometchat.com/docs/extensions-sms-notification) | [Thumbnail Generation](https://prodocs.cometchat.com/docs/extensions-thumbnail-generation) | [Link Preview](https://prodocs.cometchat.com/docs/extensions-link-preview) | [Rich Media Preview](https://prodocs.cometchat.com/docs/extensions-rich-media-preview) | [Voice Transcription](https://prodocs.cometchat.com/docs/extensions-voice-transcription) | [Smart Reply](https://prodocs.cometchat.com/docs/extensions-smart-reply) | [Message Translation](https://prodocs.cometchat.com/docs/extensions-message-translation) | [Emojis](https://prodocs.cometchat.com/docs/extensions-emojis) | [Polls](https://prodocs.cometchat.com/docs/extensions-polls) | [Reactions](https://prodocs.cometchat.com/docs/extensions-reactions) | [Stickers](https://prodocs.cometchat.com/docs/extensions-stickers) | [Video Broadcasting](https://prodocs.cometchat.com/docs/extensions-broadcast) | [Collaborative Documents](https://prodocs.cometchat.com/docs/extensions-collaborative-document) | [Collaborative Whiteboards](https://prodocs.cometchat.com/docs/extensions-collaborative-whiteboard) | [Data Masking Filter](https://prodocs.cometchat.com/docs/extensions-data-masking-filter) | [Profanity Filter](https://prodocs.cometchat.com/docs/extensions-profanity-filter) | [Image Moderation](https://prodocs.cometchat.com/docs/extensions-image-moderation)| [Sentiment Analysis](https://prodocs.cometchat.com/docs/extensions-sentiment-analysis) | [In-flight Message Moderation](https://prodocs.cometchat.com/docs/extensions-in-flight-message-moderation) | [Virus & Malware Scanner](https://prodocs.cometchat.com/docs/extensions-virus-malware-scanner) | [XSS Filter](https://prodocs.cometchat.com/docs/extensions-xss-filter)\n\n[![Platform](https://img.shields.io/badge/Platform-Javascript-brightgreen)](#)\n<a href=\" \"> <img src=\"https://img.shields.io/badge/Version-3.0.0-beta1-important\" /></a>\n![GitHub repo size](https://img.shields.io/github/repo-size/cometchat-pro/javascript-chat-sdk)\n![GitHub contributors](https://img.shields.io/github/contributors/cometchat-pro/javascript-chat-sdk)\n![GitHub stars](https://img.shields.io/github/stars/cometchat-pro/javascript-chat-sdk?style=social)\n![Twitter Follow](https://img.shields.io/twitter/follow/cometchat?style=social)\n<hr/>\n\n\n## Prerequisites :star:\nBefore you begin, ensure you have met the following requirements:<br/>\n ✅ &nbsp; You have [`Visual Studio Code`](https://code.visualstudio.com/) or any other code editor installed in your machine.<br/>\n ✅ &nbsp; You have [`npm`](https://www.npmjs.com/get-npm) installed in your machine.<br/>\n ✅ &nbsp; You have read [CometChat Key Concepts](https://prodocs.cometchat.com/docs/concepts).<br/>\n\n<hr/>\n\n## Installing CometChat Javascript SDK\n## Setup :wrench:\n\nTo setup Javascript SDK, you  need to first register on CometChat Dashboard. [Click here to sign up](https://app.cometchat.com/login).\n\n### i. Get your Application Keys :key:\n\n<a href=\"https://app.cometchat.io\" target=\"_blank\">Signup for CometChat</a> and then:\n\n1. Create a new app: Click **Add App** option available  →  Enter App Name & other information  → Create App\n2. At the Top in **QuickStart** section you will find **Auth Key** & **App ID** or else you can head over to the **API & Auth Keys** section and note the **Auth Key** and **App ID**\n<img align=\"center\" src=\"https://files.readme.io/4b771c5-qs_copy.jpg\"/>\n\n<hr/>\n\n### ii. Add the CometChat Dependency\n<ul>\n<li>\n<b>Install via NPM</b><br/>\n1. Run the following command to install the CometChat Pro Javascript SDK<br/>\n\n```javascript\n\tnpm install @cometchat-pro/chat@3.0.0-beta1 --save\n```\n</li>\n\n<li>\n<b>Import via CDN</b><br/>\n1. Include the CometChat Pro Javascript library in your HTML code.<br/>\n\n```html\n  <script type=\"text/javascript\" src=\"https://unpkg.com/@cometchat-pro/chat@3.0.0-beta1/CometChat.js\"></script>\n```\n\n You can refer to the below link for instructions on how to do so:<br/>\n[📝 Add CometChat Dependency](https://prodocs.cometchat.com/docs/js-quick-start#add-the-cometchat-dependency)\n</li>\n</ul>\n<hr/>\n\n## Configure CometChat Javascript SDK\n\n### i. Initialize CometChat 🌟\nWe suggest you call the init() method on app startup, preferably in the index.js file.\n\n```javascript\nvar appID = \"APP_ID\";\nvar region = \"REGION\";\nvar appSetting = new CometChat.AppSettingsBuilder().subscribePresenceForAllUsers().setRegion(region).build();\nCometChat.init(appID, appSetting).then(\n  () => {\n    console.log(\"Initialization completed successfully\");\n  },\n  error => {\n    console.log(\"Initialization failed with error:\", error);\n  }\n);\n```\n\n| :information_source: &nbsp; <b> Note: Make sure to replace `region` and `appID` with your credentials.</b> |\n|------------------------------------------------------------------------------------------------------------|\n\n### ii. Create User 👤\nOnce initialisation is successful, you will need to create a user. You need to use createUser() method to create user on the fly.\n```javascript\nlet authKey = \"AUTH_KEY\";\nvar uid = \"user1\";\nvar name = \"Kevin\";\n\nvar user = new CometChat.User(uid);\n\nuser.setName(name);\n\nCometChat.createUser(user, authKey).then(\n  user => {\n    console.log(\"user created\", user);\n  },error => {\n    console.log(\"error\", error);\n  }\n);\n```\n>:information_source: <b>Note: Make sure that UID and name are specified as these are mandatory fields to create a user.</b>\n<hr/>\n\n### iii. Login User 👤\nOnce you have created the user successfully, you will need to log the user into CometChat using the login() method.\n```javascript\nvar UID = \"SUPERHERO1\";\nvar authKey = \"AUTH_KEY\";\n\nCometChat.getLoggedinUser().then(\n  user => {\n    if(!user){\n      CometChat.login(UID, authKey).then(\n        user => {\n          console.log(\"Login Successful:\", { user });    \n        },\n        error => {\n          console.log(\"Login failed with exception:\", { error });    \n        }\n      );\n    }else{\n      // User already logged in\n    }\n  }, error => {\n    console.log(\"getLoggedinUser failed with exception:\", { error });\n  }\n);\n```\n\n| :information_source: &nbsp; <b>Note - The login() method needs to be called only once. Also replace AUTH_KEY with your App Auth Key.</b> |\n|------------------------------------------------------------------------------------------------------------|\n\n<hr/>\n\n📝 Please refer to our [Developer Documentation](https://prodocs.cometchat.com/docs/js-quick-start) for more information on how to configure the CometChat Pro SDK and implement various features using the same.\n\n<hr/>\n\n## Learn more about UI-Kit\n[Angular UI Kit](https://github.com/cometchat-pro/javascript-angular-chat-ui-kit) | [React UI Kit](https://github.com/cometchat-pro/javascript-react-chat-ui-kit) | [Vue UI Kit](https://github.com/cometchat-pro/javascript-vue-chat-ui-kit)\n\n## Contributors :clap:\nThanks to the following people who have contributed to this project:\n[👨‍💻 @ajaygajra](https://github.com/ajaygajra)\n[👨‍💻 @mayur-bhandari](https://github.com/mayur-bhandari)\n<hr/>\n\n## Contact :mailbox:\nContact us via real time support present in [CometChat Dashboard.](https://app.cometchat.io/)\n<hr/>","gitHead":"6db1ceeaa98acf1a6a2b2fd5a799457a56dd34c6","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"mayur-bhandari","email":"mayur.bhandari@inscripts.com"},"repository":{"url":"git+https://github.com/cometchat-pro/javascript-chat-sdk.git","type":"git"},"_npmVersion":"6.14.11","description":"A complete chat solution.","directories":{},"_nodeVersion":"14.15.5","_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/chat_3.0.0-beta1_1617293723769_0.07417312279842747","host":"s3://npm-registry-packages"}},"2.3.1":{"name":"@cometchat-pro/chat","version":"2.3.1","keywords":["CometChat","chat","messaging","chat","sdk","pro","message","sdk","messaging","sdk","audio","chat","video","chat","webRTC"],"author":{"name":"CometChat"},"license":"SEE LICENSE IN LICENSE.md","_id":"@cometchat-pro/chat@2.3.1","maintainers":[{"name":"anantgarg","email":"anant.garg@inscripts.com"},{"name":"gajraajay","email":"ajay.gajra@inscripts.in"},{"name":"taru.agarwal","email":"taru.agarwal@inscripts.com"},{"name":"mayur-bhandari","email":"mayur.bhandari@inscripts.com"},{"name":"jitvarpatil","email":"jitvar.patil@inscripts.com"},{"name":"ranjanravi85","email":"ravi.ranjan@inscripts.com"}],"homepage":"https://github.com/cometchat-pro/javascript-chat-sdk#readme","bugs":{"url":"https://github.com/cometchat-pro/javascript-chat-sdk/issues"},"dist":{"shasum":"130d94bc67835f807b200874cd8c2872a1db45f4","tarball":"https://registry.npmjs.org/@cometchat-pro/chat/-/chat-2.3.1.tgz","fileCount":5,"integrity":"sha512-Rmfo/9GDo+qa+TokXhW7ATjkWdtTfysyPsiIXWGUAPIavQ84/1N7+jbVhuDvYCYi8dmYkZy7yK6h3iXypTohvQ==","signatures":[{"sig":"MEUCIFzZfnJia1KYQ5OhNNvH4xsBNu0HBKPXByhHBy/SJSKJAiEA0PweCiygHpqxX/5xE1phxQttA9qcGHns9fhugQTGuko=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":536425,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgdeKOCRA9TVsSAnZWagAA68wQAJEPEnj71U22BnLTmcPn\noxFPu91fqHMupp+cKSPPdLA1QWtdU7xqS5U7YX8KthA3TY8ZTcEdpyB1dx3u\nEzvq4JGbcAyBtUOY7QufcLlLMkruTJjwXnkQz215u4W2sBIKEEouvAWyboi2\nspM+sigjOaBXMT9ZGvUcGlTEhcRVz86QGogtwh6t2IRKqQtNjNdZCMkuPnDU\nLejvCxfPZwNUudIdrnw+F3M+SaxeBbkyPG4RQW1RCCCWtnAye4Pki0XiC7Dr\nJSPQxHYdy/z0Z706rO1b72MayBoMR1aEufC2G5eOtviV2eNRhoyj5yU+paQZ\nPIL1ntVx5FdBRi+HDqmQe7HO3YR9Dyfag1mW15CRDSeF+8CFJrY+X5AqmMH2\naP49RK9McsGGviUU/oDSyzaKAykKEOPAqEIakMsPcDba670sChYSgPj0RMJe\nFUxJ0Woj0Sx7WLL7RDOtebTr30pw697kHKQTt03wi703IB6UV/FP5gPnw8Tc\nyZzJw3XOpw5lHtxUNwLEKxcepJAAc5hVPY5nF0mSvNnOHMB/QEH4txIp8hkU\nARIRgeq/echHBjmuvdAUNp2S+FKU1vr9Kt02C4/6gzo8muSHmmgdo6L5HNnr\nUmkXIX/yfIJJaoI9YfLv7xnpM2AVozluEitMFxNESlWOb03oG7jkocCsx9Xy\nsVzb\r\n=vRO5\r\n-----END PGP SIGNATURE-----\r\n"},"main":"CometChat.js","gitHead":"6db1ceeaa98acf1a6a2b2fd5a799457a56dd34c6","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"mayur-bhandari","email":"mayur.bhandari@inscripts.com"},"repository":{"url":"git+https://github.com/cometchat-pro/javascript-chat-sdk.git","type":"git"},"_npmVersion":"6.14.11","description":"A complete chat solution.","directories":{},"_nodeVersion":"14.15.5","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/chat_2.3.1_1618338446223_0.3066926923080133","host":"s3://npm-registry-packages"}},"2.3.2":{"name":"@cometchat-pro/chat","version":"2.3.2","keywords":["CometChat","chat","messaging","chat","sdk","pro","message","sdk","messaging","sdk","audio","chat","video","chat","webRTC"],"author":{"name":"CometChat"},"license":"SEE LICENSE IN LICENSE.md","_id":"@cometchat-pro/chat@2.3.2","maintainers":[{"name":"anantgarg","email":"anant.garg@inscripts.com"},{"name":"gajraajay","email":"ajay.gajra@inscripts.in"},{"name":"taru.agarwal","email":"taru.agarwal@inscripts.com"},{"name":"mayur-bhandari","email":"mayur.bhandari@inscripts.com"},{"name":"jitvarpatil","email":"jitvar.patil@inscripts.com"},{"name":"ranjanravi85","email":"ravi.ranjan@inscripts.com"}],"homepage":"https://github.com/cometchat-pro/javascript-chat-sdk#readme","bugs":{"url":"https://github.com/cometchat-pro/javascript-chat-sdk/issues"},"dist":{"shasum":"d767cc46b1b834db9b07a4b6baa1658cdf85161c","tarball":"https://registry.npmjs.org/@cometchat-pro/chat/-/chat-2.3.2.tgz","fileCount":5,"integrity":"sha512-AIsbGQGM5LX5nLu+Kq1lGYtMARypruJDrs5E+ozsFPRm9NGJawP87/7j2ylKJcLpO50y9Ww70D8nVO6dlLOqqQ==","signatures":[{"sig":"MEQCIAOKfpEEyoPeYNsNn8VxG6s/wZIusIirdPwM0PwpkcqkAiBH/MiDd/WInw1UwAPN29s2ss8GP5lzYLoDnJqI48pSGQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":536721,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJghl9xCRA9TVsSAnZWagAAswAQAJgkS4/wZ+7KUoDsjuFK\nBupwTEc2Fnyt2aRutGpOUMK7Lf5HbA33jcfwty5rn5wgtJzL/kBIlVDy0t4J\n/uGpbjdTR8bHaYd8syu1yrMq7rFGLoetoGWlNZtf3yhiV3COjBU2HAuSFXES\nmEkkdtBSAEbSDSP5YZGoZ58NkrG9wQYw42lMaIne4d33JINfDzv12fxi63xV\nbdN/mSr++unW/RQW9gNC3RpCPCI0t0gHmxcCnN1c20U3E86xCE54/p76G/OJ\nUd1OVU74N+hyhvL6MvojqOklZ6eWj4IveFmUHlgu7TCyDsyFMn/ftqeR7VWG\nzJVLuKs+tfGcpQmoHpQSxRvodbgFxaU6PPhKgQ4+UYha+N0HQTo+Ecmnz0nH\nnQ63J7xKwZCiuh7ngWbnLsEx6inAX2xLRwNCoDlJOZxkCaqiB8c98Ww/5ims\nXRzTYgNeBs9wzpqSFFAW6pcD+T1Rbx8UMUViNDTIbT+Jm/Aa4SD05l6v1KKW\nHso1Ey37h2KBFK0y4hcXpIMquaL1obABnX8CxBUC6/BETfxbfSlsUdUqKs/D\nLNtb/is3sxtIq1+69pSm5eAK35eJiy8EY6pQSgr6Mc7WLvyE8yPW+4CWcmhE\n9oqI2b8WHr0hLxf1GbPUAC1EFzwZsKhWj3Pi1ao6dSsMYQQnU7zDFwjSL397\nWaEA\r\n=5ayz\r\n-----END PGP SIGNATURE-----\r\n"},"main":"CometChat.js","gitHead":"8f773baf2294951dca5abb8ce37ea587cd9efc00","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"mayur-bhandari","email":"mayur.bhandari@inscripts.com"},"repository":{"url":"git+https://github.com/cometchat-pro/javascript-chat-sdk.git","type":"git"},"_npmVersion":"6.14.11","description":"A complete chat solution.","directories":{},"_nodeVersion":"14.15.5","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/chat_2.3.2_1619418992369_0.45540808206282835","host":"s3://npm-registry-packages"}},"3.0.0-beta2":{"name":"@cometchat-pro/chat","version":"3.0.0-beta2","keywords":["CometChat","chat","messaging","chat","sdk","pro","message","sdk","messaging","sdk","audio","chat","video","chat","webRTC"],"author":{"name":"CometChat"},"license":"SEE LICENSE IN LICENSE.md","_id":"@cometchat-pro/chat@3.0.0-beta2","maintainers":[{"name":"anantgarg","email":"anant.garg@inscripts.com"},{"name":"gajraajay","email":"ajay.gajra@inscripts.in"},{"name":"taru.agarwal","email":"taru.agarwal@inscripts.com"},{"name":"mayur-bhandari","email":"mayur.bhandari@inscripts.com"},{"name":"jitvarpatil","email":"jitvar.patil@inscripts.com"},{"name":"ranjanravi85","email":"ravi.ranjan@inscripts.com"}],"homepage":"https://github.com/cometchat-pro/javascript-chat-sdk#readme","bugs":{"url":"https://github.com/cometchat-pro/javascript-chat-sdk/issues"},"dist":{"shasum":"649756e2439b39c20bc5ec80b77ecb09b04b6743","tarball":"https://registry.npmjs.org/@cometchat-pro/chat/-/chat-3.0.0-beta2.tgz","fileCount":5,"integrity":"sha512-d1eie+xLq1kTn6f9FhvJBGCkrLDDo7CHMqnU3wVm6h96nY9VB0ltQfTfDejkd1C1C/QdyLaWpJT2GKZ8S5XFzg==","signatures":[{"sig":"MEUCIAs077PGNox1EKTZQ5P38aHtQIaVTysz868EeXz1zqXuAiEA7LGCbPswMykKr/U+K8BV+ZPCVRTkuJWYKuOKfW09dvk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":395024,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgiuBJCRA9TVsSAnZWagAAJVUP/1JoYzr9+LYqYlPncuoR\nSM1UMvs5HwPjMPTpADtVbueBl+cJ2auUkTqe7RUmQ9vUwKp4/Mr1ZAIj17In\ncN1RoDhSXwA2Qq9mGbPaBijHTBT2q3e/+ATLcHe7HeqHC9kXceFMSEKgIEPj\n8D4T834wJDzfR3+eX+3pJTlj0lxrZfYkrOK68cJT2KkchsNWKEod5MjA06Yb\nA+Ld7sQpXYcx/IJE8UODj6XDM950iXfwD7WwsJrs9nLysKUANuR7Ovl/3PiX\n7AXqS6Pd07vbKx0I/oAfaogRAKed6kqXD+LgWkYVQiBl51kaFWXCNdRIkxiJ\nsvJXmZuoqo+8nJqClnI9uUImWNjB6Po/fWZt2M+Gm+e/mGSZj0PPZtEoNixG\nAwCH3KXTpE8lL1Myd53ANMEHypUBDmhHiWaC0FcvJyGgsCXEDNxfDzoO/jiQ\numLxUlkeDXZVP8J1z9t7H00CeR8mZYFU9QzgzlbqQGkSS9QkbYCTjTDnG0em\nv/0tHr/KoPdcghXynhAjgqZ2t1kE2pRxcQXopRhSzU8wLQpGDaudW8c8flFY\nErlhIRpDwvTCVqAL+cMywZ4bGnJdBxOnnzDuQcXF1ZaVler2Ovvoqj1C7XBr\nZSugTowH1VPGVQjwlWg13micP0aOBFUUCKjv9mTwMVhcnVa7EFF5vBOA6ILw\nnAGq\r\n=F9ey\r\n-----END PGP SIGNATURE-----\r\n"},"main":"CometChat.js","readme":"<div style=\"width:100%\">\n<div style=\"width:100%\">\n\t<div style=\"width:50%; display:inline-block\">\n\t\t<p align=\"center\">\n\t\t<img style=\"text-align:center\" width=\"180\" height=\"180\" alt=\"\" src=\"https://avatars2.githubusercontent.com/u/45484907?s=200&v=4\">\t\n\t\t</p>\t\n\t</div>\t\n</div>\n</br>\n</br>\n</div>\n\n# CometChat Javascript SDK\n\nCometChat Pro enables you to add voice, video & text chat for your website & app.\nThis guide demonstrates how to add chat to a WebSite using CometChat Pro.\n\n## Features\n\n<ul>\n<li> 1-1 & Group Conversations </li>\n<li> Voice & video calling & conferencing </li>\n<li> Rich Media Attachments </li>\n<li> Typing Indicators </li>\n<li> Custom Messages </li>\n<li> Read receipts </li>\n<li> Online Presence Indicators </li>\n<li> Message History </li>\n<li> Single Sign-on </li>\n<li> Webhooks </li>\n<li> Bots </li>\n<li> Users & Friends List </li>\n<li> Groups List </li>\n<li> Conversations List </li>\n<li> Threaded Conversations </li>\n</ul>\n\n## Extensions\n\n[Push Notification](https://prodocs.cometchat.com/docs/extensions-enhanced-push-notification) | [Email Notification](https://prodocs.cometchat.com/docs/extensions-email-notification) | [SMS Notification](https://prodocs.cometchat.com/docs/extensions-sms-notification) | [Thumbnail Generation](https://prodocs.cometchat.com/docs/extensions-thumbnail-generation) | [Link Preview](https://prodocs.cometchat.com/docs/extensions-link-preview) | [Rich Media Preview](https://prodocs.cometchat.com/docs/extensions-rich-media-preview) | [Voice Transcription](https://prodocs.cometchat.com/docs/extensions-voice-transcription) | [Smart Reply](https://prodocs.cometchat.com/docs/extensions-smart-reply) | [Message Translation](https://prodocs.cometchat.com/docs/extensions-message-translation) | [Emojis](https://prodocs.cometchat.com/docs/extensions-emojis) | [Polls](https://prodocs.cometchat.com/docs/extensions-polls) | [Reactions](https://prodocs.cometchat.com/docs/extensions-reactions) | [Stickers](https://prodocs.cometchat.com/docs/extensions-stickers) | [Video Broadcasting](https://prodocs.cometchat.com/docs/extensions-broadcast) | [Collaborative Documents](https://prodocs.cometchat.com/docs/extensions-collaborative-document) | [Collaborative Whiteboards](https://prodocs.cometchat.com/docs/extensions-collaborative-whiteboard) | [Data Masking Filter](https://prodocs.cometchat.com/docs/extensions-data-masking-filter) | [Profanity Filter](https://prodocs.cometchat.com/docs/extensions-profanity-filter) | [Image Moderation](https://prodocs.cometchat.com/docs/extensions-image-moderation)| [Sentiment Analysis](https://prodocs.cometchat.com/docs/extensions-sentiment-analysis) | [In-flight Message Moderation](https://prodocs.cometchat.com/docs/extensions-in-flight-message-moderation) | [Virus & Malware Scanner](https://prodocs.cometchat.com/docs/extensions-virus-malware-scanner) | [XSS Filter](https://prodocs.cometchat.com/docs/extensions-xss-filter)\n\n[![Platform](https://img.shields.io/badge/Platform-Javascript-brightgreen)](#)\n<a href=\" \"> <img src=\"https://img.shields.io/badge/Version-3.0.0-beta2-important\" /></a>\n![GitHub repo size](https://img.shields.io/github/repo-size/cometchat-pro/javascript-chat-sdk)\n![GitHub contributors](https://img.shields.io/github/contributors/cometchat-pro/javascript-chat-sdk)\n![GitHub stars](https://img.shields.io/github/stars/cometchat-pro/javascript-chat-sdk?style=social)\n![Twitter Follow](https://img.shields.io/twitter/follow/cometchat?style=social)\n<hr/>\n\n\n## Prerequisites :star:\nBefore you begin, ensure you have met the following requirements:<br/>\n ✅ &nbsp; You have [`Visual Studio Code`](https://code.visualstudio.com/) or any other code editor installed in your machine.<br/>\n ✅ &nbsp; You have [`npm`](https://www.npmjs.com/get-npm) installed in your machine.<br/>\n ✅ &nbsp; You have read [CometChat Key Concepts](https://prodocs.cometchat.com/docs/concepts).<br/>\n\n<hr/>\n\n## Installing CometChat Javascript SDK\n## Setup :wrench:\n\nTo setup Javascript SDK, you  need to first register on CometChat Dashboard. [Click here to sign up](https://app.cometchat.com/login).\n\n### i. Get your Application Keys :key:\n\n<a href=\"https://app.cometchat.io\" target=\"_blank\">Signup for CometChat</a> and then:\n\n1. Create a new app: Click **Add App** option available  →  Enter App Name & other information  → Create App\n2. At the Top in **QuickStart** section you will find **Auth Key** & **App ID** or else you can head over to the **API & Auth Keys** section and note the **Auth Key** and **App ID**\n<img align=\"center\" src=\"https://files.readme.io/4b771c5-qs_copy.jpg\"/>\n\n<hr/>\n\n### ii. Add the CometChat Dependency\n<ul>\n<li>\n<b>Install via NPM</b><br/>\n1. Run the following command to install the CometChat Pro Javascript SDK<br/>\n\n```javascript\n\tnpm install @cometchat-pro/chat@3.0.0-beta2 --save\n```\n</li>\n\n<li>\n<b>Import via CDN</b><br/>\n1. Include the CometChat Pro Javascript library in your HTML code.<br/>\n\n```html\n  <script type=\"text/javascript\" src=\"https://unpkg.com/@cometchat-pro/chat@3.0.0-beta2/CometChat.js\"></script>\n```\n\n You can refer to the below link for instructions on how to do so:<br/>\n[📝 Add CometChat Dependency](https://prodocs.cometchat.com/docs/js-quick-start#add-the-cometchat-dependency)\n</li>\n</ul>\n<hr/>\n\n## Configure CometChat Javascript SDK\n\n### i. Initialize CometChat 🌟\nWe suggest you call the init() method on app startup, preferably in the index.js file.\n\n```javascript\nvar appID = \"APP_ID\";\nvar region = \"REGION\";\nvar appSetting = new CometChat.AppSettingsBuilder().subscribePresenceForAllUsers().setRegion(region).build();\nCometChat.init(appID, appSetting).then(\n  () => {\n    console.log(\"Initialization completed successfully\");\n  },\n  error => {\n    console.log(\"Initialization failed with error:\", error);\n  }\n);\n```\n\n| :information_source: &nbsp; <b> Note: Make sure to replace `region` and `appID` with your credentials.</b> |\n|------------------------------------------------------------------------------------------------------------|\n\n### ii. Create User 👤\nOnce initialisation is successful, you will need to create a user. You need to use createUser() method to create user on the fly.\n```javascript\nlet authKey = \"AUTH_KEY\";\nvar uid = \"user1\";\nvar name = \"Kevin\";\n\nvar user = new CometChat.User(uid);\n\nuser.setName(name);\n\nCometChat.createUser(user, authKey).then(\n  user => {\n    console.log(\"user created\", user);\n  },error => {\n    console.log(\"error\", error);\n  }\n);\n```\n>:information_source: <b>Note: Make sure that UID and name are specified as these are mandatory fields to create a user.</b>\n<hr/>\n\n### iii. Login User 👤\nOnce you have created the user successfully, you will need to log the user into CometChat using the login() method.\n```javascript\nvar UID = \"SUPERHERO1\";\nvar authKey = \"AUTH_KEY\";\n\nCometChat.getLoggedinUser().then(\n  user => {\n    if(!user){\n      CometChat.login(UID, authKey).then(\n        user => {\n          console.log(\"Login Successful:\", { user });    \n        },\n        error => {\n          console.log(\"Login failed with exception:\", { error });    \n        }\n      );\n    }else{\n      // User already logged in\n    }\n  }, error => {\n    console.log(\"getLoggedinUser failed with exception:\", { error });\n  }\n);\n```\n\n| :information_source: &nbsp; <b>Note - The login() method needs to be called only once. Also replace AUTH_KEY with your App Auth Key.</b> |\n|------------------------------------------------------------------------------------------------------------|\n\n<hr/>\n\n📝 Please refer to our [Developer Documentation](https://prodocs.cometchat.com/docs/js-quick-start) for more information on how to configure the CometChat Pro SDK and implement various features using the same.\n\n<hr/>\n\n## Learn more about UI-Kit\n[Angular UI Kit](https://github.com/cometchat-pro/javascript-angular-chat-ui-kit) | [React UI Kit](https://github.com/cometchat-pro/javascript-react-chat-ui-kit) | [Vue UI Kit](https://github.com/cometchat-pro/javascript-vue-chat-ui-kit)\n\n## Contributors :clap:\nThanks to the following people who have contributed to this project:\n[👨‍💻 @ajaygajra](https://github.com/ajaygajra)\n[👨‍💻 @mayur-bhandari](https://github.com/mayur-bhandari)\n<hr/>\n\n## Contact :mailbox:\nContact us via real time support present in [CometChat Dashboard.](https://app.cometchat.io/)\n<hr/>","gitHead":"0377c34d8b76f77aabe4c3d66b3b6383769370d2","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"mayur-bhandari","email":"mayur.bhandari@inscripts.com"},"repository":{"url":"git+https://github.com/cometchat-pro/javascript-chat-sdk.git","type":"git"},"_npmVersion":"6.14.11","description":"A complete chat solution.","directories":{},"_nodeVersion":"14.15.5","_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/chat_3.0.0-beta2_1619714121089_0.843610606532287","host":"s3://npm-registry-packages"}},"2.3.3":{"name":"@cometchat-pro/chat","version":"2.3.3","keywords":["CometChat","chat","messaging","chat","sdk","pro","message","sdk","messaging","sdk","audio","chat","video","chat","webRTC"],"author":{"name":"CometChat"},"license":"SEE LICENSE IN LICENSE.md","_id":"@cometchat-pro/chat@2.3.3","maintainers":[{"name":"anantgarg","email":"anant.garg@inscripts.com"},{"name":"gajraajay","email":"ajay.gajra@inscripts.in"},{"name":"taru.agarwal","email":"taru.agarwal@inscripts.com"},{"name":"mayur-bhandari","email":"mayur.bhandari@inscripts.com"},{"name":"jitvarpatil","email":"jitvar.patil@inscripts.com"},{"name":"ranjanravi85","email":"ravi.ranjan@inscripts.com"}],"homepage":"https://github.com/cometchat-pro/javascript-chat-sdk#readme","bugs":{"url":"https://github.com/cometchat-pro/javascript-chat-sdk/issues"},"dist":{"shasum":"b0a574bfe6c13cc69516791cb3f8af23b4473375","tarball":"https://registry.npmjs.org/@cometchat-pro/chat/-/chat-2.3.3.tgz","fileCount":5,"integrity":"sha512-wpf6Y6koBU0IBiuCIF3iwxBkSpw+PlArpgu3JZWT3+sooWL302VX4rILm77lhXqzGx48G1fkDQJFsGTnOS5/yg==","signatures":[{"sig":"MEYCIQDSNqmKBxihBW2fMOzKfaQrE5E4e5OPRXJm+ChBSqoKUgIhAMHThSRe5vXHvMwueoRmuScBIvqrh/Uwv5y15o5xFLRK","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":539486,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgk+ULCRA9TVsSAnZWagAA9T4P/1Z3kLM5Vj6p1vjZ8E2g\nT7BVJnLpc9WB06EjhWI2Vxucy9a5Z+DqxqexjbVk8Ph7X7/Nhpjm3AxAoneW\niXeODO0/aMfQP9K6PFy9e0ol/cjv3vIAflO2IKUURlH8nwntsJKwODFF/+V0\nhEZx3p1cHfm38NbZ00y3uHbKGeMBa1hNJ1KfO4rPJsLErbimqhFfjx96j54C\n1rWPbFQco37gX2USHfhnLvRXgOLHAzrFWFQzdEE2NT8QvZS+gE5uwfaRJHTK\nTm61VhVSMWVqG4HWrYjiD4GsWJNHduB4lmCMFEc9NE8nKsebB7b5HGQ5s85+\n3oGjG7MI/mfJhruyOez3XHhbjd/Q9BoiB9tx2eGDMF430fUA4AxwJKBoaVOn\ndbLICpOH58aGIj+0R/yxCqPWrLsvfDB+/7KjKJK1uHi46DPIc09kmZnzfuSs\nN8SSNTbbzG0DMwk9gqO5Ce6kc1TUAtSKl7+DxM5kxxCVnuAnhluWHpmHXEo6\nm1FKP8jI+NZ4Qm+V1YylKHa5QwA7YmZX+r6nnFbNv0WagsFcXYRLw6QivlLA\n8GwAUj9P/97vaQ9sncyn9BYzNYWLbcLBGX/4hI9uu3eQgtVvnU55sbmT+LXx\nWEasUCW98bqPlr0PdfANHlSFZDdFPkGfBSpj0IIs1ZEyb++lbJFZ5Tfn3TCO\nAIgt\r\n=25di\r\n-----END PGP SIGNATURE-----\r\n"},"main":"CometChat.js","gitHead":"409f155bf61aa48043ed2ddde02bb0d52740d380","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"mayur-bhandari","email":"mayur.bhandari@inscripts.com"},"repository":{"url":"git+https://github.com/cometchat-pro/javascript-chat-sdk.git","type":"git"},"_npmVersion":"6.14.11","description":"A complete chat solution.","directories":{},"_nodeVersion":"14.15.5","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/chat_2.3.3_1620305162794_0.5209427856957733","host":"s3://npm-registry-packages"}},"3.0.0-beta3":{"name":"@cometchat-pro/chat","version":"3.0.0-beta3","keywords":["CometChat","chat","messaging","chat","sdk","pro","message","sdk","messaging","sdk","audio","chat","video","chat","webRTC"],"author":{"name":"CometChat"},"license":"SEE LICENSE IN LICENSE.md","_id":"@cometchat-pro/chat@3.0.0-beta3","maintainers":[{"name":"anantgarg","email":"anant.garg@inscripts.com"},{"name":"gajraajay","email":"ajay.gajra@inscripts.in"},{"name":"taru.agarwal","email":"taru.agarwal@inscripts.com"},{"name":"mayur-bhandari","email":"mayur.bhandari@inscripts.com"},{"name":"jitvarpatil","email":"jitvar.patil@inscripts.com"},{"name":"ranjanravi85","email":"ravi.ranjan@inscripts.com"}],"homepage":"https://github.com/cometchat-pro/javascript-chat-sdk#readme","bugs":{"url":"https://github.com/cometchat-pro/javascript-chat-sdk/issues"},"dist":{"shasum":"cfcb0379fd554b175145e4d0b9d4632aa23f5546","tarball":"https://registry.npmjs.org/@cometchat-pro/chat/-/chat-3.0.0-beta3.tgz","fileCount":5,"integrity":"sha512-eXbz9DSWFtjJHXNy4ShPp/vFZXhu/RLsR+UV4qiLj2UcRBwpPu8Lp2wDUsVB5XF3TKK6b4B9FTziDUYlN1ILRQ==","signatures":[{"sig":"MEYCIQDIb/FtbclYshHnbzCelwbeoqvoms2bQGWtoCX4WskV0gIhAOpMGposCtr06/iZ5WS2aMEQ9k+lWy/lkpA5enSL2BcS","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":397789,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJglO0FCRA9TVsSAnZWagAAgN8P/2NLl4dpdD2llbWmu10d\n1dI9d7PQ9y93MYxHlinA+XIEwsZ+vSv/pXM43a7ARXfrETQfI0fFl1w3OP3q\nSsKrbV3Jq3PYpGpf1BRh0GqPCxYI0TbqhABwPvJwMCa8WoQjQ/KRlfUSt7YU\nEaJvqTm7bhquKnjqKrnqc36YNtjfMhWCukdiZ5bRyhd0h3bzVRXrPJ/eLQno\nRFn7KaYShU20MavxB4UhHqbmGKiz2IbVMSvqbEHSisPPiKG+K5z8CDc7fW7Q\nRZj2UQJOrP9InWKyXt/g3iIjbXM2/yFNEwJ8A3HSagJAm/TysnWLT44mIf+Y\nPVyzCUvyGaBxRsHTQQjxpI1uOmjanPr9PfFv85/06+iCipX5nct8xM71H3MR\nqbyCsIgXtlcX9iBlQEOsQzBJRiZHtItQc8GqMIT+e59SQ+rGMWYnQQ8ifZOk\nAdFsPjbBzJgRh8F7ucceH2YI4FF+26N+yMzB+uQB+WM5ZtGV9G0TjY+ADJuH\n11+EaKs9KV1tmxGlidpVuOm+UtuMyjzWWlS33rl0xPozacQZE7Whlsgc8gAw\nkiRubL+D1ZtmT30Ng/S1h1FjZjnT6S3zMFiRU2tghU5O19agrFRY63DLsBcJ\nnsx5wZ8N2YJRoDXQPHS4FFuyYIZUmO9qaQL2E0dm6MiNEEDtLluRGSfg4Emm\nD9/V\r\n=qh3x\r\n-----END PGP SIGNATURE-----\r\n"},"main":"CometChat.js","readme":"<div style=\"width:100%\">\n<div style=\"width:100%\">\n\t<div style=\"width:50%; display:inline-block\">\n\t\t<p align=\"center\">\n\t\t<img style=\"text-align:center\" width=\"180\" height=\"180\" alt=\"\" src=\"https://avatars2.githubusercontent.com/u/45484907?s=200&v=4\">\t\n\t\t</p>\t\n\t</div>\t\n</div>\n</br>\n</br>\n</div>\n\n# CometChat Javascript SDK\n\nCometChat Pro enables you to add voice, video & text chat for your website & app.\nThis guide demonstrates how to add chat to a WebSite using CometChat Pro.\n\n## Features\n\n<ul>\n<li> 1-1 & Group Conversations </li>\n<li> Voice & video calling & conferencing </li>\n<li> Rich Media Attachments </li>\n<li> Typing Indicators </li>\n<li> Custom Messages </li>\n<li> Read receipts </li>\n<li> Online Presence Indicators </li>\n<li> Message History </li>\n<li> Single Sign-on </li>\n<li> Webhooks </li>\n<li> Bots </li>\n<li> Users & Friends List </li>\n<li> Groups List </li>\n<li> Conversations List </li>\n<li> Threaded Conversations </li>\n</ul>\n\n## Extensions\n\n[Push Notification](https://prodocs.cometchat.com/docs/extensions-enhanced-push-notification) | [Email Notification](https://prodocs.cometchat.com/docs/extensions-email-notification) | [SMS Notification](https://prodocs.cometchat.com/docs/extensions-sms-notification) | [Thumbnail Generation](https://prodocs.cometchat.com/docs/extensions-thumbnail-generation) | [Link Preview](https://prodocs.cometchat.com/docs/extensions-link-preview) | [Rich Media Preview](https://prodocs.cometchat.com/docs/extensions-rich-media-preview) | [Voice Transcription](https://prodocs.cometchat.com/docs/extensions-voice-transcription) | [Smart Reply](https://prodocs.cometchat.com/docs/extensions-smart-reply) | [Message Translation](https://prodocs.cometchat.com/docs/extensions-message-translation) | [Emojis](https://prodocs.cometchat.com/docs/extensions-emojis) | [Polls](https://prodocs.cometchat.com/docs/extensions-polls) | [Reactions](https://prodocs.cometchat.com/docs/extensions-reactions) | [Stickers](https://prodocs.cometchat.com/docs/extensions-stickers) | [Video Broadcasting](https://prodocs.cometchat.com/docs/extensions-broadcast) | [Collaborative Documents](https://prodocs.cometchat.com/docs/extensions-collaborative-document) | [Collaborative Whiteboards](https://prodocs.cometchat.com/docs/extensions-collaborative-whiteboard) | [Data Masking Filter](https://prodocs.cometchat.com/docs/extensions-data-masking-filter) | [Profanity Filter](https://prodocs.cometchat.com/docs/extensions-profanity-filter) | [Image Moderation](https://prodocs.cometchat.com/docs/extensions-image-moderation)| [Sentiment Analysis](https://prodocs.cometchat.com/docs/extensions-sentiment-analysis) | [In-flight Message Moderation](https://prodocs.cometchat.com/docs/extensions-in-flight-message-moderation) | [Virus & Malware Scanner](https://prodocs.cometchat.com/docs/extensions-virus-malware-scanner) | [XSS Filter](https://prodocs.cometchat.com/docs/extensions-xss-filter)\n\n[![Platform](https://img.shields.io/badge/Platform-Javascript-brightgreen)](#)\n<a href=\" \"> <img src=\"https://img.shields.io/badge/Version-3.0.0-beta3-important\" /></a>\n![GitHub repo size](https://img.shields.io/github/repo-size/cometchat-pro/javascript-chat-sdk)\n![GitHub contributors](https://img.shields.io/github/contributors/cometchat-pro/javascript-chat-sdk)\n![GitHub stars](https://img.shields.io/github/stars/cometchat-pro/javascript-chat-sdk?style=social)\n![Twitter Follow](https://img.shields.io/twitter/follow/cometchat?style=social)\n<hr/>\n\n\n## Prerequisites :star:\nBefore you begin, ensure you have met the following requirements:<br/>\n ✅ &nbsp; You have [`Visual Studio Code`](https://code.visualstudio.com/) or any other code editor installed in your machine.<br/>\n ✅ &nbsp; You have [`npm`](https://www.npmjs.com/get-npm) installed in your machine.<br/>\n ✅ &nbsp; You have read [CometChat Key Concepts](https://prodocs.cometchat.com/docs/concepts).<br/>\n\n<hr/>\n\n## Installing CometChat Javascript SDK\n## Setup :wrench:\n\nTo setup Javascript SDK, you  need to first register on CometChat Dashboard. [Click here to sign up](https://app.cometchat.com/login).\n\n### i. Get your Application Keys :key:\n\n<a href=\"https://app.cometchat.io\" target=\"_blank\">Signup for CometChat</a> and then:\n\n1. Create a new app: Click **Add App** option available  →  Enter App Name & other information  → Create App\n2. At the Top in **QuickStart** section you will find **Auth Key** & **App ID** or else you can head over to the **API & Auth Keys** section and note the **Auth Key** and **App ID**\n<img align=\"center\" src=\"https://files.readme.io/4b771c5-qs_copy.jpg\"/>\n\n<hr/>\n\n### ii. Add the CometChat Dependency\n<ul>\n<li>\n<b>Install via NPM</b><br/>\n1. Run the following command to install the CometChat Pro Javascript SDK<br/>\n\n```javascript\n\tnpm install @cometchat-pro/chat@3.0.0-beta3 --save\n```\n</li>\n\n<li>\n<b>Import via CDN</b><br/>\n1. Include the CometChat Pro Javascript library in your HTML code.<br/>\n\n```html\n  <script type=\"text/javascript\" src=\"https://unpkg.com/@cometchat-pro/chat@3.0.0-beta3/CometChat.js\"></script>\n```\n\n You can refer to the below link for instructions on how to do so:<br/>\n[📝 Add CometChat Dependency](https://prodocs.cometchat.com/docs/js-quick-start#add-the-cometchat-dependency)\n</li>\n</ul>\n<hr/>\n\n## Configure CometChat Javascript SDK\n\n### i. Initialize CometChat 🌟\nWe suggest you call the init() method on app startup, preferably in the index.js file.\n\n```javascript\nvar appID = \"APP_ID\";\nvar region = \"REGION\";\nvar appSetting = new CometChat.AppSettingsBuilder().subscribePresenceForAllUsers().setRegion(region).build();\nCometChat.init(appID, appSetting).then(\n  () => {\n    console.log(\"Initialization completed successfully\");\n  },\n  error => {\n    console.log(\"Initialization failed with error:\", error);\n  }\n);\n```\n\n| :information_source: &nbsp; <b> Note: Make sure to replace `region` and `appID` with your credentials.</b> |\n|------------------------------------------------------------------------------------------------------------|\n\n### ii. Create User 👤\nOnce initialisation is successful, you will need to create a user. You need to use createUser() method to create user on the fly.\n```javascript\nlet authKey = \"AUTH_KEY\";\nvar uid = \"user1\";\nvar name = \"Kevin\";\n\nvar user = new CometChat.User(uid);\n\nuser.setName(name);\n\nCometChat.createUser(user, authKey).then(\n  user => {\n    console.log(\"user created\", user);\n  },error => {\n    console.log(\"error\", error);\n  }\n);\n```\n>:information_source: <b>Note: Make sure that UID and name are specified as these are mandatory fields to create a user.</b>\n<hr/>\n\n### iii. Login User 👤\nOnce you have created the user successfully, you will need to log the user into CometChat using the login() method.\n```javascript\nvar UID = \"SUPERHERO1\";\nvar authKey = \"AUTH_KEY\";\n\nCometChat.getLoggedinUser().then(\n  user => {\n    if(!user){\n      CometChat.login(UID, authKey).then(\n        user => {\n          console.log(\"Login Successful:\", { user });    \n        },\n        error => {\n          console.log(\"Login failed with exception:\", { error });    \n        }\n      );\n    }else{\n      // User already logged in\n    }\n  }, error => {\n    console.log(\"getLoggedinUser failed with exception:\", { error });\n  }\n);\n```\n\n| :information_source: &nbsp; <b>Note - The login() method needs to be called only once. Also replace AUTH_KEY with your App Auth Key.</b> |\n|------------------------------------------------------------------------------------------------------------|\n\n<hr/>\n\n📝 Please refer to our [Developer Documentation](https://prodocs.cometchat.com/docs/js-quick-start) for more information on how to configure the CometChat Pro SDK and implement various features using the same.\n\n<hr/>\n\n## Learn more about UI-Kit\n[Angular UI Kit](https://github.com/cometchat-pro/javascript-angular-chat-ui-kit) | [React UI Kit](https://github.com/cometchat-pro/javascript-react-chat-ui-kit) | [Vue UI Kit](https://github.com/cometchat-pro/javascript-vue-chat-ui-kit)\n\n## Contributors :clap:\nThanks to the following people who have contributed to this project:\n[👨‍💻 @ajaygajra](https://github.com/ajaygajra)\n[👨‍💻 @mayur-bhandari](https://github.com/mayur-bhandari)\n<hr/>\n\n## Contact :mailbox:\nContact us via real time support present in [CometChat Dashboard.](https://app.cometchat.io/)\n<hr/>","gitHead":"8b0ebc17539cc40e0501be51911c9724dbeb5299","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"mayur-bhandari","email":"mayur.bhandari@inscripts.com"},"repository":{"url":"git+https://github.com/cometchat-pro/javascript-chat-sdk.git","type":"git"},"_npmVersion":"6.14.11","description":"A complete chat solution.","directories":{},"_nodeVersion":"14.15.5","_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/chat_3.0.0-beta3_1620372741363_0.577449296397333","host":"s3://npm-registry-packages"}},"2.3.4-beta1":{"name":"@cometchat-pro/chat","version":"2.3.4-beta1","keywords":["CometChat","chat","messaging","chat","sdk","pro","message","sdk","messaging","sdk","audio","chat","video","chat","webRTC"],"author":{"name":"CometChat"},"license":"SEE LICENSE IN LICENSE.md","_id":"@cometchat-pro/chat@2.3.4-beta1","maintainers":[{"name":"anantgarg","email":"anant.garg@inscripts.com"},{"name":"gajraajay","email":"ajay.gajra@inscripts.in"},{"name":"taru.agarwal","email":"taru.agarwal@inscripts.com"},{"name":"mayur-bhandari","email":"mayur.bhandari@inscripts.com"},{"name":"jitvarpatil","email":"jitvar.patil@inscripts.com"},{"name":"ranjanravi85","email":"ravi.ranjan@inscripts.com"}],"homepage":"https://github.com/cometchat-pro/javascript-chat-sdk#readme","bugs":{"url":"https://github.com/cometchat-pro/javascript-chat-sdk/issues"},"dist":{"shasum":"92cb0d3f63ea5865347dde09e2f0b556de22e1e5","tarball":"https://registry.npmjs.org/@cometchat-pro/chat/-/chat-2.3.4-beta1.tgz","fileCount":5,"integrity":"sha512-CEDl608e4KinQxLMnEyMLIkFWwfXkmeXLhpm6msApxJXvlrkEf3SsbRayXsrBTIa/lrhlJXnfyfyudvQaYC36A==","signatures":[{"sig":"MEYCIQCDK23el39ldlrz5h5GYSty6A23mF1C4GdZYxLcbehirgIhAPlc6ngBf2JPBpo7fjUUX8tFK4MLS6oTOKny2RLf1NFA","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":539826,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgmrh/CRA9TVsSAnZWagAAdhIP/3Cy+I57TG9uDc9A5rDH\nHzU54rBiLXhU8bwwr4OwxAcYFO6m3crOGn4l/xwei90102800EPKI/MSWPU9\nscpYtFTwblDM+wsZIGZYLoVMOv5R0B3kRumacoZa4LDiBJzF+wd7H0olK84k\nMilZ/8o8giYRfNOIKEplV5KxwJSXURsXCFL4QGPI+nFEMMTL7kDmxwX2VNv+\n6RqeN8OFf1O1NEITc5l/dxwVYZvC5dGVTfFByBLJrclxve7LfBnJo/IbmHXr\ncZ4Kgcx5V7yN5JsZcygZqZ9sUQxoyXLMsxQngKe+/XDDwoHvk8puyfoO8qQL\nbbMwBHXES8YovjZTGfNzw2McAZblsKyK5ezD4tLpBWVRimbMCRRnNDsDUp2t\nLJxgsboeXNOSxc/ai3l/po3Y44hn9I0nE2Zk5Era8wroqI+asQfSDLhG7nuv\nJuTEU8BPbSzYhjIUXSOvXqC69y7M7lkwvEjWsVYtEGRl1cKteyCEiD8c8vdc\nwT4CPWANz9MdeCBUB9vXqp/SM77jSVMpp714UXiulWfqTINIWJ1LvJPnpyJE\nmvc0+dfB/y+iSfsVKo2hkJM3aLVrWTDlKve5Ui/UtTRlhXulJo4l/hz/wtVv\nnZKkKyfyKg99xBlnx+66ELoPf3aUgDM7XYlkciukj+EP8ZcVQxpVcISRPQxs\n8EVV\r\n=qJSE\r\n-----END PGP SIGNATURE-----\r\n"},"main":"CometChat.js","readme":"<div style=\"width:100%\">\n<div style=\"width:100%\">\n\t<div style=\"width:50%; display:inline-block\">\n\t\t<p align=\"center\">\n\t\t<img style=\"text-align:center\" width=\"180\" height=\"180\" alt=\"\" src=\"https://avatars2.githubusercontent.com/u/45484907?s=200&v=4\">\t\n\t\t</p>\t\n\t</div>\t\n</div>\n</br>\n</br>\n</div>\n\n# CometChat Javascript SDK\n\nCometChat Pro enables you to add voice, video & text chat for your website & app.\nThis guide demonstrates how to add chat to a WebSite using CometChat Pro.\n\n## Features\n\n<ul>\n<li> 1-1 & Group Conversations </li>\n<li> Voice & video calling & conferencing </li>\n<li> Rich Media Attachments </li>\n<li> Typing Indicators </li>\n<li> Custom Messages </li>\n<li> Read receipts </li>\n<li> Online Presence Indicators </li>\n<li> Message History </li>\n<li> Single Sign-on </li>\n<li> Webhooks </li>\n<li> Bots </li>\n<li> Users & Friends List </li>\n<li> Groups List </li>\n<li> Conversations List </li>\n<li> Threaded Conversations </li>\n</ul>\n\n## Extensions\n\n[Push Notification](https://prodocs.cometchat.com/docs/extensions-enhanced-push-notification) | [Email Notification](https://prodocs.cometchat.com/docs/extensions-email-notification) | [SMS Notification](https://prodocs.cometchat.com/docs/extensions-sms-notification) | [Thumbnail Generation](https://prodocs.cometchat.com/docs/extensions-thumbnail-generation) | [Link Preview](https://prodocs.cometchat.com/docs/extensions-link-preview) | [Rich Media Preview](https://prodocs.cometchat.com/docs/extensions-rich-media-preview) | [Voice Transcription](https://prodocs.cometchat.com/docs/extensions-voice-transcription) | [Smart Reply](https://prodocs.cometchat.com/docs/extensions-smart-reply) | [Message Translation](https://prodocs.cometchat.com/docs/extensions-message-translation) | [Emojis](https://prodocs.cometchat.com/docs/extensions-emojis) | [Polls](https://prodocs.cometchat.com/docs/extensions-polls) | [Reactions](https://prodocs.cometchat.com/docs/extensions-reactions) | [Stickers](https://prodocs.cometchat.com/docs/extensions-stickers) | [Video Broadcasting](https://prodocs.cometchat.com/docs/extensions-broadcast) | [Collaborative Documents](https://prodocs.cometchat.com/docs/extensions-collaborative-document) | [Collaborative Whiteboards](https://prodocs.cometchat.com/docs/extensions-collaborative-whiteboard) | [Data Masking Filter](https://prodocs.cometchat.com/docs/extensions-data-masking-filter) | [Profanity Filter](https://prodocs.cometchat.com/docs/extensions-profanity-filter) | [Image Moderation](https://prodocs.cometchat.com/docs/extensions-image-moderation)| [Sentiment Analysis](https://prodocs.cometchat.com/docs/extensions-sentiment-analysis) | [In-flight Message Moderation](https://prodocs.cometchat.com/docs/extensions-in-flight-message-moderation) | [Virus & Malware Scanner](https://prodocs.cometchat.com/docs/extensions-virus-malware-scanner) | [XSS Filter](https://prodocs.cometchat.com/docs/extensions-xss-filter)\n\n[![Platform](https://img.shields.io/badge/Platform-Javascript-brightgreen)](#)\n<a href=\" \"> <img src=\"https://img.shields.io/badge/Version-2.3.3-important\" /></a>\n![GitHub repo size](https://img.shields.io/github/repo-size/cometchat-pro/javascript-chat-sdk)\n![GitHub contributors](https://img.shields.io/github/contributors/cometchat-pro/javascript-chat-sdk)\n![GitHub stars](https://img.shields.io/github/stars/cometchat-pro/javascript-chat-sdk?style=social)\n![Twitter Follow](https://img.shields.io/twitter/follow/cometchat?style=social)\n<hr/>\n\n\n## Prerequisites :star:\nBefore you begin, ensure you have met the following requirements:<br/>\n ✅ &nbsp; You have [`Visual Studio Code`](https://code.visualstudio.com/) or any other code editor installed in your machine.<br/>\n ✅ &nbsp; You have [`npm`](https://www.npmjs.com/get-npm) installed in your machine.<br/>\n ✅ &nbsp; You have read [CometChat Key Concepts](https://prodocs.cometchat.com/docs/concepts).<br/>\n\n<hr/>\n\n## Installing CometChat Javascript SDK\n## Setup :wrench:\n\nTo setup Javascript SDK, you  need to first register on CometChat Dashboard. [Click here to sign up](https://app.cometchat.com/login).\n\n### i. Get your Application Keys :key:\n\n<a href=\"https://app.cometchat.io\" target=\"_blank\">Signup for CometChat</a> and then:\n\n1. Create a new app: Click **Add App** option available  →  Enter App Name & other information  → Create App\n2. At the Top in **QuickStart** section you will find **Auth Key** & **App ID** or else you can head over to the **API & Auth Keys** section and note the **Auth Key** and **App ID**\n<img align=\"center\" src=\"https://files.readme.io/4b771c5-qs_copy.jpg\"/>\n\n<hr/>\n\n### ii. Add the CometChat Dependency\n<ul>\n<li>\n<b>Install via NPM</b><br/>\n1. Run the following command to install the CometChat Pro Javascript SDK<br/>\n\n```javascript\n\tnpm install @cometchat-pro/chat@2.3.3 --save\n```\n</li>\n\n<li>\n<b>Import via CDN</b><br/>\n1. Include the CometChat Pro Javascript library in your HTML code.<br/>\n\n```html\n  <script type=\"text/javascript\" src=\"https://unpkg.com/@cometchat-pro/chat@2.3.3/CometChat.js\"></script>\n```\n\n You can refer to the below link for instructions on how to do so:<br/>\n[📝 Add CometChat Dependency](https://prodocs.cometchat.com/docs/js-quick-start#add-the-cometchat-dependency)\n</li>\n</ul>\n<hr/>\n\n## Configure CometChat Javascript SDK\n\n### i. Initialize CometChat 🌟\nWe suggest you call the init() method on app startup, preferably in the index.js file.\n\n```javascript\nvar appID = \"APP_ID\";\nvar region = \"REGION\";\nvar appSetting = new CometChat.AppSettingsBuilder().subscribePresenceForAllUsers().setRegion(region).build();\nCometChat.init(appID, appSetting).then(\n  () => {\n    console.log(\"Initialization completed successfully\");\n  },\n  error => {\n    console.log(\"Initialization failed with error:\", error);\n  }\n);\n```\n\n| :information_source: &nbsp; <b> Note: Make sure to replace `region` and `appID` with your credentials.</b> |\n|------------------------------------------------------------------------------------------------------------|\n\n### ii. Create User 👤\nOnce initialisation is successful, you will need to create a user. You need to use createUser() method to create user on the fly.\n```javascript\nlet authKey = \"AUTH_KEY\";\nvar uid = \"user1\";\nvar name = \"Kevin\";\n\nvar user = new CometChat.User(uid);\n\nuser.setName(name);\n\nCometChat.createUser(user, authKey).then(\n  user => {\n    console.log(\"user created\", user);\n  },error => {\n    console.log(\"error\", error);\n  }\n);\n```\n>:information_source: <b>Note: Make sure that UID and name are specified as these are mandatory fields to create a user.</b>\n<hr/>\n\n### iii. Login User 👤\nOnce you have created the user successfully, you will need to log the user into CometChat using the login() method.\n```javascript\nvar UID = \"SUPERHERO1\";\nvar authKey = \"AUTH_KEY\";\n\nCometChat.getLoggedinUser().then(\n  user => {\n    if(!user){\n      CometChat.login(UID, authKey).then(\n        user => {\n          console.log(\"Login Successful:\", { user });    \n        },\n        error => {\n          console.log(\"Login failed with exception:\", { error });    \n        }\n      );\n    }else{\n      // User already logged in\n    }\n  }, error => {\n    console.log(\"getLoggedinUser failed with exception:\", { error });\n  }\n);\n```\n\n| :information_source: &nbsp; <b>Note - The login() method needs to be called only once. Also replace AUTH_KEY with your App Auth Key.</b> |\n|------------------------------------------------------------------------------------------------------------|\n\n<hr/>\n\n📝 Please refer to our [Developer Documentation](https://prodocs.cometchat.com/docs/js-quick-start) for more information on how to configure the CometChat Pro SDK and implement various features using the same.\n\n<hr/>\n\n## Learn more about UI-Kit\n[Angular UI Kit](https://github.com/cometchat-pro/javascript-angular-chat-ui-kit) | [React UI Kit](https://github.com/cometchat-pro/javascript-react-chat-ui-kit) | [Vue UI Kit](https://github.com/cometchat-pro/javascript-vue-chat-ui-kit)\n\n## Contributors :clap:\nThanks to the following people who have contributed to this project:\n[👨‍💻 @ajaygajra](https://github.com/ajaygajra)\n[👨‍💻 @mayur-bhandari](https://github.com/mayur-bhandari)\n<hr/>\n\n## Contact :mailbox:\nContact us via real time support present in [CometChat Dashboard.](https://app.cometchat.io/)\n<hr/>","gitHead":"c1d9d931373972eb863bf8285ae8063aad6b8186","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"mayur-bhandari","email":"mayur.bhandari@inscripts.com"},"repository":{"url":"git+https://github.com/cometchat-pro/javascript-chat-sdk.git","type":"git"},"_npmVersion":"6.14.11","description":"A complete chat solution.","directories":{},"_nodeVersion":"14.15.5","_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/chat_2.3.4-beta1_1620752510938_0.3193517406144317","host":"s3://npm-registry-packages"}},"2.3.4-beta2":{"name":"@cometchat-pro/chat","version":"2.3.4-beta2","keywords":["CometChat","chat","messaging","chat","sdk","pro","message","sdk","messaging","sdk","audio","chat","video","chat","webRTC"],"author":{"name":"CometChat"},"license":"SEE LICENSE IN LICENSE.md","_id":"@cometchat-pro/chat@2.3.4-beta2","maintainers":[{"name":"anantgarg","email":"anant.garg@inscripts.com"},{"name":"gajraajay","email":"ajay.gajra@inscripts.in"},{"name":"taru.agarwal","email":"taru.agarwal@inscripts.com"},{"name":"mayur-bhandari","email":"mayur.bhandari@inscripts.com"},{"name":"jitvarpatil","email":"jitvar.patil@inscripts.com"},{"name":"ranjanravi85","email":"ravi.ranjan@inscripts.com"}],"homepage":"https://github.com/cometchat-pro/javascript-chat-sdk#readme","bugs":{"url":"https://github.com/cometchat-pro/javascript-chat-sdk/issues"},"dist":{"shasum":"d0407fcf9228435fadc719d4d7366e30f91ee3c9","tarball":"https://registry.npmjs.org/@cometchat-pro/chat/-/chat-2.3.4-beta2.tgz","fileCount":5,"integrity":"sha512-+xfmyI7wJof8OkDz0FS0f3yPRfpBpH3PIBeNZMMwsqGw9HaK8zgL8wDThcvKrBDkN5czMC2scUd8GIBzftRmCA==","signatures":[{"sig":"MEUCIQCsuylWJLblznrax6LAl6BKvXGNITrymT24Rbt2CjH98gIgH+52NniKeyEdnVIFC3CKUjFPAkwwsqfHf39UWTAA0bc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":539674,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgoijpCRA9TVsSAnZWagAARR0P/1MOO3ptyfUHwLuz8TXc\nTf2WgWliISH3GwIaONZ4QV3cDndhCdwxa28F9zAqekA7/ay/cFnP8nviBrht\n7Yz79+PTeW1L2Hms+mgny9cSDC3psTYDcRL7IAIwUA35ICKnOK0/YUWlKv/0\nPTcIsZo5sWlAFmJafQEVr4+tzgJvDuOlS2IS7p5h3lEis3KN+AanhAeN/swh\nRSfuM1R3JeIOrpuBVwAHmgX7+WTe4ZKLAPBlkYjwRFTcxEfV9YnNKMEy1JMO\nM29s1QrVFg3HDAEtFvEfCtJkNjeB43Yyx3Kl6fgqaZhXYm4N/APd3Tv/hLAK\nrNLXllI+Vpm5b0I2QM3+CTWNMOLwn8aMzoebNHB4UN9jK9KNzDYK7qpqX/p6\n75iRFPV4EI7Rd3ztYyyjI5DE0HOfVeXvn7+dToHDnEr63twmG5steWW/C1Wt\nnUR/pVIB63c1TC3ui6OlxuzRrXLSu1pOg4T+X3wz28lOqOYOV3VtXG7Ujcwf\nl0kg6+DyQLvVIA3BZV0bwJx/WnNZanWD+H7Pa0ZHyU9QD7qRVNAVnaHIcwSe\nBa5qJOMQNO1EHkD+NnW3ReRfBBNBzZr96SC2XHthqb9w7Ad0mxF+atBWJBIQ\ngDtsYRWmcEvHKoNyU19duRqusfdXq4YzjjzWzsezNMM/F4bQ19rGv56KhnhF\ndYU0\r\n=8pwV\r\n-----END PGP SIGNATURE-----\r\n"},"main":"CometChat.js","readme":"<div style=\"width:100%\">\n<div style=\"width:100%\">\n\t<div style=\"width:50%; display:inline-block\">\n\t\t<p align=\"center\">\n\t\t<img style=\"text-align:center\" width=\"180\" height=\"180\" alt=\"\" src=\"https://avatars2.githubusercontent.com/u/45484907?s=200&v=4\">\t\n\t\t</p>\t\n\t</div>\t\n</div>\n</br>\n</br>\n</div>\n\n# CometChat Javascript SDK\n\nCometChat Pro enables you to add voice, video & text chat for your website & app.\nThis guide demonstrates how to add chat to a WebSite using CometChat Pro.\n\n## Features\n\n<ul>\n<li> 1-1 & Group Conversations </li>\n<li> Voice & video calling & conferencing </li>\n<li> Rich Media Attachments </li>\n<li> Typing Indicators </li>\n<li> Custom Messages </li>\n<li> Read receipts </li>\n<li> Online Presence Indicators </li>\n<li> Message History </li>\n<li> Single Sign-on </li>\n<li> Webhooks </li>\n<li> Bots </li>\n<li> Users & Friends List </li>\n<li> Groups List </li>\n<li> Conversations List </li>\n<li> Threaded Conversations </li>\n</ul>\n\n## Extensions\n\n[Push Notification](https://prodocs.cometchat.com/docs/extensions-enhanced-push-notification) | [Email Notification](https://prodocs.cometchat.com/docs/extensions-email-notification) | [SMS Notification](https://prodocs.cometchat.com/docs/extensions-sms-notification) | [Thumbnail Generation](https://prodocs.cometchat.com/docs/extensions-thumbnail-generation) | [Link Preview](https://prodocs.cometchat.com/docs/extensions-link-preview) | [Rich Media Preview](https://prodocs.cometchat.com/docs/extensions-rich-media-preview) | [Voice Transcription](https://prodocs.cometchat.com/docs/extensions-voice-transcription) | [Smart Reply](https://prodocs.cometchat.com/docs/extensions-smart-reply) | [Message Translation](https://prodocs.cometchat.com/docs/extensions-message-translation) | [Emojis](https://prodocs.cometchat.com/docs/extensions-emojis) | [Polls](https://prodocs.cometchat.com/docs/extensions-polls) | [Reactions](https://prodocs.cometchat.com/docs/extensions-reactions) | [Stickers](https://prodocs.cometchat.com/docs/extensions-stickers) | [Video Broadcasting](https://prodocs.cometchat.com/docs/extensions-broadcast) | [Collaborative Documents](https://prodocs.cometchat.com/docs/extensions-collaborative-document) | [Collaborative Whiteboards](https://prodocs.cometchat.com/docs/extensions-collaborative-whiteboard) | [Data Masking Filter](https://prodocs.cometchat.com/docs/extensions-data-masking-filter) | [Profanity Filter](https://prodocs.cometchat.com/docs/extensions-profanity-filter) | [Image Moderation](https://prodocs.cometchat.com/docs/extensions-image-moderation)| [Sentiment Analysis](https://prodocs.cometchat.com/docs/extensions-sentiment-analysis) | [In-flight Message Moderation](https://prodocs.cometchat.com/docs/extensions-in-flight-message-moderation) | [Virus & Malware Scanner](https://prodocs.cometchat.com/docs/extensions-virus-malware-scanner) | [XSS Filter](https://prodocs.cometchat.com/docs/extensions-xss-filter)\n\n[![Platform](https://img.shields.io/badge/Platform-Javascript-brightgreen)](#)\n<a href=\" \"> <img src=\"https://img.shields.io/badge/Version-2.3.3-important\" /></a>\n![GitHub repo size](https://img.shields.io/github/repo-size/cometchat-pro/javascript-chat-sdk)\n![GitHub contributors](https://img.shields.io/github/contributors/cometchat-pro/javascript-chat-sdk)\n![GitHub stars](https://img.shields.io/github/stars/cometchat-pro/javascript-chat-sdk?style=social)\n![Twitter Follow](https://img.shields.io/twitter/follow/cometchat?style=social)\n<hr/>\n\n\n## Prerequisites :star:\nBefore you begin, ensure you have met the following requirements:<br/>\n ✅ &nbsp; You have [`Visual Studio Code`](https://code.visualstudio.com/) or any other code editor installed in your machine.<br/>\n ✅ &nbsp; You have [`npm`](https://www.npmjs.com/get-npm) installed in your machine.<br/>\n ✅ &nbsp; You have read [CometChat Key Concepts](https://prodocs.cometchat.com/docs/concepts).<br/>\n\n<hr/>\n\n## Installing CometChat Javascript SDK\n## Setup :wrench:\n\nTo setup Javascript SDK, you  need to first register on CometChat Dashboard. [Click here to sign up](https://app.cometchat.com/login).\n\n### i. Get your Application Keys :key:\n\n<a href=\"https://app.cometchat.io\" target=\"_blank\">Signup for CometChat</a> and then:\n\n1. Create a new app: Click **Add App** option available  →  Enter App Name & other information  → Create App\n2. At the Top in **QuickStart** section you will find **Auth Key** & **App ID** or else you can head over to the **API & Auth Keys** section and note the **Auth Key** and **App ID**\n<img align=\"center\" src=\"https://files.readme.io/4b771c5-qs_copy.jpg\"/>\n\n<hr/>\n\n### ii. Add the CometChat Dependency\n<ul>\n<li>\n<b>Install via NPM</b><br/>\n1. Run the following command to install the CometChat Pro Javascript SDK<br/>\n\n```javascript\n\tnpm install @cometchat-pro/chat@2.3.3 --save\n```\n</li>\n\n<li>\n<b>Import via CDN</b><br/>\n1. Include the CometChat Pro Javascript library in your HTML code.<br/>\n\n```html\n  <script type=\"text/javascript\" src=\"https://unpkg.com/@cometchat-pro/chat@2.3.3/CometChat.js\"></script>\n```\n\n You can refer to the below link for instructions on how to do so:<br/>\n[📝 Add CometChat Dependency](https://prodocs.cometchat.com/docs/js-quick-start#add-the-cometchat-dependency)\n</li>\n</ul>\n<hr/>\n\n## Configure CometChat Javascript SDK\n\n### i. Initialize CometChat 🌟\nWe suggest you call the init() method on app startup, preferably in the index.js file.\n\n```javascript\nvar appID = \"APP_ID\";\nvar region = \"REGION\";\nvar appSetting = new CometChat.AppSettingsBuilder().subscribePresenceForAllUsers().setRegion(region).build();\nCometChat.init(appID, appSetting).then(\n  () => {\n    console.log(\"Initialization completed successfully\");\n  },\n  error => {\n    console.log(\"Initialization failed with error:\", error);\n  }\n);\n```\n\n| :information_source: &nbsp; <b> Note: Make sure to replace `region` and `appID` with your credentials.</b> |\n|------------------------------------------------------------------------------------------------------------|\n\n### ii. Create User 👤\nOnce initialisation is successful, you will need to create a user. You need to use createUser() method to create user on the fly.\n```javascript\nlet authKey = \"AUTH_KEY\";\nvar uid = \"user1\";\nvar name = \"Kevin\";\n\nvar user = new CometChat.User(uid);\n\nuser.setName(name);\n\nCometChat.createUser(user, authKey).then(\n  user => {\n    console.log(\"user created\", user);\n  },error => {\n    console.log(\"error\", error);\n  }\n);\n```\n>:information_source: <b>Note: Make sure that UID and name are specified as these are mandatory fields to create a user.</b>\n<hr/>\n\n### iii. Login User 👤\nOnce you have created the user successfully, you will need to log the user into CometChat using the login() method.\n```javascript\nvar UID = \"SUPERHERO1\";\nvar authKey = \"AUTH_KEY\";\n\nCometChat.getLoggedinUser().then(\n  user => {\n    if(!user){\n      CometChat.login(UID, authKey).then(\n        user => {\n          console.log(\"Login Successful:\", { user });    \n        },\n        error => {\n          console.log(\"Login failed with exception:\", { error });    \n        }\n      );\n    }else{\n      // User already logged in\n    }\n  }, error => {\n    console.log(\"getLoggedinUser failed with exception:\", { error });\n  }\n);\n```\n\n| :information_source: &nbsp; <b>Note - The login() method needs to be called only once. Also replace AUTH_KEY with your App Auth Key.</b> |\n|------------------------------------------------------------------------------------------------------------|\n\n<hr/>\n\n📝 Please refer to our [Developer Documentation](https://prodocs.cometchat.com/docs/js-quick-start) for more information on how to configure the CometChat Pro SDK and implement various features using the same.\n\n<hr/>\n\n## Learn more about UI-Kit\n[Angular UI Kit](https://github.com/cometchat-pro/javascript-angular-chat-ui-kit) | [React UI Kit](https://github.com/cometchat-pro/javascript-react-chat-ui-kit) | [Vue UI Kit](https://github.com/cometchat-pro/javascript-vue-chat-ui-kit)\n\n## Contributors :clap:\nThanks to the following people who have contributed to this project:\n[👨‍💻 @ajaygajra](https://github.com/ajaygajra)\n[👨‍💻 @mayur-bhandari](https://github.com/mayur-bhandari)\n<hr/>\n\n## Contact :mailbox:\nContact us via real time support present in [CometChat Dashboard.](https://app.cometchat.io/)\n<hr/>","gitHead":"0f65018f0c944166233b91c5e76afbb2b2231b23","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"mayur-bhandari","email":"mayur.bhandari@inscripts.com"},"repository":{"url":"git+https://github.com/cometchat-pro/javascript-chat-sdk.git","type":"git"},"_npmVersion":"6.14.11","description":"A complete chat solution.","directories":{},"_nodeVersion":"14.15.5","_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/chat_2.3.4-beta2_1621240040741_0.7721217473030999","host":"s3://npm-registry-packages"}},"2.3.4":{"name":"@cometchat-pro/chat","version":"2.3.4","keywords":["CometChat","chat","messaging","chat","sdk","pro","message","sdk","messaging","sdk","audio","chat","video","chat","webRTC"],"author":{"name":"CometChat"},"license":"SEE LICENSE IN LICENSE.md","_id":"@cometchat-pro/chat@2.3.4","maintainers":[{"name":"anantgarg","email":"anant.garg@inscripts.com"},{"name":"gajraajay","email":"ajay.gajra@inscripts.in"},{"name":"taru.agarwal","email":"taru.agarwal@inscripts.com"},{"name":"mayur-bhandari","email":"mayur.bhandari@inscripts.com"},{"name":"jitvarpatil","email":"jitvar.patil@inscripts.com"},{"name":"ranjanravi85","email":"ravi.ranjan@inscripts.com"}],"homepage":"https://github.com/cometchat-pro/javascript-chat-sdk#readme","bugs":{"url":"https://github.com/cometchat-pro/javascript-chat-sdk/issues"},"dist":{"shasum":"7d78ee31a1f78edbfda9c35f1a5b4931f62517e9","tarball":"https://registry.npmjs.org/@cometchat-pro/chat/-/chat-2.3.4.tgz","fileCount":5,"integrity":"sha512-33WKGJayLgAcX3rEVPcy81E2xwZIeUNQR1GC32WeP/ZnmvbzG+0yJvt1ROJzq7a3Zh+6LNxwKhOcTAKBJjvmZQ==","signatures":[{"sig":"MEYCIQCvma6OHy9w6ImEkVs3J9Cd8n7431/coLuwir0tlavfAAIhAMcEIUoKkfd6YG0EwbvZL6gjXc5M6W7xp6Zt0xgZZgJy","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":540993,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgplQ4CRA9TVsSAnZWagAAhuIQAITqAfv4BwITVHI3un5l\nZqFo+U/v2DXdJBaysC2o7qwaucLHLTh4ba9Tr8/FOpMGbkhEnk2pBMO2h6YC\n/mdLI7eOb4XFfz+vZZgLk/N3Dm/D4o9b4aBt79U5Jxxb9IEhwnrhN9AL40zL\nMGHp2L9LiMN/M99svhPiVHTs07E8wmMUzCOkL16odOtM4Tu9n4ZsVy7xv/Jz\neev7UMAIus7QkduCus62EhjE116iGYVPeWMAEdh2Cm+yfqGoKTPPb3Ef7ydh\nTJb+ui2WDkwc3WYLdyH9iVfagrKOBfD7Uf1OVP06Ee4A3acpsRfkAbQYP97w\n/R1TL9m8047+c4Y3kIg03ICJ9IbWjxlUsGQH4aMBXovabiN3WzlJ/ldcJFda\n1XQPtKvRs3LyOqeKB4PvYXwLWSYm9e5lakBazWCEuxOKCKlCiQ1b3zKhuBy9\nIhCCV6+qvwYlod1PZYW5VkW3zqI1m1pdMT+bwSZw16bkN6Oh2fGbxw27spw7\nZwuR5KARJos4hbOUhoNL08ftEMrDw/HY1K/a9DjQ9Wgy7XV+Xp/aY+q4HYAn\nQEyfIr6jpDoDqTZbP51kTwnvhL+v4b0kx9OHezhZZ0yd27kBfR22ANkGvs6R\nk7+iu6OyHYPM0bk6+cjBRLNdyhqwOEzJS9093kY44+qxDF70LWmhcdcgfX19\nHELX\r\n=WwVT\r\n-----END PGP SIGNATURE-----\r\n"},"main":"CometChat.js","gitHead":"49297e3f35c6379249c261067d0182b53990b719","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"mayur-bhandari","email":"mayur.bhandari@inscripts.com"},"repository":{"url":"git+https://github.com/cometchat-pro/javascript-chat-sdk.git","type":"git"},"_npmVersion":"6.14.11","description":"A complete chat solution.","directories":{},"_nodeVersion":"14.15.5","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/chat_2.3.4_1621513271284_0.06977126459528105","host":"s3://npm-registry-packages"}},"3.0.0-beta4":{"name":"@cometchat-pro/chat","version":"3.0.0-beta4","keywords":["CometChat","chat","messaging","chat","sdk","pro","message","sdk","messaging","sdk","audio","chat","video","chat","webRTC"],"author":{"name":"CometChat"},"license":"SEE LICENSE IN LICENSE.md","_id":"@cometchat-pro/chat@3.0.0-beta4","maintainers":[{"name":"anantgarg","email":"anant.garg@inscripts.com"},{"name":"gajraajay","email":"ajay.gajra@inscripts.in"},{"name":"taru.agarwal","email":"taru.agarwal@inscripts.com"},{"name":"mayur-bhandari","email":"mayur.bhandari@inscripts.com"},{"name":"jitvarpatil","email":"jitvar.patil@inscripts.com"},{"name":"ranjanravi85","email":"ravi.ranjan@inscripts.com"}],"homepage":"https://github.com/cometchat-pro/javascript-chat-sdk#readme","bugs":{"url":"https://github.com/cometchat-pro/javascript-chat-sdk/issues"},"dist":{"shasum":"dea99514cb48069063582c7fac1afa765436bb32","tarball":"https://registry.npmjs.org/@cometchat-pro/chat/-/chat-3.0.0-beta4.tgz","fileCount":5,"integrity":"sha512-El6EZ4rmQFioWzHhQknmKF1tcldYy27RONrSt1hdnJzM0q+vlCNZ4VLpp4grxpzsEjQe8o3olDVj/PLq1XyhMQ==","signatures":[{"sig":"MEUCIG9iEd/dDHxRBgyYIh/7mHspewsamabxs3/GMEAjQB12AiEA2WElqVfbzBug5s7aSEztMzF9vCpYObwyBrLpqOBbE2Y=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":399150,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgq3lFCRA9TVsSAnZWagAAXlkP/2Xm7l+m7Nk0zyxsS2CV\nhERA4UAQxiONmetXhuyb7pM8I7CGVkxJ5qSl6qxck3510sdgjGPsqEysKa4D\ntchfM4MOoN1g4pkKJhRlyyq29Opl77cYoY00R4TY0152QyGvFCo9KGg3Kzk1\nVDjhOFkikLwHv+B18YkA1yv8UdQn0XTQ2AYfUs9gl64KMvGE86UP7pTso/a5\ndNMrhUpcCAUHyMqR5rWYx8xGtIL3veIMHciXHKYrTt9xeL3PQNLGUL/9H4ZU\nWL5i34iDRIjkG4Q3nLUq74KssOPe22PQhmd24m6gXvgxKurC8xNNXbSJQXVk\nWJij5d4hKhYEQEWpO2ulHHJI/ZYbQ81WdTL0Q9pLk2VmnhsF1wWvgh9436Wc\npNlxUNiketz8eO7g/3IiRk41QZyeoJRf+fgv5OyPJkh5Ib4OrYsNR8uoZnPi\nCNzognw/dlKbNjXcyoorRzx4GAyyPgXYmK5T2QERiBpPsS59fIBi7cpEUob6\nWODFJrXgfMFC1qDjv86/aQkvy3Mn6i7uQh9rbCN3osZj9D6aHg8dKEUnXOMC\nOFeAhaWg1InqBQqEbZMXnKS/P2oCzjobcSqUiZ2WeJgAfeS1W/4KIA/hK/6/\n2sBqkzgPDUge/U+cDe3pwRpvbD9nV/LvjNqipQY6lnfhMX4RYTpg1g1D88pm\nw25Y\r\n=JMih\r\n-----END PGP SIGNATURE-----\r\n"},"main":"CometChat.js","readme":"<div style=\"width:100%\">\n<div style=\"width:100%\">\n\t<div style=\"width:50%; display:inline-block\">\n\t\t<p align=\"center\">\n\t\t<img style=\"text-align:center\" width=\"180\" height=\"180\" alt=\"\" src=\"https://avatars2.githubusercontent.com/u/45484907?s=200&v=4\">\t\n\t\t</p>\t\n\t</div>\t\n</div>\n</br>\n</br>\n</div>\n\n# CometChat Javascript SDK\n\nCometChat Pro enables you to add voice, video & text chat for your website & app.\nThis guide demonstrates how to add chat to a WebSite using CometChat Pro.\n\n## Features\n\n<ul>\n<li> 1-1 & Group Conversations </li>\n<li> Voice & video calling & conferencing </li>\n<li> Rich Media Attachments </li>\n<li> Typing Indicators </li>\n<li> Custom Messages </li>\n<li> Read receipts </li>\n<li> Online Presence Indicators </li>\n<li> Message History </li>\n<li> Single Sign-on </li>\n<li> Webhooks </li>\n<li> Bots </li>\n<li> Users & Friends List </li>\n<li> Groups List </li>\n<li> Conversations List </li>\n<li> Threaded Conversations </li>\n</ul>\n\n## Extensions\n\n[Push Notification](https://prodocs.cometchat.com/docs/extensions-enhanced-push-notification) | [Email Notification](https://prodocs.cometchat.com/docs/extensions-email-notification) | [SMS Notification](https://prodocs.cometchat.com/docs/extensions-sms-notification) | [Thumbnail Generation](https://prodocs.cometchat.com/docs/extensions-thumbnail-generation) | [Link Preview](https://prodocs.cometchat.com/docs/extensions-link-preview) | [Rich Media Preview](https://prodocs.cometchat.com/docs/extensions-rich-media-preview) | [Voice Transcription](https://prodocs.cometchat.com/docs/extensions-voice-transcription) | [Smart Reply](https://prodocs.cometchat.com/docs/extensions-smart-reply) | [Message Translation](https://prodocs.cometchat.com/docs/extensions-message-translation) | [Emojis](https://prodocs.cometchat.com/docs/extensions-emojis) | [Polls](https://prodocs.cometchat.com/docs/extensions-polls) | [Reactions](https://prodocs.cometchat.com/docs/extensions-reactions) | [Stickers](https://prodocs.cometchat.com/docs/extensions-stickers) | [Video Broadcasting](https://prodocs.cometchat.com/docs/extensions-broadcast) | [Collaborative Documents](https://prodocs.cometchat.com/docs/extensions-collaborative-document) | [Collaborative Whiteboards](https://prodocs.cometchat.com/docs/extensions-collaborative-whiteboard) | [Data Masking Filter](https://prodocs.cometchat.com/docs/extensions-data-masking-filter) | [Profanity Filter](https://prodocs.cometchat.com/docs/extensions-profanity-filter) | [Image Moderation](https://prodocs.cometchat.com/docs/extensions-image-moderation)| [Sentiment Analysis](https://prodocs.cometchat.com/docs/extensions-sentiment-analysis) | [In-flight Message Moderation](https://prodocs.cometchat.com/docs/extensions-in-flight-message-moderation) | [Virus & Malware Scanner](https://prodocs.cometchat.com/docs/extensions-virus-malware-scanner) | [XSS Filter](https://prodocs.cometchat.com/docs/extensions-xss-filter)\n\n[![Platform](https://img.shields.io/badge/Platform-Javascript-brightgreen)](#)\n<a href=\" \"> <img src=\"https://img.shields.io/badge/Version-3.0.0-beta4-important\" /></a>\n![GitHub repo size](https://img.shields.io/github/repo-size/cometchat-pro/javascript-chat-sdk)\n![GitHub contributors](https://img.shields.io/github/contributors/cometchat-pro/javascript-chat-sdk)\n![GitHub stars](https://img.shields.io/github/stars/cometchat-pro/javascript-chat-sdk?style=social)\n![Twitter Follow](https://img.shields.io/twitter/follow/cometchat?style=social)\n<hr/>\n\n\n## Prerequisites :star:\nBefore you begin, ensure you have met the following requirements:<br/>\n ✅ &nbsp; You have [`Visual Studio Code`](https://code.visualstudio.com/) or any other code editor installed in your machine.<br/>\n ✅ &nbsp; You have [`npm`](https://www.npmjs.com/get-npm) installed in your machine.<br/>\n ✅ &nbsp; You have read [CometChat Key Concepts](https://prodocs.cometchat.com/docs/concepts).<br/>\n\n<hr/>\n\n## Installing CometChat Javascript SDK\n## Setup :wrench:\n\nTo setup Javascript SDK, you  need to first register on CometChat Dashboard. [Click here to sign up](https://app.cometchat.com/login).\n\n### i. Get your Application Keys :key:\n\n<a href=\"https://app.cometchat.io\" target=\"_blank\">Signup for CometChat</a> and then:\n\n1. Create a new app: Click **Add App** option available  →  Enter App Name & other information  → Create App\n2. At the Top in **QuickStart** section you will find **Auth Key** & **App ID** or else you can head over to the **API & Auth Keys** section and note the **Auth Key** and **App ID**\n<img align=\"center\" src=\"https://files.readme.io/4b771c5-qs_copy.jpg\"/>\n\n<hr/>\n\n### ii. Add the CometChat Dependency\n<ul>\n<li>\n<b>Install via NPM</b><br/>\n1. Run the following command to install the CometChat Pro Javascript SDK<br/>\n\n```javascript\n\tnpm install @cometchat-pro/chat@3.0.0-beta4 --save\n```\n</li>\n\n<li>\n<b>Import via CDN</b><br/>\n1. Include the CometChat Pro Javascript library in your HTML code.<br/>\n\n```html\n  <script type=\"text/javascript\" src=\"https://unpkg.com/@cometchat-pro/chat@3.0.0-beta4/CometChat.js\"></script>\n```\n\n You can refer to the below link for instructions on how to do so:<br/>\n[📝 Add CometChat Dependency](https://prodocs.cometchat.com/docs/js-quick-start#add-the-cometchat-dependency)\n</li>\n</ul>\n<hr/>\n\n## Configure CometChat Javascript SDK\n\n### i. Initialize CometChat 🌟\nWe suggest you call the init() method on app startup, preferably in the index.js file.\n\n```javascript\nvar appID = \"APP_ID\";\nvar region = \"REGION\";\nvar appSetting = new CometChat.AppSettingsBuilder().subscribePresenceForAllUsers().setRegion(region).build();\nCometChat.init(appID, appSetting).then(\n  () => {\n    console.log(\"Initialization completed successfully\");\n  },\n  error => {\n    console.log(\"Initialization failed with error:\", error);\n  }\n);\n```\n\n| :information_source: &nbsp; <b> Note: Make sure to replace `region` and `appID` with your credentials.</b> |\n|------------------------------------------------------------------------------------------------------------|\n\n### ii. Create User 👤\nOnce initialisation is successful, you will need to create a user. You need to use createUser() method to create user on the fly.\n```javascript\nlet authKey = \"AUTH_KEY\";\nvar uid = \"user1\";\nvar name = \"Kevin\";\n\nvar user = new CometChat.User(uid);\n\nuser.setName(name);\n\nCometChat.createUser(user, authKey).then(\n  user => {\n    console.log(\"user created\", user);\n  },error => {\n    console.log(\"error\", error);\n  }\n);\n```\n>:information_source: <b>Note: Make sure that UID and name are specified as these are mandatory fields to create a user.</b>\n<hr/>\n\n### iii. Login User 👤\nOnce you have created the user successfully, you will need to log the user into CometChat using the login() method.\n```javascript\nvar UID = \"SUPERHERO1\";\nvar authKey = \"AUTH_KEY\";\n\nCometChat.getLoggedinUser().then(\n  user => {\n    if(!user){\n      CometChat.login(UID, authKey).then(\n        user => {\n          console.log(\"Login Successful:\", { user });    \n        },\n        error => {\n          console.log(\"Login failed with exception:\", { error });    \n        }\n      );\n    }else{\n      // User already logged in\n    }\n  }, error => {\n    console.log(\"getLoggedinUser failed with exception:\", { error });\n  }\n);\n```\n\n| :information_source: &nbsp; <b>Note - The login() method needs to be called only once. Also replace AUTH_KEY with your App Auth Key.</b> |\n|------------------------------------------------------------------------------------------------------------|\n\n<hr/>\n\n📝 Please refer to our [Developer Documentation](https://prodocs.cometchat.com/docs/js-quick-start) for more information on how to configure the CometChat Pro SDK and implement various features using the same.\n\n<hr/>\n\n## Learn more about UI-Kit\n[Angular UI Kit](https://github.com/cometchat-pro/javascript-angular-chat-ui-kit) | [React UI Kit](https://github.com/cometchat-pro/javascript-react-chat-ui-kit) | [Vue UI Kit](https://github.com/cometchat-pro/javascript-vue-chat-ui-kit)\n\n## Contributors :clap:\nThanks to the following people who have contributed to this project:\n[👨‍💻 @ajaygajra](https://github.com/ajaygajra)\n[👨‍💻 @mayur-bhandari](https://github.com/mayur-bhandari)\n<hr/>\n\n## Contact :mailbox:\nContact us via real time support present in [CometChat Dashboard.](https://app.cometchat.io/)\n<hr/>","gitHead":"cdaf585f7fbd7a7d5f8464824d456b83421a7431","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"mayur-bhandari","email":"mayur.bhandari@inscripts.com"},"repository":{"url":"git+https://github.com/cometchat-pro/javascript-chat-sdk.git","type":"git"},"_npmVersion":"6.14.11","description":"A complete chat solution.","directories":{},"_nodeVersion":"14.15.5","_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/chat_3.0.0-beta4_1621850436981_0.2453600611387472","host":"s3://npm-registry-packages"}},"2.3.5":{"name":"@cometchat-pro/chat","version":"2.3.5","keywords":["CometChat","chat","messaging","chat","sdk","pro","message","sdk","messaging","sdk","audio","chat","video","chat","webRTC"],"author":{"name":"CometChat"},"license":"SEE LICENSE IN LICENSE.md","_id":"@cometchat-pro/chat@2.3.5","maintainers":[{"name":"anantgarg","email":"anant.garg@inscripts.com"},{"name":"gajraajay","email":"ajay.gajra@inscripts.in"},{"name":"taru.agarwal","email":"taru.agarwal@inscripts.com"},{"name":"mayur-bhandari","email":"mayur.bhandari@inscripts.com"},{"name":"jitvarpatil","email":"jitvar.patil@inscripts.com"},{"name":"ranjanravi85","email":"ravi.ranjan@inscripts.com"}],"homepage":"https://github.com/cometchat-pro/javascript-chat-sdk#readme","bugs":{"url":"https://github.com/cometchat-pro/javascript-chat-sdk/issues"},"dist":{"shasum":"cd3c8494ad1337c3de3c20433ebbf53eefa96eb5","tarball":"https://registry.npmjs.org/@cometchat-pro/chat/-/chat-2.3.5.tgz","fileCount":5,"integrity":"sha512-sjRtpqiABDuiGuwhe2QflkiCG2OiS4EMvJOXsWKu/DKgzVa5GRk34l+1+q3BdCk4GcHRNNfyQf7Vv+URe8B6cQ==","signatures":[{"sig":"MEUCIQDADjyMcvwRUFdN0z7kxAsh1vHCNIgvGZNhFNlFWezfDgIgCRjhAFhmVYsJapqYeMH9vgk7Wzt7+Lf9UEpxgNz8SEU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":540832,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgr2ljCRA9TVsSAnZWagAAu2UP/i8rqSw0xwA1funv4aKU\nW5Bli8lgoREVxm7IBBNoQ8iUllZW0UVjQ4cDk6roFQOLyS/3ovn7wPopOOGC\nFp2N5y0GoYzQZDs0Wq37kWTuWo+7Tu5bm9zAgCsvgT0LNzcQRhjd18qktcXm\n4FyYHVbvrawA6XcMojJwKnIjM0/kZB0Ld8PixCB2fvRpJoTgYKrz3yi2h6fr\n2zs/iT+ydk27nZTD+p6QdogeB1b0qdK8yvryt2syZyFq//nnkYtMqWnO5Xyd\nqrnS/ghtEiKf/BPlN8zlDwCCWl0Mf0V2ns57l3EAvYURiORkdBsohP6eX6Bl\nmpKANfaPUDpXji0bST+v6gTdQxX5m/hb84GLmrkNxCuyaVwqN05L8R/lxrZm\ngPPvppJ8bNhIo7od79feK6ypBL9tnzBkxF9kJv6JZsfObTunfJOk0vD0FWb7\n7gOhr8t9bn8kaE/wLSLEwYSsNPtsFf9IQj79Y1WTcK1suUr9fedfMrdotvbD\nidxclXa1L7aCDSwwbQwoU3qdEc9XHU+Q6vY09Cr6AyyvGWQvcKgnmZi2Oi8a\n/9iilaG3INo7s1pUBFVcekjIgDqd5AXnyGmywAeeo0g/nhZ5CwiVvVhBJrte\nzOW1gEf0O0UWa4ecdtdWAR4Yb62diHmGgkFOLs4VM8nQGZoYo+1B7AH1eLFz\ngsDl\r\n=cCwy\r\n-----END PGP SIGNATURE-----\r\n"},"main":"CometChat.js","gitHead":"de1ef286496ca57ff0e92737696642704678ea4e","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"mayur-bhandari","email":"mayur.bhandari@inscripts.com"},"repository":{"url":"git+https://github.com/cometchat-pro/javascript-chat-sdk.git","type":"git"},"_npmVersion":"6.14.11","description":"A complete chat solution.","directories":{},"_nodeVersion":"14.15.5","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/chat_2.3.5_1622108515243_0.38761813097024866","host":"s3://npm-registry-packages"}},"3.0.0-beta5":{"name":"@cometchat-pro/chat","version":"3.0.0-beta5","keywords":["CometChat","chat","messaging","chat","sdk","pro","message","sdk","messaging","sdk","audio","chat","video","chat","webRTC"],"author":{"name":"CometChat"},"license":"SEE LICENSE IN LICENSE.md","_id":"@cometchat-pro/chat@3.0.0-beta5","maintainers":[{"name":"anantgarg","email":"anant.garg@inscripts.com"},{"name":"gajraajay","email":"ajay.gajra@inscripts.in"},{"name":"taru.agarwal","email":"taru.agarwal@inscripts.com"},{"name":"mayur-bhandari","email":"mayur.bhandari@inscripts.com"},{"name":"jitvarpatil","email":"jitvar.patil@inscripts.com"},{"name":"ranjanravi85","email":"ravi.ranjan@inscripts.com"}],"homepage":"https://github.com/cometchat-pro/javascript-chat-sdk#readme","bugs":{"url":"https://github.com/cometchat-pro/javascript-chat-sdk/issues"},"dist":{"shasum":"b463f227e0e4969b93683e7c61e151e82d225a69","tarball":"https://registry.npmjs.org/@cometchat-pro/chat/-/chat-3.0.0-beta5.tgz","fileCount":5,"integrity":"sha512-T3lnpnbR+uHWwaNwMon5P5zFBgAhxmZhxUHOlOeyWa4esSBIz0mTYAX8K+P0GnpRhO4qMVKmGPN0FRxLPZL5OQ==","signatures":[{"sig":"MEUCIQCULhc8KCaSjixqLd1TufnhG6z5QzcHTLHV6rzdlPKMIgIgRB17QfpAz5Q8SAsy+v7pr8aYUXep6EWeRmpBcpYNVJc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":398989,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgsOm+CRA9TVsSAnZWagAAP8cP/i2oIjLVEVWf0PhhmCnv\nnYTaSL7+CGJqA6slL1MIVWL0PngJ1D+fWT4huLYU3OEIbInFTSD5X+fQJFO3\n0udM8wMlxshqxKH2nlm+DIE6hZQgiHvoy6Tk3RY811CY9gpAiXWZoyDU4ZaJ\nHZuRy6axaci9PcO0p0ZMEZ4doUdKyO3eI6BkYPupnjJmKbQxtQLaoPu9RGo9\nE18DQAjkrGQUheC5JWuypCZ30Sn3kjezupzpRX7jSU80aLBUU88LwVY+aguv\naZom5vs/pFLlsL2jNZZSTyA2rLxpGGq0Qyxc0C86oC9nyHGx52V+LJj6dHgR\nHb3aUi4aWXML5BzCDKcn/PPNMYOiAG3c+PDNM0oZxfzsHmATSqkf/CFCsQlN\ndyOKqbtZxjZ5w2fX9UCmdipbdi5JO+87JsIx4pLVGWnMh3BIemRJ1FieY8fB\nSo5uh0pC0C2SR/cGlAYsQ/UUUp8lhphz5Lqk3HAzZcdtUDXUlzWXb5G1coIW\nu0TAkSUt2ReJLQaaZ5HkDum9IPuwmS8ZxGAxZ6bqFR/P0iM/1Z2+bRF3tLXC\nds+G6VUkC1QCSJ8V4m2dcbrBEnKCePifhDIGMCkmpFiXW/S40dkt6yRNk7kB\nc+wobVfS8u9eWiRyGkU+57gz6A2LgBFLKunY4CX1784gVKXilNQ30wC5vOqo\nRD0o\r\n=HtyH\r\n-----END PGP SIGNATURE-----\r\n"},"main":"CometChat.js","readme":"<div style=\"width:100%\">\n<div style=\"width:100%\">\n\t<div style=\"width:50%; display:inline-block\">\n\t\t<p align=\"center\">\n\t\t<img style=\"text-align:center\" width=\"180\" height=\"180\" alt=\"\" src=\"https://avatars2.githubusercontent.com/u/45484907?s=200&v=4\">\t\n\t\t</p>\t\n\t</div>\t\n</div>\n</br>\n</br>\n</div>\n\n# CometChat Javascript SDK\n\nCometChat Pro enables you to add voice, video & text chat for your website & app.\nThis guide demonstrates how to add chat to a WebSite using CometChat Pro.\n\n## Features\n\n<ul>\n<li> 1-1 & Group Conversations </li>\n<li> Voice & video calling & conferencing </li>\n<li> Rich Media Attachments </li>\n<li> Typing Indicators </li>\n<li> Custom Messages </li>\n<li> Read receipts </li>\n<li> Online Presence Indicators </li>\n<li> Message History </li>\n<li> Single Sign-on </li>\n<li> Webhooks </li>\n<li> Bots </li>\n<li> Users & Friends List </li>\n<li> Groups List </li>\n<li> Conversations List </li>\n<li> Threaded Conversations </li>\n</ul>\n\n## Extensions\n\n[Push Notification](https://prodocs.cometchat.com/docs/extensions-enhanced-push-notification) | [Email Notification](https://prodocs.cometchat.com/docs/extensions-email-notification) | [SMS Notification](https://prodocs.cometchat.com/docs/extensions-sms-notification) | [Thumbnail Generation](https://prodocs.cometchat.com/docs/extensions-thumbnail-generation) | [Link Preview](https://prodocs.cometchat.com/docs/extensions-link-preview) | [Rich Media Preview](https://prodocs.cometchat.com/docs/extensions-rich-media-preview) | [Voice Transcription](https://prodocs.cometchat.com/docs/extensions-voice-transcription) | [Smart Reply](https://prodocs.cometchat.com/docs/extensions-smart-reply) | [Message Translation](https://prodocs.cometchat.com/docs/extensions-message-translation) | [Emojis](https://prodocs.cometchat.com/docs/extensions-emojis) | [Polls](https://prodocs.cometchat.com/docs/extensions-polls) | [Reactions](https://prodocs.cometchat.com/docs/extensions-reactions) | [Stickers](https://prodocs.cometchat.com/docs/extensions-stickers) | [Video Broadcasting](https://prodocs.cometchat.com/docs/extensions-broadcast) | [Collaborative Documents](https://prodocs.cometchat.com/docs/extensions-collaborative-document) | [Collaborative Whiteboards](https://prodocs.cometchat.com/docs/extensions-collaborative-whiteboard) | [Data Masking Filter](https://prodocs.cometchat.com/docs/extensions-data-masking-filter) | [Profanity Filter](https://prodocs.cometchat.com/docs/extensions-profanity-filter) | [Image Moderation](https://prodocs.cometchat.com/docs/extensions-image-moderation)| [Sentiment Analysis](https://prodocs.cometchat.com/docs/extensions-sentiment-analysis) | [In-flight Message Moderation](https://prodocs.cometchat.com/docs/extensions-in-flight-message-moderation) | [Virus & Malware Scanner](https://prodocs.cometchat.com/docs/extensions-virus-malware-scanner) | [XSS Filter](https://prodocs.cometchat.com/docs/extensions-xss-filter)\n\n[![Platform](https://img.shields.io/badge/Platform-Javascript-brightgreen)](#)\n<a href=\" \"> <img src=\"https://img.shields.io/badge/Version-3.0.0-beta5-important\" /></a>\n![GitHub repo size](https://img.shields.io/github/repo-size/cometchat-pro/javascript-chat-sdk)\n![GitHub contributors](https://img.shields.io/github/contributors/cometchat-pro/javascript-chat-sdk)\n![GitHub stars](https://img.shields.io/github/stars/cometchat-pro/javascript-chat-sdk?style=social)\n![Twitter Follow](https://img.shields.io/twitter/follow/cometchat?style=social)\n<hr/>\n\n\n## Prerequisites :star:\nBefore you begin, ensure you have met the following requirements:<br/>\n ✅ &nbsp; You have [`Visual Studio Code`](https://code.visualstudio.com/) or any other code editor installed in your machine.<br/>\n ✅ &nbsp; You have [`npm`](https://www.npmjs.com/get-npm) installed in your machine.<br/>\n ✅ &nbsp; You have read [CometChat Key Concepts](https://prodocs.cometchat.com/docs/concepts).<br/>\n\n<hr/>\n\n## Installing CometChat Javascript SDK\n## Setup :wrench:\n\nTo setup Javascript SDK, you  need to first register on CometChat Dashboard. [Click here to sign up](https://app.cometchat.com/login).\n\n### i. Get your Application Keys :key:\n\n<a href=\"https://app.cometchat.io\" target=\"_blank\">Signup for CometChat</a> and then:\n\n1. Create a new app: Click **Add App** option available  →  Enter App Name & other information  → Create App\n2. At the Top in **QuickStart** section you will find **Auth Key** & **App ID** or else you can head over to the **API & Auth Keys** section and note the **Auth Key** and **App ID**\n<img align=\"center\" src=\"https://files.readme.io/4b771c5-qs_copy.jpg\"/>\n\n<hr/>\n\n### ii. Add the CometChat Dependency\n<ul>\n<li>\n<b>Install via NPM</b><br/>\n1. Run the following command to install the CometChat Pro Javascript SDK<br/>\n\n```javascript\n\tnpm install @cometchat-pro/chat@3.0.0-beta5 --save\n```\n</li>\n\n<li>\n<b>Import via CDN</b><br/>\n1. Include the CometChat Pro Javascript library in your HTML code.<br/>\n\n```html\n  <script type=\"text/javascript\" src=\"https://unpkg.com/@cometchat-pro/chat@3.0.0-beta5/CometChat.js\"></script>\n```\n\n You can refer to the below link for instructions on how to do so:<br/>\n[📝 Add CometChat Dependency](https://prodocs.cometchat.com/docs/js-quick-start#add-the-cometchat-dependency)\n</li>\n</ul>\n<hr/>\n\n## Configure CometChat Javascript SDK\n\n### i. Initialize CometChat 🌟\nWe suggest you call the init() method on app startup, preferably in the index.js file.\n\n```javascript\nvar appID = \"APP_ID\";\nvar region = \"REGION\";\nvar appSetting = new CometChat.AppSettingsBuilder().subscribePresenceForAllUsers().setRegion(region).build();\nCometChat.init(appID, appSetting).then(\n  () => {\n    console.log(\"Initialization completed successfully\");\n  },\n  error => {\n    console.log(\"Initialization failed with error:\", error);\n  }\n);\n```\n\n| :information_source: &nbsp; <b> Note: Make sure to replace `region` and `appID` with your credentials.</b> |\n|------------------------------------------------------------------------------------------------------------|\n\n### ii. Create User 👤\nOnce initialisation is successful, you will need to create a user. You need to use createUser() method to create user on the fly.\n```javascript\nlet authKey = \"AUTH_KEY\";\nvar uid = \"user1\";\nvar name = \"Kevin\";\n\nvar user = new CometChat.User(uid);\n\nuser.setName(name);\n\nCometChat.createUser(user, authKey).then(\n  user => {\n    console.log(\"user created\", user);\n  },error => {\n    console.log(\"error\", error);\n  }\n);\n```\n>:information_source: <b>Note: Make sure that UID and name are specified as these are mandatory fields to create a user.</b>\n<hr/>\n\n### iii. Login User 👤\nOnce you have created the user successfully, you will need to log the user into CometChat using the login() method.\n```javascript\nvar UID = \"SUPERHERO1\";\nvar authKey = \"AUTH_KEY\";\n\nCometChat.getLoggedinUser().then(\n  user => {\n    if(!user){\n      CometChat.login(UID, authKey).then(\n        user => {\n          console.log(\"Login Successful:\", { user });    \n        },\n        error => {\n          console.log(\"Login failed with exception:\", { error });    \n        }\n      );\n    }else{\n      // User already logged in\n    }\n  }, error => {\n    console.log(\"getLoggedinUser failed with exception:\", { error });\n  }\n);\n```\n\n| :information_source: &nbsp; <b>Note - The login() method needs to be called only once. Also replace AUTH_KEY with your App Auth Key.</b> |\n|------------------------------------------------------------------------------------------------------------|\n\n<hr/>\n\n📝 Please refer to our [Developer Documentation](https://prodocs.cometchat.com/docs/js-quick-start) for more information on how to configure the CometChat Pro SDK and implement various features using the same.\n\n<hr/>\n\n## Learn more about UI-Kit\n[Angular UI Kit](https://github.com/cometchat-pro/javascript-angular-chat-ui-kit) | [React UI Kit](https://github.com/cometchat-pro/javascript-react-chat-ui-kit) | [Vue UI Kit](https://github.com/cometchat-pro/javascript-vue-chat-ui-kit)\n\n## Contributors :clap:\nThanks to the following people who have contributed to this project:\n[👨‍💻 @ajaygajra](https://github.com/ajaygajra)\n[👨‍💻 @mayur-bhandari](https://github.com/mayur-bhandari)\n<hr/>\n\n## Contact :mailbox:\nContact us via real time support present in [CometChat Dashboard.](https://app.cometchat.io/)\n<hr/>","gitHead":"1dbf3143351cf2a3cf5f4ed4388d581bcf82e4ed","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"mayur-bhandari","email":"mayur.bhandari@inscripts.com"},"repository":{"url":"git+https://github.com/cometchat-pro/javascript-chat-sdk.git","type":"git"},"_npmVersion":"6.14.11","description":"A complete chat solution.","directories":{},"_nodeVersion":"14.15.5","_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/chat_3.0.0-beta5_1622206909853_0.11588390973727125","host":"s3://npm-registry-packages"}},"2.3.6":{"name":"@cometchat-pro/chat","version":"2.3.6","keywords":["CometChat","chat","messaging","chat","sdk","pro","message","sdk","messaging","sdk","audio","chat","video","chat","webRTC"],"author":{"name":"CometChat"},"license":"SEE LICENSE IN LICENSE.md","_id":"@cometchat-pro/chat@2.3.6","maintainers":[{"name":"anantgarg","email":"anant.garg@inscripts.com"},{"name":"gajraajay","email":"ajay.gajra@inscripts.in"},{"name":"taru.agarwal","email":"taru.agarwal@inscripts.com"},{"name":"mayur-bhandari","email":"mayur.bhandari@inscripts.com"},{"name":"jitvarpatil","email":"jitvar.patil@inscripts.com"},{"name":"ranjanravi85","email":"ravi.ranjan@inscripts.com"}],"homepage":"https://github.com/cometchat-pro/javascript-chat-sdk#readme","bugs":{"url":"https://github.com/cometchat-pro/javascript-chat-sdk/issues"},"dist":{"shasum":"1995cd0184835bd39fdd08c833e35f16b89771e3","tarball":"https://registry.npmjs.org/@cometchat-pro/chat/-/chat-2.3.6.tgz","fileCount":5,"integrity":"sha512-O8uIww0/XNq2/Bwpq5HoqdDW4vqQ5hA7kZuTAoUKiQRb6BKEYfVmezAYZbFIkeOEbhBRLMfLHE+4dOkTNMSBZQ==","signatures":[{"sig":"MEUCIQDS+xxnTm/hDxQs37dZUBHQnx7KbtbGEa3issvDiihZewIgIKAuIg4TUbwZV0rSAdedSQ+Y+JPntXzk596NSYp3Bic=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":541914,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgvkUpCRA9TVsSAnZWagAA53wQAJbqSuTWRo0THb31qRX7\naJM4aLG+qxShTBurHItxLKP+oywwDzaX8KGt/ZGh3xx3smyrEA3z5bhUaAq6\n3BIz+GrGIEvp+KktcFrQwKe7wmHgMiZo6QO9TTHd+jSfbQDIQ0xDZeFShB3B\nfcCjustLyAgz1jFr+KbuL0zZ05Ff1zrHpWUfWaXAsdcNNUOQC4reFuQINN9O\npFp5yYzwJE2YLvoWVnMqfpVIzqt1IfhPLUbxOaQ66l9aIdc1kGUnv+8heR90\nR2o/JWJupRcl8af0ygYGHwS1C3JzNcgDptHsKSHlNiMOP50zT03EOe+ApdFn\nOKfr9NqofnaRzWsn8S0T9aOQBkCNIBUNiYsdBUucxGklnvAPAW2CJrQPG8Ts\nrs76YpdjqrpcWuG6sGhJPIRi3+akBmoDo5/N3MDD682qBJOtOEPN6Virpd7o\nEdJPzwuaET4KnCgF+z4bcJ3b7xYjT1WDLPJ6U8B7iVKUDqvxAEj6ZAl4MahU\n+hrDMYq0UD9bLq5wXWHz3R6yVmQ9Th2M7HGfMgIZMVArx8uabNySGWyZcZFo\nv9YmvzApFM2f0ZYJESA82J/gapefcwA0kYAsnYWnswQ0ev02NLxFyLYdpAQ1\nzfkteNOrzJ5mylBMCcEUunZnopMB8x9nwxVzKoVSHsHabThmDrCr62ZVVHuu\ncLgq\r\n=RP35\r\n-----END PGP SIGNATURE-----\r\n"},"main":"CometChat.js","gitHead":"5e466696c67989a7b663fced6473b6dfa6e7b2db","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"mayur-bhandari","email":"mayur.bhandari@inscripts.com"},"repository":{"url":"git+https://github.com/cometchat-pro/javascript-chat-sdk.git","type":"git"},"_npmVersion":"6.14.11","description":"A complete chat solution.","directories":{},"_nodeVersion":"14.15.5","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/chat_2.3.6_1623082281079_0.5858037560075877","host":"s3://npm-registry-packages"}},"3.0.0-beta6":{"name":"@cometchat-pro/chat","version":"3.0.0-beta6","keywords":["CometChat","chat","messaging","chat","sdk","pro","message","sdk","messaging","sdk","audio","chat","video","chat","webRTC"],"author":{"name":"CometChat"},"license":"SEE LICENSE IN LICENSE.md","_id":"@cometchat-pro/chat@3.0.0-beta6","maintainers":[{"name":"anantgarg","email":"anant.garg@inscripts.com"},{"name":"gajraajay","email":"ajay.gajra@inscripts.in"},{"name":"taru.agarwal","email":"taru.agarwal@inscripts.com"},{"name":"mayur-bhandari","email":"mayur.bhandari@inscripts.com"},{"name":"jitvarpatil","email":"jitvar.patil@inscripts.com"},{"name":"ranjanravi85","email":"ravi.ranjan@inscripts.com"}],"homepage":"https://github.com/cometchat-pro/javascript-chat-sdk#readme","bugs":{"url":"https://github.com/cometchat-pro/javascript-chat-sdk/issues"},"dist":{"shasum":"e30113668d511889b4937ea578e51f1fc049ffdc","tarball":"https://registry.npmjs.org/@cometchat-pro/chat/-/chat-3.0.0-beta6.tgz","fileCount":5,"integrity":"sha512-zsshiR7HM5UjpkTGaTK8xQsaPpXnCodPYlfPP6X77R9C0Y31wfmt3K/lZayQZxUeiuvNAi5FMJ3HVA+cfjSikQ==","signatures":[{"sig":"MEQCIDhgdL2cKHRvPsJjgQaTNfLxziuldhs3Cc7r4Cz3woCuAiBBp/czA6iveExdoEuzldr/an648CdmhgwvYVLRpPuavA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":400049,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgv3DcCRA9TVsSAnZWagAAW3kP/18zgqBYvhkLbi+StMF1\nBcs7YQWs3jv69MzIAbbu8S9AOYcJ/yx0IrYuiLKlyP2TDkCj93nSdOQV3HiF\nHk0/2INMtnACy6LMyYgF5BoNGlrMGTB6o4Z6W34A2y6OoYZKVBXd8mQYFXCE\nyMKSuhUCWCCWScsqp5xmwkHu3V4r9oQTqaUU/isHSI6htJqT1cZDTMkBc2Hb\nAr/RMwIG53p8VR8N91jhBFKYU+fNf8JDTBaNO4np6NlwNvpyoxEdW9lVeUKs\nkIPUOUaEVDkwsmt2IveWOMkYLJ1vunVwpw/x9jiU9zBKScm6Hwa1yqv8XFTH\nLSyMyJbxeOj2Ocm1IHRKXvNLWddEo5CzWfGIKEWkO6Qyp95Vqq+4k8DShO9m\nFImQleQfsBvOQDLPSQRNVKI62UCldUHOOPO+MHnCb4D60ljGPvXCCtQtnnxB\n4czlqIUWqb6ETqLoli/A0nxYDJiMWTNxyw+Lo2rdJxCWf0law9xF6zuOVXLo\nieJkhY0RuTb2oCwIQNQGsXCIYsCWW5XBkltw4IJTIerSR4IxGUxQUZ3dDlB7\nEQrZLqIjm87DrtmezmABdTn3k78O9qbRV8XNdArU+H+RSft06q6meMVccCZA\nc3VWABMl8wi87OMWh6x/bk7O2leJfiec1hUcLyiSl0o4wi4XDBHfbfUO71dz\npOdG\r\n=fz8f\r\n-----END PGP SIGNATURE-----\r\n"},"main":"CometChat.js","readme":"<div style=\"width:100%\">\n<div style=\"width:100%\">\n\t<div style=\"width:50%; display:inline-block\">\n\t\t<p align=\"center\">\n\t\t<img style=\"text-align:center\" width=\"180\" height=\"180\" alt=\"\" src=\"https://avatars2.githubusercontent.com/u/45484907?s=200&v=4\">\t\n\t\t</p>\t\n\t</div>\t\n</div>\n</br>\n</br>\n</div>\n\n# CometChat Javascript SDK\n\nCometChat Pro enables you to add voice, video & text chat for your website & app.\nThis guide demonstrates how to add chat to a WebSite using CometChat Pro.\n\n## Features\n\n<ul>\n<li> 1-1 & Group Conversations </li>\n<li> Voice & video calling & conferencing </li>\n<li> Rich Media Attachments </li>\n<li> Typing Indicators </li>\n<li> Custom Messages </li>\n<li> Read receipts </li>\n<li> Online Presence Indicators </li>\n<li> Message History </li>\n<li> Single Sign-on </li>\n<li> Webhooks </li>\n<li> Bots </li>\n<li> Users & Friends List </li>\n<li> Groups List </li>\n<li> Conversations List </li>\n<li> Threaded Conversations </li>\n</ul>\n\n## Extensions\n\n[Push Notification](https://prodocs.cometchat.com/docs/extensions-enhanced-push-notification) | [Email Notification](https://prodocs.cometchat.com/docs/extensions-email-notification) | [SMS Notification](https://prodocs.cometchat.com/docs/extensions-sms-notification) | [Thumbnail Generation](https://prodocs.cometchat.com/docs/extensions-thumbnail-generation) | [Link Preview](https://prodocs.cometchat.com/docs/extensions-link-preview) | [Rich Media Preview](https://prodocs.cometchat.com/docs/extensions-rich-media-preview) | [Voice Transcription](https://prodocs.cometchat.com/docs/extensions-voice-transcription) | [Smart Reply](https://prodocs.cometchat.com/docs/extensions-smart-reply) | [Message Translation](https://prodocs.cometchat.com/docs/extensions-message-translation) | [Emojis](https://prodocs.cometchat.com/docs/extensions-emojis) | [Polls](https://prodocs.cometchat.com/docs/extensions-polls) | [Reactions](https://prodocs.cometchat.com/docs/extensions-reactions) | [Stickers](https://prodocs.cometchat.com/docs/extensions-stickers) | [Video Broadcasting](https://prodocs.cometchat.com/docs/extensions-broadcast) | [Collaborative Documents](https://prodocs.cometchat.com/docs/extensions-collaborative-document) | [Collaborative Whiteboards](https://prodocs.cometchat.com/docs/extensions-collaborative-whiteboard) | [Data Masking Filter](https://prodocs.cometchat.com/docs/extensions-data-masking-filter) | [Profanity Filter](https://prodocs.cometchat.com/docs/extensions-profanity-filter) | [Image Moderation](https://prodocs.cometchat.com/docs/extensions-image-moderation)| [Sentiment Analysis](https://prodocs.cometchat.com/docs/extensions-sentiment-analysis) | [In-flight Message Moderation](https://prodocs.cometchat.com/docs/extensions-in-flight-message-moderation) | [Virus & Malware Scanner](https://prodocs.cometchat.com/docs/extensions-virus-malware-scanner) | [XSS Filter](https://prodocs.cometchat.com/docs/extensions-xss-filter)\n\n[![Platform](https://img.shields.io/badge/Platform-Javascript-brightgreen)](#)\n<a href=\" \"> <img src=\"https://img.shields.io/badge/Version-3.0.0-beta6-important\" /></a>\n![GitHub repo size](https://img.shields.io/github/repo-size/cometchat-pro/javascript-chat-sdk)\n![GitHub contributors](https://img.shields.io/github/contributors/cometchat-pro/javascript-chat-sdk)\n![GitHub stars](https://img.shields.io/github/stars/cometchat-pro/javascript-chat-sdk?style=social)\n![Twitter Follow](https://img.shields.io/twitter/follow/cometchat?style=social)\n<hr/>\n\n\n## Prerequisites :star:\nBefore you begin, ensure you have met the following requirements:<br/>\n ✅ &nbsp; You have [`Visual Studio Code`](https://code.visualstudio.com/) or any other code editor installed in your machine.<br/>\n ✅ &nbsp; You have [`npm`](https://www.npmjs.com/get-npm) installed in your machine.<br/>\n ✅ &nbsp; You have read [CometChat Key Concepts](https://prodocs.cometchat.com/docs/concepts).<br/>\n\n<hr/>\n\n## Installing CometChat Javascript SDK\n## Setup :wrench:\n\nTo setup Javascript SDK, you  need to first register on CometChat Dashboard. [Click here to sign up](https://app.cometchat.com/login).\n\n### i. Get your Application Keys :key:\n\n<a href=\"https://app.cometchat.io\" target=\"_blank\">Signup for CometChat</a> and then:\n\n1. Create a new app: Click **Add App** option available  →  Enter App Name & other information  → Create App\n2. At the Top in **QuickStart** section you will find **Auth Key** & **App ID** or else you can head over to the **API & Auth Keys** section and note the **Auth Key** and **App ID**\n<img align=\"center\" src=\"https://files.readme.io/4b771c5-qs_copy.jpg\"/>\n\n<hr/>\n\n### ii. Add the CometChat Dependency\n<ul>\n<li>\n<b>Install via NPM</b><br/>\n1. Run the following command to install the CometChat Pro Javascript SDK<br/>\n\n```javascript\n\tnpm install @cometchat-pro/chat@3.0.0-beta6 --save\n```\n</li>\n\n<li>\n<b>Import via CDN</b><br/>\n1. Include the CometChat Pro Javascript library in your HTML code.<br/>\n\n```html\n  <script type=\"text/javascript\" src=\"https://unpkg.com/@cometchat-pro/chat@3.0.0-beta6/CometChat.js\"></script>\n```\n\n You can refer to the below link for instructions on how to do so:<br/>\n[📝 Add CometChat Dependency](https://prodocs.cometchat.com/docs/js-quick-start#add-the-cometchat-dependency)\n</li>\n</ul>\n<hr/>\n\n## Configure CometChat Javascript SDK\n\n### i. Initialize CometChat 🌟\nWe suggest you call the init() method on app startup, preferably in the index.js file.\n\n```javascript\nvar appID = \"APP_ID\";\nvar region = \"REGION\";\nvar appSetting = new CometChat.AppSettingsBuilder().subscribePresenceForAllUsers().setRegion(region).build();\nCometChat.init(appID, appSetting).then(\n  () => {\n    console.log(\"Initialization completed successfully\");\n  },\n  error => {\n    console.log(\"Initialization failed with error:\", error);\n  }\n);\n```\n\n| :information_source: &nbsp; <b> Note: Make sure to replace `region` and `appID` with your credentials.</b> |\n|------------------------------------------------------------------------------------------------------------|\n\n### ii. Create User 👤\nOnce initialisation is successful, you will need to create a user. You need to use createUser() method to create user on the fly.\n```javascript\nlet authKey = \"AUTH_KEY\";\nvar uid = \"user1\";\nvar name = \"Kevin\";\n\nvar user = new CometChat.User(uid);\n\nuser.setName(name);\n\nCometChat.createUser(user, authKey).then(\n  user => {\n    console.log(\"user created\", user);\n  },error => {\n    console.log(\"error\", error);\n  }\n);\n```\n>:information_source: <b>Note: Make sure that UID and name are specified as these are mandatory fields to create a user.</b>\n<hr/>\n\n### iii. Login User 👤\nOnce you have created the user successfully, you will need to log the user into CometChat using the login() method.\n```javascript\nvar UID = \"SUPERHERO1\";\nvar authKey = \"AUTH_KEY\";\n\nCometChat.getLoggedinUser().then(\n  user => {\n    if(!user){\n      CometChat.login(UID, authKey).then(\n        user => {\n          console.log(\"Login Successful:\", { user });    \n        },\n        error => {\n          console.log(\"Login failed with exception:\", { error });    \n        }\n      );\n    }else{\n      // User already logged in\n    }\n  }, error => {\n    console.log(\"getLoggedinUser failed with exception:\", { error });\n  }\n);\n```\n\n| :information_source: &nbsp; <b>Note - The login() method needs to be called only once. Also replace AUTH_KEY with your App Auth Key.</b> |\n|------------------------------------------------------------------------------------------------------------|\n\n<hr/>\n\n📝 Please refer to our [Developer Documentation](https://prodocs.cometchat.com/docs/js-quick-start) for more information on how to configure the CometChat Pro SDK and implement various features using the same.\n\n<hr/>\n\n## Learn more about UI-Kit\n[Angular UI Kit](https://github.com/cometchat-pro/javascript-angular-chat-ui-kit) | [React UI Kit](https://github.com/cometchat-pro/javascript-react-chat-ui-kit) | [Vue UI Kit](https://github.com/cometchat-pro/javascript-vue-chat-ui-kit)\n\n## Contributors :clap:\nThanks to the following people who have contributed to this project:\n[👨‍💻 @ajaygajra](https://github.com/ajaygajra)\n[👨‍💻 @mayur-bhandari](https://github.com/mayur-bhandari)\n<hr/>\n\n## Contact :mailbox:\nContact us via real time support present in [CometChat Dashboard.](https://app.cometchat.io/)\n<hr/>","gitHead":"c9a771c795002e6929a844a24a0fcc34611ce991","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"mayur-bhandari","email":"mayur.bhandari@inscripts.com"},"repository":{"url":"git+https://github.com/cometchat-pro/javascript-chat-sdk.git","type":"git"},"_npmVersion":"6.14.11","description":"A complete chat solution.","directories":{},"_nodeVersion":"14.15.5","_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/chat_3.0.0-beta6_1623159004292_0.281288759029658","host":"s3://npm-registry-packages"}},"2.4.0":{"name":"@cometchat-pro/chat","version":"2.4.0","keywords":["CometChat","chat","messaging","chat","sdk","pro","message","sdk","messaging","sdk","audio","chat","video","chat","webRTC"],"author":{"name":"CometChat"},"license":"SEE LICENSE IN LICENSE.md","_id":"@cometchat-pro/chat@2.4.0","maintainers":[{"name":"anantgarg","email":"anant.garg@inscripts.com"},{"name":"gajraajay","email":"ajay.gajra@inscripts.in"},{"name":"taru.agarwal","email":"taru.agarwal@inscripts.com"},{"name":"mayur-bhandari","email":"mayur.bhandari@inscripts.com"},{"name":"jitvarpatil","email":"jitvar.patil@inscripts.com"},{"name":"ranjanravi85","email":"ravi.ranjan@inscripts.com"}],"homepage":"https://github.com/cometchat-pro/javascript-chat-sdk#readme","bugs":{"url":"https://github.com/cometchat-pro/javascript-chat-sdk/issues"},"dist":{"shasum":"c49e1f6adfb32cc70ae64835fa8bb9a8433d47c1","tarball":"https://registry.npmjs.org/@cometchat-pro/chat/-/chat-2.4.0.tgz","fileCount":5,"integrity":"sha512-T63P4Da8EfMsUQsrF1fBHD/6O9pjDlYyWVDCh+I+PSu17YCDmm4HPJxvCwJBh1RD1Moz1qbHgQYln+waCzLFcg==","signatures":[{"sig":"MEUCIAD37GGKxBdVhqB/ORXGVBeL4O6AKZg0zinjKd3KrUHwAiEAxtqw4U9sOfCkxzIIXReUhr73XsmhtXXiMPVuDZ7XxmA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":541916,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg3tDRCRA9TVsSAnZWagAAo7sQAJBi/4cNkxTpHkspnxYz\nCNbLHHi24Yr7+v6f1IHqhCalZ4MCkPzlM2otoJ1900m3gjLH+EyNfOdaQmyK\nWlQX1qe7KsOvrsDwjINpbQ1pc+V+BBOqVtjCYKivCkNtT+BfK/JsCj7A1nWS\n3QHiqLhmM7mPicVxaeIkU9Mzib4jbr4ifYMAG7cH9aeHTAU7LTWFME0F8uLj\nlUELAG50H0HfNBkJsUiJ1n4zrp/BM7EDSSV5M+sWnP/C9DQYBzK26BU4kyDS\nId0VCjVGVqgoj/yGuUtcLHI93M1wraOGlK23SVYK6iStC/zMYL+tGzehRXwm\nUPdYlYfZGAUA0BXzOYrrXiM9k9rr5XGR7odPbyX11d4SSSSmmQBPp/3sPN6w\naRgst1hTCWsAnghx3sx9QDVfqaZTCo8d4Wj3x9yXRxmrZwd4kUZbGTqnpaL8\nDEL/+vF2ZVFwtdc6UhqI9SrfdMxqOujzOUYLJAuYnGR7DhLUZzRGNoe5aYdu\ndE912tbnud1pjvnwP9cukIdEjHWopgRkhXIIGQEk7G0ZNVFhCf1nkWFphnwe\ncUMc0QKAENXm2P9rbQkaL+zHOjGe0aQcSXoVtyzSrETqfCA9hAToSeYbmiD8\n7XmGy3cIsG25QHlHYPXKYdBSeAREmqRKDPPVUls8FBJUxlLK9XcAfYUmzhkd\nztGU\r\n=2zrb\r\n-----END PGP SIGNATURE-----\r\n"},"main":"CometChat.js","gitHead":"df92700c8ba9924a4783143d2bf2c4f4f383b644","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"mayur-bhandari","email":"mayur.bhandari@inscripts.com"},"repository":{"url":"git+https://github.com/cometchat-pro/javascript-chat-sdk.git","type":"git"},"_npmVersion":"6.14.11","description":"A complete chat solution.","directories":{},"_nodeVersion":"14.15.5","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/chat_2.4.0_1625215184618_0.918265111754363","host":"s3://npm-registry-packages"}},"3.0.0-beta7":{"name":"@cometchat-pro/chat","version":"3.0.0-beta7","keywords":["CometChat","chat","messaging","chat","sdk","pro","message","sdk","messaging","sdk","audio","chat","video","chat","webRTC"],"author":{"name":"CometChat"},"license":"SEE LICENSE IN LICENSE.md","_id":"@cometchat-pro/chat@3.0.0-beta7","maintainers":[{"name":"anantgarg","email":"anant.garg@inscripts.com"},{"name":"gajraajay","email":"ajay.gajra@inscripts.in"},{"name":"taru.agarwal","email":"taru.agarwal@inscripts.com"},{"name":"mayur-bhandari","email":"mayur.bhandari@inscripts.com"},{"name":"jitvarpatil","email":"jitvar.patil@inscripts.com"},{"name":"ranjanravi85","email":"ravi.ranjan@inscripts.com"}],"homepage":"https://github.com/cometchat-pro/javascript-chat-sdk#readme","bugs":{"url":"https://github.com/cometchat-pro/javascript-chat-sdk/issues"},"dist":{"shasum":"0a9d31a249f6486d56fef1b0d03e6de401be9cda","tarball":"https://registry.npmjs.org/@cometchat-pro/chat/-/chat-3.0.0-beta7.tgz","fileCount":5,"integrity":"sha512-R7J2PedhdIsDpF8qUXYTHyTU6b4elVIJoSo7QFKzAkZVMVM5ap81k+xrQ50hhYmlhHCIzNMcUe4+ypa50QUwWA==","signatures":[{"sig":"MEYCIQC/+ZDLi2aDo1AEBy2etEBZCVn6VQtpJWgLl31C7JdpewIhAKeLWnaNxxCJ2B72Nb8cjHxZXCSxOKff0tq5um+OQzZh","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":402750,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhABlRCRA9TVsSAnZWagAAYpwP/j3UbCdhgHUUowqX+kEV\n6JNZ+8J21rg+9Ya1t9HGb616simiQ1lzOvNnLGxoYudt5wu+58vHTJIGDFBd\nf4ziSq/wKJrX+ME1m47et5K69uZ5LGnj0bEtej+I6V4/58LcnxcuT8/jvEDW\nPQg9pHP7L/L5QRINl/u4XEgBLAreKodKITPNCrfzQ9tJBkpsYqLFhImqzmE/\no6T8KQxKzT1mXZmJAX4fdnxx54hF8EQlyvdl3oGcccxSsZ95IM2dRWbG/ftz\nyp/nrMWwS7CtfIcZAmrXlZVL4lJn5zlvy2Wz4cDqZXZhcsByrPEj0mTwWnTC\n/oz2JT8N5Kgw3wP127rV4x6fgozRINWmaJWBfwfodqNXv/XV8dl6WqAnkz1i\npb829lSAnR4OVwyWZR8Mynh2OL+hHBUWjcE0iSECgtRnwaFiCWGm/Ep0KeR0\nfxdWRkTUy0Flcd8gSRLnriuChmw+gM+iDo3doP+oi+aEcGpJkvKwIETy1c4e\n+fQqjxEFf5Ig8+yVTxKBwQ8GcIB+ujPTxW5u74n0MnLsIql0xiv6LUrBm92V\nY97tZBYFhbhQOIknw+iAWPajEesUjrsEJPakHTXPtesN5T0AjQ+PeYIC652T\nazIPanNEwqcvnu4IK6JjDbrMP9+fUQcVKVpuKxmOpTrbJH3jKiupLgEVo00K\nnZ8k\r\n=7uJ/\r\n-----END PGP SIGNATURE-----\r\n"},"main":"CometChat.js","readme":"<div style=\"width:100%\">\n<div style=\"width:100%\">\n\t<div style=\"width:50%; display:inline-block\">\n\t\t<p align=\"center\">\n\t\t<img style=\"text-align:center\" width=\"180\" height=\"180\" alt=\"\" src=\"https://avatars2.githubusercontent.com/u/45484907?s=200&v=4\">\t\n\t\t</p>\t\n\t</div>\t\n</div>\n</br>\n</br>\n</div>\n\n# CometChat Javascript SDK\n\nCometChat Pro enables you to add voice, video & text chat for your website & app.\nThis guide demonstrates how to add chat to a WebSite using CometChat Pro.\n\n## Features\n\n<ul>\n<li> 1-1 & Group Conversations </li>\n<li> Voice & video calling & conferencing </li>\n<li> Rich Media Attachments </li>\n<li> Typing Indicators </li>\n<li> Custom Messages </li>\n<li> Read receipts </li>\n<li> Online Presence Indicators </li>\n<li> Message History </li>\n<li> Single Sign-on </li>\n<li> Webhooks </li>\n<li> Bots </li>\n<li> Users & Friends List </li>\n<li> Groups List </li>\n<li> Conversations List </li>\n<li> Threaded Conversations </li>\n</ul>\n\n## Extensions\n\n[Push Notification](https://prodocs.cometchat.com/docs/extensions-enhanced-push-notification) | [Email Notification](https://prodocs.cometchat.com/docs/extensions-email-notification) | [SMS Notification](https://prodocs.cometchat.com/docs/extensions-sms-notification) | [Thumbnail Generation](https://prodocs.cometchat.com/docs/extensions-thumbnail-generation) | [Link Preview](https://prodocs.cometchat.com/docs/extensions-link-preview) | [Rich Media Preview](https://prodocs.cometchat.com/docs/extensions-rich-media-preview) | [Voice Transcription](https://prodocs.cometchat.com/docs/extensions-voice-transcription) | [Smart Reply](https://prodocs.cometchat.com/docs/extensions-smart-reply) | [Message Translation](https://prodocs.cometchat.com/docs/extensions-message-translation) | [Emojis](https://prodocs.cometchat.com/docs/extensions-emojis) | [Polls](https://prodocs.cometchat.com/docs/extensions-polls) | [Reactions](https://prodocs.cometchat.com/docs/extensions-reactions) | [Stickers](https://prodocs.cometchat.com/docs/extensions-stickers) | [Video Broadcasting](https://prodocs.cometchat.com/docs/extensions-broadcast) | [Collaborative Documents](https://prodocs.cometchat.com/docs/extensions-collaborative-document) | [Collaborative Whiteboards](https://prodocs.cometchat.com/docs/extensions-collaborative-whiteboard) | [Data Masking Filter](https://prodocs.cometchat.com/docs/extensions-data-masking-filter) | [Profanity Filter](https://prodocs.cometchat.com/docs/extensions-profanity-filter) | [Image Moderation](https://prodocs.cometchat.com/docs/extensions-image-moderation)| [Sentiment Analysis](https://prodocs.cometchat.com/docs/extensions-sentiment-analysis) | [In-flight Message Moderation](https://prodocs.cometchat.com/docs/extensions-in-flight-message-moderation) | [Virus & Malware Scanner](https://prodocs.cometchat.com/docs/extensions-virus-malware-scanner) | [XSS Filter](https://prodocs.cometchat.com/docs/extensions-xss-filter)\n\n[![Platform](https://img.shields.io/badge/Platform-Javascript-brightgreen)](#)\n<a href=\" \"> <img src=\"https://img.shields.io/badge/Version-3.0.0-beta7-important\" /></a>\n![GitHub repo size](https://img.shields.io/github/repo-size/cometchat-pro/javascript-chat-sdk)\n![GitHub contributors](https://img.shields.io/github/contributors/cometchat-pro/javascript-chat-sdk)\n![GitHub stars](https://img.shields.io/github/stars/cometchat-pro/javascript-chat-sdk?style=social)\n![Twitter Follow](https://img.shields.io/twitter/follow/cometchat?style=social)\n<hr/>\n\n\n## Prerequisites :star:\nBefore you begin, ensure you have met the following requirements:<br/>\n ✅ &nbsp; You have [`Visual Studio Code`](https://code.visualstudio.com/) or any other code editor installed in your machine.<br/>\n ✅ &nbsp; You have [`npm`](https://www.npmjs.com/get-npm) installed in your machine.<br/>\n ✅ &nbsp; You have read [CometChat Key Concepts](https://prodocs.cometchat.com/docs/concepts).<br/>\n\n<hr/>\n\n## Installing CometChat Javascript SDK\n## Setup :wrench:\n\nTo setup Javascript SDK, you  need to first register on CometChat Dashboard. [Click here to sign up](https://app.cometchat.com/login).\n\n### i. Get your Application Keys :key:\n\n<a href=\"https://app.cometchat.io\" target=\"_blank\">Signup for CometChat</a> and then:\n\n1. Create a new app: Click **Add App** option available  →  Enter App Name & other information  → Create App\n2. At the Top in **QuickStart** section you will find **Auth Key** & **App ID** or else you can head over to the **API & Auth Keys** section and note the **Auth Key** and **App ID**\n<img align=\"center\" src=\"https://files.readme.io/4b771c5-qs_copy.jpg\"/>\n\n<hr/>\n\n### ii. Add the CometChat Dependency\n<ul>\n<li>\n<b>Install via NPM</b><br/>\n1. Run the following command to install the CometChat Pro Javascript SDK<br/>\n\n```javascript\n\tnpm install @cometchat-pro/chat@3.0.0-beta7 --save\n```\n</li>\n\n<li>\n<b>Import via CDN</b><br/>\n1. Include the CometChat Pro Javascript library in your HTML code.<br/>\n\n```html\n  <script type=\"text/javascript\" src=\"https://unpkg.com/@cometchat-pro/chat@3.0.0-beta7/CometChat.js\"></script>\n```\n\n You can refer to the below link for instructions on how to do so:<br/>\n[📝 Add CometChat Dependency](https://prodocs.cometchat.com/docs/js-quick-start#add-the-cometchat-dependency)\n</li>\n</ul>\n<hr/>\n\n## Configure CometChat Javascript SDK\n\n### i. Initialize CometChat 🌟\nWe suggest you call the init() method on app startup, preferably in the index.js file.\n\n```javascript\nvar appID = \"APP_ID\";\nvar region = \"REGION\";\nvar appSetting = new CometChat.AppSettingsBuilder().subscribePresenceForAllUsers().setRegion(region).build();\nCometChat.init(appID, appSetting).then(\n  () => {\n    console.log(\"Initialization completed successfully\");\n  },\n  error => {\n    console.log(\"Initialization failed with error:\", error);\n  }\n);\n```\n\n| :information_source: &nbsp; <b> Note: Make sure to replace `region` and `appID` with your credentials.</b> |\n|------------------------------------------------------------------------------------------------------------|\n\n### ii. Create User 👤\nOnce initialisation is successful, you will need to create a user. You need to use createUser() method to create user on the fly.\n```javascript\nlet authKey = \"AUTH_KEY\";\nvar uid = \"user1\";\nvar name = \"Kevin\";\n\nvar user = new CometChat.User(uid);\n\nuser.setName(name);\n\nCometChat.createUser(user, authKey).then(\n  user => {\n    console.log(\"user created\", user);\n  },error => {\n    console.log(\"error\", error);\n  }\n);\n```\n>:information_source: <b>Note: Make sure that UID and name are specified as these are mandatory fields to create a user.</b>\n<hr/>\n\n### iii. Login User 👤\nOnce you have created the user successfully, you will need to log the user into CometChat using the login() method.\n```javascript\nvar UID = \"SUPERHERO1\";\nvar authKey = \"AUTH_KEY\";\n\nCometChat.getLoggedinUser().then(\n  user => {\n    if(!user){\n      CometChat.login(UID, authKey).then(\n        user => {\n          console.log(\"Login Successful:\", { user });    \n        },\n        error => {\n          console.log(\"Login failed with exception:\", { error });    \n        }\n      );\n    }else{\n      // User already logged in\n    }\n  }, error => {\n    console.log(\"getLoggedinUser failed with exception:\", { error });\n  }\n);\n```\n\n| :information_source: &nbsp; <b>Note - The login() method needs to be called only once. Also replace AUTH_KEY with your App Auth Key.</b> |\n|------------------------------------------------------------------------------------------------------------|\n\n<hr/>\n\n📝 Please refer to our [Developer Documentation](https://prodocs.cometchat.com/docs/js-quick-start) for more information on how to configure the CometChat Pro SDK and implement various features using the same.\n\n<hr/>\n\n## Learn more about UI-Kit\n[Angular UI Kit](https://github.com/cometchat-pro/javascript-angular-chat-ui-kit) | [React UI Kit](https://github.com/cometchat-pro/javascript-react-chat-ui-kit) | [Vue UI Kit](https://github.com/cometchat-pro/javascript-vue-chat-ui-kit)\n\n## Contributors :clap:\nThanks to the following people who have contributed to this project:\n[👨‍💻 @ajaygajra](https://github.com/ajaygajra)\n[👨‍💻 @mayur-bhandari](https://github.com/mayur-bhandari)\n<hr/>\n\n## Contact :mailbox:\nContact us via real time support present in [CometChat Dashboard.](https://app.cometchat.io/)\n<hr/>","gitHead":"0eca1dd2cabfbe620ade51161432875486a5b51e","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"mayur-bhandari","email":"mayur.bhandari@inscripts.com"},"repository":{"url":"git+https://github.com/cometchat-pro/javascript-chat-sdk.git","type":"git"},"_npmVersion":"6.14.11","description":"A complete chat solution.","directories":{},"_nodeVersion":"14.15.5","_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/chat_3.0.0-beta7_1627396433338_0.5812780116460525","host":"s3://npm-registry-packages"}},"3.0.0":{"name":"@cometchat-pro/chat","version":"3.0.0","keywords":["CometChat","chat","messaging","chat","sdk","pro","message","sdk","messaging","sdk","audio","chat","video","chat","webRTC"],"author":{"name":"CometChat"},"license":"SEE LICENSE IN LICENSE.md","_id":"@cometchat-pro/chat@3.0.0","maintainers":[{"name":"anantgarg","email":"anant.garg@inscripts.com"},{"name":"gajraajay","email":"ajay.gajra@inscripts.in"},{"name":"taru.agarwal","email":"taru.agarwal@inscripts.com"},{"name":"mayur-bhandari","email":"mayur.bhandari@inscripts.com"},{"name":"jitvarpatil","email":"jitvar.patil@inscripts.com"},{"name":"ranjanravi85","email":"ravi.ranjan@inscripts.com"}],"homepage":"https://github.com/cometchat-pro/javascript-chat-sdk#readme","bugs":{"url":"https://github.com/cometchat-pro/javascript-chat-sdk/issues"},"dist":{"shasum":"c8967b0119375f4268e67afd1300c6bde983a816","tarball":"https://registry.npmjs.org/@cometchat-pro/chat/-/chat-3.0.0.tgz","fileCount":5,"integrity":"sha512-6xqiua7XfWa65lHSKoMytxnwfSQSwiIG8cS2RBwPWCvPvwo0Gnt4ozjos1d9gViKi/mnu04ICkXgY8Pld9YXDg==","signatures":[{"sig":"MEUCIEUTjzLZPxAhr8Y1nt4+oWDMU49YwcSy5Y4Nlg833IrmAiEAiwco9/TMMfDllOV9zWrJHc5UVEXOxek+stCjHPWoNkk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":405865,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhEqTfCRA9TVsSAnZWagAAZCgP/iPh2TTKv4oaJKE11y6f\nFG0wZj/6ykFAHMPHq/vcoclWd5k2+TyBJohDXc+WqgYO0oMhgpUdofYgewY+\nCKabGeX+JlPTiC/O6lFiq3z1Gsy3qpX+H2bBj7l0Gpvvd5uTaLGPfZP8siQ9\nBIuLHFN9ETpH2fN4oIr9CakWvFQpqlaQDrKlUQqIcYL9GoFaZkMrsXL0/rQ+\nBB9bhEMBR8lxc9gl6RQtSODrTuCbIML25ogMOMf9K+6QABtWb7tM7qbF/kbS\nWje0DiKC3BPbded9yKWxOnRuSI4Y7FSNiMo1JrRJErGEgSW6/FXWo81xl8Ea\nYcxmsmH4Lei32N8iyI1T/MSVxNMrRg2+YaBMNi1DyWLCDq3Teo0kFxLrv0qk\nwszfbA1zP+2Ro2IDZNwF09P6rXWbLxnFI7q4a4Eg5VHGVIypZ7GQDWvPRg0a\nCv69YHku6X07wKQ2LfukEjp1anC0y6vE5prSa5pzZQ+SVyYaRmIh5wC4vmyO\nMwfWQYY8Mu75zfzkmGaX/aUsqjuJmSLhFrMzwsvplT0esZRYFXaHvZGWYbFB\nZKB2OmblD6a5evjtzrAnMBT9vKkQ1fJUOz+3XrdIzgd4dNCukToucTFBXYq0\nvf9IL69ujRGBhguM3aHpsGQLJehSVQuIZVIJHl8R4K4396e6ALEi+/oiqa28\nkqdK\r\n=BekI\r\n-----END PGP SIGNATURE-----\r\n"},"main":"CometChat.js","gitHead":"bd4fe497c6f1e4449ccc24432c707a8b10e6cfc7","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"mayur-bhandari","email":"mayur.bhandari@inscripts.com"},"repository":{"url":"git+https://github.com/cometchat-pro/javascript-chat-sdk.git","type":"git"},"_npmVersion":"6.14.11","description":"A complete chat solution.","directories":{},"_nodeVersion":"14.15.5","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/chat_3.0.0_1628611806914_0.2873673495472322","host":"s3://npm-registry-packages"}},"3.0.1":{"name":"@cometchat-pro/chat","version":"3.0.1","keywords":["CometChat","chat","messaging","chat","sdk","pro","message","sdk","messaging","sdk","audio","chat","video","chat","webRTC"],"author":{"name":"CometChat"},"license":"SEE LICENSE IN LICENSE.md","_id":"@cometchat-pro/chat@3.0.1","maintainers":[{"name":"anantgarg","email":"anant.garg@inscripts.com"},{"name":"gajraajay","email":"ajay.gajra@inscripts.in"},{"name":"taru.agarwal","email":"taru.agarwal@inscripts.com"},{"name":"mayur-bhandari","email":"mayur.bhandari@inscripts.com"},{"name":"jitvarpatil","email":"jitvar.patil@inscripts.com"},{"name":"ranjanravi85","email":"ravi.ranjan@inscripts.com"}],"homepage":"https://github.com/cometchat-pro/javascript-chat-sdk#readme","bugs":{"url":"https://github.com/cometchat-pro/javascript-chat-sdk/issues"},"dist":{"shasum":"33f314617eb0d509d2a247261bf0cf9525f5ab00","tarball":"https://registry.npmjs.org/@cometchat-pro/chat/-/chat-3.0.1.tgz","fileCount":5,"integrity":"sha512-L6mSAQsXtF0ldhFp3Jpkrz6/xIbkPRM7V/XzEpC+wdUKDPLqz2jofjA4uAUik8nHyUXxIA23BtEm4wMWVpEq3w==","signatures":[{"sig":"MEUCIGiixorrhLXcF+GpEuf1xTcFLjeUzmZ2LFnEcUQZlKuPAiEA8FEX2c+p0MHlzg8yiwxgzgTCugfgit85A1tTl6eoQxo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":410006,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhN0c2CRA9TVsSAnZWagAA4oUP/RtD85TzeWERssXFBDOb\nh21QioH3N1yMsIRkpAnbxXuyvhZrB1IS1tFO0vcXV506KYu0Q1LFvSwNfCI1\nZxP58bPZWdgTWqx06RvL3J6ehdhMpgcfmuBvUuCg4/F+TrxzD/nBbgwJd90o\n61NCdfLBsUhIh5v1LpIReLhMdlJ6BZEk3zbySR+bs0Vd4Gm5uuqDWouFciRC\nWGtMr4GAmU+Ll6v1qrBF32DCWqT3tKISXDxotNznITBO7t/Xw6RfEsvhV7ee\nVsoGEZm5zk8X6XmA2n9Y2gRu0oKGHO+3SAgunXjEVJZBLijsdT+Wx1HmUpCU\nFHT4tf8OCiiwAS0nNFqeTZg5ltTeV75mi+PCJe1Q9xQHKdbm6RCDSRc6hkJS\n/s1Pt4KPO0VeW2cY68J1HGMu7eTf+ePH1tzQ6TtCg1/AZ7cr9LBD8kViB170\n2kyj7UwIUCkyBJlIdOisHoxn235jpcjB1lE2iGimwEdInoBQfTvVsHGilamI\nCu/Jt0cubOULWeZhGbt6dqLX2EbifgtY+OVqJrBbghw2BhnYGyFEITMyy/6X\nSlz/1D0PVxEp/GLClT49KkdG266Bz0uKTo0BzZyCqhd++Ah0p5PePqEX4A1L\nVS8DxP+XB+3Q/qdW64dmES/i21beEGt7KpbLXfgcBe+fpcdqrc2GeSTdgw1R\nds+C\r\n=BQ8j\r\n-----END PGP SIGNATURE-----\r\n"},"main":"CometChat.js","gitHead":"edd95b19265831f8c91131c7ff93526584324f98","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"mayur-bhandari","email":"mayur.bhandari@inscripts.com"},"repository":{"url":"git+https://github.com/cometchat-pro/javascript-chat-sdk.git","type":"git"},"_npmVersion":"6.14.11","description":"A complete chat solution.","directories":{},"_nodeVersion":"14.15.5","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/chat_3.0.1_1631012661962_0.23121661863011678","host":"s3://npm-registry-packages"}},"2.4.1-beta1":{"name":"@cometchat-pro/chat","version":"2.4.1-beta1","keywords":["CometChat","chat","messaging","chat","sdk","pro","message","sdk","messaging","sdk","audio","chat","video","chat","webRTC"],"author":{"name":"CometChat"},"license":"SEE LICENSE IN LICENSE.md","_id":"@cometchat-pro/chat@2.4.1-beta1","maintainers":[{"name":"anantgarg","email":"anant.garg@inscripts.com"},{"name":"gajraajay","email":"ajay.gajra@inscripts.in"},{"name":"taru.agarwal","email":"taru.agarwal@inscripts.com"},{"name":"mayur-bhandari","email":"mayur.bhandari@inscripts.com"},{"name":"jitvarpatil","email":"jitvar.patil@inscripts.com"},{"name":"ranjanravi85","email":"ravi.ranjan@inscripts.com"}],"homepage":"https://github.com/cometchat-pro/javascript-chat-sdk#readme","bugs":{"url":"https://github.com/cometchat-pro/javascript-chat-sdk/issues"},"dist":{"shasum":"f1cf434208e620e2e1ecfef14639f842c7497535","tarball":"https://registry.npmjs.org/@cometchat-pro/chat/-/chat-2.4.1-beta1.tgz","fileCount":5,"integrity":"sha512-ktPM7P+Krpc0GsD+3t+wJiwONcc2bmBMQFUIUFqqJqCOTl35PTmgknXlHmlyfts2pXVAsYBrN9jywJq5D0eEww==","signatures":[{"sig":"MEUCIQC+2TEA1mVY4ilFqZG3xlf7Nunf7OBagW8tht6joRYZYAIge9EucWPTEgGgTh9OjqSD2yEPRXRO8cMkWksXNLEaeaY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":548414},"main":"CometChat.js","readme":"<div style=\"width:100%\">\n<div style=\"width:100%\">\n\t<div style=\"width:50%; display:inline-block\">\n\t\t<p align=\"center\">\n\t\t<img style=\"text-align:center\" width=\"180\" height=\"180\" alt=\"\" src=\"https://avatars2.githubusercontent.com/u/45484907?s=200&v=4\">\t\n\t\t</p>\t\n\t</div>\t\n</div>\n</br>\n</br>\n</div>\n\n# CometChat Javascript SDK\n\nCometChat Pro enables you to add voice, video & text chat for your website & app.\nThis guide demonstrates how to add chat to a WebSite using CometChat Pro.\n\n## Features\n\n<ul>\n<li> 1-1 & Group Conversations </li>\n<li> Voice & video calling & conferencing </li>\n<li> Rich Media Attachments </li>\n<li> Typing Indicators </li>\n<li> Custom Messages </li>\n<li> Read receipts </li>\n<li> Online Presence Indicators </li>\n<li> Message History </li>\n<li> Single Sign-on </li>\n<li> Webhooks </li>\n<li> Bots </li>\n<li> Users & Friends List </li>\n<li> Groups List </li>\n<li> Conversations List </li>\n<li> Threaded Conversations </li>\n</ul>\n\n## Extensions\n\n[Push Notification](https://prodocs.cometchat.com/docs/extensions-enhanced-push-notification) | [Email Notification](https://prodocs.cometchat.com/docs/extensions-email-notification) | [SMS Notification](https://prodocs.cometchat.com/docs/extensions-sms-notification) | [Thumbnail Generation](https://prodocs.cometchat.com/docs/extensions-thumbnail-generation) | [Link Preview](https://prodocs.cometchat.com/docs/extensions-link-preview) | [Rich Media Preview](https://prodocs.cometchat.com/docs/extensions-rich-media-preview) | [Voice Transcription](https://prodocs.cometchat.com/docs/extensions-voice-transcription) | [Smart Reply](https://prodocs.cometchat.com/docs/extensions-smart-reply) | [Message Translation](https://prodocs.cometchat.com/docs/extensions-message-translation) | [Emojis](https://prodocs.cometchat.com/docs/extensions-emojis) | [Polls](https://prodocs.cometchat.com/docs/extensions-polls) | [Reactions](https://prodocs.cometchat.com/docs/extensions-reactions) | [Stickers](https://prodocs.cometchat.com/docs/extensions-stickers) | [Video Broadcasting](https://prodocs.cometchat.com/docs/extensions-broadcast) | [Collaborative Documents](https://prodocs.cometchat.com/docs/extensions-collaborative-document) | [Collaborative Whiteboards](https://prodocs.cometchat.com/docs/extensions-collaborative-whiteboard) | [Data Masking Filter](https://prodocs.cometchat.com/docs/extensions-data-masking-filter) | [Profanity Filter](https://prodocs.cometchat.com/docs/extensions-profanity-filter) | [Image Moderation](https://prodocs.cometchat.com/docs/extensions-image-moderation)| [Sentiment Analysis](https://prodocs.cometchat.com/docs/extensions-sentiment-analysis) | [In-flight Message Moderation](https://prodocs.cometchat.com/docs/extensions-in-flight-message-moderation) | [Virus & Malware Scanner](https://prodocs.cometchat.com/docs/extensions-virus-malware-scanner) | [XSS Filter](https://prodocs.cometchat.com/docs/extensions-xss-filter)\n\n[![Platform](https://img.shields.io/badge/Platform-Javascript-brightgreen)](#)\n<a href=\" \"> <img src=\"https://img.shields.io/badge/Version-2.4.0-important\" /></a>\n![GitHub repo size](https://img.shields.io/github/repo-size/cometchat-pro/javascript-chat-sdk)\n![GitHub contributors](https://img.shields.io/github/contributors/cometchat-pro/javascript-chat-sdk)\n![GitHub stars](https://img.shields.io/github/stars/cometchat-pro/javascript-chat-sdk?style=social)\n![Twitter Follow](https://img.shields.io/twitter/follow/cometchat?style=social)\n<hr/>\n\n\n## Prerequisites :star:\nBefore you begin, ensure you have met the following requirements:<br/>\n ✅ &nbsp; You have [`Visual Studio Code`](https://code.visualstudio.com/) or any other code editor installed in your machine.<br/>\n ✅ &nbsp; You have [`npm`](https://www.npmjs.com/get-npm) installed in your machine.<br/>\n ✅ &nbsp; You have read [CometChat Key Concepts](https://prodocs.cometchat.com/docs/concepts).<br/>\n\n<hr/>\n\n## Installing CometChat Javascript SDK\n## Setup :wrench:\n\nTo setup Javascript SDK, you  need to first register on CometChat Dashboard. [Click here to sign up](https://app.cometchat.com/login).\n\n### i. Get your Application Keys :key:\n\n<a href=\"https://app.cometchat.io\" target=\"_blank\">Signup for CometChat</a> and then:\n\n1. Create a new app: Click **Add App** option available  →  Enter App Name & other information  → Create App\n2. At the Top in **QuickStart** section you will find **Auth Key** & **App ID** or else you can head over to the **API & Auth Keys** section and note the **Auth Key** and **App ID**\n<img align=\"center\" src=\"https://files.readme.io/4b771c5-qs_copy.jpg\"/>\n\n<hr/>\n\n### ii. Add the CometChat Dependency\n<ul>\n<li>\n<b>Install via NPM</b><br/>\n1. Run the following command to install the CometChat Pro Javascript SDK<br/>\n\n```javascript\n\tnpm install @cometchat-pro/chat@2.4.0 --save\n```\n</li>\n\n<li>\n<b>Import via CDN</b><br/>\n1. Include the CometChat Pro Javascript library in your HTML code.<br/>\n\n```html\n  <script type=\"text/javascript\" src=\"https://unpkg.com/@cometchat-pro/chat@2.4.0/CometChat.js\"></script>\n```\n\n You can refer to the below link for instructions on how to do so:<br/>\n[📝 Add CometChat Dependency](https://prodocs.cometchat.com/docs/js-quick-start#add-the-cometchat-dependency)\n</li>\n</ul>\n<hr/>\n\n## Configure CometChat Javascript SDK\n\n### i. Initialize CometChat 🌟\nWe suggest you call the init() method on app startup, preferably in the index.js file.\n\n```javascript\nvar appID = \"APP_ID\";\nvar region = \"REGION\";\nvar appSetting = new CometChat.AppSettingsBuilder().subscribePresenceForAllUsers().setRegion(region).build();\nCometChat.init(appID, appSetting).then(\n  () => {\n    console.log(\"Initialization completed successfully\");\n  },\n  error => {\n    console.log(\"Initialization failed with error:\", error);\n  }\n);\n```\n\n| :information_source: &nbsp; <b> Note: Make sure to replace `region` and `appID` with your credentials.</b> |\n|------------------------------------------------------------------------------------------------------------|\n\n### ii. Create User 👤\nOnce initialisation is successful, you will need to create a user. You need to use createUser() method to create user on the fly.\n```javascript\nlet authKey = \"AUTH_KEY\";\nvar uid = \"user1\";\nvar name = \"Kevin\";\n\nvar user = new CometChat.User(uid);\n\nuser.setName(name);\n\nCometChat.createUser(user, authKey).then(\n  user => {\n    console.log(\"user created\", user);\n  },error => {\n    console.log(\"error\", error);\n  }\n);\n```\n>:information_source: <b>Note: Make sure that UID and name are specified as these are mandatory fields to create a user.</b>\n<hr/>\n\n### iii. Login User 👤\nOnce you have created the user successfully, you will need to log the user into CometChat using the login() method.\n```javascript\nvar UID = \"SUPERHERO1\";\nvar authKey = \"AUTH_KEY\";\n\nCometChat.getLoggedinUser().then(\n  user => {\n    if(!user){\n      CometChat.login(UID, authKey).then(\n        user => {\n          console.log(\"Login Successful:\", { user });    \n        },\n        error => {\n          console.log(\"Login failed with exception:\", { error });    \n        }\n      );\n    }else{\n      // User already logged in\n    }\n  }, error => {\n    console.log(\"getLoggedinUser failed with exception:\", { error });\n  }\n);\n```\n\n| :information_source: &nbsp; <b>Note - The login() method needs to be called only once. Also replace AUTH_KEY with your App Auth Key.</b> |\n|------------------------------------------------------------------------------------------------------------|\n\n<hr/>\n\n📝 Please refer to our [Developer Documentation](https://prodocs.cometchat.com/docs/js-quick-start) for more information on how to configure the CometChat Pro SDK and implement various features using the same.\n\n<hr/>\n\n## Learn more about UI-Kit\n[Angular UI Kit](https://github.com/cometchat-pro/javascript-angular-chat-ui-kit) | [React UI Kit](https://github.com/cometchat-pro/javascript-react-chat-ui-kit) | [Vue UI Kit](https://github.com/cometchat-pro/javascript-vue-chat-ui-kit)\n\n## Contributors :clap:\nThanks to the following people who have contributed to this project:\n[👨‍💻 @ajaygajra](https://github.com/ajaygajra)\n[👨‍💻 @mayur-bhandari](https://github.com/mayur-bhandari)\n<hr/>\n\n## Contact :mailbox:\nContact us via real time support present in [CometChat Dashboard.](https://app.cometchat.io/)\n<hr/>","gitHead":"6ae73c8db4a277aaf5974693f3141ecdef91db0f","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"mayur-bhandari","email":"mayur.bhandari@inscripts.com"},"repository":{"url":"git+https://github.com/cometchat-pro/javascript-chat-sdk.git","type":"git"},"_npmVersion":"6.14.11","description":"A complete chat solution.","directories":{},"_nodeVersion":"14.15.5","_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/chat_2.4.1-beta1_1633958831872_0.9525442728876476","host":"s3://npm-registry-packages"}},"3.0.2-beta1":{"name":"@cometchat-pro/chat","version":"3.0.2-beta1","keywords":["CometChat","chat","messaging","chat","sdk","pro","message","sdk","messaging","sdk","audio","chat","video","chat","webRTC"],"author":{"name":"CometChat"},"license":"SEE LICENSE IN LICENSE.md","_id":"@cometchat-pro/chat@3.0.2-beta1","maintainers":[{"name":"anantgarg","email":"anant.garg@inscripts.com"},{"name":"gajraajay","email":"ajay.gajra@inscripts.in"},{"name":"taru.agarwal","email":"taru.agarwal@inscripts.com"},{"name":"mayur-bhandari","email":"mayur.bhandari@inscripts.com"},{"name":"jitvarpatil","email":"jitvar.patil@inscripts.com"},{"name":"ranjanravi85","email":"ravi.ranjan@inscripts.com"}],"homepage":"https://github.com/cometchat-pro/javascript-chat-sdk#readme","bugs":{"url":"https://github.com/cometchat-pro/javascript-chat-sdk/issues"},"dist":{"shasum":"cc048130c010681b983347ee18ce9ac669374a00","tarball":"https://registry.npmjs.org/@cometchat-pro/chat/-/chat-3.0.2-beta1.tgz","fileCount":5,"integrity":"sha512-K5eLrku0beEuMm/qDayUgnM9EtdvMi9lw81sxOZ3TVHCUwEAXgbIiAuQPiQhDhEIJV5GozPSj/lBJteH0jPCBA==","signatures":[{"sig":"MEUCIBJCrsdyPwgjiGmF+6DgMEFPeCeFpDFDeauHfkH6TKP/AiEA/Ls9HaoSKntIukk7UdKQe+SFTJkx3tMkzhI+AhLMeW0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":413405},"main":"CometChat.js","readme":"<div style=\"width:100%\">\n<div style=\"width:100%\">\n\t<div style=\"width:50%; display:inline-block\">\n\t\t<p align=\"center\">\n\t\t<img style=\"text-align:center\" width=\"180\" height=\"180\" alt=\"\" src=\"https://avatars2.githubusercontent.com/u/45484907?s=200&v=4\">\t\n\t\t</p>\t\n\t</div>\t\n</div>\n</br>\n</br>\n</div>\n\n# CometChat Javascript SDK\n\nCometChat Pro enables you to add voice, video & text chat for your website & app.\nThis guide demonstrates how to add chat to a WebSite using CometChat Pro.\n\n## Features\n\n<ul>\n<li> 1-1 & Group Conversations </li>\n<li> Voice & video calling & conferencing </li>\n<li> Rich Media Attachments </li>\n<li> Typing Indicators </li>\n<li> Custom Messages </li>\n<li> Read receipts </li>\n<li> Online Presence Indicators </li>\n<li> Message History </li>\n<li> Single Sign-on </li>\n<li> Webhooks </li>\n<li> Bots </li>\n<li> Users & Friends List </li>\n<li> Groups List </li>\n<li> Conversations List </li>\n<li> Threaded Conversations </li>\n</ul>\n\n## Extensions\n\n[Push Notification](https://prodocs.cometchat.com/docs/extensions-enhanced-push-notification) | [Email Notification](https://prodocs.cometchat.com/docs/extensions-email-notification) | [SMS Notification](https://prodocs.cometchat.com/docs/extensions-sms-notification) | [Thumbnail Generation](https://prodocs.cometchat.com/docs/extensions-thumbnail-generation) | [Link Preview](https://prodocs.cometchat.com/docs/extensions-link-preview) | [Rich Media Preview](https://prodocs.cometchat.com/docs/extensions-rich-media-preview) | [Voice Transcription](https://prodocs.cometchat.com/docs/extensions-voice-transcription) | [Smart Reply](https://prodocs.cometchat.com/docs/extensions-smart-reply) | [Message Translation](https://prodocs.cometchat.com/docs/extensions-message-translation) | [Emojis](https://prodocs.cometchat.com/docs/extensions-emojis) | [Polls](https://prodocs.cometchat.com/docs/extensions-polls) | [Reactions](https://prodocs.cometchat.com/docs/extensions-reactions) | [Stickers](https://prodocs.cometchat.com/docs/extensions-stickers) | [Video Broadcasting](https://prodocs.cometchat.com/docs/extensions-broadcast) | [Collaborative Documents](https://prodocs.cometchat.com/docs/extensions-collaborative-document) | [Collaborative Whiteboards](https://prodocs.cometchat.com/docs/extensions-collaborative-whiteboard) | [Data Masking Filter](https://prodocs.cometchat.com/docs/extensions-data-masking-filter) | [Profanity Filter](https://prodocs.cometchat.com/docs/extensions-profanity-filter) | [Image Moderation](https://prodocs.cometchat.com/docs/extensions-image-moderation)| [Sentiment Analysis](https://prodocs.cometchat.com/docs/extensions-sentiment-analysis) | [In-flight Message Moderation](https://prodocs.cometchat.com/docs/extensions-in-flight-message-moderation) | [Virus & Malware Scanner](https://prodocs.cometchat.com/docs/extensions-virus-malware-scanner) | [XSS Filter](https://prodocs.cometchat.com/docs/extensions-xss-filter)\n\n[![Platform](https://img.shields.io/badge/Platform-Javascript-brightgreen)](#)\n<a href=\" \"> <img src=\"https://img.shields.io/badge/Version-3.0.1-important\" /></a>\n![GitHub repo size](https://img.shields.io/github/repo-size/cometchat-pro/javascript-chat-sdk)\n![GitHub contributors](https://img.shields.io/github/contributors/cometchat-pro/javascript-chat-sdk)\n![GitHub stars](https://img.shields.io/github/stars/cometchat-pro/javascript-chat-sdk?style=social)\n![Twitter Follow](https://img.shields.io/twitter/follow/cometchat?style=social)\n<hr/>\n\n\n## Prerequisites :star:\nBefore you begin, ensure you have met the following requirements:<br/>\n ✅ &nbsp; You have [`Visual Studio Code`](https://code.visualstudio.com/) or any other code editor installed in your machine.<br/>\n ✅ &nbsp; You have [`npm`](https://www.npmjs.com/get-npm) installed in your machine.<br/>\n ✅ &nbsp; You have read [CometChat Key Concepts](https://prodocs.cometchat.com/docs/concepts).<br/>\n\n<hr/>\n\n## Installing CometChat Javascript SDK\n## Setup :wrench:\n\nTo setup Javascript SDK, you  need to first register on CometChat Dashboard. [Click here to sign up](https://app.cometchat.com/login).\n\n### i. Get your Application Keys :key:\n\n<a href=\"https://app.cometchat.io\" target=\"_blank\">Signup for CometChat</a> and then:\n\n1. Create a new app: Click **Add App** option available  →  Enter App Name & other information  → Create App\n2. At the Top in **QuickStart** section you will find **Auth Key** & **App ID** or else you can head over to the **API & Auth Keys** section and note the **Auth Key** and **App ID**\n<img align=\"center\" src=\"https://files.readme.io/4b771c5-qs_copy.jpg\"/>\n\n<hr/>\n\n### ii. Add the CometChat Dependency\n<ul>\n<li>\n<b>Install via NPM</b><br/>\n1. Run the following command to install the CometChat Pro Javascript SDK<br/>\n\n```javascript\n\tnpm install @cometchat-pro/chat@3.0.1 --save\n```\n</li>\n\n<li>\n<b>Import via CDN</b><br/>\n1. Include the CometChat Pro Javascript library in your HTML code.<br/>\n\n```html\n  <script type=\"text/javascript\" src=\"https://unpkg.com/@cometchat-pro/chat@3.0.1/CometChat.js\"></script>\n```\n\n You can refer to the below link for instructions on how to do so:<br/>\n[📝 Add CometChat Dependency](https://prodocs.cometchat.com/docs/js-quick-start#add-the-cometchat-dependency)\n</li>\n</ul>\n<hr/>\n\n## Configure CometChat Javascript SDK\n\n### i. Initialize CometChat 🌟\nWe suggest you call the init() method on app startup, preferably in the index.js file.\n\n```javascript\nvar appID = \"APP_ID\";\nvar region = \"REGION\";\nvar appSetting = new CometChat.AppSettingsBuilder().subscribePresenceForAllUsers().setRegion(region).build();\nCometChat.init(appID, appSetting).then(\n  () => {\n    console.log(\"Initialization completed successfully\");\n  },\n  error => {\n    console.log(\"Initialization failed with error:\", error);\n  }\n);\n```\n\n| :information_source: &nbsp; <b> Note: Make sure to replace `region` and `appID` with your credentials.</b> |\n|------------------------------------------------------------------------------------------------------------|\n\n### ii. Create User 👤\nOnce initialisation is successful, you will need to create a user. You need to use createUser() method to create user on the fly.\n```javascript\nlet authKey = \"AUTH_KEY\";\nvar uid = \"user1\";\nvar name = \"Kevin\";\n\nvar user = new CometChat.User(uid);\n\nuser.setName(name);\n\nCometChat.createUser(user, authKey).then(\n  user => {\n    console.log(\"user created\", user);\n  },error => {\n    console.log(\"error\", error);\n  }\n);\n```\n>:information_source: <b>Note: Make sure that UID and name are specified as these are mandatory fields to create a user.</b>\n<hr/>\n\n### iii. Login User 👤\nOnce you have created the user successfully, you will need to log the user into CometChat using the login() method.\n```javascript\nvar UID = \"SUPERHERO1\";\nvar authKey = \"AUTH_KEY\";\n\nCometChat.getLoggedinUser().then(\n  user => {\n    if(!user){\n      CometChat.login(UID, authKey).then(\n        user => {\n          console.log(\"Login Successful:\", { user });    \n        },\n        error => {\n          console.log(\"Login failed with exception:\", { error });    \n        }\n      );\n    }else{\n      // User already logged in\n    }\n  }, error => {\n    console.log(\"getLoggedinUser failed with exception:\", { error });\n  }\n);\n```\n\n| :information_source: &nbsp; <b>Note - The login() method needs to be called only once. Also replace AUTH_KEY with your App Auth Key.</b> |\n|------------------------------------------------------------------------------------------------------------|\n\n<hr/>\n\n📝 Please refer to our [Developer Documentation](https://prodocs.cometchat.com/docs/js-quick-start) for more information on how to configure the CometChat Pro SDK and implement various features using the same.\n\n<hr/>\n\n## Learn more about UI-Kit\n[Angular UI Kit](https://github.com/cometchat-pro/javascript-angular-chat-ui-kit) | [React UI Kit](https://github.com/cometchat-pro/javascript-react-chat-ui-kit) | [Vue UI Kit](https://github.com/cometchat-pro/javascript-vue-chat-ui-kit)\n\n## Contributors :clap:\nThanks to the following people who have contributed to this project:\n[👨‍💻 @ajaygajra](https://github.com/ajaygajra)\n[👨‍💻 @mayur-bhandari](https://github.com/mayur-bhandari)\n<hr/>\n\n## Contact :mailbox:\nContact us via real time support present in [CometChat Dashboard.](https://app.cometchat.io/)\n<hr/>","gitHead":"6666e9f240603ab9c90d99d66d47aedbf5ff3cf5","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"mayur-bhandari","email":"mayur.bhandari@inscripts.com"},"repository":{"url":"git+https://github.com/cometchat-pro/javascript-chat-sdk.git","type":"git"},"_npmVersion":"6.14.11","description":"A complete chat solution.","directories":{},"_nodeVersion":"14.15.5","_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/chat_3.0.2-beta1_1634025104081_0.33665592657866616","host":"s3://npm-registry-packages"}},"3.0.2":{"name":"@cometchat-pro/chat","version":"3.0.2","keywords":["CometChat","chat","messaging","chat","sdk","pro","message","sdk","messaging","sdk","audio","chat","video","chat","webRTC"],"author":{"name":"CometChat"},"license":"SEE LICENSE IN LICENSE.md","_id":"@cometchat-pro/chat@3.0.2","maintainers":[{"name":"anantgarg","email":"anant.garg@inscripts.com"},{"name":"gajraajay","email":"ajay.gajra@inscripts.in"},{"name":"taru.agarwal","email":"taru.agarwal@inscripts.com"},{"name":"mayur-bhandari","email":"mayur.bhandari@inscripts.com"},{"name":"jitvarpatil","email":"jitvar.patil@inscripts.com"},{"name":"ranjanravi85","email":"ravi.ranjan@inscripts.com"}],"homepage":"https://github.com/cometchat-pro/javascript-chat-sdk#readme","bugs":{"url":"https://github.com/cometchat-pro/javascript-chat-sdk/issues"},"dist":{"shasum":"b86bd49083d2db59bf66af33684a8be7ab5edd27","tarball":"https://registry.npmjs.org/@cometchat-pro/chat/-/chat-3.0.2.tgz","fileCount":5,"integrity":"sha512-kIpNq8ewpxZiHjlr9cDXEqFhS9s4nMIwqLG8W3lyweRD1DNpfybHrOHoinrAZl0/o7UbUEOL/Lz4yitC+PO4FA==","signatures":[{"sig":"MEQCIBlYQMJHxCd9Hk6q/yM+yacTAu5Z1l6oo+Waa2qGvAHVAiATRy7zjXrcVYPXmK7So1hD0FECFhKiTn4WOPmSGxehCA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":413499},"main":"CometChat.js","gitHead":"7ad50393ea873813c2365dc88b4af5df5b3bebcf","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"mayur-bhandari","email":"mayur.bhandari@inscripts.com"},"repository":{"url":"git+https://github.com/cometchat-pro/javascript-chat-sdk.git","type":"git"},"_npmVersion":"6.14.11","description":"A complete chat solution.","directories":{},"_nodeVersion":"14.15.5","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/chat_3.0.2_1635433382135_0.7276823781947093","host":"s3://npm-registry-packages"}},"2.4.1":{"name":"@cometchat-pro/chat","version":"2.4.1","keywords":["CometChat","chat","messaging","chat","sdk","pro","message","sdk","messaging","sdk","audio","chat","video","chat","webRTC"],"author":{"name":"CometChat"},"license":"SEE LICENSE IN LICENSE.md","_id":"@cometchat-pro/chat@2.4.1","maintainers":[{"name":"anantgarg","email":"anant.garg@inscripts.com"},{"name":"gajraajay","email":"ajay.gajra@inscripts.in"},{"name":"taru.agarwal","email":"taru.agarwal@inscripts.com"},{"name":"mayur-bhandari","email":"mayur.bhandari@inscripts.com"},{"name":"jitvarpatil","email":"jitvar.patil@inscripts.com"},{"name":"ranjanravi85","email":"ravi.ranjan@inscripts.com"}],"homepage":"https://github.com/cometchat-pro/javascript-chat-sdk#readme","bugs":{"url":"https://github.com/cometchat-pro/javascript-chat-sdk/issues"},"dist":{"shasum":"0a8ee4aea3d52f22bf8f4179f41ec1f9d7c7f90a","tarball":"https://registry.npmjs.org/@cometchat-pro/chat/-/chat-2.4.1.tgz","fileCount":5,"integrity":"sha512-oATsQErIzWjUu/iv/s6KFRjCbSmU98fkct3orWKG5cOeJcoz2Vkl6cxc/dvAaip5Vp+QQneYok50XboZCE+4iw==","signatures":[{"sig":"MEQCIHw3Pi+foDVYPNyLZJLzMVEejxgUsbC3uNmC2//zQb4jAiBP1tpfH1QXZ3/u5uesyjm9NqMEWZKaAoWN9itjfFZtMA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":552711},"main":"CometChat.js","gitHead":"3fc0fbfa47b732975058e650c4435608ae30f35a","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"mayur-bhandari","email":"mayur.bhandari@inscripts.com"},"repository":{"url":"git+https://github.com/cometchat-pro/javascript-chat-sdk.git","type":"git"},"_npmVersion":"6.14.11","description":"A complete chat solution.","directories":{},"_nodeVersion":"14.15.5","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/chat_2.4.1_1635527351326_0.22913873625750236","host":"s3://npm-registry-packages"}},"3.0.3":{"name":"@cometchat-pro/chat","version":"3.0.3","keywords":["CometChat","chat","messaging","chat","sdk","pro","message","sdk","messaging","sdk","audio","chat","video","chat","webRTC"],"author":{"name":"CometChat"},"license":"SEE LICENSE IN LICENSE.md","_id":"@cometchat-pro/chat@3.0.3","maintainers":[{"name":"anantgarg","email":"anant.garg@inscripts.com"},{"name":"gajraajay","email":"ajay.gajra@inscripts.in"},{"name":"taru.agarwal","email":"taru.agarwal@inscripts.com"},{"name":"mayur-bhandari","email":"mayur.bhandari@inscripts.com"},{"name":"jitvarpatil","email":"jitvar.patil@inscripts.com"},{"name":"ranjanravi85","email":"ravi.ranjan@inscripts.com"}],"homepage":"https://github.com/cometchat-pro/javascript-chat-sdk#readme","bugs":{"url":"https://github.com/cometchat-pro/javascript-chat-sdk/issues"},"dist":{"shasum":"e9bb35bb4aea79872d2d1fac5e6538100c8b2f8e","tarball":"https://registry.npmjs.org/@cometchat-pro/chat/-/chat-3.0.3.tgz","fileCount":5,"integrity":"sha512-I+i1wCt2iJgLpq0HePIenHoUD0cgLyRxwUd+D+sKgz2LGjVxcPZRYeXDRgv2iy5OuWccaGB/2vOZ4J4DDiKZ+A==","signatures":[{"sig":"MEUCIDO3oKDxiySa/0Oi9pGzldIhCxKJU1G4Fgxz/viCX32tAiEAn35f/mhLuqOPiZueldBvDl+OR3TM3y/vxLc4cxG/gHQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":414770},"main":"CometChat.js","gitHead":"fd7c9c576401cadfd73ad6fd8a7e252685535d5f","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"mayur-bhandari","email":"mayur.bhandari@inscripts.com"},"repository":{"url":"git+https://github.com/cometchat-pro/javascript-chat-sdk.git","type":"git"},"_npmVersion":"6.14.11","description":"A complete chat solution.","directories":{},"_nodeVersion":"14.15.5","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/chat_3.0.3_1635531116431_0.24696064864027178","host":"s3://npm-registry-packages"}},"3.0.4":{"name":"@cometchat-pro/chat","version":"3.0.4","keywords":["CometChat","chat","messaging","chat","sdk","pro","message","sdk","messaging","sdk","audio","chat","video","chat","webRTC"],"author":{"name":"CometChat"},"license":"SEE LICENSE IN LICENSE.md","_id":"@cometchat-pro/chat@3.0.4","maintainers":[{"name":"anantgarg","email":"anant.garg@inscripts.com"},{"name":"gajraajay","email":"ajay.gajra@inscripts.in"},{"name":"taru.agarwal","email":"taru.agarwal@inscripts.com"},{"name":"mayur-bhandari","email":"mayur.bhandari@inscripts.com"},{"name":"jitvarpatil","email":"jitvar.patil@inscripts.com"},{"name":"ranjanravi85","email":"ravi.ranjan@inscripts.com"}],"homepage":"https://github.com/cometchat-pro/javascript-chat-sdk#readme","bugs":{"url":"https://github.com/cometchat-pro/javascript-chat-sdk/issues"},"dist":{"shasum":"58f3851fb918eeb7acc6965b72c58016198722b9","tarball":"https://registry.npmjs.org/@cometchat-pro/chat/-/chat-3.0.4.tgz","fileCount":5,"integrity":"sha512-HTFgpJaTbdziMpeHzp/Z+kqxlK4TUtf5nNj1xSuQrGQyUh6V7vYo4K3oonWvew6jDSlAYvlg9NN/jcFzk4viYA==","signatures":[{"sig":"MEYCIQCVvcevUP154jSVyN+bwbTHnYwmz+xeaF49aTP8873yAAIhAOTFnWSlXq/25Au3OS/SqTVg2AEPFPw72aDI//zQtRTy","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":422739,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhuYtrCRA9TVsSAnZWagAABPoP/jfqWNq0S/PpFeRWh73g\nvpLOLEKSMZ+DmOO7zTOfDq5uqt0MlUfq4INcv1C5r9IW0ZcOXk7EsFFaQdPU\nVhmXRYaW+TbjmFQDknEwSOvLlCyBF9lx89YnP6CFXSnVQNxkQ8LCnTDUw4ip\njTbP9RcqBzsaR/QOx9zmPCPazzRm+UESHdwK/D57+sV3Y24RtD9Yy/pm0JIy\nKV3YdwrHAkJPQmKYXeSVGU7yVVsfOjSLkw1Bvy/L+zYGTc2PlPCTXedVZluW\n9UYXdJom8IqiXz2u3ATG5onDGJw9CFrHndC4lbmGb11wuYeOLMP/Ia/zkdAK\nyFZn+HSAyotK+KUSBmfP5sU9+zg+T9SUoZofyKaAIu8QnHEkjbVRlThTc/jK\ntGeRbvrFN4r8Q5QMGo8HftXy+ZSNaTikiTMaGRtxDZ8HyWqbKra9MfxaoYHi\n2s51pTdLptxFqzyn8GCXDybpNaK60Lk5E7IGMXuvJ/2/pnAJkCkhr2cspb3x\n5+qNwqLE+eVpHwXx8/wMBvEuUFE2lkitF9DvzdRrg8p/QvOD0Eav3KDDKLek\nxxxC8lWYFBWNo6TlVVUnywubONE7i5NB9C/6sCbZBzXaSjpx2o/w7u4TiGUF\nsAbrgp7pbVigZsByAci3M3JuUdWzt0dglvLavrS/VEZfYLUGWMIr7rMw9P95\n612Z\r\n=XtYQ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"CometChat.js","gitHead":"ddeb471431a4e6beba0393ec42fdf9a5c16122e2","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"mayur-bhandari","email":"mayur.bhandari@inscripts.com"},"repository":{"url":"git+https://github.com/cometchat-pro/javascript-chat-sdk.git","type":"git"},"_npmVersion":"6.14.11","description":"A complete chat solution.","directories":{},"_nodeVersion":"14.15.5","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/chat_3.0.4_1639549803273_0.538536026242417","host":"s3://npm-registry-packages"}},"3.0.5":{"name":"@cometchat-pro/chat","version":"3.0.5","keywords":["CometChat","chat","messaging","chat","sdk","pro","message","sdk","messaging","sdk","audio","chat","video","chat","webRTC"],"author":{"name":"CometChat"},"license":"SEE LICENSE IN LICENSE.md","_id":"@cometchat-pro/chat@3.0.5","maintainers":[{"name":"anantgarg","email":"anant.garg@inscripts.com"},{"name":"gajraajay","email":"ajay.gajra@inscripts.in"},{"name":"taru.agarwal","email":"taru.agarwal@inscripts.com"},{"name":"mayur-bhandari","email":"mayur.bhandari@inscripts.com"},{"name":"jitvarpatil","email":"jitvar.patil@inscripts.com"},{"name":"ranjanravi85","email":"ravi.ranjan@inscripts.com"}],"homepage":"https://github.com/cometchat-pro/javascript-chat-sdk#readme","bugs":{"url":"https://github.com/cometchat-pro/javascript-chat-sdk/issues"},"dist":{"shasum":"53707021f769c9090bf387730b94683c22ab25da","tarball":"https://registry.npmjs.org/@cometchat-pro/chat/-/chat-3.0.5.tgz","fileCount":5,"integrity":"sha512-29L3Z4nydOPwJUAnbf80V2DIavtkMx865hYynFmfgP4pUamEqTKKUDc05ZfLyqRUV9HGjqmzDuLzFxYefx4HfQ==","signatures":[{"sig":"MEYCIQC+wBsJJ7bl009+icYUQYeCL1dTcQlyl6vLESqcUexPlwIhAJLDKC5lNukrGoOeOM4AGL3HAmjOz0ZRWHstZ4NQUAwe","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":489189,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhzceQCRA9TVsSAnZWagAAOkAP/R8aDIZIJ1V/eVtzHpm1\nUmABkFhNFY/paRjwnOqJsAq9wZo5xTZ3vRZMYx7RpPwnebYq/M82PlA+VvwO\n/zvV/yFXOo6CUVzkRv1UOCxe4ZtmaDjkXn/3DoPPPilfc15x91u6fibJDBVu\n3b1MNUnETS2WQookeg8eaLw5y/em7EyNnx6tCm69rP28q4cE9Qo7Ze5JFXUE\n2zIdXggzRH/lcPBloB0kRnuvkd1QJy3QSFGwby8ZdPfQtE0h96dt7mHwPrjY\nt2yTix4s6TSc3drKXgIsB2qMwTvClSq/yDVjYoWWQJ2GV/P9vsWI7t82TlUb\nH5NJDZxnGNAN7m72w0VphjLunSAGY59DxTjeO9QTY8fRzE0BqE9tRllDk86y\nuKOE5O/YQGJktZZDGzlXo153L+22kPPVVQxoP2ZiTB/ib9znuQvfIZ3bDCvf\nXAe9n6YGmi7kMyLanNLP7INTZMs1K3wTzln4XhLoSPn9CA08zuoTr8DdH7vH\n/lfCdEyCqulYOtXRSHOoFx0va2gGvigsJ3WJWwazSneKPzmV2lymcifnqOq+\nH24uG+8TN9kAVmnuIMuuBmHtbxoICPQURS9fgWQ/rkC/BHI9oEChWRyc0/QZ\n5LIsvejqgw2OkinoT3QWhkZDmW5Tg2tGt1AUKmglalzL3HxHQI3PcHUFP8Wu\nR25F\r\n=8/IX\r\n-----END PGP SIGNATURE-----\r\n"},"main":"CometChat.js","gitHead":"0cad88d0f955f8613ac0a457939d4ddd2267b0c2","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"mayur-bhandari","email":"mayur.bhandari@inscripts.com"},"repository":{"url":"git+https://github.com/cometchat-pro/javascript-chat-sdk.git","type":"git"},"_npmVersion":"6.14.11","description":"A complete chat solution.","directories":{},"_nodeVersion":"14.15.5","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/chat_3.0.5_1640875919896_0.46357841942096933","host":"s3://npm-registry-packages"}},"3.0.6":{"name":"@cometchat-pro/chat","version":"3.0.6","keywords":["CometChat","chat","messaging","chat","sdk","pro","message","sdk","messaging","sdk","audio","chat","video","chat","webRTC"],"author":{"name":"CometChat"},"license":"SEE LICENSE IN LICENSE.md","_id":"@cometchat-pro/chat@3.0.6","maintainers":[{"name":"anantgarg","email":"anant.garg@inscripts.com"},{"name":"gajraajay","email":"ajay.gajra@inscripts.in"},{"name":"taru.agarwal","email":"taru.agarwal@inscripts.com"},{"name":"mayur-bhandari","email":"mayur.bhandari@inscripts.com"},{"name":"jitvarpatil","email":"jitvar.patil@inscripts.com"},{"name":"ranjanravi85","email":"ravi.ranjan@inscripts.com"}],"homepage":"https://github.com/cometchat-pro/javascript-chat-sdk#readme","bugs":{"url":"https://github.com/cometchat-pro/javascript-chat-sdk/issues"},"dist":{"shasum":"4293f01632e12f1d75e64623eccde7bc748874f2","tarball":"https://registry.npmjs.org/@cometchat-pro/chat/-/chat-3.0.6.tgz","fileCount":5,"integrity":"sha512-RW5+/zFfxlLaDvuEgFXC894ucTMcMe5386wh4SQHXNuHqiLU+KxsdZg9AC3/jc7E++10QNgALGrOCP7xVcGuGA==","signatures":[{"sig":"MEYCIQDH1ZbfM8Ore88uIBBtQCKEnnvjsHT3xqBsOntS+iC5uwIhAJov/C3+D4+ItSL1sJ8TEbYQld+WZ+dYtxDUSI/5kMby","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":479531,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh4W+vCRA9TVsSAnZWagAAutgP/iQpxu6l4nFSGkyw0J+D\nq57CbaJsz4cDUaJAncjAx340ARGVc1K8uFvTekB5WRmY9v0uIWIZ6Q7W+iJ9\nQ00QHMoO74JbP8D2tRZYvHB7Fh9QGir6+a7I03C8ooOIy8jG/9JETxnwUChg\nCmv8UYFfu2gKd9jxNBhT2KuwQ0egYykMmr3fcJ+DKwH8vFxae+IjMXMM2DJZ\ntt7af+k2b1DYVFJQJCwA8l0UclZyDypY+Rb9QPXc4hZlEOmQ9rdqpTysPyey\nHdYwR0HbAvMXGsSiPljX+1AT1j6QDmwxYYWGfnI/RG4SpMPeWQZ8mvC1gg5i\nIULISzgvPgKJd2qgqr/KsJX6VXA7v1NZXbRtMz0tjmD54I0g8kofSVdU/891\nYbCNovSTBUMjLNPCnni8nAEMfJKrS1H4wCnb+AaVGVpRt9iCzMPfZaXgMwLo\nbN1T5aoKY3VoVYOgdKUsCVyIjAZarX/c5InIv+VtWVs0kd9MUyT3cIzaWDCg\ngY763LFrrytkFe0S4QEmgUaT+H8M8rzBDLpJnXq6e9EdRQWhmLOJStS4Tl7w\nrQfKJwyXnSMuEhvSBwRj5NanDK5groPxUeZJenM3me0he+rTuEpjqrioWhCj\nFhIxgryGMWC8CPBL+plb7darh5FKkdiNnCvi1J3F/DKMcfVa0O8HvzFqLq8a\n274o\r\n=JV4m\r\n-----END PGP SIGNATURE-----\r\n"},"main":"CometChat.js","gitHead":"27338f3a54b3de156d24e76cfa93df8fe483e0e1","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"mayur-bhandari","email":"mayur.bhandari@inscripts.com"},"repository":{"url":"git+https://github.com/cometchat-pro/javascript-chat-sdk.git","type":"git"},"_npmVersion":"6.14.11","description":"A complete chat solution.","directories":{},"_nodeVersion":"14.15.5","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/chat_3.0.6_1642164143140_0.2992791985735095","host":"s3://npm-registry-packages"}},"3.0.7":{"name":"@cometchat-pro/chat","version":"3.0.7","keywords":["CometChat","chat","messaging","chat","sdk","pro","message","sdk","messaging","sdk","audio","chat","video","chat","webRTC"],"author":{"name":"CometChat"},"license":"SEE LICENSE IN LICENSE.md","_id":"@cometchat-pro/chat@3.0.7","maintainers":[{"name":"anantgarg","email":"anant.garg@cometchat.com"},{"name":"taru.agarwal","email":"taru.agarwal@inscripts.com"},{"name":"mayur-bhandari","email":"mayur.bhandari@inscripts.com"},{"name":"jitvarpatil","email":"jitvar.patil@inscripts.com"}],"homepage":"https://github.com/cometchat-pro/javascript-chat-sdk#readme","bugs":{"url":"https://github.com/cometchat-pro/javascript-chat-sdk/issues"},"dist":{"shasum":"6e2ce9fa2376c39d3887f2557b3d79b37454f18d","tarball":"https://registry.npmjs.org/@cometchat-pro/chat/-/chat-3.0.7.tgz","fileCount":5,"integrity":"sha512-52Vy2wuRSXyd4bnBTECs3YhHHYcGqOAXZi6/3O1bjTjmuFujQwSMI+Udv9n4NjRDXNrfEgT9i7ET+HtkB9iLHA==","signatures":[{"sig":"MEYCIQCGDcy4FzUyJGEcQ/2AEg/teBiXmmnXg5lB4eERc9d3SAIhAMh5MNQFivyLL48qOBxT5LNOyNws7YR3AS1w9R1799uw","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":486816,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJioDoAACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrL3A/+OltgqrEdsxt4iTJLjGWt9yaNBIhl3DGuM1eOOFiaGfy1qrcs\r\nXvH35lcQy+OJTCiG49DFlSoOt0pRtewvcvS2c4QeAdJj8VGX0XByWxTolx8N\r\nInYGlpXRQ2F4qjeVxbtQm/7OndB8yeu61lUwFLgfTN7RWqspGm2L370TGAMu\r\nK9RzFuUxwxrEaOs73uVtXU5yeg0o5xF/3TjKoKtKXXW6TTGSi0PpTBSfqXlC\r\nFBV0CPBoLhCSFQl7jVmnPiXqAXTjQn4To/QK/EfZzEGbMDth8x9sM0Adz8Kr\r\nFWUMDe9HK5HPOMHv/9x3iJZSwb8KQMoK8mAJdk2qMnAWH4gbT7YafPXAmOLz\r\nWwK7G21w5N760Q4Xd7eDRpTLOyWxf1EDhP8L61bFaDubKR+MlBXxnfxbIMhI\r\naQD1Se6BmI+KszE5nx0lyt+ogpBtdusVgMi+PSSe2EhT4+Ze3O8EypweiA/P\r\nAzyd1sfkgPHIuq4rPhvlPhWPhjE2KSMe7cZ/azFHGnJ+Z8j8tpBXTiBo4Qm1\r\n5CsnlauMgaHKedrcTgn141fUonOk8EXzMhxX8yZp8BjXELKSX3RcCtOlcpih\r\n5UK/hZPY8Bm3gb+VoCLyQKuxSstWC/4szPUO+gs1QjvCuuRDBbfrZz4nN10G\r\nJHNDb2//etblqD5s9PxS7zW1ccMAvKosQzk=\r\n=ieA3\r\n-----END PGP SIGNATURE-----\r\n"},"main":"CometChat.js","gitHead":"3429394bf1a13c896f6d5a9cbdff87b66c905a3c","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"mayur-bhandari","email":"mayur.bhandari@inscripts.com"},"repository":{"url":"git+https://github.com/cometchat-pro/javascript-chat-sdk.git","type":"git"},"_npmVersion":"6.14.15","description":"A complete chat solution.","directories":{},"_nodeVersion":"14.18.3","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/chat_3.0.7_1654667776306_0.9470221537198087","host":"s3://npm-registry-packages"}},"3.0.8":{"name":"@cometchat-pro/chat","version":"3.0.8","keywords":["CometChat","chat","messaging","chat","sdk","pro","message","sdk","messaging","sdk","audio","chat","video","chat","webRTC"],"author":{"name":"CometChat"},"license":"SEE LICENSE IN LICENSE.md","_id":"@cometchat-pro/chat@3.0.8","maintainers":[{"name":"anantgarg","email":"anant.garg@cometchat.com"},{"name":"taru.agarwal","email":"taru.agarwal@inscripts.com"},{"name":"mayur-bhandari","email":"mayur.bhandari@inscripts.com"},{"name":"jitvarpatil","email":"jitvar.patil@inscripts.com"}],"homepage":"https://github.com/cometchat-pro/javascript-chat-sdk#readme","bugs":{"url":"https://github.com/cometchat-pro/javascript-chat-sdk/issues"},"dist":{"shasum":"0245d268401840b561537b918f8b444877f8c77b","tarball":"https://registry.npmjs.org/@cometchat-pro/chat/-/chat-3.0.8.tgz","fileCount":5,"integrity":"sha512-FRldKyIgYKDAohnU8OLdwfKiFEYCIonhw0Mm8DJ4m59lTojo9czHkXLOoFFh1zfAA3hvaVJwY1Ktd18IzJaC1g==","signatures":[{"sig":"MEQCIA4L+feq/UUeFaoGkupvOl/zcUstN73cnqy+B5sJFVY0AiABxeg6bkOOYZ47PKoHTdLvyHE+O2uZPEJPICzLKaUIdg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":497386,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJisJxvACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrAHQ/9Fx4TJ2+mpbcOLPNRz4NVvU3MRESKYlJDcogGYSxcyA/8270W\r\nJItkyMKdg2TQptvnUg3B7HsZYYT0TeeRmrm4M2S+ZU/ANwcQpaQMXP8Wo7aj\r\nv9P7EbgGYiCH8QxHRI4mYW5NVmYwrnPcohYxvTIh9Z/UfwWyDOT8c9aWfoSM\r\nwFRo+FuVzzWQ7zxyAauUZHzj+Eo9et+rDMUaKml3C6wNql8X/K3jc4OmJxjM\r\nBCv6FJFIoIDk7UpBNx0WG1//RSzliYwJ6/ovDMzNiliEMzKZRVxUACgEeZOR\r\nTWACC4/7zLl5rqSXXXpLP3IcwzfUsldZnaH7MboUY9o2FGTLN6O08CV3mdMd\r\nvZ2L69GhPuhOX7v7vPE4+f8kTjrymdsMpGsb05sFpO8f49wBRNgaVAw3FD/2\r\nqKAKEQPMT9wLmp1jisqiXUyLWmWZvSFbWhEks3G7/Sn5zcIall1pFffetVAA\r\nHZ3X6x4F/eD2lcww/7cdgapFiTZLbAm8xD4h7CfWZbBYrdqh84N6W3JZC4OZ\r\nnvQEOLYiY2h6gTQ4RiQSZZgmyX/jpKvEWba7me5faNLwovrvVPaOCkFrohO9\r\npbWpyMrOWgH1NhEVSAkQ6od5krDc1DrrXV1FA1/gK/v23PmAAaBzFgPfCHKU\r\nhspNbWv58rHJ5MXF2KWSfXvVByNs1toEFGw=\r\n=z76b\r\n-----END PGP SIGNATURE-----\r\n"},"main":"CometChat.js","gitHead":"c95286d3723c5d6a054cd5c65d498f835e7d4f87","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"mayur-bhandari","email":"mayur.bhandari@inscripts.com"},"repository":{"url":"git+https://github.com/cometchat-pro/javascript-chat-sdk.git","type":"git"},"_npmVersion":"6.14.15","description":"A complete chat solution.","directories":{},"_nodeVersion":"14.18.3","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/chat_3.0.8_1655741551609_0.6478386336134541","host":"s3://npm-registry-packages"}},"3.0.9":{"name":"@cometchat-pro/chat","version":"3.0.9","keywords":["CometChat","chat","messaging","chat","sdk","pro","message","sdk","messaging","sdk","audio","chat","video","chat","webRTC"],"author":{"name":"CometChat"},"license":"SEE LICENSE IN LICENSE.md","_id":"@cometchat-pro/chat@3.0.9","maintainers":[{"name":"anantgarg","email":"anant.garg@cometchat.com"},{"name":"mayur-bhandari","email":"mayur.bhandari@inscripts.com"},{"name":"jitvarpatil","email":"jitvar.patil@inscripts.com"}],"homepage":"https://github.com/cometchat-pro/javascript-chat-sdk#readme","bugs":{"url":"https://github.com/cometchat-pro/javascript-chat-sdk/issues"},"dist":{"shasum":"ca8d3e7ecff748a6d78ce334984f497b62af1818","tarball":"https://registry.npmjs.org/@cometchat-pro/chat/-/chat-3.0.9.tgz","fileCount":5,"integrity":"sha512-381B2h27osRBXpaOoad9MD0SsQX4KG0QXsVIBqvrbbL+7YLquP+/JF/yNMp0AqVnGUy+rhtkTaKJd55SlU0HFQ==","signatures":[{"sig":"MEUCIFvJKFXMSr/Jpex9wWYzsOK99eMVTV7VEx57tQB08pGdAiEA8WwbGXf5SGQk37SC9wUchFbhf12kURIomwNkcJe0IyM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":497860,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJivJXNACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq0JA/+JR/EYTYCam3S0N/oupagVbOL/0fFSKR1+EIAYMeyWJX3v18H\r\nNhYo8s0trCLCKs2O/VvQFhCACMHO++a+KvXSpikX5dNxEIf+nK/rile7Zhew\r\np7zGKC0/Ba67SyscCgzOQrRzoubMSq9BvWjT3nPT/RsH79e9HVNSwAZxIoXf\r\nw710G9B6hHP3oHB9ZsHpnarbHg7iEjP3fp8B1p19wZEnUT+fGtcx2BswLmoD\r\nIxS91UYgcs9PnXZCyz4qIbPhYRekJhTZZvZiZGi40DVof5JmweSXk83fSuOQ\r\nihhWqCQUfmlpOyV6mALnOZ/5t6Vna5Dod9JD577ZR/7kAYXXgS1KPUAct9tL\r\n8iTHImOU8xtPOyULU0TJdyPdKr/pRi+XlZpcCVuyCFDqBK4Hkub2xicOEPai\r\n0xDHXgYLeSQE5L7ytyv/rPDPK6uJFWeWx0pU8kIMalpt+fyWMNNFbwifi2uf\r\nhtqTI92bafxqq2p/rymNURl8ALaThobvp+tNVjhngBBULsbZ7IsnM+gmWOsb\r\nYXa1Muz5g6cSK0A0fUaouwC8TKzuenmzbAzRr7KTeCZvX/5mOjPWsubyZnZH\r\nRUzRCFLN/MgLMgh76PrJht4mhzjhYkQaxJ1VjwUw04V0ESh1LCX2zQ1P1j1Y\r\nmpI/HOVKQRfPb/NLKgb0DIt43oZP64bQuXg=\r\n=vSP5\r\n-----END PGP SIGNATURE-----\r\n"},"main":"CometChat.js","gitHead":"46e3a647afc3733ace2f88cfa79f4f027b2e6e38","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"mayur-bhandari","email":"mayur.bhandari@inscripts.com"},"repository":{"url":"git+https://github.com/cometchat-pro/javascript-chat-sdk.git","type":"git"},"_npmVersion":"6.14.15","description":"A complete chat solution.","directories":{},"_nodeVersion":"14.18.3","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/chat_3.0.9_1656526284941_0.9844147153468168","host":"s3://npm-registry-packages"}},"3.0.10":{"name":"@cometchat-pro/chat","version":"3.0.10","keywords":["CometChat","chat","messaging","chat","sdk","pro","message","sdk","messaging","sdk","audio","chat","video","chat","webRTC"],"author":{"name":"CometChat"},"license":"SEE LICENSE IN LICENSE.md","_id":"@cometchat-pro/chat@3.0.10","maintainers":[{"name":"anantgarg","email":"anant.garg@cometchat.com"},{"name":"mayur-bhandari","email":"mayur.bhandari@inscripts.com"},{"name":"jitvarpatil","email":"jitvar.patil@inscripts.com"}],"homepage":"https://github.com/cometchat-pro/javascript-chat-sdk#readme","bugs":{"url":"https://github.com/cometchat-pro/javascript-chat-sdk/issues"},"dist":{"shasum":"409f85b03d4de29a1ed7623aaba493e135ecbf72","tarball":"https://registry.npmjs.org/@cometchat-pro/chat/-/chat-3.0.10.tgz","fileCount":5,"integrity":"sha512-krbu27SPRKQXMGoamy9tOJMkRAtlJqIpsoZIy5//F6p4tON6XUVDzk8X8UhFXAqTMqEXzCnUPFKS9kyQBH80pg==","signatures":[{"sig":"MEQCIGXV6mJ9uMIXYr+/5qz9JbEAyyJd20kWf3N4110p/1edAiBhC/vtX9unbLGmXxuhKqZHB6khzmtL5b8s3kPb08SLMQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":497773,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi1+bFACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpP2xAAkns1rCUIcCSM5p3egSuoTav3f+hXcPZWYT5/Sc0mOf7j2wbo\r\n/JGr1N9bgEzs8aCVMS04Y+rxdNgJ3XwWWYn7yUD/JevufVLm3vxPmQli5Jvp\r\nevDU8y1qVDYk2quLVkSLZOo0FiKRDM5T1h+aiNBq/GvN4ZGrQHJNSP0gLeEH\r\nw908tFoJwoZIGATE4cOdWHVJL7VwNymIEI+LG2MfJNkom6fCNQJcB615+BWX\r\ndKsWuEeKtyj5hTYE8kq7DZTUPLvTIlUbxgsZ++gIS8PG2edo8wKDTlhbpV0Z\r\n7Ey5epdQRtaFatjQ3w4xbHovpPy1MSTjsJ9cE0EJmSYVu3yEWjmVWp2ja5/f\r\nEcPbkQOVfI/vql+S0sUD8LGGwTQDuKcN9kN/acZAUitNHuKZbmNmvjC2/MsL\r\nbC8SOWLjZwuMUUVEbdNFAesVobWKbMSQWIQFsHbLEFuwf3K0JlgGy7AoyVAF\r\ngy7maFKEaSPg003v1wrCEiAek/0Fo9da285SGAID2PHlhZXqWqzt751nWfyR\r\noEIGBomLflVwIAPTF8PXBbPXncp/PfqvYSR1+6YCoUf3tOrzD3wcXacs+TZ+\r\n5PmACNj05VYQH4JKlIhXuIKR9KKnF05lSfaFOKG3PBN19DTPZqW6KC4RzEWH\r\nTqsStllH/N5M7WGnxnnfmDxG1j/Ddi47OZg=\r\n=uUjU\r\n-----END PGP SIGNATURE-----\r\n"},"main":"CometChat.js","gitHead":"00c3715d51748ecc073ac7eeefe5fa6f157d6d90","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"mayur-bhandari","email":"mayur.bhandari@inscripts.com"},"repository":{"url":"git+https://github.com/cometchat-pro/javascript-chat-sdk.git","type":"git"},"_npmVersion":"6.14.15","description":"A complete chat solution.","directories":{},"_nodeVersion":"14.18.3","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/chat_3.0.10_1658316485094_0.24120958945122273","host":"s3://npm-registry-packages"}},"3.0.11":{"name":"@cometchat-pro/chat","version":"3.0.11","keywords":["CometChat","chat","messaging","chat","sdk","pro","message","sdk","messaging","sdk","audio","chat","video","chat","webRTC"],"author":{"name":"CometChat"},"license":"SEE LICENSE IN LICENSE.md","_id":"@cometchat-pro/chat@3.0.11","maintainers":[{"name":"priyadarshini.cometchat","email":"priyadarshini.nadar@cometchat.com"},{"name":"rajdubey","email":"raj.dubey@cometchat.com"},{"name":"anantgarg","email":"anant.garg@cometchat.com"},{"name":"mayur-bhandari","email":"mayur.bhandari@inscripts.com"},{"name":"jitvarpatil","email":"jitvar.patil@inscripts.com"}],"homepage":"https://github.com/cometchat-pro/javascript-chat-sdk#readme","bugs":{"url":"https://github.com/cometchat-pro/javascript-chat-sdk/issues"},"dist":{"shasum":"2bdddd7a8274e0a5e797f6160f4be1dc622a28a5","tarball":"https://registry.npmjs.org/@cometchat-pro/chat/-/chat-3.0.11.tgz","fileCount":5,"integrity":"sha512-C2HITalAOlSHTKv+WkawcnFW5PLh6UR0NkEWOEorzLBoFvNVj/MwemtI+rKHuNIWAfTauqjXNnYbUUzrltmoxw==","signatures":[{"sig":"MEUCIQCatLBsAalKv5mSvJsBBjUObcKs+0UWNkY0N8yebTwacQIgMpLzXcV2AypIQRnQshhYBL5Z4s8Y9fSBDKlcFp00EwM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":503853,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj0B1tACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmpg8Q//SvJwAPRnMSKqlcE2l/4DfVErcZCjy6/Bc9vRw6PVeu+3NFA8\r\n2VU920YzhVYBZpv+khkjjoVHqLl1AmhfHNhzQU+xo/L0koh/Ivdjq6OUQ15v\r\n1rOYWeQAULpfsto/7JnTp657Ya4zkqq1JZm0/tjkUPeB1O48g7X5eWWFl0HZ\r\n8TWYE1sgkgqnygUN0HzqHr9rltQmv/ggU59/RfiB3WJgEcIbCxeV7Kprja8y\r\nbnNgm9NycyqhpbsIPdrGjoRITbilTmvUz1ad9dlSPptipbqUmkSspRjspUit\r\nCcypQvjpmXQZ0Wxz/l7ePdigvuucVV95owaYJrtaVTt9zxt/kMtNlcUhuuBV\r\ntM13hpZSetpGUcjq6Vi6J4U9ijME2B1HBnL4F6jZl2xeadoOLBmEBTS5NMFN\r\nfUgna1oVBN5WOZ3iP2zspPzlEm6MnIP2sfrRGgWWGYQcjM+IYL5LOKcItGS3\r\nw6Gw5MTXB1lFoIVtiUBeEDVZR7L8irzpsmAh0H3Cr75+hXu6yYAfvK4V3GJ1\r\nZ+JGejEdyvhJN6xBKX9K3aXGCromsLTXhvceUOumAaQTGlyFU7P0K3jIKhCX\r\nfTeuozePS4OEOLW1xSEj9dYZI7SlIkhMg13ULCZjJhHxNwNYJy41CZdCiPnC\r\nLQgCA14Bgp60u5N7RYiiMeuLyX37FdHicA8=\r\n=0sU1\r\n-----END PGP SIGNATURE-----\r\n"},"main":"CometChat.js","gitHead":"bf5be6aa3cbd25cc60c64e56a53d3fcdeb5b3024","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"mayur-bhandari","email":"mayur.bhandari@inscripts.com"},"repository":{"url":"git+https://github.com/cometchat-pro/javascript-chat-sdk.git","type":"git"},"_npmVersion":"6.14.15","description":"A complete chat solution.","directories":{},"_nodeVersion":"14.18.3","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/chat_3.0.11_1674583405428_0.9444610009672307","host":"s3://npm-registry-packages"}},"3.0.12":{"name":"@cometchat-pro/chat","version":"3.0.12","keywords":["CometChat","chat","messaging","chat","sdk","pro","message","sdk","messaging","sdk","audio","chat","video","chat","webRTC"],"author":{"name":"CometChat"},"license":"SEE LICENSE IN LICENSE.md","_id":"@cometchat-pro/chat@3.0.12","maintainers":[{"name":"honey-cometchat","email":"honey.yadav@cometchat.com"},{"name":"priyadarshini.cometchat","email":"priyadarshini.nadar@cometchat.com"},{"name":"rajdubey","email":"raj.dubey@cometchat.com"},{"name":"anantgarg","email":"anant.garg@cometchat.com"},{"name":"mayur-bhandari","email":"mayur.bhandari@inscripts.com"},{"name":"jitvarpatil","email":"jitvar.patil@inscripts.com"}],"homepage":"https://github.com/cometchat-pro/javascript-chat-sdk#readme","bugs":{"url":"https://github.com/cometchat-pro/javascript-chat-sdk/issues"},"dist":{"shasum":"d1e28ea487c05436adae23545947aa2f0b18ebdf","tarball":"https://registry.npmjs.org/@cometchat-pro/chat/-/chat-3.0.12.tgz","fileCount":5,"integrity":"sha512-WS8lwdV4OHDEFwez6QaDtWgU1g6YsouOdHsHJla7CaNBiH0CqOrqEHPRQ0vY9GzIMyM+I4W3uuXS88aP9JjdpQ==","signatures":[{"sig":"MEQCIBY//OJhamD5ZoVtDswYncxwtytrB+f9IhH7pKVvkBTSAiBmEpkYtKRtQ8XeWltuu4XqR0htkXzJxk1bkg5uLkXTgA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":503989},"main":"CometChat.js","gitHead":"21397f60f75d28b253d46b9dcfc164cba0c8e143","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"mayur-bhandari","email":"mayur.bhandari@inscripts.com"},"repository":{"url":"git+https://github.com/cometchat-pro/javascript-chat-sdk.git","type":"git"},"_npmVersion":"6.14.17","description":"A complete chat solution.","directories":{},"_nodeVersion":"14.20.1","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/chat_3.0.12_1684750270785_0.8659692964055516","host":"s3://npm-registry-packages"}},"3.0.13-beta1":{"name":"@cometchat-pro/chat","version":"3.0.13-beta1","keywords":["CometChat","chat","messaging","chat","sdk","pro","message","sdk","messaging","sdk","audio","chat","video","chat","webRTC"],"author":{"name":"CometChat"},"license":"SEE LICENSE IN LICENSE.md","_id":"@cometchat-pro/chat@3.0.13-beta1","maintainers":[{"name":"juhisaha","email":"juhi.saha@cometchat.com"},{"name":"mathews_cometchat","email":"mathews.mathai@cometchat.com"},{"name":"honey-cometchat","email":"honey.yadav@cometchat.com"},{"name":"priyadarshini.cometchat","email":"priyadarshini.nadar@cometchat.com"},{"name":"rajdubey","email":"raj.dubey@cometchat.com"},{"name":"anantgarg","email":"anant.garg@cometchat.com"},{"name":"mayur-bhandari","email":"mayur.bhandari@inscripts.com"},{"name":"jitvarpatil","email":"jitvar.patil@inscripts.com"}],"homepage":"https://github.com/cometchat-pro/javascript-chat-sdk#readme","bugs":{"url":"https://github.com/cometchat-pro/javascript-chat-sdk/issues"},"dist":{"shasum":"9ecada3bd382b5e181aa2b05184480277bdfa349","tarball":"https://registry.npmjs.org/@cometchat-pro/chat/-/chat-3.0.13-beta1.tgz","fileCount":5,"integrity":"sha512-54Shn8G70mJUh/ULyffGgM/qP7CTnia8IjixvG2k3q62rJWAoa0rsW0vyvT/Q9z9wxHu5IH85XeoDnxBPlPfmw==","signatures":[{"sig":"MEQCIEFRYqkrlg7oJuW8Z64/q6GsZy1NGZ6fs+eS35ke3cjlAiAMpD5ZqBe6KEJaq1R7gpTBXh4r4n2Q5FJ3mnMc1y0rfA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":552718},"main":"CometChat.js","types":"./CometChat.d.ts","gitHead":"66662b92ffe2de0dfc3769f39696b34ca58a3f88","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"jitvarpatil","email":"jitvar.patil@inscripts.com"},"repository":{"url":"git+https://github.com/cometchat-pro/javascript-chat-sdk.git","type":"git"},"_npmVersion":"9.6.7","description":"A complete chat solution.","directories":{},"_nodeVersion":"20.3.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/chat_3.0.13-beta1_1690199112792_0.3330547696034145","host":"s3://npm-registry-packages"}},"3.0.13-beta2":{"name":"@cometchat-pro/chat","version":"3.0.13-beta2","keywords":["CometChat","chat","messaging","chat","sdk","pro","message","sdk","messaging","sdk","audio","chat","video","chat","webRTC"],"author":{"name":"CometChat"},"license":"SEE LICENSE IN LICENSE.md","_id":"@cometchat-pro/chat@3.0.13-beta2","maintainers":[{"name":"juhisaha","email":"juhi.saha@cometchat.com"},{"name":"mathews_cometchat","email":"mathews.mathai@cometchat.com"},{"name":"honey-cometchat","email":"honey.yadav@cometchat.com"},{"name":"priyadarshini.cometchat","email":"priyadarshini.nadar@cometchat.com"},{"name":"rajdubey","email":"raj.dubey@cometchat.com"},{"name":"anantgarg","email":"anant.garg@cometchat.com"},{"name":"mayur-bhandari","email":"mayur.bhandari@inscripts.com"},{"name":"jitvarpatil","email":"jitvar.patil@inscripts.com"}],"homepage":"https://github.com/cometchat-pro/javascript-chat-sdk#readme","bugs":{"url":"https://github.com/cometchat-pro/javascript-chat-sdk/issues"},"dist":{"shasum":"e648a08f89e1abf0d336688880518397436aebff","tarball":"https://registry.npmjs.org/@cometchat-pro/chat/-/chat-3.0.13-beta2.tgz","fileCount":5,"integrity":"sha512-Lwg/PDM2oAmzZtVf1RUY4vUQhL3Llp6xyaXHgQNYkL70+qHjYw26g6NLZaRARrhPn6kKVgNs7Lrsn7WHMC6aVg==","signatures":[{"sig":"MEUCIQD07amQZZRLk50PLM+on4GGxYzUB+L4Wi7rluFcNQa0LgIgDKdfcGf+St7Pl4qXbMmueWeDVaFX4Ap2QVWeLW+UhKE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":504494},"main":"CometChat.js","types":"./CometChat.d.ts","gitHead":"f995e0e3dc98868eb6404f8cdd84632ae140e1ff","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"jitvarpatil","email":"jitvar.patil@inscripts.com"},"repository":{"url":"git+https://github.com/cometchat-pro/javascript-chat-sdk.git","type":"git"},"_npmVersion":"9.6.7","description":"A complete chat solution.","directories":{},"_nodeVersion":"20.3.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/chat_3.0.13-beta2_1690200054316_0.4141714778176684","host":"s3://npm-registry-packages"}},"3.0.13":{"name":"@cometchat-pro/chat","version":"3.0.13","keywords":["CometChat","chat","messaging","chat","sdk","pro","message","sdk","messaging","sdk","audio","chat","video","chat","webRTC"],"author":{"name":"CometChat"},"license":"SEE LICENSE IN LICENSE.md","_id":"@cometchat-pro/chat@3.0.13","maintainers":[{"name":"juhisaha","email":"juhi.saha@cometchat.com"},{"name":"mathews_cometchat","email":"mathews.mathai@cometchat.com"},{"name":"honey-cometchat","email":"honey.yadav@cometchat.com"},{"name":"priyadarshini.cometchat","email":"priyadarshini.nadar@cometchat.com"},{"name":"rajdubey","email":"raj.dubey@cometchat.com"},{"name":"anantgarg","email":"anant.garg@cometchat.com"},{"name":"mayur-bhandari","email":"mayur.bhandari@inscripts.com"},{"name":"jitvarpatil","email":"jitvar.patil@inscripts.com"}],"homepage":"https://github.com/cometchat-pro/javascript-chat-sdk#readme","bugs":{"url":"https://github.com/cometchat-pro/javascript-chat-sdk/issues"},"dist":{"shasum":"eb0f80661ec41d4e02323e5dae963515ec1fe741","tarball":"https://registry.npmjs.org/@cometchat-pro/chat/-/chat-3.0.13.tgz","fileCount":5,"integrity":"sha512-Cb3L9lUA+7Dra8gf0gHJJKYhBYnxwLfksTS1WbhL3SchNUvmZOGrDpji3zjkSv+I7E7Hth6gV83SphGXa0Fx1Q==","signatures":[{"sig":"MEUCIC7K0Y6jWDJL9TMH5DV5kAZTXyVJhWnZpr2M6Jr5MHOgAiEA7n4SVnzxbJOef9KCFPOz983Tar6aP/KQBbisj2xAWbM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":504488},"main":"CometChat.js","types":"./CometChat.d.ts","gitHead":"f995e0e3dc98868eb6404f8cdd84632ae140e1ff","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"jitvarpatil","email":"jitvar.patil@inscripts.com"},"repository":{"url":"git+https://github.com/cometchat-pro/javascript-chat-sdk.git","type":"git"},"_npmVersion":"9.6.7","description":"A complete chat solution.","directories":{},"_nodeVersion":"20.3.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/chat_3.0.13_1690200292883_0.8274466251730861","host":"s3://npm-registry-packages"}}},"time":{"created":"2019-01-14T17:50:14.099Z","modified":"2026-05-12T10:13:58.619Z","0.0.1":"2019-01-14T17:50:14.427Z","1.0.0":"2019-01-14T17:51:42.392Z","1.0.1":"2019-01-15T06:39:04.274Z","1.0.2":"2019-01-29T04:24:04.774Z","1.0.3":"2019-01-29T11:04:38.096Z","1.0.4":"2019-02-05T15:33:36.607Z","1.1.0-beta.0":"2019-02-14T13:14:23.809Z","1.1.0-beta.1":"2019-02-14T15:29:36.530Z","1.1.0-beta-2":"2019-02-14T18:37:25.228Z","1.1.0-beta.2":"2019-02-14T18:40:08.187Z","1.1.0-beta.3":"2019-02-15T11:30:24.254Z","1.1.0":"2019-02-16T12:51:33.763Z","1.2.0-beta.0":"2019-03-01T12:50:25.291Z","1.2.0-beta.1":"2019-03-05T08:50:51.346Z","1.2.0":"2019-03-05T13:43:03.419Z","1.2.1-beta.1":"2019-03-05T14:56:23.844Z","1.2.1-beta.0":"2019-03-05T15:18:30.386Z","1.2.1-beta.2":"2019-03-08T10:52:22.496Z","1.3.0-beta":"2019-03-14T10:42:50.840Z","1.3.0-beta.0":"2019-03-15T11:42:24.073Z","1.3.0-beta.1":"2019-03-15T12:58:35.669Z","1.3.0-beta.2":"2019-03-15T13:10:37.661Z","1.3.0":"2019-03-16T13:04:11.318Z","1.3.0-beta.3":"2019-04-02T06:01:03.798Z","1.3.0-beta.4":"2019-04-13T15:47:57.278Z","1.3.0-beta.5":"2019-04-13T15:49:59.681Z","1.3.0-beta.6":"2019-04-23T14:30:15.545Z","1.4.0-beta.0":"2019-04-29T14:41:28.871Z","1.4.0":"2019-04-30T15:25:11.897Z","1.4.1":"2019-05-06T10:56:08.549Z","1.4.2-beta.0":"2019-05-07T13:16:52.117Z","1.4.2":"2019-05-07T15:42:26.188Z","1.4.3-beta.0":"2019-05-10T13:00:32.844Z","1.4.3":"2019-05-14T17:37:41.158Z","1.5.0":"2019-05-20T18:17:49.708Z","1.5.1":"2019-05-20T18:34:30.868Z","1.6.0":"2019-06-05T15:11:21.612Z","1.7.0":"2019-06-11T15:54:13.768Z","1.8.0":"2019-06-24T18:59:08.620Z","1.7.1":"2019-06-25T17:16:49.556Z","1.8.1":"2019-06-26T15:00:57.924Z","1.8.2":"2019-06-27T07:19:01.105Z","1.8.3":"2019-06-27T12:07:17.888Z","1.8.4":"2019-07-01T11:32:43.112Z","1.8.5":"2019-07-11T15:06:54.373Z","1.8.6-beta":"2019-07-12T15:29:35.272Z","1.8.6":"2019-08-08T16:54:48.687Z","1.8.7":"2019-08-31T13:19:47.880Z","2.0.0-beta.0":"2019-09-04T10:31:36.388Z","2.0.0-beta.1":"2019-09-16T18:00:28.074Z","2.0.0-beta1":"2019-09-16T18:11:52.087Z","2.0.0-beta2":"2019-09-17T15:55:00.649Z","1.8.8":"2019-09-18T12:36:42.887Z","2.0.0-beta3":"2019-09-18T14:01:16.581Z","1.8.9":"2019-09-23T10:08:09.885Z","2.0.0-beta4":"2019-09-23T10:22:43.614Z","1.8.10":"2019-09-24T11:38:59.915Z","1.8.11":"2019-09-25T11:27:04.357Z","2.0.0-beta5":"2019-09-25T11:44:24.682Z","1.8.12":"2019-10-01T23:10:44.410Z","2.0.0-beta6":"2019-10-01T23:20:41.035Z","2.0.0-beta7":"2019-10-10T15:23:09.798Z","2.0.0-beta8":"2019-10-16T15:12:39.500Z","1.8.13":"2019-10-16T15:20:27.936Z","2.0.0-beta9":"2019-10-26T19:47:38.043Z","2.0.0-beta10":"2019-10-30T07:46:45.199Z","2.0.0":"2019-11-06T14:19:49.437Z","2.0.1":"2019-11-21T10:33:08.870Z","1.8.14":"2019-11-21T14:56:39.001Z","2.0.2":"2019-11-22T09:36:41.919Z","1.8.15":"2019-11-27T14:55:55.867Z","2.0.3":"2019-11-27T14:57:48.901Z","2.0.4":"2019-12-03T10:35:57.129Z","2.0.0-beta11":"2019-12-12T17:03:59.089Z","2.0.5-beta1":"2019-12-13T17:26:37.463Z","2.0.5-beta2":"2019-12-16T16:59:45.186Z","2.0.5-beta3":"2019-12-19T17:04:00.669Z","2.0.5-beta4":"2019-12-27T08:01:31.676Z","2.0.5-beta5":"2020-01-03T07:41:55.343Z","2.0.5":"2020-01-08T14:05:29.501Z","2.0.6":"2020-02-12T14:38:46.922Z","2.0.7-beta1":"2020-02-27T16:16:05.597Z","2.0.7-beta2":"2020-03-20T14:54:06.566Z","2.0.7":"2020-04-13T11:52:07.044Z","2.0.8-beta1":"2020-04-22T21:00:55.325Z","2.1.0-beta1":"2020-04-28T19:12:20.087Z","2.0.8-beta2":"2020-05-04T20:38:06.801Z","2.0.8":"2020-05-27T10:52:02.672Z","2.0.9-beta1":"2020-05-31T16:59:08.156Z","2.0.9":"2020-06-08T17:31:39.681Z","2.0.10":"2020-06-15T16:51:45.321Z","2.0.11-beta1":"2020-06-23T16:05:34.665Z","2.0.11-beta2":"2020-06-25T15:44:07.277Z","2.0.11":"2020-07-08T09:55:42.557Z","2.0.12":"2020-07-09T16:20:25.723Z","2.1.0":"2020-08-19T16:49:06.107Z","2.1.1-beta1":"2020-08-28T17:36:46.603Z","2.1.1":"2020-09-25T14:53:20.787Z","2.1.2":"2020-10-09T15:11:35.781Z","2.1.3":"2020-10-29T14:23:00.879Z","2.1.4":"2020-11-09T17:27:26.900Z","2.1.5-beta1":"2020-11-18T06:28:29.066Z","2.1.5":"2020-12-02T09:57:39.081Z","2.1.6":"2020-12-15T15:43:00.886Z","2.1.7-beta1":"2021-01-05T17:18:48.193Z","2.1.7":"2021-01-18T16:35:41.224Z","2.1.8-beta1":"2021-02-08T12:12:21.793Z","2.2.0":"2021-02-19T14:19:12.143Z","2.2.1":"2021-03-02T13:57:46.791Z","2.3.0":"2021-03-25T12:42:28.643Z","3.0.0-beta1":"2021-04-01T16:15:23.914Z","2.3.1":"2021-04-13T18:27:26.375Z","2.3.2":"2021-04-26T06:36:32.583Z","3.0.0-beta2":"2021-04-29T16:35:21.216Z","2.3.3":"2021-05-06T12:46:02.970Z","3.0.0-beta3":"2021-05-07T07:32:21.520Z","2.3.4-beta1":"2021-05-11T17:01:51.145Z","2.3.4-beta2":"2021-05-17T08:27:20.941Z","2.3.4":"2021-05-20T12:21:11.703Z","3.0.0-beta4":"2021-05-24T10:00:37.125Z","2.3.5":"2021-05-27T09:41:55.469Z","3.0.0-beta5":"2021-05-28T13:01:50.000Z","2.3.6":"2021-06-07T16:11:21.200Z","3.0.0-beta6":"2021-06-08T13:30:04.498Z","2.4.0":"2021-07-02T08:39:44.779Z","3.0.0-beta7":"2021-07-27T14:33:53.530Z","3.0.0":"2021-08-10T16:10:07.123Z","3.0.1":"2021-09-07T11:04:22.080Z","2.4.1-beta1":"2021-10-11T13:27:12.009Z","3.0.2-beta1":"2021-10-12T07:51:44.338Z","3.0.2":"2021-10-28T15:03:02.264Z","2.4.1":"2021-10-29T17:09:11.492Z","3.0.3":"2021-10-29T18:11:56.673Z","3.0.4":"2021-12-15T06:30:03.439Z","3.0.5":"2021-12-30T14:52:00.070Z","3.0.6":"2022-01-14T12:42:23.313Z","3.0.7":"2022-06-08T05:56:16.524Z","3.0.8":"2022-06-20T16:12:31.783Z","3.0.9":"2022-06-29T18:11:25.153Z","3.0.10":"2022-07-20T11:28:05.390Z","3.0.11":"2023-01-24T18:03:25.630Z","3.0.12":"2023-05-22T10:11:10.991Z","3.0.13-beta1":"2023-07-24T11:45:13.016Z","3.0.13-beta2":"2023-07-24T12:00:54.466Z","3.0.13":"2023-07-24T12:04:53.066Z"},"bugs":{"url":"https://github.com/cometchat-pro/javascript-chat-sdk/issues"},"author":{"name":"CometChat"},"license":"SEE LICENSE IN LICENSE.md","homepage":"https://github.com/cometchat-pro/javascript-chat-sdk#readme","keywords":["CometChat","chat","messaging","chat","sdk","pro","message","sdk","messaging","sdk","audio","chat","video","chat","webRTC"],"repository":{"url":"git+https://github.com/cometchat-pro/javascript-chat-sdk.git","type":"git"},"description":"A complete chat solution.","maintainers":[{"email":"anant.garg@inscripts.com","name":"anantgarg"},{"email":"ketan.yekale@cometchat.com","name":"cometchatketan"}],"readme":"<div style=\"width:100%\">\n<div style=\"width:100%\">\n\t<div style=\"width:50%; display:inline-block\">\n\t\t<p align=\"center\">\n\t\t<img style=\"text-align:center\" width=\"180\" height=\"180\" alt=\"\" src=\"https://avatars2.githubusercontent.com/u/45484907?s=200&v=4\">\t\n\t\t</p>\t\n\t</div>\t\n</div>\n</br>\n</br>\n</div>\n\n# CometChat Javascript SDK\n\nCometChat Pro enables you to add voice, video & text chat for your website & app.\nThis guide demonstrates how to add chat to a WebSite using CometChat Pro.\n\n## Features\n\n<ul>\n<li> 1-1 & Group Conversations </li>\n<li> Voice & video calling & conferencing </li>\n<li> Rich Media Attachments </li>\n<li> Typing Indicators </li>\n<li> Custom Messages </li>\n<li> Read receipts </li>\n<li> Online Presence Indicators </li>\n<li> Message History </li>\n<li> Single Sign-on </li>\n<li> Webhooks </li>\n<li> Bots </li>\n<li> Users & Friends List </li>\n<li> Groups List </li>\n<li> Conversations List </li>\n<li> Threaded Conversations </li>\n</ul>\n\n## Extensions\n\n[Push Notification](https://prodocs.cometchat.com/docs/extensions-enhanced-push-notification) | [Email Notification](https://prodocs.cometchat.com/docs/extensions-email-notification) | [SMS Notification](https://prodocs.cometchat.com/docs/extensions-sms-notification) | [Thumbnail Generation](https://prodocs.cometchat.com/docs/extensions-thumbnail-generation) | [Link Preview](https://prodocs.cometchat.com/docs/extensions-link-preview) | [Rich Media Preview](https://prodocs.cometchat.com/docs/extensions-rich-media-preview) | [Voice Transcription](https://prodocs.cometchat.com/docs/extensions-voice-transcription) | [Smart Reply](https://prodocs.cometchat.com/docs/extensions-smart-reply) | [Message Translation](https://prodocs.cometchat.com/docs/extensions-message-translation) | [Emojis](https://prodocs.cometchat.com/docs/extensions-emojis) | [Polls](https://prodocs.cometchat.com/docs/extensions-polls) | [Reactions](https://prodocs.cometchat.com/docs/extensions-reactions) | [Stickers](https://prodocs.cometchat.com/docs/extensions-stickers) | [Video Broadcasting](https://prodocs.cometchat.com/docs/extensions-broadcast) | [Collaborative Documents](https://prodocs.cometchat.com/docs/extensions-collaborative-document) | [Collaborative Whiteboards](https://prodocs.cometchat.com/docs/extensions-collaborative-whiteboard) | [Data Masking Filter](https://prodocs.cometchat.com/docs/extensions-data-masking-filter) | [Profanity Filter](https://prodocs.cometchat.com/docs/extensions-profanity-filter) | [Image Moderation](https://prodocs.cometchat.com/docs/extensions-image-moderation)| [Sentiment Analysis](https://prodocs.cometchat.com/docs/extensions-sentiment-analysis) | [In-flight Message Moderation](https://prodocs.cometchat.com/docs/extensions-in-flight-message-moderation) | [Virus & Malware Scanner](https://prodocs.cometchat.com/docs/extensions-virus-malware-scanner) | [XSS Filter](https://prodocs.cometchat.com/docs/extensions-xss-filter)\n\n[![Platform](https://img.shields.io/badge/Platform-Javascript-brightgreen)](#)\n<a href=\" \"> <img src=\"https://img.shields.io/badge/Version-3.0.11-important\" /></a>\n![GitHub repo size](https://img.shields.io/github/repo-size/cometchat-pro/javascript-chat-sdk)\n![GitHub contributors](https://img.shields.io/github/contributors/cometchat-pro/javascript-chat-sdk)\n![GitHub stars](https://img.shields.io/github/stars/cometchat-pro/javascript-chat-sdk?style=social)\n![Twitter Follow](https://img.shields.io/twitter/follow/cometchat?style=social)\n<hr/>\n\n\n## Prerequisites :star:\nBefore you begin, ensure you have met the following requirements:<br/>\n ✅ &nbsp; You have [`Visual Studio Code`](https://code.visualstudio.com/) or any other code editor installed in your machine.<br/>\n ✅ &nbsp; You have [`npm`](https://www.npmjs.com/get-npm) installed in your machine.<br/>\n ✅ &nbsp; You have read [CometChat Key Concepts](https://prodocs.cometchat.com/docs/concepts).<br/>\n\n<hr/>\n\n## Installing CometChat Javascript SDK\n## Setup :wrench:\n\nTo setup Javascript SDK, you  need to first register on CometChat Dashboard. [Click here to sign up](https://app.cometchat.com/login).\n\n### i. Get your Application Keys :key:\n\n<a href=\"https://app.cometchat.io\" target=\"_blank\">Signup for CometChat</a> and then:\n\n1. Create a new app: Click **Add App** option available  →  Enter App Name & other information  → Create App\n2. At the Top in **QuickStart** section you will find **Auth Key** & **App ID** or else you can head over to the **API & Auth Keys** section and note the **Auth Key** and **App ID**\n<img align=\"center\" src=\"https://files.readme.io/4b771c5-qs_copy.jpg\"/>\n\n<hr/>\n\n### ii. Add the CometChat Dependency\n<ul>\n<li>\n<b>Install via NPM</b><br/>\n1. Run the following command to install the CometChat Pro Javascript SDK<br/>\n\n```javascript\n\tnpm install @cometchat-pro/chat@3.0.11 --save\n```\n</li>\n\n<li>\n<b>Import via CDN</b><br/>\n1. Include the CometChat Pro Javascript library in your HTML code.<br/>\n\n```html\n  <script type=\"text/javascript\" src=\"https://unpkg.com/@cometchat-pro/chat@3.0.11/CometChat.js\"></script>\n```\n\n You can refer to the below link for instructions on how to do so:<br/>\n[📝 Add CometChat Dependency](https://prodocs.cometchat.com/docs/js-quick-start#add-the-cometchat-dependency)\n</li>\n</ul>\n<hr/>\n\n## Configure CometChat Javascript SDK\n\n### i. Initialize CometChat 🌟\nWe suggest you call the init() method on app startup, preferably in the index.js file.\n\n```javascript\nvar appID = \"APP_ID\";\nvar region = \"REGION\";\nvar appSetting = new CometChat.AppSettingsBuilder().subscribePresenceForAllUsers().setRegion(region).build();\nCometChat.init(appID, appSetting).then(\n  () => {\n    console.log(\"Initialization completed successfully\");\n  },\n  error => {\n    console.log(\"Initialization failed with error:\", error);\n  }\n);\n```\n\n| :information_source: &nbsp; <b> Note: Make sure to replace `region` and `appID` with your credentials.</b> |\n|------------------------------------------------------------------------------------------------------------|\n\n### ii. Create User 👤\nOnce initialisation is successful, you will need to create a user. You need to use createUser() method to create user on the fly.\n```javascript\nlet authKey = \"AUTH_KEY\";\nvar uid = \"user1\";\nvar name = \"Kevin\";\n\nvar user = new CometChat.User(uid);\n\nuser.setName(name);\n\nCometChat.createUser(user, authKey).then(\n  user => {\n    console.log(\"user created\", user);\n  },error => {\n    console.log(\"error\", error);\n  }\n);\n```\n>:information_source: <b>Note: Make sure that UID and name are specified as these are mandatory fields to create a user.</b>\n<hr/>\n\n### iii. Login User 👤\nOnce you have created the user successfully, you will need to log the user into CometChat using the login() method.\n```javascript\nvar UID = \"SUPERHERO1\";\nvar authKey = \"AUTH_KEY\";\n\nCometChat.getLoggedinUser().then(\n  user => {\n    if(!user){\n      CometChat.login(UID, authKey).then(\n        user => {\n          console.log(\"Login Successful:\", { user });    \n        },\n        error => {\n          console.log(\"Login failed with exception:\", { error });    \n        }\n      );\n    }else{\n      // User already logged in\n    }\n  }, error => {\n    console.log(\"getLoggedinUser failed with exception:\", { error });\n  }\n);\n```\n\n| :information_source: &nbsp; <b>Note - The login() method needs to be called only once. Also replace AUTH_KEY with your App Auth Key.</b> |\n|------------------------------------------------------------------------------------------------------------|\n\n<hr/>\n\n📝 Please refer to our [Developer Documentation](https://prodocs.cometchat.com/docs/js-quick-start) for more information on how to configure the CometChat Pro SDK and implement various features using the same.\n\n<hr/>\n\n## Learn more about UI-Kit\n[Angular UI Kit](https://github.com/cometchat-pro/javascript-angular-chat-ui-kit) | [React UI Kit](https://github.com/cometchat-pro/javascript-react-chat-ui-kit) | [Vue UI Kit](https://github.com/cometchat-pro/javascript-vue-chat-ui-kit)\n\n## Contributors :clap:\nThanks to the following people who have contributed to this project:\n[👨‍💻 @ajaygajra](https://github.com/ajaygajra)\n[👨‍💻 @mayur-bhandari](https://github.com/mayur-bhandari)\n<hr/>\n\n## Contact :mailbox:\nContact us via real time support present in [CometChat Dashboard.](https://app.cometchat.io/)\n<hr/>","readmeFilename":"README.md"}