From 07878c0e9684e3dddcef062493e187c5138dc2eb Mon Sep 17 00:00:00 2001 From: Aman Gupta Date: Mon, 11 Mar 2024 13:46:08 +0530 Subject: [PATCH] Alpha (#1161) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * add: ethers support (#952) * fix: fix viem support, add ethers support * fix: remove @pushprotocol/socket dependency from restapi * fix: changed ethers fn * fix: fix ether changes * fix: fix subscribev2 * chore: readme changes * fix: fix ethers provider issue * fix: fix channel.update * feat(video-v2): add video v2 class and stream (#930) * feat(video-v2): add highlevel video class * feat(video): add video stream * fix(sendnotification): modify rules.access.data to be an object & code cleanup * fix(video): remove signer from input, throw err if signer, decrypted pgp key not found * feat(video): add sendNotification calls in connect, disconnect methods * fix(videonotificationrules): typo in VideoNotificationRules interface * feat(video stream): handle connect, retry internally from the SDK * feat(video connect): remove the connect method from the videov2 SDK * fix(videov2): create push signer instance to get chain id in initialize() * fix(video stream): add backwards compatibilty to rules object for older SDK versions * fix(video stream): fix bug in rules object creation * feat(video): update param names for video.initialize() * feat(video): add internal event handlers for stream in video SDK --------- Co-authored-by: Mohammed S * Chat Preview List workable PoC (#987) * fix: revert space changes * fix: merge main * fix: signer compatibility with viem and ethers (#567) * fix: signer compatibility with viem and ethers * fix: revert space changes * ci(restapi): šŸŽ‰ cut beta release to restapi-v0.0.1-alpha.26 * Update README.md * Update README.md * ci(restapi): šŸŽ‰ cut release to restapi-v1.4.3 * ci(restapi): šŸŽ‰ cut beta release to restapi-v0.0.1-alpha.27 * ci(restapi): šŸŽ‰ cut release to restapi-v1.4.4 * ci(uiweb): šŸŽ‰ cut release to uiweb-v1.1.5 * ci(uiweb): šŸŽ‰ cut release to uiweb-v1.1.6 * ci(uiweb): šŸŽ‰ cut release to uiweb-v1.1.7 * fix: add: scw sig verification (#593) * ci(restapi): šŸŽ‰ cut beta release to restapi-v0.0.1-alpha.28 * fix: url correction * ci(restapi): šŸŽ‰ cut beta release to restapi-v0.0.1-alpha.29 * ci(socket): šŸŽ‰ cut release to socket-v0.5.2 * fix: fixed subscribe and unsubscribe * ci(restapi): šŸŽ‰ cut release to restapi-v1.4.5 * ci(uiweb): šŸŽ‰ cut release to uiweb-v1.1.8 * Feat/chat components (#621) * feat: created architechture * fix: added context values (#594) * Chat dataprovider (#596) * feat: data provider for chat component * fix: replaced react.usestate to usestate * fix: added props as the initial state and changed state name * fix: reverted chat context changes and renamed values * fix: added test page for chat ui components (#597) * added chatbubble component (#602) * feat: added chatbubble component * fix: made the messageBubble's width to fit-content --------- Co-authored-by: Monalisha Mishra <42746736+mishramonalisha76@users.noreply.github.com> * fix: added theme * Group chat bubble (#604) * feat: moved test component to testui folder & replaced dummy data with sdk response * feat: added twitter card and address for group chat received msg * feat: made the messageaddress reusable, added account from context * fix: removed unnecessary div and unused props and console logs * feat: adding pfp in text bubbles * fix: replaced hook with function and added pfp to messagebubble * fix: fixed image alignment * fix: changed border-radius of msg bubble and changed function name * fix: fixed theme and decryptedPrivateKey name (#616) * fix: fixed theme and decryptedPrivateKey name * fix: fixed bug * fix: fixed theme reviews * Message list (#615) * fix: message list comp * fix: message list comp * fix: added pagination * fix: added pagination * fix: pagination * fix: create useChatData hook * fix: fixed minor bug * fix: socket issues fixed * fix: added theme in msgbubble (#620) * fix: added theme in msgbubble * fix: fixed import --------- Co-authored-by: Monalisha Mishra --------- Co-authored-by: Satyam <100528412+KlausMikhaelson@users.noreply.github.com> Co-authored-by: KlausMikhaelson * fix: add alpha support to UI web * ci(uiweb): šŸŽ‰ cut beta release to uiweb-v0.0.1-alpha.0 * ci(restapi): šŸŽ‰ cut release to restapi-v1.4.6 * ci(uiweb): šŸŽ‰ cut release to uiweb-v1.1.9 * Feat/chat components (#625) * feat: created architechture * fix: added context values (#594) * Chat dataprovider (#596) * feat: data provider for chat component * fix: replaced react.usestate to usestate * fix: added props as the initial state and changed state name * fix: reverted chat context changes and renamed values * fix: added test page for chat ui components (#597) * added chatbubble component (#602) * feat: added chatbubble component * fix: made the messageBubble's width to fit-content --------- Co-authored-by: Monalisha Mishra <42746736+mishramonalisha76@users.noreply.github.com> * fix: added theme * Group chat bubble (#604) * feat: moved test component to testui folder & replaced dummy data with sdk response * feat: added twitter card and address for group chat received msg * feat: made the messageaddress reusable, added account from context * fix: removed unnecessary div and unused props and console logs * feat: adding pfp in text bubbles * fix: replaced hook with function and added pfp to messagebubble * fix: fixed image alignment * fix: changed border-radius of msg bubble and changed function name * fix: fixed theme and decryptedPrivateKey name (#616) * fix: fixed theme and decryptedPrivateKey name * fix: fixed bug * fix: fixed theme reviews * Message list (#615) * fix: message list comp * fix: message list comp * fix: added pagination * fix: added pagination * fix: pagination * fix: create useChatData hook * fix: fixed minor bug * fix: socket issues fixed * fix: added theme in msgbubble (#620) * fix: added theme in msgbubble * fix: fixed import --------- Co-authored-by: Monalisha Mishra * fix: exported the theme (#623) * fix: exported the theme * fix: fixed issues --------- Co-authored-by: Monalisha Mishra --------- Co-authored-by: Satyam <100528412+KlausMikhaelson@users.noreply.github.com> Co-authored-by: KlausMikhaelson * ci(uiweb): šŸŽ‰ cut beta release to uiweb-v0.0.1-alpha.1 * ci(restapi): šŸŽ‰ cut release to restapi-v1.4.7 * ci(restapi): šŸŽ‰ cut release to restapi-v1.4.8 * ci(uiweb): šŸŽ‰ cut release to uiweb-v1.1.10 * ci(restapi): šŸŽ‰ cut release to restapi-v1.4.9 * 632 group access control sdk changes (#640) * fix: group access control changes * fix: get group access SDK fix * fix: removed unnecessary param * Update README.md * Update README.md * Update README.md * ci(restapi): šŸŽ‰ cut beta release to restapi-v0.0.1-alpha.30 * Reduce profile creation signature to 2 (#639) * fix: reduced signatures * fix: fixed examples * ci(restapi): šŸŽ‰ cut beta release to restapi-v0.0.1-alpha.31 * fix: Read me fixes * fix: Space rules * Update README.md * Update README.md * ci(restapi): šŸŽ‰ cut beta release to restapi-v0.0.1-alpha.32 * ci(restapi): šŸŽ‰ cut release to restapi-v1.4.10 * Feat/chat components (#658) * feat: created architechture * fix: added context values (#594) * Chat dataprovider (#596) * feat: data provider for chat component * fix: replaced react.usestate to usestate * fix: added props as the initial state and changed state name * fix: reverted chat context changes and renamed values * fix: added test page for chat ui components (#597) * added chatbubble component (#602) * feat: added chatbubble component * fix: made the messageBubble's width to fit-content --------- Co-authored-by: Monalisha Mishra <42746736+mishramonalisha76@users.noreply.github.com> * fix: added theme * Group chat bubble (#604) * feat: moved test component to testui folder & replaced dummy data with sdk response * feat: added twitter card and address for group chat received msg * feat: made the messageaddress reusable, added account from context * fix: removed unnecessary div and unused props and console logs * feat: adding pfp in text bubbles * fix: replaced hook with function and added pfp to messagebubble * fix: fixed image alignment * fix: changed border-radius of msg bubble and changed function name * fix: fixed theme and decryptedPrivateKey name (#616) * fix: fixed theme and decryptedPrivateKey name * fix: fixed bug * fix: fixed theme reviews * Message list (#615) * fix: message list comp * fix: message list comp * fix: added pagination * fix: added pagination * fix: pagination * fix: create useChatData hook * fix: fixed minor bug * fix: socket issues fixed * fix: added theme in msgbubble (#620) * fix: added theme in msgbubble * fix: fixed import --------- Co-authored-by: Monalisha Mishra * fix: exported the theme (#623) * fix: exported the theme * fix: fixed issues --------- Co-authored-by: Monalisha Mishra * Typebar component (#631) * feat: added typebar UI * feat: added functions to typebar * fix: added icon * fix: fixed theme issues --------- Co-authored-by: Monalisha Mishra * feat: added connectbutton * fix: fixed connectbtn ui and remove disconnect and fixed error on disconnect * fix: fixed create account getting called twice * Profile Header Component (#636) * feat: profile header * feat: update profile header * fix: update hooks * fix: video icon ui * feat: add group modal * fix: add modal info * fix: edit components * fix: commit modal theme * fix: updating UI * fix: ensname * fix: add notifs * fix: remove alerts * fix: remove alert logs * fix: push fixes * fix: conflicts * Message container (#635) * fix: added theme in msgbubble * fix: fixed import * fix: fixed message-list * fix: added approve intent * fix: added fixes * fix: fixed socket bug * fix: fixed message from socket * fix: fixed minor issues * fix: fixed typebar theming * fix: fixed env issue * fix: fixed message not updating issue * refactor: added isConnected prop in msgContainer * refactor: resolve merge conflicts * fix: fixed request sending * fix: fixed decryption * fix: fixed env issue * feat: added profile header in message container --------- Co-authored-by: KlausMikhaelson Co-authored-by: Nilesh Gupta * fix: updated svg to react component * fix: changed svg to tsx component * fix: fixed review changes (#646) * fix: fixed review changes * fix: resolved issues --------- Co-authored-by: Nilesh Gupta * Profile Header -> Chat Profile fixes (#647) * feat: profile header * feat: update profile header * fix: update hooks * fix: video icon ui * feat: add group modal * fix: add modal info * fix: edit components * fix: commit modal theme * fix: updating UI * fix: ensname * fix: add notifs * fix: remove alerts * fix: remove alert logs * fix: push fixes * fix: conflicts * fix: notifs * fix: correct theme colors * fix: renaming profileHeader * fix: qa fixes * fix: loader * refactor: resolved issues * fix: edit types --------- Co-authored-by: Nilesh Gupta * fix: resolved package not added issue * Fix: modal issue in group info && alert remove members (#653) * fix: modal * fix: update changes * refactor: resolved issue --------- Co-authored-by: Nilesh Gupta * fix: QA fixes (#654) --------- Co-authored-by: Monalisha Mishra Co-authored-by: Monalisha Mishra <42746736+mishramonalisha76@users.noreply.github.com> Co-authored-by: Satyam <100528412+KlausMikhaelson@users.noreply.github.com> Co-authored-by: KlausMikhaelson Co-authored-by: Kolade * ci(restapi): šŸŽ‰ cut release to restapi-v1.4.11 * ci(restapi): šŸŽ‰ cut release to restapi-v1.4.12 * ci(uiweb): šŸŽ‰ cut release to uiweb-v1.1.11 * ci(restapi): šŸŽ‰ cut release to restapi-v1.4.13 * fix: update read me file * ci(restapi): šŸŽ‰ cut release to restapi-v1.4.14 * ci(restapi): šŸŽ‰ cut release to restapi-v1.4.15 * ci(uiweb): šŸŽ‰ cut release to uiweb-v1.1.12 * Feat/chat components (#679) * feat: created architechture * fix: added context values (#594) * Chat dataprovider (#596) * feat: data provider for chat component * fix: replaced react.usestate to usestate * fix: added props as the initial state and changed state name * fix: reverted chat context changes and renamed values * fix: added test page for chat ui components (#597) * added chatbubble component (#602) * feat: added chatbubble component * fix: made the messageBubble's width to fit-content --------- Co-authored-by: Monalisha Mishra <42746736+mishramonalisha76@users.noreply.github.com> * fix: added theme * Group chat bubble (#604) * feat: moved test component to testui folder & replaced dummy data with sdk response * feat: added twitter card and address for group chat received msg * feat: made the messageaddress reusable, added account from context * fix: removed unnecessary div and unused props and console logs * feat: adding pfp in text bubbles * fix: replaced hook with function and added pfp to messagebubble * fix: fixed image alignment * fix: changed border-radius of msg bubble and changed function name * fix: fixed theme and decryptedPrivateKey name (#616) * fix: fixed theme and decryptedPrivateKey name * fix: fixed bug * fix: fixed theme reviews * Message list (#615) * fix: message list comp * fix: message list comp * fix: added pagination * fix: added pagination * fix: pagination * fix: create useChatData hook * fix: fixed minor bug * fix: socket issues fixed * fix: added theme in msgbubble (#620) * fix: added theme in msgbubble * fix: fixed import --------- Co-authored-by: Monalisha Mishra * fix: exported the theme (#623) * fix: exported the theme * fix: fixed issues --------- Co-authored-by: Monalisha Mishra * Typebar component (#631) * feat: added typebar UI * feat: added functions to typebar * fix: added icon * fix: fixed theme issues --------- Co-authored-by: Monalisha Mishra * feat: added connectbutton * fix: fixed connectbtn ui and remove disconnect and fixed error on disconnect * fix: fixed create account getting called twice * Profile Header Component (#636) * feat: profile header * feat: update profile header * fix: update hooks * fix: video icon ui * feat: add group modal * fix: add modal info * fix: edit components * fix: commit modal theme * fix: updating UI * fix: ensname * fix: add notifs * fix: remove alerts * fix: remove alert logs * fix: push fixes * fix: conflicts * Message container (#635) * fix: added theme in msgbubble * fix: fixed import * fix: fixed message-list * fix: added approve intent * fix: added fixes * fix: fixed socket bug * fix: fixed message from socket * fix: fixed minor issues * fix: fixed typebar theming * fix: fixed env issue * fix: fixed message not updating issue * refactor: added isConnected prop in msgContainer * refactor: resolve merge conflicts * fix: fixed request sending * fix: fixed decryption * fix: fixed env issue * feat: added profile header in message container --------- Co-authored-by: KlausMikhaelson Co-authored-by: Nilesh Gupta * fix: updated svg to react component * fix: changed svg to tsx component * fix: fixed review changes (#646) * fix: fixed review changes * fix: resolved issues --------- Co-authored-by: Nilesh Gupta * Profile Header -> Chat Profile fixes (#647) * feat: profile header * feat: update profile header * fix: update hooks * fix: video icon ui * feat: add group modal * fix: add modal info * fix: edit components * fix: commit modal theme * fix: updating UI * fix: ensname * fix: add notifs * fix: remove alerts * fix: remove alert logs * fix: push fixes * fix: conflicts * fix: notifs * fix: correct theme colors * fix: renaming profileHeader * fix: qa fixes * fix: loader * refactor: resolved issues * fix: edit types --------- Co-authored-by: Nilesh Gupta * fix: resolved package not added issue * Fix: modal issue in group info && alert remove members (#653) * fix: modal * fix: update changes * refactor: resolved issue --------- Co-authored-by: Nilesh Gupta * fix: QA fixes (#654) * Connect btn revamp (#668) * fix: added theme in msgbubble * fix: fixed import * fix: fixed message-list * fix: added approve intent * fix: added fixes * fix: fixed socket bug * fix: fixed message from socket * fix: fixed minor issues * fix: fixed typebar theming * fix: fixed env issue * fix: fixed message not updating issue * refactor: added isConnected prop in msgContainer * refactor: resolve merge conflicts * fix: fixed request sending * fix: fixed decryption * fix: fixed env issue * feat: added profile header in message container * feat: adding rainbowkit for btn * fix: fix issues * fix: addec onnect functionality * fix: connect button * fix: added hack for rainbowkit css --------- Co-authored-by: KlausMikhaelson Co-authored-by: Nilesh Gupta * Typebar UI issue (#666) * fix: fixed typebar space not working and theme * fix: fixed gif and emoji --------- Co-authored-by: KlausMikhaelson * fix: fixed theme colours * fix: added theme for brb * fix: added filter hat * fix: merged with main * fix: fixed msg border * fix: fixed theme * fix: fixed fonts * fix: fixed bug * Access control (#672) * fix: fixed typebar space not working and theme * feat: created access control UI * feat: created verify access control hook * fix: fixed access control hook issue * feat: added access control verification * feat: added onclick props for integration team to pass function and fixed btn ui * fix: added link for learn more * fix: fixed msg not updating in socket issue * fix: added minor fix --------- Co-authored-by: Monalisha Mishra * fix: fixed padding issues * fix(f): fixed build issues * fix: fix for chat status test * Check rules access control (#678) * fix: fixed typebar space not working and theme * feat: created access control UI * feat: created verify access control hook * fix: fixed access control hook issue * feat: added access control verification * feat: added onclick props for integration team to pass function and fixed btn ui * fix: added link for learn more * fix: fixed msg not updating in socket issue * 662 group access control v2 changes (#663) * fix: spaces access API * fix: custom endpoint doc impl * Update README.md * Update README.md * fix: review comments change * fix: read me update * Update README.md * Update README.md * fix: origin in user creation (#665) * fix: origin in user creation * Update README.md * fix: review comments * 662 group access control v2 changes (#677) * fix: spaces access API * fix: custom endpoint doc impl * Update README.md * Update README.md * fix: review comments change * fix: read me update * Update README.md * Update README.md * fix(spaces): broadcast changes and UX fixes (#674) * fix: fix UI grid view (#642) * fix: fix UI grid view * refactor: conditional added * fix: resolved muting/unmuting try catch error (#657) * fix(spaces): fix livepeer broadcast (#656) * fix(spaces): fix livepeer broadcast * fix(spaces): fix data shown for unjoined space & promote listener logic --------- Co-authored-by: Madhur Gupta * refactor(spaces): use local state instead of get from server while meta message fire (#676) --------- Co-authored-by: Arnab Chatterjee <60937304+arn4b@users.noreply.github.com> Co-authored-by: Nilesh Gupta * feat: added verification option to show only on token gated groups * fix: fixing group access control --------- Co-authored-by: Monalisha Mishra Co-authored-by: Mohammed S Co-authored-by: Madhur Gupta Co-authored-by: Arnab Chatterjee <60937304+arn4b@users.noreply.github.com> Co-authored-by: Nilesh Gupta * fix: fixed build --------- Co-authored-by: Satyam <100528412+KlausMikhaelson@users.noreply.github.com> Co-authored-by: KlausMikhaelson Co-authored-by: Kolade Co-authored-by: Nilesh Gupta Co-authored-by: Mohammed S Co-authored-by: Madhur Gupta Co-authored-by: Arnab Chatterjee <60937304+arn4b@users.noreply.github.com> * ci(uiweb): šŸŽ‰ cut beta release to uiweb-v0.0.1-alpha.2 * fix: dummy change * ci(uiweb): šŸŽ‰ cut release to uiweb-v1.1.13 * ci(restapi): šŸŽ‰ cut release to restapi-v1.4.16 * Join group option (#681) * feat: created architechture * fix: added context values (#594) * Chat dataprovider (#596) * feat: data provider for chat component * fix: replaced react.usestate to usestate * fix: added props as the initial state and changed state name * fix: reverted chat context changes and renamed values * fix: added test page for chat ui components (#597) * added chatbubble component (#602) * feat: added chatbubble component * fix: made the messageBubble's width to fit-content --------- Co-authored-by: Monalisha Mishra <42746736+mishramonalisha76@users.noreply.github.com> * fix: added theme * Group chat bubble (#604) * feat: moved test component to testui folder & replaced dummy data with sdk response * feat: added twitter card and address for group chat received msg * feat: made the messageaddress reusable, added account from context * fix: removed unnecessary div and unused props and console logs * feat: adding pfp in text bubbles * fix: replaced hook with function and added pfp to messagebubble * fix: fixed image alignment * fix: changed border-radius of msg bubble and changed function name * fix: fixed theme and decryptedPrivateKey name (#616) * fix: fixed theme and decryptedPrivateKey name * fix: fixed bug * fix: fixed theme reviews * Message list (#615) * fix: message list comp * fix: message list comp * fix: added pagination * fix: added pagination * fix: pagination * fix: create useChatData hook * fix: fixed minor bug * fix: socket issues fixed * fix: added theme in msgbubble (#620) * fix: added theme in msgbubble * fix: fixed import --------- Co-authored-by: Monalisha Mishra * fix: exported the theme (#623) * fix: exported the theme * fix: fixed issues --------- Co-authored-by: Monalisha Mishra * Typebar component (#631) * feat: added typebar UI * feat: added functions to typebar * fix: added icon * fix: fixed theme issues --------- Co-authored-by: Monalisha Mishra * feat: added connectbutton * fix: fixed connectbtn ui and remove disconnect and fixed error on disconnect * fix: fixed create account getting called twice * Profile Header Component (#636) * feat: profile header * feat: update profile header * fix: update hooks * fix: video icon ui * feat: add group modal * fix: add modal info * fix: edit components * fix: commit modal theme * fix: updating UI * fix: ensname * fix: add notifs * fix: remove alerts * fix: remove alert logs * fix: push fixes * fix: conflicts * Message container (#635) * fix: added theme in msgbubble * fix: fixed import * fix: fixed message-list * fix: added approve intent * fix: added fixes * fix: fixed socket bug * fix: fixed message from socket * fix: fixed minor issues * fix: fixed typebar theming * fix: fixed env issue * fix: fixed message not updating issue * refactor: added isConnected prop in msgContainer * refactor: resolve merge conflicts * fix: fixed request sending * fix: fixed decryption * fix: fixed env issue * feat: added profile header in message container --------- Co-authored-by: KlausMikhaelson Co-authored-by: Nilesh Gupta * fix: updated svg to react component * fix: changed svg to tsx component * fix: fixed review changes (#646) * fix: fixed review changes * fix: resolved issues --------- Co-authored-by: Nilesh Gupta * Profile Header -> Chat Profile fixes (#647) * feat: profile header * feat: update profile header * fix: update hooks * fix: video icon ui * feat: add group modal * fix: add modal info * fix: edit components * fix: commit modal theme * fix: updating UI * fix: ensname * fix: add notifs * fix: remove alerts * fix: remove alert logs * fix: push fixes * fix: conflicts * fix: notifs * fix: correct theme colors * fix: renaming profileHeader * fix: qa fixes * fix: loader * refactor: resolved issues * fix: edit types --------- Co-authored-by: Nilesh Gupta * fix: resolved package not added issue * Fix: modal issue in group info && alert remove members (#653) * fix: modal * fix: update changes * refactor: resolved issue --------- Co-authored-by: Nilesh Gupta * fix: QA fixes (#654) * fix: fixed typebar space not working and theme * feat: created access control UI * feat: created verify access control hook * Connect btn revamp (#668) * fix: added theme in msgbubble * fix: fixed import * fix: fixed message-list * fix: added approve intent * fix: added fixes * fix: fixed socket bug * fix: fixed message from socket * fix: fixed minor issues * fix: fixed typebar theming * fix: fixed env issue * fix: fixed message not updating issue * refactor: added isConnected prop in msgContainer * refactor: resolve merge conflicts * fix: fixed request sending * fix: fixed decryption * fix: fixed env issue * feat: added profile header in message container * feat: adding rainbowkit for btn * fix: fix issues * fix: addec onnect functionality * fix: connect button * fix: added hack for rainbowkit css --------- Co-authored-by: KlausMikhaelson Co-authored-by: Nilesh Gupta * Typebar UI issue (#666) * fix: fixed typebar space not working and theme * fix: fixed gif and emoji --------- Co-authored-by: KlausMikhaelson * fix: fixed theme colours * fix: added theme for brb * fix: fixed access control hook issue * feat: added access control verification * feat: added onclick props for integration team to pass function and fixed btn ui * fix: added link for learn more * fix: fixed msg not updating in socket issue * fix: added filter hat * fix: merged with main * fix: fixed msg border * fix: fixed theme * fix: fixed fonts * fix: fixed bug * Access control (#672) * fix: fixed typebar space not working and theme * feat: created access control UI * feat: created verify access control hook * fix: fixed access control hook issue * feat: added access control verification * feat: added onclick props for integration team to pass function and fixed btn ui * fix: added link for learn more * fix: fixed msg not updating in socket issue * fix: added minor fix --------- Co-authored-by: Monalisha Mishra * fix: fixed padding issues * fix(f): fixed build issues * fix: fix for chat status test * feat: added verification option to show only on token gated groups * fix: fixing group access control * Check rules access control (#678) * fix: fixed typebar space not working and theme * feat: created access control UI * feat: created verify access control hook * fix: fixed access control hook issue * feat: added access control verification * feat: added onclick props for integration team to pass function and fixed btn ui * fix: added link for learn more * fix: fixed msg not updating in socket issue * 662 group access control v2 changes (#663) * fix: spaces access API * fix: custom endpoint doc impl * Update README.md * Update README.md * fix: review comments change * fix: read me update * Update README.md * Update README.md * fix: origin in user creation (#665) * fix: origin in user creation * Update README.md * fix: review comments * 662 group access control v2 changes (#677) * fix: spaces access API * fix: custom endpoint doc impl * Update README.md * Update README.md * fix: review comments change * fix: read me update * Update README.md * Update README.md * fix(spaces): broadcast changes and UX fixes (#674) * fix: fix UI grid view (#642) * fix: fix UI grid view * refactor: conditional added * fix: resolved muting/unmuting try catch error (#657) * fix(spaces): fix livepeer broadcast (#656) * fix(spaces): fix livepeer broadcast * fix(spaces): fix data shown for unjoined space & promote listener logic --------- Co-authored-by: Madhur Gupta * refactor(spaces): use local state instead of get from server while meta message fire (#676) --------- Co-authored-by: Arnab Chatterjee <60937304+arn4b@users.noreply.github.com> Co-authored-by: Nilesh Gupta * feat: added verification option to show only on token gated groups * fix: fixing group access control --------- Co-authored-by: Monalisha Mishra Co-authored-by: Mohammed S Co-authored-by: Madhur Gupta Co-authored-by: Arnab Chatterjee <60937304+arn4b@users.noreply.github.com> Co-authored-by: Nilesh Gupta * fix: fixed build * feat: added send request to join group * fix: fixed verification on send * fix: fixed verify access btn not showing after joining group * fix: fixed join group showing for members too * fix: fixed join group showing to members * 667 chat.send enhancement (#673) * fix: changes messageObj for meta and reaction message type * fix: enhance send fn * fix: fixed intent issues * 680 group rules cosmetic changes (#682) * fix: fixed guild condition * fix: add did validation * fix: fixed * fix: fixed minor issues * fix: fixe dissue * fix: fixed minor issues * fix: check for scroll * fix: fixed scrolling * fix: fixed theme * fix: fixed * fix: fixed * fix: fixed * fix: fixed issues * fix: fixed * feat: added toast in join group btn for pvt groups * fix: fixed blurr --------- Co-authored-by: Monalisha Mishra Co-authored-by: Monalisha Mishra <42746736+mishramonalisha76@users.noreply.github.com> Co-authored-by: Kolade Co-authored-by: Nilesh Gupta Co-authored-by: Mohammed S Co-authored-by: Madhur Gupta Co-authored-by: Arnab Chatterjee <60937304+arn4b@users.noreply.github.com> Co-authored-by: Aman Gupta * ci(uiweb): šŸŽ‰ cut beta release to uiweb-v0.0.1-alpha.3 * Join group option (#687) * feat: created architechture * fix: added context values (#594) * Chat dataprovider (#596) * feat: data provider for chat component * fix: replaced react.usestate to usestate * fix: added props as the initial state and changed state name * fix: reverted chat context changes and renamed values * fix: added test page for chat ui components (#597) * added chatbubble component (#602) * feat: added chatbubble component * fix: made the messageBubble's width to fit-content --------- Co-authored-by: Monalisha Mishra <42746736+mishramonalisha76@users.noreply.github.com> * fix: added theme * Group chat bubble (#604) * feat: moved test component to testui folder & replaced dummy data with sdk response * feat: added twitter card and address for group chat received msg * feat: made the messageaddress reusable, added account from context * fix: removed unnecessary div and unused props and console logs * feat: adding pfp in text bubbles * fix: replaced hook with function and added pfp to messagebubble * fix: fixed image alignment * fix: changed border-radius of msg bubble and changed function name * fix: fixed theme and decryptedPrivateKey name (#616) * fix: fixed theme and decryptedPrivateKey name * fix: fixed bug * fix: fixed theme reviews * Message list (#615) * fix: message list comp * fix: message list comp * fix: added pagination * fix: added pagination * fix: pagination * fix: create useChatData hook * fix: fixed minor bug * fix: socket issues fixed * fix: added theme in msgbubble (#620) * fix: added theme in msgbubble * fix: fixed import --------- Co-authored-by: Monalisha Mishra * fix: exported the theme (#623) * fix: exported the theme * fix: fixed issues --------- Co-authored-by: Monalisha Mishra * Typebar component (#631) * feat: added typebar UI * feat: added functions to typebar * fix: added icon * fix: fixed theme issues --------- Co-authored-by: Monalisha Mishra * feat: added connectbutton * fix: fixed connectbtn ui and remove disconnect and fixed error on disconnect * fix: fixed create account getting called twice * Profile Header Component (#636) * feat: profile header * feat: update profile header * fix: update hooks * fix: video icon ui * feat: add group modal * fix: add modal info * fix: edit components * fix: commit modal theme * fix: updating UI * fix: ensname * fix: add notifs * fix: remove alerts * fix: remove alert logs * fix: push fixes * fix: conflicts * Message container (#635) * fix: added theme in msgbubble * fix: fixed import * fix: fixed message-list * fix: added approve intent * fix: added fixes * fix: fixed socket bug * fix: fixed message from socket * fix: fixed minor issues * fix: fixed typebar theming * fix: fixed env issue * fix: fixed message not updating issue * refactor: added isConnected prop in msgContainer * refactor: resolve merge conflicts * fix: fixed request sending * fix: fixed decryption * fix: fixed env issue * feat: added profile header in message container --------- Co-authored-by: KlausMikhaelson Co-authored-by: Nilesh Gupta * fix: updated svg to react component * fix: changed svg to tsx component * fix: fixed review changes (#646) * fix: fixed review changes * fix: resolved issues --------- Co-authored-by: Nilesh Gupta * Profile Header -> Chat Profile fixes (#647) * feat: profile header * feat: update profile header * fix: update hooks * fix: video icon ui * feat: add group modal * fix: add modal info * fix: edit components * fix: commit modal theme * fix: updating UI * fix: ensname * fix: add notifs * fix: remove alerts * fix: remove alert logs * fix: push fixes * fix: conflicts * fix: notifs * fix: correct theme colors * fix: renaming profileHeader * fix: qa fixes * fix: loader * refactor: resolved issues * fix: edit types --------- Co-authored-by: Nilesh Gupta * fix: resolved package not added issue * Fix: modal issue in group info && alert remove members (#653) * fix: modal * fix: update changes * refactor: resolved issue --------- Co-authored-by: Nilesh Gupta * fix: QA fixes (#654) * fix: fixed typebar space not working and theme * feat: created access control UI * feat: created verify access control hook * Connect btn revamp (#668) * fix: added theme in msgbubble * fix: fixed import * fix: fixed message-list * fix: added approve intent * fix: added fixes * fix: fixed socket bug * fix: fixed message from socket * fix: fixed minor issues * fix: fixed typebar theming * fix: fixed env issue * fix: fixed message not updating issue * refactor: added isConnected prop in msgContainer * refactor: resolve merge conflicts * fix: fixed request sending * fix: fixed decryption * fix: fixed env issue * feat: added profile header in message container * feat: adding rainbowkit for btn * fix: fix issues * fix: addec onnect functionality * fix: connect button * fix: added hack for rainbowkit css --------- Co-authored-by: KlausMikhaelson Co-authored-by: Nilesh Gupta * Typebar UI issue (#666) * fix: fixed typebar space not working and theme * fix: fixed gif and emoji --------- Co-authored-by: KlausMikhaelson * fix: fixed theme colours * fix: added theme for brb * fix: fixed access control hook issue * feat: added access control verification * feat: added onclick props for integration team to pass function and fixed btn ui * fix: added link for learn more * fix: fixed msg not updating in socket issue * fix: added filter hat * fix: merged with main * fix: fixed msg border * fix: fixed theme * fix: fixed fonts * fix: fixed bug * Access control (#672) * fix: fixed typebar space not working and theme * feat: created access control UI * feat: created verify access control hook * fix: fixed access control hook issue * feat: added access control verification * feat: added onclick props for integration team to pass function and fixed btn ui * fix: added link for learn more * fix: fixed msg not updating in socket issue * fix: added minor fix --------- Co-authored-by: Monalisha Mishra * fix: fixed padding issues * fix(f): fixed build issues * fix: fix for chat status test * feat: added verification option to show only on token gated groups * fix: fixing group access control * Check rules access control (#678) * fix: fixed typebar space not working and theme * feat: created access control UI * feat: created verify access control hook * fix: fixed access control hook issue * feat: added access control verification * feat: added onclick props for integration team to pass function and fixed btn ui * fix: added link for learn more * fix: fixed msg not updating in socket issue * 662 group access control v2 changes (#663) * fix: spaces access API * fix: custom endpoint doc impl * Update README.md * Update README.md * fix: review comments change * fix: read me update * Update README.md * Update README.md * fix: origin in user creation (#665) * fix: origin in user creation * Update README.md * fix: review comments * 662 group access control v2 changes (#677) * fix: spaces access API * fix: custom endpoint doc impl * Update README.md * Update README.md * fix: review comments change * fix: read me update * Update README.md * Update README.md * fix(spaces): broadcast changes and UX fixes (#674) * fix: fix UI grid view (#642) * fix: fix UI grid view * refactor: conditional added * fix: resolved muting/unmuting try catch error (#657) * fix(spaces): fix livepeer broadcast (#656) * fix(spaces): fix livepeer broadcast * fix(spaces): fix data shown for unjoined space & promote listener logic --------- Co-authored-by: Madhur Gupta * refactor(spaces): use local state instead of get from server while meta message fire (#676) --------- Co-authored-by: Arnab Chatterjee <60937304+arn4b@users.noreply.github.com> Co-authored-by: Nilesh Gupta * feat: added verification option to show only on token gated groups * fix: fixing group access control --------- Co-authored-by: Monalisha Mishra Co-authored-by: Mohammed S Co-authored-by: Madhur Gupta Co-authored-by: Arnab Chatterjee <60937304+arn4b@users.noreply.github.com> Co-authored-by: Nilesh Gupta * fix: fixed build * feat: added send request to join group * fix: fixed verification on send * fix: fixed verify access btn not showing after joining group * fix: fixed join group showing for members too * fix: fixed join group showing to members * 667 chat.send enhancement (#673) * fix: changes messageObj for meta and reaction message type * fix: enhance send fn * fix: fixed intent issues * 680 group rules cosmetic changes (#682) * fix: fixed guild condition * fix: add did validation * fix: fixed * fix: fixed minor issues * fix: fixe dissue * fix: fixed minor issues * fix: check for scroll * fix: fixed scrolling * fix: fixed theme * fix: fixed * fix: fixed * fix: fixed * fix: fixed issues * fix: fixed * feat: added toast in join group btn for pvt groups * fix: fixed blurr * fix: fixed minor issues rules * fix: fixed * fix: fixed --------- Co-authored-by: Satyam <100528412+KlausMikhaelson@users.noreply.github.com> Co-authored-by: KlausMikhaelson Co-authored-by: Kolade Co-authored-by: Nilesh Gupta Co-authored-by: Mohammed S Co-authored-by: Madhur Gupta Co-authored-by: Arnab Chatterjee <60937304+arn4b@users.noreply.github.com> Co-authored-by: Aman Gupta * ci(uiweb): šŸŽ‰ cut beta release to uiweb-v0.0.1-alpha.4 * Join group option (#688) * feat: created architechture * fix: added context values (#594) * Chat dataprovider (#596) * feat: data provider for chat component * fix: replaced react.usestate to usestate * fix: added props as the initial state and changed state name * fix: reverted chat context changes and renamed values * fix: added test page for chat ui components (#597) * added chatbubble component (#602) * feat: added chatbubble component * fix: made the messageBubble's width to fit-content --------- Co-authored-by: Monalisha Mishra <42746736+mishramonalisha76@users.noreply.github.com> * fix: added theme * Group chat bubble (#604) * feat: moved test component to testui folder & replaced dummy data with sdk response * feat: added twitter card and address for group chat received msg * feat: made the messageaddress reusable, added account from context * fix: removed unnecessary div and unused props and console logs * feat: adding pfp in text bubbles * fix: replaced hook with function and added pfp to messagebubble * fix: fixed image alignment * fix: changed border-radius of msg bubble and changed function name * fix: fixed theme and decryptedPrivateKey name (#616) * fix: fixed theme and decryptedPrivateKey name * fix: fixed bug * fix: fixed theme reviews * Message list (#615) * fix: message list comp * fix: message list comp * fix: added pagination * fix: added pagination * fix: pagination * fix: create useChatData hook * fix: fixed minor bug * fix: socket issues fixed * fix: added theme in msgbubble (#620) * fix: added theme in msgbubble * fix: fixed import --------- Co-authored-by: Monalisha Mishra * fix: exported the theme (#623) * fix: exported the theme * fix: fixed issues --------- Co-authored-by: Monalisha Mishra * Typebar component (#631) * feat: added typebar UI * feat: added functions to typebar * fix: added icon * fix: fixed theme issues --------- Co-authored-by: Monalisha Mishra * feat: added connectbutton * fix: fixed connectbtn ui and remove disconnect and fixed error on disconnect * fix: fixed create account getting called twice * Profile Header Component (#636) * feat: profile header * feat: update profile header * fix: update hooks * fix: video icon ui * feat: add group modal * fix: add modal info * fix: edit components * fix: commit modal theme * fix: updating UI * fix: ensname * fix: add notifs * fix: remove alerts * fix: remove alert logs * fix: push fixes * fix: conflicts * Message container (#635) * fix: added theme in msgbubble * fix: fixed import * fix: fixed message-list * fix: added approve intent * fix: added fixes * fix: fixed socket bug * fix: fixed message from socket * fix: fixed minor issues * fix: fixed typebar theming * fix: fixed env issue * fix: fixed message not updating issue * refactor: added isConnected prop in msgContainer * refactor: resolve merge conflicts * fix: fixed request sending * fix: fixed decryption * fix: fixed env issue * feat: added profile header in message container --------- Co-authored-by: KlausMikhaelson Co-authored-by: Nilesh Gupta * fix: updated svg to react component * fix: changed svg to tsx component * fix: fixed review changes (#646) * fix: fixed review changes * fix: resolved issues --------- Co-authored-by: Nilesh Gupta * Profile Header -> Chat Profile fixes (#647) * feat: profile header * feat: update profile header * fix: update hooks * fix: video icon ui * feat: add group modal * fix: add modal info * fix: edit components * fix: commit modal theme * fix: updating UI * fix: ensname * fix: add notifs * fix: remove alerts * fix: remove alert logs * fix: push fixes * fix: conflicts * fix: notifs * fix: correct theme colors * fix: renaming profileHeader * fix: qa fixes * fix: loader * refactor: resolved issues * fix: edit types --------- Co-authored-by: Nilesh Gupta * fix: resolved package not added issue * Fix: modal issue in group info && alert remove members (#653) * fix: modal * fix: update changes * refactor: resolved issue --------- Co-authored-by: Nilesh Gupta * fix: QA fixes (#654) * fix: fixed typebar space not working and theme * feat: created access control UI * feat: created verify access control hook * Connect btn revamp (#668) * fix: added theme in msgbubble * fix: fixed import * fix: fixed message-list * fix: added approve intent * fix: added fixes * fix: fixed socket bug * fix: fixed message from socket * fix: fixed minor issues * fix: fixed typebar theming * fix: fixed env issue * fix: fixed message not updating issue * refactor: added isConnected prop in msgContainer * refactor: resolve merge conflicts * fix: fixed request sending * fix: fixed decryption * fix: fixed env issue * feat: added profile header in message container * feat: adding rainbowkit for btn * fix: fix issues * fix: addec onnect functionality * fix: connect button * fix: added hack for rainbowkit css --------- Co-authored-by: KlausMikhaelson Co-authored-by: Nilesh Gupta * Typebar UI issue (#666) * fix: fixed typebar space not working and theme * fix: fixed gif and emoji --------- Co-authored-by: KlausMikhaelson * fix: fixed theme colours * fix: added theme for brb * fix: fixed access control hook issue * feat: added access control verification * feat: added onclick props for integration team to pass function and fixed btn ui * fix: added link for learn more * fix: fixed msg not updating in socket issue * fix: added filter hat * fix: merged with main * fix: fixed msg border * fix: fixed theme * fix: fixed fonts * fix: fixed bug * Access control (#672) * fix: fixed typebar space not working and theme * feat: created access control UI * feat: created verify access control hook * fix: fixed access control hook issue * feat: added access control verification * feat: added onclick props for integration team to pass function and fixed btn ui * fix: added link for learn more * fix: fixed msg not updating in socket issue * fix: added minor fix --------- Co-authored-by: Monalisha Mishra * fix: fixed padding issues * fix(f): fixed build issues * fix: fix for chat status test * feat: added verification option to show only on token gated groups * fix: fixing group access control * Check rules access control (#678) * fix: fixed typebar space not working and theme * feat: created access control UI * feat: created verify access control hook * fix: fixed access control hook issue * feat: added access control verification * feat: added onclick props for integration team to pass function and fixed btn ui * fix: added link for learn more * fix: fixed msg not updating in socket issue * 662 group access control v2 changes (#663) * fix: spaces access API * fix: custom endpoint doc impl * Update README.md * Update README.md * fix: review comments change * fix: read me update * Update README.md * Update README.md * fix: origin in user creation (#665) * fix: origin in user creation * Update README.md * fix: review comments * 662 group access control v2 changes (#677) * fix: spaces access API * fix: custom endpoint doc impl * Update README.md * Update README.md * fix: review comments change * fix: read me update * Update README.md * Update README.md * fix(spaces): broadcast changes and UX fixes (#674) * fix: fix UI grid view (#642) * fix: fix UI grid view * refactor: conditional added * fix: resolved muting/unmuting try catch error (#657) * fix(spaces): fix livepeer broadcast (#656) * fix(spaces): fix livepeer broadcast * fix(spaces): fix data shown for unjoined space & promote listener logic --------- Co-authored-by: Madhur Gupta * refactor(spaces): use local state instead of get from server while meta message fire (#676) --------- Co-authored-by: Arnab Chatterjee <60937304+arn4b@users.noreply.github.com> Co-authored-by: Nilesh Gupta * feat: added verification option to show only on token gated groups * fix: fixing group access control --------- Co-authored-by: Monalisha Mishra Co-authored-by: Mohammed S Co-authored-by: Madhur Gupta Co-authored-by: Arnab Chatterjee <60937304+arn4b@users.noreply.github.com> Co-authored-by: Nilesh Gupta * fix: fixed build * feat: added send request to join group * fix: fixed verification on send * fix: fixed verify access btn not showing after joining group * fix: fixed join group showing for members too * fix: fixed join group showing to members * 667 chat.send enhancement (#673) * fix: changes messageObj for meta and reaction message type * fix: enhance send fn * fix: fixed intent issues * 680 group rules cosmetic changes (#682) * fix: fixed guild condition * fix: add did validation * fix: fixed * fix: fixed minor issues * fix: fixe dissue * fix: fixed minor issues * fix: check for scroll * fix: fixed scrolling * fix: fixed theme * fix: fixed * fix: fixed * fix: fixed * fix: fixed issues * fix: fixed * feat: added toast in join group btn for pvt groups * fix: fixed blurr * fix: fixed minor issues rules * fix: fixed * fix: fixed * fix: fixed socket issue * fix: fixed --------- Co-authored-by: Satyam <100528412+KlausMikhaelson@users.noreply.github.com> Co-authored-by: KlausMikhaelson Co-authored-by: Kolade Co-authored-by: Nilesh Gupta Co-authored-by: Mohammed S Co-authored-by: Madhur Gupta Co-authored-by: Arnab Chatterjee <60937304+arn4b@users.noreply.github.com> Co-authored-by: Aman Gupta * ci(uiweb): šŸŽ‰ cut beta release to uiweb-v0.0.1-alpha.5 * fix: fixed (#689) * ci(uiweb): šŸŽ‰ cut beta release to uiweb-v0.0.1-alpha.6 * chat Load issue fixed (#690) * fix: fixed * fix: fixed minor issues * ci(uiweb): šŸŽ‰ cut beta release to uiweb-v0.0.1-alpha.7 * fix: fixed msg bubble width (#691) * ci(uiweb): šŸŽ‰ cut beta release to uiweb-v0.0.1-alpha.8 * ci(restapi): šŸŽ‰ cut release to restapi-v1.4.17 * ci(restapi): šŸŽ‰ cut release to restapi-v1.4.18 * ci(restapi): šŸŽ‰ cut release to restapi-v1.4.19 * ci(restapi): šŸŽ‰ cut beta release to restapi-v0.0.1-alpha.33 * ci(restapi): šŸŽ‰ cut beta release to restapi-v0.0.1-alpha.33 * ci(uiweb): šŸŽ‰ cut beta release to uiweb-v0.0.1-alpha.9 * Onboarding blocknative (#702) * fix: added reusable folder * fix: fixed theme for modal * fix: removed reusables from export * fix: fixed fallback for message input * feat: replaced rainbowkit with blocknative * fix: removed unused code --------- Co-authored-by: Monalisha Mishra * ci(uiweb): šŸŽ‰ cut beta release to uiweb-v0.0.1-alpha.10 * ci(restapi): šŸŽ‰ cut beta release to restapi-v0.0.1-alpha.33 * Fix connect button issue (#710) * fix: fixed connect button blocknative * fix: fixed message fetching * fix: removed console * ci(uiweb): šŸŽ‰ cut beta release to uiweb-v0.0.1-alpha.11 * fix: added condition while showing tokengatedIcon (#715) * fix: added disconnect for wallet (#721) * fix: added disconnect for wallet * fix: added autoConnect * Wallet disconnect (#722) * fix: added disconnect for wallet * fix: added autoConnect * fix: changed onClick to onGetTokenClick * Wallet disconnect (#723) * fix: added disconnect for wallet * fix: added autoConnect * fix: changed onClick to onGetTokenClick * fix: fixed errors * ci(uiweb): šŸŽ‰ cut beta release to uiweb-v0.0.1-alpha.12 * Changed messageInput params Case (#725) * fix: added disconnect for wallet * fix: added autoConnect * fix: changed onClick to onGetTokenClick * fix: fixed errors * ci(uiweb): šŸŽ‰ cut beta release to uiweb-v0.0.1-alpha.13 * ci(restapi): šŸŽ‰ cut release to restapi-v1.4.20 * Wallet disconnect (#728) * fix: added disconnect for wallet * fix: added autoConnect * fix: changed onClick to onGetTokenClick * fix: fixed errors * fix: added coinbase wallet * fix: img added * fix: fixed metamask not showing if not present in it --------- Co-authored-by: KlausMikhaelson * ci(uiweb): šŸŽ‰ cut beta release to uiweb-v0.0.1-alpha.14 * Wallet disconnect (#732) * fix: added disconnect for wallet * fix: added autoConnect * fix: changed onClick to onGetTokenClick * fix: fixed errors * fix: added coinbase wallet * fix: img added * fix: fixed metamask not showing if not present in it * fix: fixed injected wallets --------- Co-authored-by: KlausMikhaelson * ci(uiweb): šŸŽ‰ cut beta release to uiweb-v0.0.1-alpha.15 * fix: added class based implementation for notification (#699) * fix: added class based implementation for notification * fix: class based implementation for notification * fix: small fixes * fix: minor fixes and testcases * fix: fixes for testcases * fix: updated core abi and minor fixes * fix: removed comment * fix: minor fixes and additional checks * fix: minor fixes * fix: viem support for contract and new folder structure * fix: changed typescript 5.0.2 and configured eslint * ci(restapi): šŸŽ‰ cut beta release to restapi-v0.0.1-alpha.34 * 720 pushstream class implementation (#729) * chore: added an example of automated chat using the new class based initialization * fix: fixed usecases * chore: added an example of automated chat using the new class based iā€¦ (#712) * chore: added an example of automated chat using the new class based initialization * fix: fixed usecases --------- Co-authored-by: aman035 * chore(automated chat example): tweaked automated chat example * fix: stream changes * fix: stream changes * fix: added chat.decrypt (#726) * fix: added chat.decrypt * fix: fix examples * fix: stream changes * fix: PUSH Stream Changes * fix: chat classes split * fix: Notification socket initialisations and rules backward compatibility * fix: added message decrypt * fix: review comments * fix: socket events * fix: test case fix and UserInfo to user * fix: rip PushNotification class * fix: additional check --------- Co-authored-by: harshrajat Co-authored-by: aman035 Co-authored-by: Harsh | Push Co-authored-by: akp111 * fix: remove only from test * fix: error fixed * ci(restapi): šŸŽ‰ cut beta release to restapi-v0.0.1-alpha.35 * ci(restapi): šŸŽ‰ cut beta release to restapi-v0.0.1-alpha.35 * fix: stream cases * 720 pushstream class implementation (#737) * fix: stream changes * fix: stream changes * fix: stream changes * fix: PUSH Stream Changes * fix: chat classes split * fix: Notification socket initialisations and rules backward compatibility * fix: added message decrypt * fix: review comments * fix: socket events * fix: test case fix and UserInfo to user * fix: rip PushNotification class * fix: additional check * fix: minor fixes --------- Co-authored-by: Mohammed S * ci(restapi): šŸŽ‰ cut release to restapi-v1.4.21 * fix: corrected example * fix: some changes on stream * ci(restapi): šŸŽ‰ cut beta release to restapi-v0.0.1-alpha.36 * fix: minor fixes * ci(restapi): šŸŽ‰ cut beta release to restapi-v0.0.1-alpha.37 * fix: error handling in socket events * ci(restapi): šŸŽ‰ cut beta release to restapi-v0.0.1-alpha.38 * fix: more fixes * ci(restapi): šŸŽ‰ cut beta release to restapi-v0.0.1-alpha.39 * fix: minor fixes * fix: socket enabled * ci(restapi): šŸŽ‰ cut beta release to restapi-v0.0.1-alpha.40 * fix: minor fixes * ci(restapi): šŸŽ‰ cut beta release to restapi-v0.0.1-alpha.41 * Add counter for update channel (#740) * fix: added counter to update group * fix: added counter logic, moved delegate and alias function to channel class * ci(restapi): šŸŽ‰ cut beta release to restapi-v0.0.1-alpha.42 * Add counter for update channel (#741) * fix: added counter to update group * fix: added counter logic, moved delegate and alias function to channel class * fix: added readme for notification * ci(restapi): šŸŽ‰ cut beta release to restapi-v0.0.1-alpha.43 * fix: minor fix * ci(uiweb): šŸŽ‰ cut release to uiweb-v1.1.14 * fix: log removed * ci(restapi): šŸŽ‰ cut beta release to restapi-v0.0.1-alpha.44 * docs: fix tests * Feat/space backup (#746) * refactor: added code for joining livekit room for listeners (#731) * feat: drop in livekit inplace of livepeer (#736) * feat: drop in livekit inplace of livepeer * feat: added microphone * feat: added mic * feat: added access control --------- Co-authored-by: Nilesh Gupta * fix: Notification event mutation * Notification setting changes (#752) * Arbitrum changes (#735) * fix: inital implementation for arbitrum changes * fix: more changes * fix: added final changes * fix: minor fixes * fix: fixed typo * fix: notification settings related changes * fix: added index parameter for notification * fix: restored config * Arnab/livekit fixes (#754) * refactor: added code for joining livekit room for listeners (#731) * feat: drop in livekit inplace of livepeer * feat: added microphone * feat: added mic * feat: added access control * feat: fixes for livekit API call --------- Co-authored-by: Nilesh Gupta * ci(restapi): šŸŽ‰ cut release to restapi-v1.4.22 * fix: added settings * fix: added settings (#762) * fix: build fix * fix: minor fix * fix: minor fix * Added initial chat sidebar * fix: pagination done * fix: added fuse network * Working stream with hacks, working badges, working loading, partial loading, not working accept stream * fix: focus back to message input after sending the message (#1014) * fix: added support for ens (#1008) * feat: add video SDK v2 and video stream (#1017) * add: ethers support (#952) * fix: fix viem support, add ethers support * fix: remove @pushprotocol/socket dependency from restapi * fix: changed ethers fn * fix: fix ether changes * fix: fix subscribev2 * chore: readme changes * fix: fix ethers provider issue * fix: fix channel.update * feat(video-v2): add video v2 class and stream (#930) * feat(video-v2): add highlevel video class * feat(video): add video stream * fix(sendnotification): modify rules.access.data to be an object & code cleanup * fix(video): remove signer from input, throw err if signer, decrypted pgp key not found * feat(video): add sendNotification calls in connect, disconnect methods * fix(videonotificationrules): typo in VideoNotificationRules interface * feat(video stream): handle connect, retry internally from the SDK * feat(video connect): remove the connect method from the videov2 SDK * fix(videov2): create push signer instance to get chain id in initialize() * fix(video stream): add backwards compatibilty to rules object for older SDK versions * fix(video stream): fix bug in rules object creation * feat(video): update param names for video.initialize() * feat(video): add internal event handlers for stream in video SDK --------- Co-authored-by: Mohammed S --------- Co-authored-by: Aman Gupta Co-authored-by: Mohammed S * fix: Added ethersV6SignerType in uiweb signer types (#1018) * fix: added pushUser and stream (#1023) * fix: case sensative file inclusion (#1024) * fix: added themisation and ens resolve * fix: fixed a bug * 963 improvement proposal support for fuse network (#1026) * fix: case sensative file inclusion * fix: changed icon dimesnion * streaming tweaks * streaming tweaks with connected in restapi * fix(video stream): add video event type enum in CONSTANTS (#1032) * fix: added search for chatPreviewList * fix: added error codes * frontend react demo adjustment and rebasing * duplicate import fix * fix: refatored code * fix: changed chatSender to chatParticipant * adding onChatSelected and onUnreadCountChange * fix: name change fix --------- Co-authored-by: aman035 Co-authored-by: Mohammed S Co-authored-by: Mohammed S Co-authored-by: Monalisha Mishra <42746736+mishramonalisha76@users.noreply.github.com> Co-authored-by: Satyam <100528412+KlausMikhaelson@users.noreply.github.com> Co-authored-by: KlausMikhaelson Co-authored-by: Nilesh Gupta Co-authored-by: Monalisha Mishra Co-authored-by: Kolade Co-authored-by: Madhur Gupta Co-authored-by: Arnab Chatterjee <60937304+arn4b@users.noreply.github.com> Co-authored-by: Ashis Kumar Pradhan <38760485+akp111@users.noreply.github.com> Co-authored-by: akp111 Co-authored-by: Pritipriya Singh * fix: changed stream type to any * fix: fixed issues on chatpreviewlist (#1044) * fix: added a dynamic component for no chatId (#1042) * fix: changed pushUser to user (#1058) * Chatpreview bug (#1063) * ci(restapi): šŸŽ‰ cut beta release to restapi-v0.0.1-alpha.61 * ci(restapi): šŸŽ‰ cut beta release to restapi-v0.0.1-alpha.62 * ci(restapi): šŸŽ‰ cut release to restapi-v0.9.0 * ci(restapi): šŸŽ‰ cut beta release to restapi-v0.0.1-alpha.63 * fix: fix errors * ci(restapi): šŸŽ‰ cut beta release to restapi-v0.0.1-alpha.64 * fix: changed stream type to any * ci(uiweb): šŸŽ‰ cut beta release to uiweb-v0.0.1-alpha.16 * fix: minor change * ci(uiweb): šŸŽ‰ cut beta release to uiweb-v0.0.1-alpha.17 * fix: minor fix * ci(uiweb): šŸŽ‰ cut beta release to uiweb-v0.0.1-alpha.36 * ci(uiweb): šŸŽ‰ cut beta release to uiweb-v0.0.1-alpha.37 * fix: fixed pagination bug and added functions for preload * fix: added review comments --------- Co-authored-by: Mohammed S * fix: fixed minor limit bug (#1065) * Bug fix (#1068) * fix: fixed minor limit bug * fix: exposed chatParticipant * Chatprofile (#1040) * Added initial chat sidebar * fix: pagination done * Working stream with hacks, working badges, working loading, partial loading, not working accept stream * fix: added themisation and ens resolve * fix: fixed a bug * streaming tweaks * streaming tweaks with connected in restapi * fix: added search for chatPreviewList * fix: added error codes * frontend react demo adjustment and rebasing * duplicate import fix * fix: refatored code * fix: addec chat profile and create group changes * fix: changed chatSender to chatParticipant * fix: fixed scroll when not needed * fix: changed group size * fix: stream not getting connected * fix: tested socket events * fix: fixed bugs --------- Co-authored-by: harshrajat Co-authored-by: Pritipriya Singh Co-authored-by: KlausMikhaelson * fix: fixed preview bugs (#1078) * Userprofile (#1084) * feat(video-v2): add highlevel video class * feat(video): add video stream * fix(sendnotification): modify rules.access.data to be an object & code cleanup * fix(video): remove signer from input, throw err if signer, decrypted pgp key not found * feat(video): add sendNotification calls in connect, disconnect methods * fix(videonotificationrules): typo in VideoNotificationRules interface * add: useStream.ts video-v2-example-app * add: videoV2.tsx in video-v2-example-app * feat(video stream): handle connect, retry internally from the SDK * feat(video connect): remove the connect method from the videov2 SDK * fix(videov2): create push signer instance to get chain id in initialize() * fix(videov2-example): refactor react example component & remove useStream hook * fix(video stream): add backwards compatibilty to rules object for older SDK versions * fix(video stream): fix bug in rules object creation * fix(video stream): call connect() for ApproveVideo event * feat(example-video-1.5): video v2 example app implementation * feat(sdk-frontend): few ui changes * fix(video-v2-example-app): initialisevdeo call after a call ends * feat(video stream): add request, deny evennt handlers * feat(sdk-frontend and sdk-frontend-react): added video-v2 example implementation * fix: few fixes * refactor: refator and remove console logs * fix: fix import error * feat(video): update param names for video.initialize() * fix: param name changes * chore: added few comments * chore: ui toast added * fix(video example): remove pushprotocol sdk direct dir reference for initVideoCallData * fix(video example): import React in examples & update SDK version in sdk-frontend * feat(video example): replace video events from CONSTANTS obj * Edited video example to make it more versatile * Update index.js * fix: added layout for userProfile * fix: added modal * fix: added modal * fix: added modal content * fix: added theme for userprofile * fix: fixed bugs in profile --------- Co-authored-by: Madhur Gupta Co-authored-by: Siddesh Sankhya <79219618+Siddesh7@users.noreply.github.com> Co-authored-by: Siddesh Co-authored-by: harshrajat Co-authored-by: Harsh | Push * fix: removed console * fix: fixed length issue in test * fix: fixed pagination bug * fix: the messages disappearing on scroll (#1077) Co-authored-by: Monalisha Mishra <42746736+mishramonalisha76@users.noreply.github.com> * fix: fixed chat preview stream issues (#1085) * 897 improvement proposal spaces high level functions (#898) * fix: spaces high level * fix: spaces high level function * fix: spaces test cases * fix: spaces stream changes * fix: removed unnecessary logs * Add spaces high level audio methods (#993) * feat(spaces): add high level audio methods * fix: socket url fix (#995) * feat(spaces-highlevel-audio-methods): add media function in Spaces class --------- Co-authored-by: Mohammed S * feat(space stream): add 'start', 'stop' events (#1027) * fix(high level spaces sdk): fix list() method to uses spaces(), requests() methods (#1061) --------- Co-authored-by: Madhur Gupta * fix(restapi): build errors from spaces (#1098) * feat(spaces v2): update space.initialize() param name, rename media() in SpacesV2 (#1101) * fix: media emoji added * fix: sending first message now shows in the inbox * fix: for requests for receivers * fix: added notification widget layout (#1076) * feat(video-v2): add highlevel video class * feat(video): add video stream * fix(sendnotification): modify rules.access.data to be an object & code cleanup * fix(video): remove signer from input, throw err if signer, decrypted pgp key not found * feat(video): add sendNotification calls in connect, disconnect methods * fix(videonotificationrules): typo in VideoNotificationRules interface * add: useStream.ts video-v2-example-app * add: videoV2.tsx in video-v2-example-app * feat(video stream): handle connect, retry internally from the SDK * feat(video connect): remove the connect method from the videov2 SDK * fix(videov2): create push signer instance to get chain id in initialize() * fix(videov2-example): refactor react example component & remove useStream hook * fix(video stream): add backwards compatibilty to rules object for older SDK versions * fix(video stream): fix bug in rules object creation * fix(video stream): call connect() for ApproveVideo event * feat(example-video-1.5): video v2 example app implementation * feat(sdk-frontend): few ui changes * fix(video-v2-example-app): initialisevdeo call after a call ends * feat(video stream): add request, deny evennt handlers * feat(sdk-frontend and sdk-frontend-react): added video-v2 example implementation * fix: few fixes * refactor: refator and remove console logs * fix: fix import error * feat(video): update param names for video.initialize() * fix: param name changes * chore: added few comments * chore: ui toast added * fix(video example): remove pushprotocol sdk direct dir reference for initVideoCallData * fix(video example): import React in examples & update SDK version in sdk-frontend * feat(video example): replace video events from CONSTANTS obj * Edited video example to make it more versatile * Update index.js * fix: fixed message parsing (#1051) * Minor fixes and improvements in video v2 (#1062) * feat(video v2): add VIDEO constants and types * feat(video v2): modify approve, deny to use internally stored peerInfo * fix(video constants): rename DEFAULT_DATA to INITIAL_DATA * 1050 update video example implementation in sdk-frontend (#1070) * fix: use latest imports in example app * feat: use latest rainbowkit library * chore: use latest restapi package * chore: remove unnecessary libs * fix: fixed signer bug (#1073) * fix: send intent in history and latest. (#1069) * fix: send intent in history and latest. * fix: get chat info API sdk changes * fix: stream helper functions * fix: caching implementation on user profile API (#1053) * fix: caching implementation on user profile API * fix: cache code review comments * fix: fix public key in read mode (#1074) * fix: added notification widget layout * fix: fixed naming convention * fix: added layout for hyperlink * Pub key cache to speed up chat messages verification (#1081) * fix: minor fixes * fix: cache implementation for public keys * fix: fix encV1 key decryption (#1088) * fix: add benchamark tests, fix reference msgs' (#1089) * fix: added resuables * bolierplate examples * bolierplate examples * bolierplate examples * fix: added connect button * fix: fixed lint * fix: v2 user creation / upgrades / downgrades (#1099) * fix: fix v2 user * test: remove only * Add filter for subscription (#1102) * fix: added parsing for settings * fix: minor fixes * fix: added manage notifiction * fix: added channel setting parse logic (#1107) * fix: fixed css * added user downgrade example * fix: fixed lint * fix: fixed connect modal * fix: added readmode * fix: fixed readMode --------- Co-authored-by: Madhur Gupta Co-authored-by: Siddesh Sankhya <79219618+Siddesh7@users.noreply.github.com> Co-authored-by: Siddesh Co-authored-by: harshrajat Co-authored-by: Harsh | Push Co-authored-by: Aman Gupta Co-authored-by: Mohammed S Co-authored-by: Ashis Kumar Pradhan <38760485+akp111@users.noreply.github.com> Co-authored-by: Mohammed S * Alpha deployment (#1112) * ci(restapi): šŸŽ‰ cut beta release to restapi-v0.0.1-alpha.61 * ci(restapi): šŸŽ‰ cut beta release to restapi-v0.0.1-alpha.62 * ci(restapi): šŸŽ‰ cut release to restapi-v0.9.0 * ci(restapi): šŸŽ‰ cut beta release to restapi-v0.0.1-alpha.63 * fix: fix errors * ci(restapi): šŸŽ‰ cut beta release to restapi-v0.0.1-alpha.64 * fix: changed stream type to any * ci(uiweb): šŸŽ‰ cut beta release to uiweb-v0.0.1-alpha.16 * fix: minor change * ci(uiweb): šŸŽ‰ cut beta release to uiweb-v0.0.1-alpha.17 * fix: minor fix * ci(uiweb): šŸŽ‰ cut beta release to uiweb-v0.0.1-alpha.36 * ci(uiweb): šŸŽ‰ cut beta release to uiweb-v0.0.1-alpha.37 * ci(uiweb): šŸŽ‰ cut beta release to uiweb-v0.0.1-alpha.38 * ci(uiweb): šŸŽ‰ cut beta release to uiweb-v0.0.1-alpha.39 * ci(uiweb): šŸŽ‰ cut beta release to uiweb-v0.0.1-alpha.39 * ci(uiweb): šŸŽ‰ cut beta release to uiweb-v0.0.1-alpha.40 * ci(uiweb): šŸŽ‰ cut beta release to uiweb-v0.0.1-alpha.41 * ci(restapi): šŸŽ‰ cut beta release to restapi-v0.0.1-alpha.65 * ci(uiweb): šŸŽ‰ cut beta release to uiweb-v0.0.1-alpha.42 * ci(restapi): šŸŽ‰ cut beta release to restapi-v0.0.1-alpha.66 * ci(uiweb): šŸŽ‰ cut beta release to uiweb-v0.0.1-alpha.43 * fix: fixed build issues --------- Co-authored-by: Mohammed S * Alpha deployment (#1114) * ci(restapi): šŸŽ‰ cut beta release to restapi-v0.0.1-alpha.61 * ci(restapi): šŸŽ‰ cut beta release to restapi-v0.0.1-alpha.62 * ci(restapi): šŸŽ‰ cut release to restapi-v0.9.0 * ci(restapi): šŸŽ‰ cut beta release to restapi-v0.0.1-alpha.63 * fix: fix errors * ci(restapi): šŸŽ‰ cut beta release to restapi-v0.0.1-alpha.64 * fix: changed stream type to any * ci(uiweb): šŸŽ‰ cut beta release to uiweb-v0.0.1-alpha.16 * fix: minor change * ci(uiweb): šŸŽ‰ cut beta release to uiweb-v0.0.1-alpha.17 * fix: minor fix * ci(uiweb): šŸŽ‰ cut beta release to uiweb-v0.0.1-alpha.36 * ci(uiweb): šŸŽ‰ cut beta release to uiweb-v0.0.1-alpha.37 * ci(uiweb): šŸŽ‰ cut beta release to uiweb-v0.0.1-alpha.38 * ci(uiweb): šŸŽ‰ cut beta release to uiweb-v0.0.1-alpha.39 * ci(uiweb): šŸŽ‰ cut beta release to uiweb-v0.0.1-alpha.39 * ci(uiweb): šŸŽ‰ cut beta release to uiweb-v0.0.1-alpha.40 * ci(uiweb): šŸŽ‰ cut beta release to uiweb-v0.0.1-alpha.41 * ci(restapi): šŸŽ‰ cut beta release to restapi-v0.0.1-alpha.65 * ci(uiweb): šŸŽ‰ cut beta release to uiweb-v0.0.1-alpha.42 * ci(restapi): šŸŽ‰ cut beta release to restapi-v0.0.1-alpha.66 * ci(uiweb): šŸŽ‰ cut beta release to uiweb-v0.0.1-alpha.43 * fix: fixed build issues * ci(uiweb): šŸŽ‰ cut beta release to uiweb-v0.0.1-alpha.36 * ci(uiweb): šŸŽ‰ cut beta release to uiweb-v0.0.1-alpha.44 * ci(restapi): šŸŽ‰ cut beta release to restapi-v0.0.1-alpha.67 * fix: fixed minor bugs --------- Co-authored-by: Mohammed S * Alpha deployment (#1116) * ci(restapi): šŸŽ‰ cut beta release to restapi-v0.0.1-alpha.61 * ci(restapi): šŸŽ‰ cut beta release to restapi-v0.0.1-alpha.62 * ci(restapi): šŸŽ‰ cut release to restapi-v0.9.0 * ci(restapi): šŸŽ‰ cut beta release to restapi-v0.0.1-alpha.63 * fix: fix errors * ci(restapi): šŸŽ‰ cut beta release to restapi-v0.0.1-alpha.64 * fix: changed stream type to any * ci(uiweb): šŸŽ‰ cut beta release to uiweb-v0.0.1-alpha.16 * fix: minor change * ci(uiweb): šŸŽ‰ cut beta release to uiweb-v0.0.1-alpha.17 * fix: minor fix * ci(uiweb): šŸŽ‰ cut beta release to uiweb-v0.0.1-alpha.36 * ci(uiweb): šŸŽ‰ cut beta release to uiweb-v0.0.1-alpha.37 * ci(uiweb): šŸŽ‰ cut beta release to uiweb-v0.0.1-alpha.38 * ci(uiweb): šŸŽ‰ cut beta release to uiweb-v0.0.1-alpha.39 * ci(uiweb): šŸŽ‰ cut beta release to uiweb-v0.0.1-alpha.39 * ci(uiweb): šŸŽ‰ cut beta release to uiweb-v0.0.1-alpha.40 * ci(uiweb): šŸŽ‰ cut beta release to uiweb-v0.0.1-alpha.41 * ci(restapi): šŸŽ‰ cut beta release to restapi-v0.0.1-alpha.65 * ci(uiweb): šŸŽ‰ cut beta release to uiweb-v0.0.1-alpha.42 * ci(restapi): šŸŽ‰ cut beta release to restapi-v0.0.1-alpha.66 * ci(uiweb): šŸŽ‰ cut beta release to uiweb-v0.0.1-alpha.43 * fix: fixed build issues * ci(uiweb): šŸŽ‰ cut beta release to uiweb-v0.0.1-alpha.36 * ci(uiweb): šŸŽ‰ cut beta release to uiweb-v0.0.1-alpha.44 * ci(restapi): šŸŽ‰ cut beta release to restapi-v0.0.1-alpha.67 * fix: fixed minor bugs * fix: fixed chatpreview and widget issues --------- Co-authored-by: Mohammed S * 1119 read only mode bug fix (#1120) * fix: optimize chat.list (#1115) * fix: read only guest mode * fix: review comments --------- Co-authored-by: Aman Gupta * Alpha deployment (#1121) * ci(restapi): šŸŽ‰ cut beta release to restapi-v0.0.1-alpha.61 * ci(restapi): šŸŽ‰ cut beta release to restapi-v0.0.1-alpha.62 * ci(restapi): šŸŽ‰ cut release to restapi-v0.9.0 * ci(restapi): šŸŽ‰ cut beta release to restapi-v0.0.1-alpha.63 * fix: fix errors * ci(restapi): šŸŽ‰ cut beta release to restapi-v0.0.1-alpha.64 * fix: changed stream type to any * ci(uiweb): šŸŽ‰ cut beta release to uiweb-v0.0.1-alpha.16 * fix: minor change * ci(uiweb): šŸŽ‰ cut beta release to uiweb-v0.0.1-alpha.17 * fix: minor fix * ci(uiweb): šŸŽ‰ cut beta release to uiweb-v0.0.1-alpha.36 * ci(uiweb): šŸŽ‰ cut beta release to uiweb-v0.0.1-alpha.37 * ci(uiweb): šŸŽ‰ cut beta release to uiweb-v0.0.1-alpha.38 * ci(uiweb): šŸŽ‰ cut beta release to uiweb-v0.0.1-alpha.39 * ci(uiweb): šŸŽ‰ cut beta release to uiweb-v0.0.1-alpha.39 * ci(uiweb): šŸŽ‰ cut beta release to uiweb-v0.0.1-alpha.40 * ci(uiweb): šŸŽ‰ cut beta release to uiweb-v0.0.1-alpha.41 * ci(restapi): šŸŽ‰ cut beta release to restapi-v0.0.1-alpha.65 * ci(uiweb): šŸŽ‰ cut beta release to uiweb-v0.0.1-alpha.42 * ci(restapi): šŸŽ‰ cut beta release to restapi-v0.0.1-alpha.66 * ci(uiweb): šŸŽ‰ cut beta release to uiweb-v0.0.1-alpha.43 * fix: fixed build issues * ci(uiweb): šŸŽ‰ cut beta release to uiweb-v0.0.1-alpha.36 * ci(uiweb): šŸŽ‰ cut beta release to uiweb-v0.0.1-alpha.44 * ci(restapi): šŸŽ‰ cut beta release to restapi-v0.0.1-alpha.67 * fix: fixed minor bugs * fix: fixed chatpreview and widget issues * fix: fixed chat bugs * fix: fixed readmode --------- Co-authored-by: Mohammed S * Mark ethers optional (#1124) * fix: optimize chat.list (#1115) * fix: allow groupImage and groupDesc to be updated to null (#1118) * fix: mark ethers as optional peer dependency * fix: change typeDataDomain * fix: update readme * fix: added prefillChatList (#1122) * fix: fixed minor issue * Alpha deployment (#1132) * ci(restapi): šŸŽ‰ cut beta release to restapi-v0.0.1-alpha.61 * ci(restapi): šŸŽ‰ cut beta release to restapi-v0.0.1-alpha.62 * ci(restapi): šŸŽ‰ cut release to restapi-v0.9.0 * ci(restapi): šŸŽ‰ cut beta release to restapi-v0.0.1-alpha.63 * fix: fix errors * ci(restapi): šŸŽ‰ cut beta release to restapi-v0.0.1-alpha.64 * fix: changed stream type to any * ci(uiweb): šŸŽ‰ cut beta release to uiweb-v0.0.1-alpha.16 * fix: minor change * ci(uiweb): šŸŽ‰ cut beta release to uiweb-v0.0.1-alpha.17 * fix: minor fix * ci(uiweb): šŸŽ‰ cut beta release to uiweb-v0.0.1-alpha.36 * ci(uiweb): šŸŽ‰ cut beta release to uiweb-v0.0.1-alpha.37 * ci(uiweb): šŸŽ‰ cut beta release to uiweb-v0.0.1-alpha.38 * ci(uiweb): šŸŽ‰ cut beta release to uiweb-v0.0.1-alpha.39 * ci(uiweb): šŸŽ‰ cut beta release to uiweb-v0.0.1-alpha.39 * ci(uiweb): šŸŽ‰ cut beta release to uiweb-v0.0.1-alpha.40 * ci(uiweb): šŸŽ‰ cut beta release to uiweb-v0.0.1-alpha.41 * ci(restapi): šŸŽ‰ cut beta release to restapi-v0.0.1-alpha.65 * ci(uiweb): šŸŽ‰ cut beta release to uiweb-v0.0.1-alpha.42 * ci(restapi): šŸŽ‰ cut beta release to restapi-v0.0.1-alpha.66 * ci(uiweb): šŸŽ‰ cut beta release to uiweb-v0.0.1-alpha.43 * fix: fixed build issues * ci(uiweb): šŸŽ‰ cut beta release to uiweb-v0.0.1-alpha.36 * ci(uiweb): šŸŽ‰ cut beta release to uiweb-v0.0.1-alpha.44 * ci(restapi): šŸŽ‰ cut beta release to restapi-v0.0.1-alpha.67 * fix: fixed minor bugs * fix: fixed chatpreview and widget issues * fix: fixed chat bugs * fix: fixed readmode * ci(restapi): šŸŽ‰ cut beta release to restapi-v0.0.1-alpha.68 * ci(restapi): šŸŽ‰ cut beta release to restapi-v0.0.1-alpha.68 * ci(restapi): šŸŽ‰ cut beta release to restapi-v0.0.1-alpha.70 * ci(restapi): šŸŽ‰ cut beta release to restapi-v0.0.1-alpha.71 --------- Co-authored-by: Mohammed S * Minor changes in spaces v2 SDK (#1136) * refactor(spaces v2): call createUserAudio internally before start, join as speaker * fix(spaces v2): add a check before creating stream in start, join as speaker * fix(spaces v2): make 'private' param in space.create() as optional * feat(spaces v2): export space types, constants from TYPES, CONSTANTS * Alpha deployment (#1134) * ci(restapi): šŸŽ‰ cut beta release to restapi-v0.0.1-alpha.61 * ci(restapi): šŸŽ‰ cut beta release to restapi-v0.0.1-alpha.62 * ci(restapi): šŸŽ‰ cut release to restapi-v0.9.0 * ci(restapi): šŸŽ‰ cut beta release to restapi-v0.0.1-alpha.63 * fix: fix errors * ci(restapi): šŸŽ‰ cut beta release to restapi-v0.0.1-alpha.64 * fix: changed stream type to any * ci(uiweb): šŸŽ‰ cut beta release to uiweb-v0.0.1-alpha.16 * fix: minor change * ci(uiweb): šŸŽ‰ cut beta release to uiweb-v0.0.1-alpha.17 * fix: minor fix * ci(uiweb): šŸŽ‰ cut beta release to uiweb-v0.0.1-alpha.36 * ci(uiweb): šŸŽ‰ cut beta release to uiweb-v0.0.1-alpha.37 * ci(uiweb): šŸŽ‰ cut beta release to uiweb-v0.0.1-alpha.38 * ci(uiweb): šŸŽ‰ cut beta release to uiweb-v0.0.1-alpha.39 * ci(uiweb): šŸŽ‰ cut beta release to uiweb-v0.0.1-alpha.39 * ci(uiweb): šŸŽ‰ cut beta release to uiweb-v0.0.1-alpha.40 * ci(uiweb): šŸŽ‰ cut beta release to uiweb-v0.0.1-alpha.41 * ci(restapi): šŸŽ‰ cut beta release to restapi-v0.0.1-alpha.65 * ci(uiweb): šŸŽ‰ cut beta release to uiweb-v0.0.1-alpha.42 * ci(restapi): šŸŽ‰ cut beta release to restapi-v0.0.1-alpha.66 * ci(uiweb): šŸŽ‰ cut beta release to uiweb-v0.0.1-alpha.43 * fix: fixed build issues * ci(uiweb): šŸŽ‰ cut beta release to uiweb-v0.0.1-alpha.36 * ci(uiweb): šŸŽ‰ cut beta release to uiweb-v0.0.1-alpha.44 * ci(restapi): šŸŽ‰ cut beta release to restapi-v0.0.1-alpha.67 * fix: fixed minor bugs * fix: fixed chatpreview and widget issues * fix: fixed chat bugs * fix: fixed readmode * ci(restapi): šŸŽ‰ cut beta release to restapi-v0.0.1-alpha.68 * ci(restapi): šŸŽ‰ cut beta release to restapi-v0.0.1-alpha.68 * ci(restapi): šŸŽ‰ cut beta release to restapi-v0.0.1-alpha.70 * ci(restapi): šŸŽ‰ cut beta release to restapi-v0.0.1-alpha.71 * fix: troubleshoot * fix: fixed gues mode user profile * ci(restapi): šŸŽ‰ cut beta release to restapi-v0.0.1-alpha.72 --------- Co-authored-by: Mohammed S * fix: stream connection support chat + pushUser to user fix (#1066) * fix: stream connection support chat + pushUser to user fix * fix: change console messages * fix: ens added * fix: z-index re added --------- Co-authored-by: Monalisha Mishra <42746736+mishramonalisha76@users.noreply.github.com> * Alpha deployment (#1146) * ci(restapi): šŸŽ‰ cut beta release to restapi-v0.0.1-alpha.61 * ci(restapi): šŸŽ‰ cut beta release to restapi-v0.0.1-alpha.62 * ci(restapi): šŸŽ‰ cut release to restapi-v0.9.0 * ci(restapi): šŸŽ‰ cut beta release to restapi-v0.0.1-alpha.63 * fix: fix errors * ci(restapi): šŸŽ‰ cut beta release to restapi-v0.0.1-alpha.64 * fix: changed stream type to any * ci(uiweb): šŸŽ‰ cut beta release to uiweb-v0.0.1-alpha.16 * fix: minor change * ci(uiweb): šŸŽ‰ cut beta release to uiweb-v0.0.1-alpha.17 * fix: minor fix * ci(uiweb): šŸŽ‰ cut beta release to uiweb-v0.0.1-alpha.36 * ci(uiweb): šŸŽ‰ cut beta release to uiweb-v0.0.1-alpha.37 * ci(uiweb): šŸŽ‰ cut beta release to uiweb-v0.0.1-alpha.38 * ci(uiweb): šŸŽ‰ cut beta release to uiweb-v0.0.1-alpha.39 * ci(uiweb): šŸŽ‰ cut beta release to uiweb-v0.0.1-alpha.39 * ci(uiweb): šŸŽ‰ cut beta release to uiweb-v0.0.1-alpha.40 * ci(uiweb): šŸŽ‰ cut beta release to uiweb-v0.0.1-alpha.41 * ci(restapi): šŸŽ‰ cut beta release to restapi-v0.0.1-alpha.65 * ci(uiweb): šŸŽ‰ cut beta release to uiweb-v0.0.1-alpha.42 * ci(restapi): šŸŽ‰ cut beta release to restapi-v0.0.1-alpha.66 * ci(uiweb): šŸŽ‰ cut beta release to uiweb-v0.0.1-alpha.43 * fix: fixed build issues * ci(uiweb): šŸŽ‰ cut beta release to uiweb-v0.0.1-alpha.36 * ci(uiweb): šŸŽ‰ cut beta release to uiweb-v0.0.1-alpha.44 * ci(restapi): šŸŽ‰ cut beta release to restapi-v0.0.1-alpha.67 * fix: fixed minor bugs * fix: fixed chatpreview and widget issues * fix: fixed chat bugs * fix: fixed readmode * ci(restapi): šŸŽ‰ cut beta release to restapi-v0.0.1-alpha.68 * ci(restapi): šŸŽ‰ cut beta release to restapi-v0.0.1-alpha.68 * ci(restapi): šŸŽ‰ cut beta release to restapi-v0.0.1-alpha.70 * ci(restapi): šŸŽ‰ cut beta release to restapi-v0.0.1-alpha.71 * fix: troubleshoot * fix: fixed gues mode user profile * fix: fixed subscription error * ci(restapi): šŸŽ‰ cut beta release to restapi-v0.0.1-alpha.72 --------- Co-authored-by: Mohammed S * fix: z-index modal (#1152) * Revert "fix: z-index modal (#1152)" (#1153) This reverts commit 4e40221385750a240afde708c73d7b1221e5db0c. * Fix role change stream event (#1157) * fix: fix roleChange stream * fix: fix testcases * Added channel.list API (#1160) * Added channel.list API * Added channel.list API --------- Co-authored-by: Mohammed S Co-authored-by: Madhur Gupta Co-authored-by: Harsh | Push Co-authored-by: Mohammed S Co-authored-by: Monalisha Mishra <42746736+mishramonalisha76@users.noreply.github.com> Co-authored-by: Satyam <100528412+KlausMikhaelson@users.noreply.github.com> Co-authored-by: KlausMikhaelson Co-authored-by: Nilesh Gupta Co-authored-by: Monalisha Mishra Co-authored-by: Kolade Co-authored-by: Arnab Chatterjee <60937304+arn4b@users.noreply.github.com> Co-authored-by: Ashis Kumar Pradhan <38760485+akp111@users.noreply.github.com> Co-authored-by: akp111 Co-authored-by: Pritipriya Singh Co-authored-by: harshrajat Co-authored-by: Siddesh Sankhya <79219618+Siddesh7@users.noreply.github.com> Co-authored-by: Siddesh --- .../src/app/ChatUITest/ChatViewComponent.tsx | 2 +- .../src/app/ListChannelsTest.tsx | 140 ++++++++++++++++++ .../sdk-frontend-react/src/app/app.tsx | 29 ++-- .../restapi/src/lib/channels/getChannels.ts | 42 ++++++ packages/restapi/src/lib/channels/index.ts | 10 +- packages/restapi/src/lib/constantsV2.ts | 12 +- .../pushNotification/PushNotificationTypes.ts | 26 +++- .../src/lib/pushNotification/channel.ts | 64 +++++--- .../restapi/src/lib/pushapi/pushAPITypes.ts | 2 +- 9 files changed, 286 insertions(+), 41 deletions(-) create mode 100644 packages/examples/sdk-frontend-react/src/app/ListChannelsTest.tsx create mode 100644 packages/restapi/src/lib/channels/getChannels.ts diff --git a/packages/examples/sdk-frontend-react/src/app/ChatUITest/ChatViewComponent.tsx b/packages/examples/sdk-frontend-react/src/app/ChatUITest/ChatViewComponent.tsx index d2c2501f6..72f09c750 100644 --- a/packages/examples/sdk-frontend-react/src/app/ChatUITest/ChatViewComponent.tsx +++ b/packages/examples/sdk-frontend-react/src/app/ChatUITest/ChatViewComponent.tsx @@ -20,7 +20,7 @@ const ChatViewComponentTest = () => { console.log("Verification Failed")} - chatId='bd01307fa75e738842b474e0c0aa00385e9aa886ebd33ed246182141f377be5f' + chatId='0x56A734ba4C7c7b117774C9aAcCEf521eBE66d65b' chatProfileLeftHelperComponent={console.debug('clicked')}/>} chatProfileRightHelperComponent={
right component
} diff --git a/packages/examples/sdk-frontend-react/src/app/ListChannelsTest.tsx b/packages/examples/sdk-frontend-react/src/app/ListChannelsTest.tsx new file mode 100644 index 000000000..1eaff946f --- /dev/null +++ b/packages/examples/sdk-frontend-react/src/app/ListChannelsTest.tsx @@ -0,0 +1,140 @@ +import * as PushAPI from '@pushprotocol/restapi'; +import { CONSTANTS } from '@pushprotocol/restapi'; +import React, { useContext, useEffect, useState } from 'react'; +import Loader from './components/Loader'; +import { + CodeFormatter, + Section, + SectionButton, + SectionItem, +} from './components/StyledComponents'; +import { EnvContext, Web3Context } from './context'; + +import { getCAIPAddress } from './helpers'; + +const ChannelsTest = () => { + const { library, account, chainId } = useContext(Web3Context); + const { env, isCAIP } = useContext(EnvContext); + + const [isLoading, setLoading] = useState(false); + + const [page, setPage] = useState(1); + const [limit, setLimit] = useState(10); + const [sort, setSort] = useState(CONSTANTS.FILTER.CHANNEL_LIST.SORT.SUBSCRIBER); + const [order, setOrder] = useState(CONSTANTS.FILTER.CHANNEL_LIST.ORDER.DESCENDING); + + const [channelListData, setChannelListData] = useState(); + + const updatePage = (e: React.SyntheticEvent) => { + setPage(parseInt((e.target as HTMLInputElement).value)); + }; + + const updateLimit = (e: React.SyntheticEvent) => { + setLimit(parseInt((e.target as HTMLInputElement).value)); + }; + + const updateSort = (e: React.SyntheticEvent) => { + setSort((e.target as HTMLInputElement).value); + }; + + const updateOrder = (e: React.SyntheticEvent) => { + setOrder((e.target as HTMLInputElement).value); + }; + + const testGetChannelByAddress = async () => { + try { + setLoading(true); + + // object for channel data + const response = await PushAPI.channels.getChannels({ + env: env, + page: page, + limit: limit, + sort: sort, + order: order, + }); + + setChannelListData(response); + } catch (e) { + console.error(e); + } finally { + setLoading(false); + } + }; + + + + return ( +
+

List Channels Test page

+ + + +
+
+ + + + +
+ + + + + + + + + + + + + + + + +
+ + Get Channels List + +
+
+ +
+ {channelListData ? ( + + {JSON.stringify(channelListData, null, 4)} + + ) : null} +
+
+
+ ); +}; + +export default ChannelsTest; diff --git a/packages/examples/sdk-frontend-react/src/app/app.tsx b/packages/examples/sdk-frontend-react/src/app/app.tsx index 8579dbbd0..a021edfba 100644 --- a/packages/examples/sdk-frontend-react/src/app/app.tsx +++ b/packages/examples/sdk-frontend-react/src/app/app.tsx @@ -1,9 +1,9 @@ import { useWeb3React } from '@web3-react/core'; import { - Web3Context, + AccountContext, EnvContext, SocketContext, - AccountContext, + Web3Context, } from './context'; import { Buffer } from 'buffer'; @@ -33,8 +33,10 @@ import RemoveMembersFromGroupTest from './ChatTest/RemoveMembersFromGroupTest'; import SendMessageTest from './ChatTest/SendMessageTest'; import UpdateGroupTest from './ChatTest/UpdateGroupTest'; import UpdateUserProfile from './ChatTest/UpdateUserProfile'; +import { ChatWidgetTest } from './ChatWidgetTest'; import DelegationTest from './DelegationTest'; import EmbedTest from './EmbedTest'; +import ListChannelsTest from './ListChannelsTest'; import NotificationsTest from './NotificationsTest'; import PayloadsTest from './PayloadsTest'; import SecretNotificationsTest from './SecretNotificationsTest'; @@ -55,18 +57,17 @@ import SpaceTest from './SpaceTest/SpaceTest'; import StartSpaceTest from './SpaceTest/StartSpaceTest'; import StopSpaceTest from './SpaceTest/StopSpaceTest'; import UpdateSpaceTest from './SpaceTest/UpdateSpaceTest'; -import { Checkbox } from './components/Checkbox'; -import ConnectButtonComp from './components/Connect'; -import Dropdown from './components/Dropdown'; import { - SpaceWidget, + CreateSpaceComponent, SpaceBanner, SpaceFeed, - CreateSpaceComponent, SpaceInvitesComponent, + SpaceWidget, } from './SpaceUITest'; import { useSpaceComponents } from './SpaceUITest/useSpaceComponents'; -import { ChatWidgetTest } from './ChatWidgetTest'; +import { Checkbox } from './components/Checkbox'; +import ConnectButtonComp from './components/Connect'; +import Dropdown from './components/Dropdown'; import { ENV } from './helpers'; import { useSDKSocket } from './hooks'; @@ -80,8 +81,8 @@ import { WidgetUIProvider, darkChatTheme, darkWidgetTheme, - lightWidgetTheme, lightChatTheme, + lightWidgetTheme, } from '@pushprotocol/uiweb'; import { ChatSupportTest } from './ChatSupportTest'; import GetGroupMemberStatusTest from './ChatTest/GetGroupMemberStatusTest'; @@ -96,13 +97,13 @@ import ChatViewComponentTest from './ChatUITest/ChatViewComponent'; import ChatViewListTest from './ChatUITest/ChatViewListTest'; import SearchSpaceTest from './SpaceTest/SearchSpaceTest'; -import SpaceUITest from './SpaceUITest/SpaceUITest'; -import GetGroupMemberCountTest from './ChatTest/GetGroupMemberCountTest'; import GetGroupInfoTest from './ChatTest/GetGroupInfoTest'; +import GetGroupMemberCountTest from './ChatTest/GetGroupMemberCountTest'; import GetGroupMembersTest from './ChatTest/GetGroupMembersTest'; +import SpaceUITest from './SpaceUITest/SpaceUITest'; import VideoV2 from './Video'; -import Widget from './widget/Widget'; import { SubscriptionManagerTest } from './widget/SubscriptionManagerTest'; +import Widget from './widget/Widget'; // import { SubscriptionManagerTest } from './widget/SubscriptionManagerTest'; import { UserProfileTest } from './ChatUITest/UserProfileTest'; @@ -361,6 +362,9 @@ export function App() { CHANNELS + + LIST CHANNELS + ALIAS @@ -406,6 +410,7 @@ export function App() { element={} /> } /> + } /> } /> { + const { + env = CONSTANTS.ENV.PROD, + page = 1, + limit = 10, + sort = CONSTANTS.FILTER.CHANNEL_LIST.SORT.SUBSCRIBER, + order = CONSTANTS.FILTER.CHANNEL_LIST.ORDER.DESCENDING, + } = options || {}; + + const API_BASE_URL = getAPIBaseUrls(env); + const apiEndpoint = `${API_BASE_URL}/v1/channels`; + const requestUrl = `${apiEndpoint}?page=${page}&limit=${limit}&sort=${sort}&order=${order}`; + + return await axiosGet(requestUrl) + .then((response) => { + return response.data; + }) + .catch((err) => { + console.error(`[Push SDK] - API ${requestUrl}: `, err); + throw Error(`[Push SDK] - API - Error - API ${requestUrl} -: ${err}`); + }); +}; diff --git a/packages/restapi/src/lib/channels/index.ts b/packages/restapi/src/lib/channels/index.ts index c5431857a..8728fc02a 100644 --- a/packages/restapi/src/lib/channels/index.ts +++ b/packages/restapi/src/lib/channels/index.ts @@ -1,10 +1,12 @@ +export * from './_getSubscribers'; export * from './getChannel'; +export * from './getChannelNotifications'; +export * from './getChannels'; export * from './getDelegates'; +export * from './getSubscribers'; export * from './search'; export * from './subscribe'; -export * from './unsubscribe'; -export * from './_getSubscribers'; -export * from './getSubscribers'; export * from './subscribeV2'; +export * from './unsubscribe'; export * from './unsubscribeV2'; -export * from './getChannelNotifications'; + diff --git a/packages/restapi/src/lib/constantsV2.ts b/packages/restapi/src/lib/constantsV2.ts index f58fa8dfd..a1c98d81e 100644 --- a/packages/restapi/src/lib/constantsV2.ts +++ b/packages/restapi/src/lib/constantsV2.ts @@ -1,4 +1,5 @@ -import { ENV, MessageType, ALPHA_FEATURES, ENCRYPTION_TYPE } from './constants'; +import { ALPHA_FEATURES, ENCRYPTION_TYPE, ENV, MessageType } from './constants'; +import { ChannelListOrderType, ChannelListSortType, ChannelListType } from './pushNotification/PushNotificationTypes'; import { ChatListType } from './pushapi/pushAPITypes'; import { STREAM, SpaceEventType, VideoEventType } from './pushstream/pushStreamTypes'; import { initSpaceData } from './space'; @@ -48,6 +49,15 @@ const CONSTANTS = { BROADCAST: 1, SUBSET: 4, TARGETTED: 3 + }, + CHANNEL: { + LIST_TYPE: ChannelListType, + } + }, + FILTER: { + CHANNEL_LIST: { + SORT: ChannelListSortType, + ORDER: ChannelListOrderType } } }; diff --git a/packages/restapi/src/lib/pushNotification/PushNotificationTypes.ts b/packages/restapi/src/lib/pushNotification/PushNotificationTypes.ts index dbdab6063..9eca06d8e 100644 --- a/packages/restapi/src/lib/pushNotification/PushNotificationTypes.ts +++ b/packages/restapi/src/lib/pushNotification/PushNotificationTypes.ts @@ -1,6 +1,6 @@ -import { NotifictaionType, ProgressHookType } from '../types'; -import { GetAliasInfoOptionsType } from '../alias'; import { ADDITIONAL_META_TYPE } from '../../lib/payloads/constants'; +import { GetAliasInfoOptionsType } from '../alias'; +import { NotifictaionType, ProgressHookType } from '../types'; export type SubscriptionOptions = { account?: string; @@ -126,3 +126,25 @@ export type ChannelFeedsOptions = { export type ChannelOptions = { raw: boolean } + +export type ChannelListOptions = { + page?: number; + limit?: number; + sort?: ChannelListSortType; + order?: ChannelListOrderType; +}; + +export enum ChannelListType { + ALL = 'all', + VERIFIED = 'verified', + UNVERIFIED = 'unverified', +}; + +export enum ChannelListSortType { + SUBSCRIBER = 'subscribers', +}; + +export enum ChannelListOrderType { + ASCENDING = 'asc', + DESCENDING = 'desc', +}; \ No newline at end of file diff --git a/packages/restapi/src/lib/pushNotification/channel.ts b/packages/restapi/src/lib/pushNotification/channel.ts index 762a563a5..abe037cd1 100644 --- a/packages/restapi/src/lib/pushNotification/channel.ts +++ b/packages/restapi/src/lib/pushNotification/channel.ts @@ -1,33 +1,37 @@ import Constants, { ENV } from '../constants'; + +import * as viem from 'viem'; +import * as PUSH_CHANNEL from '../channels'; +import * as config from '../config'; +import { + getCAIPDetails, + getFallbackETHCAIPAddress, + pCAIP10ToWallet, + validateCAIP, +} from '../helpers'; +import * as PUSH_PAYLOAD from '../payloads'; +import PROGRESSHOOK from '../progressHook'; import { - SignerType, ProgressHookType, ProgressHookTypeFunction, + SignerType, } from '../types'; import { + ChannelFeedsOptions, ChannelInfoOptions, + ChannelListOptions, + ChannelListOrderType, + ChannelListSortType, + ChannelOptions, ChannelSearchOptions, - NotificationOptions, CreateChannelOptions, - NotificationSettings, - ChannelFeedsOptions, - ChannelOptions + NotificationOptions, + NotificationSettings } from './PushNotificationTypes'; -import * as config from '../config'; -import * as PUSH_PAYLOAD from '../payloads'; -import * as PUSH_CHANNEL from '../channels'; -import { - getCAIPDetails, - validateCAIP, - getFallbackETHCAIPAddress, - pCAIP10ToWallet, -} from '../helpers'; -import PROGRESSHOOK from '../progressHook'; -import * as viem from 'viem'; -import { PushNotificationBaseClass } from './pushNotificationBase'; -import { Delegate } from './delegate'; import { Alias } from './alias'; +import { Delegate } from './delegate'; +import { PushNotificationBaseClass } from './pushNotificationBase'; export class Channel extends PushNotificationBaseClass { public delegate!: Delegate; @@ -432,10 +436,30 @@ export class Channel extends PushNotificationBaseClass { page, limit }) - - }catch(error){ + } catch(error){ throw new Error(`Push SDK Error: Contract : channel::notifications : ${error}`); } + } + list = async (options?: ChannelListOptions) => { + try{ + const { + page, + limit, + sort = ChannelListSortType.SUBSCRIBER, + order = ChannelListOrderType.DESCENDING, + } = options || {} + + return await PUSH_CHANNEL.getChannels({ + env: this.env, + page, + limit, + sort, + order, + }) + + } catch(error){ + throw new Error(`Push SDK Error: Contract : channel::list : ${error}`); + } } } diff --git a/packages/restapi/src/lib/pushapi/pushAPITypes.ts b/packages/restapi/src/lib/pushapi/pushAPITypes.ts index 311f19fd9..fd31f058c 100644 --- a/packages/restapi/src/lib/pushapi/pushAPITypes.ts +++ b/packages/restapi/src/lib/pushapi/pushAPITypes.ts @@ -1,4 +1,5 @@ import Constants, { ENV } from '../constants'; +import type { PushStream } from '../pushstream/PushStream'; import { ChatStatus, ProgressHookType, @@ -6,7 +7,6 @@ import { SpaceData, SpaceRules, } from '../types'; -import type { PushStream } from '../pushstream/PushStream'; export enum ChatListType { CHATS = 'CHATS',