Skip to content

Commit

Permalink
Uiweb restapi fixes (#1249)
Browse files Browse the repository at this point in the history
* 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 <[email protected]>

* 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 <[email protected]>

---------

Co-authored-by: Satyam <[email protected]>
Co-authored-by: KlausMikhaelson <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* fix: exported the theme (#623)

* fix: exported the theme

* fix: fixed issues

---------

Co-authored-by: Monalisha Mishra <[email protected]>

---------

Co-authored-by: Satyam <[email protected]>
Co-authored-by: KlausMikhaelson <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* fix: exported the theme (#623)

* fix: exported the theme

* fix: fixed issues

---------

Co-authored-by: Monalisha Mishra <[email protected]>

* Typebar component (#631)

* feat: added typebar UI

* feat: added functions to typebar

* fix: added icon

* fix: fixed theme issues

---------

Co-authored-by: Monalisha Mishra <[email protected]>

* 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 <[email protected]>
Co-authored-by: Nilesh Gupta <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* fix: QA fixes (#654)

---------

Co-authored-by: Monalisha Mishra <[email protected]>
Co-authored-by: Monalisha Mishra <[email protected]>
Co-authored-by: Satyam <[email protected]>
Co-authored-by: KlausMikhaelson <[email protected]>
Co-authored-by: Kolade <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* fix: exported the theme (#623)

* fix: exported the theme

* fix: fixed issues

---------

Co-authored-by: Monalisha Mishra <[email protected]>

* Typebar component (#631)

* feat: added typebar UI

* feat: added functions to typebar

* fix: added icon

* fix: fixed theme issues

---------

Co-authored-by: Monalisha Mishra <[email protected]>

* 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 <[email protected]>
Co-authored-by: Nilesh Gupta <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>
Co-authored-by: Nilesh Gupta <[email protected]>

* Typebar UI issue (#666)

* fix: fixed typebar space not working and theme

* fix: fixed gif and emoji

---------

Co-authored-by: KlausMikhaelson <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* refactor(spaces): use local state instead of get from server while meta message fire (#676)

---------

Co-authored-by: Arnab Chatterjee <[email protected]>
Co-authored-by: Nilesh Gupta <[email protected]>

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

* fix: fixing group access control

---------

Co-authored-by: Monalisha Mishra <[email protected]>
Co-authored-by: Mohammed S <[email protected]>
Co-authored-by: Madhur Gupta <[email protected]>
Co-authored-by: Arnab Chatterjee <[email protected]>
Co-authored-by: Nilesh Gupta <[email protected]>

* fix: fixed build

---------

Co-authored-by: Satyam <[email protected]>
Co-authored-by: KlausMikhaelson <[email protected]>
Co-authored-by: Kolade <[email protected]>
Co-authored-by: Nilesh Gupta <[email protected]>
Co-authored-by: Mohammed S <[email protected]>
Co-authored-by: Madhur Gupta <[email protected]>
Co-authored-by: Arnab Chatterjee <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* fix: exported the theme (#623)

* fix: exported the theme

* fix: fixed issues

---------

Co-authored-by: Monalisha Mishra <[email protected]>

* Typebar component (#631)

* feat: added typebar UI

* feat: added functions to typebar

* fix: added icon

* fix: fixed theme issues

---------

Co-authored-by: Monalisha Mishra <[email protected]>

* 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 <[email protected]>
Co-authored-by: Nilesh Gupta <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>
Co-authored-by: Nilesh Gupta <[email protected]>

* Typebar UI issue (#666)

* fix: fixed typebar space not working and theme

* fix: fixed gif and emoji

---------

Co-authored-by: KlausMikhaelson <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* refactor(spaces): use local state instead of get from server while meta message fire (#676)

---------

Co-authored-by: Arnab Chatterjee <[email protected]>
Co-authored-by: Nilesh Gupta <[email protected]>

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

* fix: fixing group access control

---------

Co-authored-by: Monalisha Mishra <[email protected]>
Co-authored-by: Mohammed S <[email protected]>
Co-authored-by: Madhur Gupta <[email protected]>
Co-authored-by: Arnab Chatterjee <[email protected]>
Co-authored-by: Nilesh Gupta <[email protected]>

* 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 <[email protected]>
Co-authored-by: Monalisha Mishra <[email protected]>
Co-authored-by: Kolade <[email protected]>
Co-authored-by: Nilesh Gupta <[email protected]>
Co-authored-by: Mohammed S <[email protected]>
Co-authored-by: Madhur Gupta <[email protected]>
Co-authored-by: Arnab Chatterjee <[email protected]>
Co-authored-by: Aman Gupta <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* fix: exported the theme (#623)

* fix: exported the theme

* fix: fixed issues

---------

Co-authored-by: Monalisha Mishra <[email protected]>

* Typebar component (#631)

* feat: added typebar UI

* feat: added functions to typebar

* fix: added icon

* fix: fixed theme issues

---------

Co-authored-by: Monalisha Mishra <[email protected]>

* 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 <[email protected]>
Co-authored-by: Nilesh Gupta <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>
Co-authored-by: Nilesh Gupta <[email protected]>

* Typebar UI issue (#666)

* fix: fixed typebar space not working and theme

* fix: fixed gif and emoji

---------

Co-authored-by: KlausMikhaelson <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* refactor(spaces): use local state instead of get from server while meta message fire (#676)

---------

Co-authored-by: Arnab Chatterjee <[email protected]>
Co-authored-by: Nilesh Gupta <[email protected]>

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

* fix: fixing group access control

---------

Co-authored-by: Monalisha Mishra <[email protected]>
Co-authored-by: Mohammed S <[email protected]>
Co-authored-by: Madhur Gupta <[email protected]>
Co-authored-by: Arnab Chatterjee <[email protected]>
Co-authored-by: Nilesh Gupta <[email protected]>

* 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 <[email protected]>
Co-authored-by: KlausMikhaelson <[email protected]>
Co-authored-by: Kolade <[email protected]>
Co-authored-by: Nilesh Gupta <[email protected]>
Co-authored-by: Mohammed S <[email protected]>
Co-authored-by: Madhur Gupta <[email protected]>
Co-authored-by: Arnab Chatterjee <[email protected]>
Co-authored-by: Aman Gupta <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* fix: exported the theme (#623)

* fix: exported the theme

* fix: fixed issues

---------

Co-authored-by: Monalisha Mishra <[email protected]>

* Typebar component (#631)

* feat: added typebar UI

* feat: added functions to typebar

* fix: added icon

* fix: fixed theme issues

---------

Co-authored-by: Monalisha Mishra <[email protected]>

* 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 <[email protected]>
Co-authored-by: Nilesh Gupta <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>
Co-authored-by: Nilesh Gupta <[email protected]>

* Typebar UI issue (#666)

* fix: fixed typebar space not working and theme

* fix: fixed gif and emoji

---------

Co-authored-by: KlausMikhaelson <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* refactor(spaces): use local state instead of get from server while meta message fire (#676)

---------

Co-authored-by: Arnab Chatterjee <[email protected]>
Co-authored-by: Nilesh Gupta <[email protected]>

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

* fix: fixing group access control

---------

Co-authored-by: Monalisha Mishra <[email protected]>
Co-authored-by: Mohammed S <[email protected]>
Co-authored-by: Madhur Gupta <[email protected]>
Co-authored-by: Arnab Chatterjee <[email protected]>
Co-authored-by: Nilesh Gupta <[email protected]>

* 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 <[email protected]>
Co-authored-by: KlausMikhaelson <[email protected]>
Co-authored-by: Kolade <[email protected]>
Co-authored-by: Nilesh Gupta <[email protected]>
Co-authored-by: Mohammed S <[email protected]>
Co-authored-by: Madhur Gupta <[email protected]>
Co-authored-by: Arnab Chatterjee <[email protected]>
Co-authored-by: Aman Gupta <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>
Co-authored-by: aman035 <[email protected]>
Co-authored-by: Harsh | Push <[email protected]>
Co-authored-by: akp111 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

---------

Co-authored-by: Aman Gupta <[email protected]>
Co-authored-by: Mohammed S <[email protected]>

* 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 <[email protected]>
Co-authored-by: Mohammed S <[email protected]>
Co-authored-by: Mohammed S <[email protected]>
Co-authored-by: Monalisha Mishra <[email protected]>
Co-authored-by: Satyam <[email protected]>
Co-authored-by: KlausMikhaelson <[email protected]>
Co-authored-by: Nilesh Gupta <[email protected]>
Co-authored-by: Monalisha Mishra <[email protected]>
Co-authored-by: Kolade <[email protected]>
Co-authored-by: Madhur Gupta <[email protected]>
Co-authored-by: Arnab Chatterjee <[email protected]>
Co-authored-by: Ashis Kumar Pradhan <[email protected]>
Co-authored-by: akp111 <[email protected]>
Co-authored-by: Pritipriya Singh <[email protected]>

* fix: fix errors

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

* fix: changed stream type to any

* 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

* fix: fixed issues on chatpreviewlist (#1044)

* ci(uiweb): 🎉 cut beta release to uiweb-v0.0.1-alpha.37

* 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(resta…
  • Loading branch information
19 people authored May 2, 2024
1 parent 09f3a0c commit 811b8e9
Show file tree
Hide file tree
Showing 101 changed files with 12,495 additions and 10,127 deletions.
3 changes: 2 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{
"workbench.activityBar.orientation": "vertical"
"workbench.activityBar.orientation": "vertical",
"editor.formatOnSave": true
}
1 change: 1 addition & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
nodeLinker: node-modules
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,6 @@
"viem": "^1.3.0"
},
"devDependencies": {
"browserify-zlib": "^0.2.0",
"https-browserify": "^1.0.0",
"node-polyfill-webpack-plugin": "^3.0.0",
"stream-browserify": "^3.0.0",
"stream-http": "^3.2.0",
"@commitlint/cli": "^17.0.0",
"@commitlint/config-angular": "^17.0.0",
"@jscutlery/semver": "^2.27.1",
Expand Down Expand Up @@ -101,6 +96,7 @@
"@web3-react/types": "^6.0.7",
"babel-jest": "27.5.1",
"babel-plugin-styled-components": "^1.10.7",
"browserify-zlib": "^0.2.0",
"chai-as-promised": "^7.1.1",
"commitizen": "^4.2.5",
"cz-conventional-changelog": "^3.3.0",
Expand All @@ -110,20 +106,24 @@
"eslint-plugin-jsx-a11y": "^6.5.1",
"eslint-plugin-react": "^7.29.4",
"eslint-plugin-react-hooks": "^4.5.0",
"https-browserify": "^1.0.0",
"husky": "^8.0.0",
"jest": "27.5.1",
"jest-react-native": "18.0.0",
"metro": "0.70.2",
"metro-babel-register": "0.70.2",
"metro-react-native-babel-preset": "0.70.2",
"metro-resolver": "0.70.2",
"node-polyfill-webpack-plugin": "^3.0.0",
"nx": "14.1.7",
"patch-package": "^6.4.7",
"prettier": "^2.5.1",
"react-native-config": "1.4.5",
"react-native-svg": "12.3.0",
"react-native-svg-transformer": "1.0.0",
"react-test-renderer": "17.0.2",
"stream-browserify": "^3.0.0",
"stream-http": "^3.2.0",
"ts-jest": "27.1.4",
"ts-node": "9.1.1",
"typescript": "5.0.2"
Expand Down
19 changes: 16 additions & 3 deletions packages/examples/boilerplate/index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,19 @@
import { CONSTANTS, PushAPI } from '@pushprotocol/restapi';
import { ethers } from 'ethers';
import input from 'input';

console.log("Hello... what's my purpose?")
console.log("To train all the hackers..")
// Creating a random signer from a wallet, ideally this is the wallet you will connect
const signerAlice = ethers.Wallet.createRandom();

// Initialize wallet user, pass 'prod' instead of 'staging' for mainnet apps
const userAlice = await PushAPI.initialize(signerAlice, { env: CONSTANTS.ENV.PROD });
const userBobAddress = '0x8D4625b4e04d7dE7F158df470a71C5FC4D4d5F4B';

const generateRandomWordsWithTimestamp = () => {
return `${Math.random().toString(36).substring(2)} - ${new Date().toISOString()}`;
}

userAlice.chat.send(userBobAddress, {
content: "Gm gm! It's a me... Alice! - " + generateRandomWordsWithTimestamp(),
});

console.log('Message sent from Alice to ', userBobAddress);
2 changes: 1 addition & 1 deletion packages/examples/boilerplate/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"author": "",
"license": "ISC",
"dependencies": {
"@pushprotocol/restapi": "latest",
"@pushprotocol/restapi": "1.7.11",
"ethers": "5.7.2",
"input": "1.0.1"
},
Expand Down
38 changes: 23 additions & 15 deletions packages/examples/sdk-frontend-react/src/app/ChatSupportTest.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,23 +33,31 @@ export const ChatSupportTest = () => {
return (
//works as Chat as well as Support Chat
<ChatWidget
key= {'460336a9fa83112c95894af5471cd2b1091290a11298d87ec824ed74b7c14974'}
chatId="0x778D3206374f8AC265728E18E3fE2Ae6b93E4ce4"
welcomeComponent={<div style={{display: "flex",flexDirection:'column',border:'1px solid black',overflow:'auto',height:'100%',width:'100%'}}>
<p>Welcome</p>
<p>new chat</p>
<p>Welcome</p>
<p>new chat</p>
<p>Welcome</p>
<p>new chat</p>
<p>Welcome</p>


</div>}

key={'460336a9fa83112c95894af5471cd2b1091290a11298d87ec824ed74b7c14974'}
chatId="4ac5ab85c9c3d57adbdf2dba79357e56b2f9ef0256befe750d9f93af78d2ca68"
welcomeComponent={
<div
style={{
display: 'flex',
flexDirection: 'column',
border: '1px solid black',
overflow: 'auto',
height: '100%',
width: '100%',
}}
>
<p>Welcome</p>
<p>new chat</p>
<p>Welcome</p>
<p>new chat</p>
<p>Welcome</p>
<p>new chat</p>
<p>Welcome</p>
</div>
}
/>
// <SupportChat

// signer={librarySigner}
// supportAddress="4ac5ab85c9c3d57adbdf2dba79357e56b2f9ef0256befe750d9f93af78d2ca68"
// env={env}
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
import styled from 'styled-components';

import { ChatView, CreateGroupModal, MODAL_BACKGROUND_TYPE, MODAL_POSITION_TYPE, UserProfile } from "@pushprotocol/uiweb";
import {
ChatView,
CreateGroupModal,
MODAL_BACKGROUND_TYPE,
MODAL_POSITION_TYPE,
UserProfile,
} from '@pushprotocol/uiweb';
import { Section } from '../components/StyledComponents';
import Img from '../../assets/epnsLogo.png';

Expand All @@ -13,22 +19,26 @@ const ChatViewComponentTest = () => {
return (
<div>
<h2>Chat View Test page</h2>

<CreateGroupModal onClose={()=>{console.log('in close')}} />
<ChatViewComponentCard>
{/* <CreateGroupModal onClose={()=>{console.log('in close')}} modalBackground={MODAL_BACKGROUND_TYPE.OVERLAY} modalPositionType={MODAL_POSITION_TYPE.RELATIVE}/> */}
<ChatView
onVerificationFail={() => console.log("Verification Failed")}

chatId='0xf8250D363BD1F25f52F10C21188fe82c68C049c4'
chatProfileLeftHelperComponent={<img src={Img} onClick={()=>console.debug('clicked')}/>}
{/* <CreateGroupModal
onClose={() => {
console.log('in close');
}}
/> */}
<ChatViewComponentCard>
{/* <CreateGroupModal onClose={()=>{console.log('in close')}} modalBackground={MODAL_BACKGROUND_TYPE.OVERLAY} modalPositionType={MODAL_POSITION_TYPE.RELATIVE}/> */}
<ChatView
onVerificationFail={() => console.log('Verification Failed')}
chatId="4ac5ab85c9c3d57adbdf2dba79357e56b2f9ef0256befe750d9f93af78d2ca68"
chatProfileLeftHelperComponent={
<img src={Img} onClick={() => console.debug('clicked')} />
}
chatProfileRightHelperComponent={<div>right component</div>}

limit={10}
isConnected={true}
isConnected={true}
groupInfoModalBackground={MODAL_BACKGROUND_TYPE.OVERLAY}
groupInfoModalPositionType={MODAL_POSITION_TYPE.RELATIVE}
verificationFailModalPosition={MODAL_POSITION_TYPE.RELATIVE}
// groupInfoModalPositionType={MODAL_POSITION_TYPE.RELATIVE}
// verificationFailModalPosition={MODAL_POSITION_TYPE.RELATIVE}

// welcomeComponent={<div style={{display: "flex",flexDirection:'column',border:'1px solid black'}}>
// <p>Welcome</p>
Expand All @@ -39,20 +49,18 @@ const ChatViewComponentTest = () => {
// <p>new chat</p>
// <p>Welcome</p>


// </div>}

/>
/>
</ChatViewComponentCard>
</div>
);
}
};

export default ChatViewComponentTest;

const ChatViewComponentCard = styled(Section)`
height: 80vh;
position:relative;
position: relative;
`;
//c2d544ad9d1efd5c5a593b143bf8232875c926cf28015564e70ad078b95f807e
//4ac5ab85c9c3d57adbdf2dba79357e56b2f9ef0256befe750d9f93af78d2ca68
15 changes: 9 additions & 6 deletions packages/examples/sdk-frontend-react/src/app/app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ export function App() {
const user = await PushApi.user.get({ account: account, env });
let pgpPrivateKey;
const librarySigner = await library.getSigner(account);
const pushUser = await PushAPI.initialize(librarySigner!, {
const pushUser = await PushAPI.initialize({
env: env,
account: account,
alpha: { feature: ['SCALABILITY_V2'] },
Expand Down Expand Up @@ -339,13 +339,13 @@ export function App() {
<Web3Context.Provider value={{ account, active, library, chainId }}>
<SocketContext.Provider value={socketData}>
<AccountContext.Provider value={{ pgpPrivateKey, setSpaceId }}>
<WidgetUIProvider

>
<WidgetUIProvider>
<ChatUIProvider
env={env}
theme={darkChatTheme}
// signer={signer}
signer={signer}
// user={pushUser}
debug={true}
>
<SpacesUIProvider spaceUI={spaceUI} theme={customDarkTheme}>
<Routes>
Expand Down Expand Up @@ -410,7 +410,10 @@ export function App() {
element={<SecretNotificationsTest />}
/>
<Route path="/channels" element={<ChannelsTest />} />
<Route path="/listchannels" element={<ListChannelsTest />} />
<Route
path="/listchannels"
element={<ListChannelsTest />}
/>
<Route path="/alias" element={<AliasTest />} />
<Route
path="/delegations"
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
import { CONSTANTS, PushAPI } from '@pushprotocol/restapi';
import { ethers } from 'ethers';
import input from 'input';

console.log("Hello... what's my purpose?")
console.log("To train all the hackers..")

// Create read only user
const readOnlyAccount = await PushAPI.initialize(null, {
account: '0x0000000000000000000000000000000000000001',
env: CONSTANTS.ENV.PROD
});

// get chat info
const recipient = 'eip155:0x99A08ac6254dcf7ccc37CeC662aeba8eFA666666';
const chatInfo = await readOnlyAccount.chat.info(recipient);

console.log('Chat Info:', chatInfo);
39 changes: 39 additions & 0 deletions packages/examples/several-examples/example-chat-profile-update.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
import { CONSTANTS, PushAPI } from '@pushprotocol/restapi';
import { ethers } from 'ethers';
import input from 'input';

console.log("Hello... what's my purpose?")
console.log("To train all the hackers..")

// Requesting private key from user
// This is a demo to show how profile of a user can be changed
console.log("This demo requires a wallet to be initialized via private key so that the profile can be applied");
console.log("Alternatively just leave the input empty and we will create a new user");
let pk = await input.text('Enter private key of your wallet -');
if (pk.length > 0 && pk.substr(0, 2) !== '0x') {
pk = '0x' + pk;
}

// Loading signer from private key, ideally this is the wallet you will connect
const signer = pk.length > 0 ? new ethers.Wallet(pk) : ethers.Wallet.createRandom();

// Print wallet address
console.log('Wallet address: ', signer.address);

// Initialize wallet user, pass 'prod' instead of 'staging' for mainnet apps
let userAlice = await PushAPI.initialize(signer, { env: CONSTANTS.ENV.PROD });
console.log('User initialized the user', userAlice);

let name = await input.text('Enter Push Profile Name -');
let desc = await input.text('Enter Push Profile Desc -');

// Manually input this as base64 encoded image might be too long
let image = await input.text('Enter Push Profile Image -');

userAlice = await userAlice.profile.update({
name: name !== '' ? name : null,
desc: desc !== '' ? desc : null,
image: image !== '' ? image : null
});
console.log('User updated the profile', userAlice);

Loading

0 comments on commit 811b8e9

Please sign in to comment.