Skip to content

Commit

Permalink
Get subscribe response (#895)
Browse files Browse the repository at this point in the history
* Update README.md

* fix: rename chats to spaces

* ci(restapi): 🎉 cut beta release to restapi-v0.0.1-alpha.24

* ci(uiweb): 🎉 cut release to uiweb-v1.1.0

* fix: spaces examples fixes

* fix: renamed spaces variables and removed some unused variables

* Update README.md

* ci(uiweb): 🎉 cut release to uiweb-v1.1.1

* ci(restapi): 🎉 cut release to restapi-v1.4.0

* ci(restapi): 🎉 cut release to restapi-v1.4.1

* fix: corrections

* ci(uiweb): 🎉 cut release to uiweb-v1.1.2

* fix: space api

* ci(restapi): 🎉 cut beta release to restapi-v0.0.1-alpha.25

* fix: use SpaceIFeeds

* fix: signer compatibility with viem and ethers

* ci(uiweb): 🎉 cut release to uiweb-v1.1.3

* fix: space feed API path fix

* ci(uiweb): 🎉 cut release to uiweb-v1.1.4

* ci(restapi): 🎉 cut release to restapi-v1.4.2

* 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 <mishramonalisha76@gmail.com>

---------

Co-authored-by: Satyam <100528412+KlausMikhaelson@users.noreply.github.com>
Co-authored-by: KlausMikhaelson <satyamsingh5076@gmail.com>

* 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 <mishramonalisha76@gmail.com>

* fix: exported the theme (#623)

* fix: exported the theme

* fix: fixed issues

---------

Co-authored-by: Monalisha Mishra <mishramonalisha76@gmail.com>

---------

Co-authored-by: Satyam <100528412+KlausMikhaelson@users.noreply.github.com>
Co-authored-by: KlausMikhaelson <satyamsingh5076@gmail.com>

* 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 <mishramonalisha76@gmail.com>

* fix: exported the theme (#623)

* fix: exported the theme

* fix: fixed issues

---------

Co-authored-by: Monalisha Mishra <mishramonalisha76@gmail.com>

* Typebar component (#631)

* feat: added typebar UI

* feat: added functions to typebar

* fix: added icon

* fix: fixed theme issues

---------

Co-authored-by: Monalisha Mishra <mishramonalisha76@gmail.com>

* 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 <satyamsingh5076@gmail.com>
Co-authored-by: Nilesh Gupta <guptanilesh2312@gmail.com>

* 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 <guptanilesh2312@gmail.com>

* 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 <guptanilesh2312@gmail.com>

* 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 <guptanilesh2312@gmail.com>

* fix: QA fixes (#654)

---------

Co-authored-by: Monalisha Mishra <mishramonalisha76@gmail.com>
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 <satyamsingh5076@gmail.com>
Co-authored-by: Kolade <corlardey@gmail.com>

* 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 <mishramonalisha76@gmail.com>

* fix: exported the theme (#623)

* fix: exported the theme

* fix: fixed issues

---------

Co-authored-by: Monalisha Mishra <mishramonalisha76@gmail.com>

* Typebar component (#631)

* feat: added typebar UI

* feat: added functions to typebar

* fix: added icon

* fix: fixed theme issues

---------

Co-authored-by: Monalisha Mishra <mishramonalisha76@gmail.com>

* 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 <satyamsingh5076@gmail.com>
Co-authored-by: Nilesh Gupta <guptanilesh2312@gmail.com>

* 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 <guptanilesh2312@gmail.com>

* 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 <guptanilesh2312@gmail.com>

* 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 <guptanilesh2312@gmail.com>

* 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 <satyamsingh5076@gmail.com>
Co-authored-by: Nilesh Gupta <guptanilesh2312@gmail.com>

* Typebar UI issue (#666)

* fix: fixed typebar space not working and theme

* fix: fixed gif and emoji

---------

Co-authored-by: KlausMikhaelson <satyamsingh5076@gmail.com>

* 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 <mishramonalisha76@gmail.com>

* 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 <madhur@push.org>

* 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 <guptanilesh2312@gmail.com>

* feat: added verification option to show only on token gated groups

* fix: fixing group access control

---------

Co-authored-by: Monalisha Mishra <mishramonalisha76@gmail.com>
Co-authored-by: Mohammed S <shoaib@push.org>
Co-authored-by: Madhur Gupta <madhur@push.org>
Co-authored-by: Arnab Chatterjee <60937304+arn4b@users.noreply.github.com>
Co-authored-by: Nilesh Gupta <guptanilesh2312@gmail.com>

* fix: fixed build

---------

Co-authored-by: Satyam <100528412+KlausMikhaelson@users.noreply.github.com>
Co-authored-by: KlausMikhaelson <satyamsingh5076@gmail.com>
Co-authored-by: Kolade <corlardey@gmail.com>
Co-authored-by: Nilesh Gupta <guptanilesh2312@gmail.com>
Co-authored-by: Mohammed S <shoaib@push.org>
Co-authored-by: Madhur Gupta <madhur@push.org>
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 <mishramonalisha76@gmail.com>

* fix: exported the theme (#623)

* fix: exported the theme

* fix: fixed issues

---------

Co-authored-by: Monalisha Mishra <mishramonalisha76@gmail.com>

* Typebar component (#631)

* feat: added typebar UI

* feat: added functions to typebar

* fix: added icon

* fix: fixed theme issues

---------

Co-authored-by: Monalisha Mishra <mishramonalisha76@gmail.com>

* 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 <satyamsingh5076@gmail.com>
Co-authored-by: Nilesh Gupta <guptanilesh2312@gmail.com>

* 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 <guptanilesh2312@gmail.com>

* 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 <guptanilesh2312@gmail.com>

* 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 <guptanilesh2312@gmail.com>

* 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 <satyamsingh5076@gmail.com>
Co-authored-by: Nilesh Gupta <guptanilesh2312@gmail.com>

* Typebar UI issue (#666)

* fix: fixed typebar space not working and theme

* fix: fixed gif and emoji

---------

Co-authored-by: KlausMikhaelson <satyamsingh5076@gmail.com>

* 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 <mishramonalisha76@gmail.com>

* 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 <madhur@push.org>

* 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 <guptanilesh2312@gmail.com>

* feat: added verification option to show only on token gated groups

* fix: fixing group access control

---------

Co-authored-by: Monalisha Mishra <mishramonalisha76@gmail.com>
Co-authored-by: Mohammed S <shoaib@push.org>
Co-authored-by: Madhur Gupta <madhur@push.org>
Co-authored-by: Arnab Chatterjee <60937304+arn4b@users.noreply.github.com>
Co-authored-by: Nilesh Gupta <guptanilesh2312@gmail.com>

* 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 <mishramonalisha76@gmail.com>
Co-authored-by: Monalisha Mishra <42746736+mishramonalisha76@users.noreply.github.com>
Co-authored-by: Kolade <corlardey@gmail.com>
Co-authored-by: Nilesh Gupta <guptanilesh2312@gmail.com>
Co-authored-by: Mohammed S <shoaib@push.org>
Co-authored-by: Madhur Gupta <madhur@push.org>
Co-authored-by: Arnab Chatterjee <60937304+arn4b@users.noreply.github.com>
Co-authored-by: Aman Gupta <guptaaman200115@gmail.com>

* 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 <mishramonalisha76@gmail.com>

* fix: exported the theme (#623)

* fix: exported the theme

* fix: fixed issues

---------

Co-authored-by: Monalisha Mishra <mishramonalisha76@gmail.com>

* Typebar component (#631)

* feat: added typebar UI

* feat: added functions to typebar

* fix: added icon

* fix: fixed theme issues

---------

Co-authored-by: Monalisha Mishra <mishramonalisha76@gmail.com>

* 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 <satyamsingh5076@gmail.com>
Co-authored-by: Nilesh Gupta <guptanilesh2312@gmail.com>

* 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 <guptanilesh2312@gmail.com>

* 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 <guptanilesh2312@gmail.com>

* 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 <guptanilesh2312@gmail.com>

* 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 <satyamsingh5076@gmail.com>
Co-authored-by: Nilesh Gupta <guptanilesh2312@gmail.com>

* Typebar UI issue (#666)

* fix: fixed typebar space not working and theme

* fix: fixed gif and emoji

---------

Co-authored-by: KlausMikhaelson <satyamsingh5076@gmail.com>

* 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 <mishramonalisha76@gmail.com>

* 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 <madhur@push.org>

* 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 <guptanilesh2312@gmail.com>

* feat: added verification option to show only on token gated groups

* fix: fixing group access control

---------

Co-authored-by: Monalisha Mishra <mishramonalisha76@gmail.com>
Co-authored-by: Mohammed S <shoaib@push.org>
Co-authored-by: Madhur Gupta <madhur@push.org>
Co-authored-by: Arnab Chatterjee <60937304+arn4b@users.noreply.github.com>
Co-authored-by: Nilesh Gupta <guptanilesh2312@gmail.com>

* 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 <satyamsingh5076@gmail.com>
Co-authored-by: Kolade <corlardey@gmail.com>
Co-authored-by: Nilesh Gupta <guptanilesh2312@gmail.com>
Co-authored-by: Mohammed S <shoaib@push.org>
Co-authored-by: Madhur Gupta <madhur@push.org>
Co-authored-by: Arnab Chatterjee <60937304+arn4b@users.noreply.github.com>
Co-authored-by: Aman Gupta <guptaaman200115@gmail.com>

* 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 <mishramonalisha76@gmail.com>

* fix: exported the theme (#623)

* fix: exported the theme

* fix: fixed issues

---------

Co-authored-by: Monalisha Mishra <mishramonalisha76@gmail.com>

* Typebar component (#631)

* feat: added typebar UI

* feat: added functions to typebar

* fix: added icon

* fix: fixed theme issues

---------

Co-authored-by: Monalisha Mishra <mishramonalisha76@gmail.com>

* 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 <satyamsingh5076@gmail.com>
Co-authored-by: Nilesh Gupta <guptanilesh2312@gmail.com>

* 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 <guptanilesh2312@gmail.com>

* 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 <guptanilesh2312@gmail.com>

* 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 <guptanilesh2312@gmail.com>

* 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 <satyamsingh5076@gmail.com>
Co-authored-by: Nilesh Gupta <guptanilesh2312@gmail.com>

* Typebar UI issue (#666)

* fix: fixed typebar space not working and theme

* fix: fixed gif and emoji

---------

Co-authored-by: KlausMikhaelson <satyamsingh5076@gmail.com>

* 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 <mishramonalisha76@gmail.com>

* 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 <madhur@push.org>

* 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 <guptanilesh2312@gmail.com>

* feat: added verification option to show only on token gated groups

* fix: fixing group access control

---------

Co-authored-by: Monalisha Mishra <mishramonalisha76@gmail.com>
Co-authored-by: Mohammed S <shoaib@push.org>
Co-authored-by: Madhur Gupta <madhur@push.org>
Co-authored-by: Arnab Chatterjee <60937304+arn4b@users.noreply.github.com>
Co-authored-by: Nilesh Gupta <guptanilesh2312@gmail.com>

* 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 <satyamsingh5076@gmail.com>
Co-authored-by: Kolade <corlardey@gmail.com>
Co-authored-by: Nilesh Gupta <guptanilesh2312@gmail.com>
Co-authored-by: Mohammed S <shoaib@push.org>
Co-authored-by: Madhur Gupta <madhur@push.org>
Co-authored-by: Arnab Chatterjee <60937304+arn4b@users.noreply.github.com>
Co-authored-by: Aman Gupta <guptaaman200115@gmail.com>

* 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 <mishramonalisha76@gmail.com>

* 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 <satyamsingh5076@gmail.com>

* 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 <satyamsingh5076@gmail.com>

* 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 <guptaaman200115@gmail.com>

* 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 <harsh@epns.io>
Co-authored-by: aman035 <guptaaman200115@gmail.com>
Co-authored-by: Harsh | Push <harsh@push.org>
Co-authored-by: akp111 <pradhanashish95@gmail.com>

* 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 <shoaibmohammed92@gmail.com>

* 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 <guptanilesh2312@gmail.com>

* 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 <guptanilesh2312@gmail.com>

* 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

* fix: added category filter

---------

Co-authored-by: Mohammed S <shoaib@push.org>
Co-authored-by: Mohammed S <shoaibmohammed92@gmail.com>
Co-authored-by: Monalisha Mishra <mishramonalisha76@gmail.com>
Co-authored-by: aman035 <guptaaman200115@gmail.com>
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 <satyamsingh5076@gmail.com>
Co-authored-by: Nilesh Gupta <guptanilesh2312@gmail.com>
Co-authored-by: Kolade <corlardey@gmail.com>
Co-authored-by: Madhur Gupta <madhur@push.org>
Co-authored-by: Arnab Chatterjee <60937304+arn4b@users.noreply.github.com>
Co-authored-by: harshrajat <harsh@epns.io>
Co-authored-by: Harsh | Push <harsh@push.org>
  • Loading branch information
14 people authored Nov 28, 2023
1 parent 9e2a41e commit 0145aed
Show file tree
Hide file tree
Showing 7 changed files with 131 additions and 60 deletions.
7 changes: 6 additions & 1 deletion packages/restapi/src/lib/channels/getSubscribers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ export type GetChannelSubscribersOptionsType = {
channel: string; // plain ETH Format only
page?: number,
limit?: number,
category?: number,
env?: ENV
}

Expand All @@ -28,6 +29,7 @@ export const getSubscribers = async (
channel,
page = 1,
limit = 10,
category,
env = Constants.ENV.PROD,
} = options || {};

Expand All @@ -49,7 +51,10 @@ export const getSubscribers = async (
}
const _channel = await getCAIPAddress(env, channel, 'Channel');
const API_BASE_URL = getAPIBaseUrls(env);
const apiEndpoint = `${API_BASE_URL}/v1/channels/${_channel}/subscribers?page=${page}&limit=${limit}`;
let apiEndpoint = `${API_BASE_URL}/v1/channels/${_channel}/subscribers?page=${page}&limit=${limit}`;
if(category){
apiEndpoint = apiEndpoint+`&category=${category}`
}
return await axios.get(apiEndpoint)
.then((response) => response.data)
.catch((err) => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ export type ChannelInfoOptions = {
channel?: string;
page?: number;
limit?: number;
category?: number
};

export type SubscribeUnsubscribeOptions = {
Expand Down
1 change: 1 addition & 0 deletions packages/restapi/src/lib/pushNotification/channel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ export class Channel extends PushNotificationBaseClass {
env: this.env,
page: options.page,
limit: options.limit ?? 10,
category: options.category
});
} else {
/** @dev - Fallback to deprecated method when page is not provided ( to ensure backward compatibility ) */
Expand Down
29 changes: 21 additions & 8 deletions packages/restapi/src/lib/pushNotification/pushNotificationBase.ts
Original file line number Diff line number Diff line change
Expand Up @@ -762,15 +762,28 @@ export class PushNotificationBaseClass {
const ele = setting[i];
const enabled = ele.enabled ? 1 : 0;
if (ele.enabled) numberOfSettings++;
// slider type

if (Object.keys(ele).includes('value')) {
userSetting =
userSetting +
SLIDER_TYPE +
SETTING_DELIMITER +
enabled +
SETTING_DELIMITER +
ele.value;
// slider type
if (typeof ele.value == 'number')
userSetting =
userSetting +
SLIDER_TYPE +
SETTING_DELIMITER +
enabled +
SETTING_DELIMITER +
ele.value;
else {
userSetting =
userSetting +
RANGE_TYPE +
SETTING_DELIMITER +
enabled +
SETTING_DELIMITER +
ele.value?.lower +
SETTING_DELIMITER +
ele.value?.upper;
}
} else {
// boolean type
userSetting = userSetting + BOOLEAN_TYPE + SETTING_DELIMITER + enabled;
Expand Down
40 changes: 21 additions & 19 deletions packages/restapi/tests/lib/pushNotification/base.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,39 +25,41 @@ enum ENV {
LOCAL = 'local',
}
describe.only('test', () => {
const signer = createWalletClient({
account: privateKeyToAccount(`0x${process.env['WALLET_PRIVATE_KEY']}`),
chain: goerli,
transport: http('https://goerli.blockpi.network/v1/rpc/public'),
});
// const signer = createWalletClient({
// account: privateKeyToAccount(`0x${process.env['WALLET_PRIVATE_KEY']}`),
// chain: goerli,
// transport: http('https://goerli.blockpi.network/v1/rpc/public'),
// });

const signer3 = createWalletClient({
account: privateKeyToAccount(`0x${process.env['WALLET_PRIVATE_KEY']}`),
chain: polygonMumbai,
transport: http(),
});
// const signer3 = createWalletClient({
// account: privateKeyToAccount(`0x${process.env['WALLET_PRIVATE_KEY']}`),
// chain: polygonMumbai,
// transport: http(),
// });

const provider = new ethers.providers.JsonRpcProvider(
'https://goerli.blockpi.network/v1/rpc/public'
);
const signer2 = new ethers.Wallet(
`0x${process.env['WALLET_PRIVATE_KEY']}`,
provider
);
// const provider = new ethers.providers.JsonRpcProvider(
// 'https://goerli.blockpi.network/v1/rpc/public'
// );
// const signer2 = new ethers.Wallet(
// `0x${process.env['WALLET_PRIVATE_KEY']}`,
// provider
// );

// it.only('Test minimal conversion', async () => {
// it('Test minimal conversion', async () => {
// const account2 = await signer2.getAddress();
// const viemUser = new PushNotificationBaseClass(
// signer,
// ENV.STAGING,
// account2
// );
// viemUser.getMinimalUserSetting([
// const res = viemUser.getMinimalUserSetting([
// { enabled: true },
// { enabled: false, value: 10 },
// { enabled: false },
// { enabled: true, value: 10 },
// {enabled: true, value: {lower:10, upper:100}}
// ]);
// console.log(res)
// });
// it('testing with viem', async () => {
// const account2 = await signer2.getAddress();
Expand Down
5 changes: 5 additions & 0 deletions packages/restapi/tests/lib/pushNotification/channel.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,11 @@ describe('PushAPI.channel functionality', () => {
expect(res).not.null;
});

it('Without signer and account : Should return response without passing the options', async () => {
const res = await userKate.channel.subscribers({page:1, limit:10, category:2});
expect(res).not.null;
});

it('Without signer and account : Should throw error for invalid caip', async () => {
await expect(() =>
userBob.channel.subscribers({
Expand Down
108 changes: 76 additions & 32 deletions packages/restapi/tests/lib/pushNotification/notification.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,28 +21,37 @@ describe('PushAPI.notification functionality', () => {
let userViem: PushAPI;
beforeEach(async () => {
signer1 = new ethers.Wallet(
`0x${process.env['NFT_HOLDER_WALLET_PRIVATE_KEY_1']}`
`0x${process.env['WALLET_PRIVATE_KEY']}`
);
account1 = await signer1.getAddress();

const provider = new ethers.providers.JsonRpcProvider(
'https://rpc.sepolia.org'
);

signer2 = new ethers.Wallet(
`0x${process.env['NFT_HOLDER_WALLET_PRIVATE_KEY_1']}`,
`0x${process.env['WALLET_PRIVATE_KEY']}`,
provider
);
account2 = await signer2.getAddress();
viemSigner = createWalletClient({
account: privateKeyToAccount(
`0x${process.env['NFT_HOLDER_WALLET_PRIVATE_KEY_1']}`
`0x${process.env['WALLET_PRIVATE_KEY']}`
),
chain: sepolia,
transport: http(),
});
enum ENV {
PROD = 'prod',
STAGING = 'staging',
DEV = 'dev',
/**
* **This is for local development only**
*/
LOCAL = 'local',
}
// initialisation with signer and provider
userKate = await PushAPI.initialize(signer2);
userKate = await PushAPI.initialize(signer2, {env:ENV.DEV});
// initialisation with signer
userAlice = await PushAPI.initialize(signer1);
// TODO: remove signer1 after signer becomes optional
Expand Down Expand Up @@ -85,7 +94,7 @@ describe('PushAPI.notification functionality', () => {

it('Should return feeds when viem is used', async () => {
const response = await userViem.notification.list('SPAM');
console.log(response)
console.log(response);
expect(response).not.null;
});

Expand All @@ -95,30 +104,30 @@ describe('PushAPI.notification functionality', () => {
channels: ['0xD8634C39BBFd4033c0d3289C4515275102423681'],
raw: true,
});
// console.log(response)
// console.log(response)
expect(response).not.null;
});
});

describe('notification :: subscribe', () => {
beforeEach(async () => {
await userAlice.notification.unsubscribe(
'eip155:11155111:0xD8634C39BBFd4033c0d3289C4515275102423681'
);
// await userAlice.notification.unsubscribe(
// 'eip155:11155111:0xD8634C39BBFd4033c0d3289C4515275102423681'
// );

await userKate.notification.unsubscribe(
'eip155:11155111:0xD8634C39BBFd4033c0d3289C4515275102423681'
);
});
// await userKate.notification.unsubscribe(
// 'eip155:11155111:0xD8634C39BBFd4033c0d3289C4515275102423681'
// );
// });

afterEach(async () => {
await userAlice.notification.unsubscribe(
'eip155:11155111:0xD8634C39BBFd4033c0d3289C4515275102423681'
);
// afterEach(async () => {
// await userAlice.notification.unsubscribe(
// 'eip155:11155111:0xD8634C39BBFd4033c0d3289C4515275102423681'
// );

await userKate.notification.unsubscribe(
'eip155:11155111:0xD8634C39BBFd4033c0d3289C4515275102423681'
);
// await userKate.notification.unsubscribe(
// 'eip155:11155111:0xD8634C39BBFd4033c0d3289C4515275102423681'
// );
});
it.skip('Without signer object: should throw error', async () => {
await expect(() =>
Expand All @@ -138,13 +147,17 @@ describe('PushAPI.notification functionality', () => {

it('With signer object: Should subscribe', async () => {
const res = await userAlice.notification.subscribe(
'eip155:11155111:0xD8634C39BBFd4033c0d3289C4515275102423681', {
settings: [{
enabled: false
},{
enabled: false,
value: 0
}, ]
'eip155:11155111:0xD8634C39BBFd4033c0d3289C4515275102423681',
{
settings: [
{
enabled: false,
},
{
enabled: false,
value: 0,
},
],
}
);
// console.log(res)
Expand All @@ -159,6 +172,39 @@ describe('PushAPI.notification functionality', () => {
expect(res).not.null;
});

it('With signer and provider: Should subscribe', async () => {
const res = await userKate.notification.subscribe(
'eip155:11155111:0xC8c243a4fd7F34c49901fe441958953402b7C024',
{
settings: [
{
enabled: false,
},
{
enabled: true,
value: 15,
},
{
enabled: true,
value: {
lower: 5,
upper: 10,
},
},
{
enabled: true,
value: {
lower: 5,
upper: 10,
},
},
],
}
);
console.log(res)
expect(res).not.null;
});

it('With viem signer and provider: Should subscribe', async () => {
const res = await userViem.notification.subscribe(
'eip155:11155111:0xD8634C39BBFd4033c0d3289C4515275102423681'
Expand All @@ -175,7 +221,7 @@ describe('PushAPI.notification functionality', () => {

it('Signer with no account: Should return response', async () => {
const response = await userAlice.notification.subscriptions();
console.log(response);
console.log(response);
expect(response).not.null;
});

Expand Down Expand Up @@ -208,7 +254,5 @@ describe('PushAPI.notification functionality', () => {
// it("Uploading data to ipfs via push node", async () => {
// await userAlice.uploadToIPFSViaPushNode("test")
// })


});
});
// });

0 comments on commit 0145aed

Please sign in to comment.