Skip to content

Commit

Permalink
Alpha (#571)
Browse files Browse the repository at this point in the history
* ci(restapi): 🎉 cut release to restapi-v1.0.0

* fix(component): dummy

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

* fix(component): dummy

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

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

* fix(component): dummy

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

* fix(component): dummy

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

* fix(component): dummy

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

* fix: success progressHook

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

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

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

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

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

* fix(component): dummy

* fix(component): dummy

* fix(component): dummy

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

* fix(component): dummy

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

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

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

* fix: local for local development (#295)

Co-Authored-By: aman035 <guptaaman200115@gmail.com>

* fix: version update

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

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

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

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

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

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

* ci(socket): 🎉 cut release to socket-v0.5.0

* fix: test commit

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

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

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

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

* fix: added ci-version-beta

* fix: added ci-version-beta

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

* fix: added releaseType

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

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

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

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

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

* Add wallet to wallet video call methods (#309)

* feat(video): add create and request method

* feat(video): add simple-peer dependency

* feat(video): add acceptRequest method

* feat(video): add establish and end methods

* refactor(video): wrap video methods in a class

* feat(video): add video audio toggle functions

* fix(video): add pgp private key in send video call notification

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

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

* Alpha deployment (#357)

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

* fix(component): dummy

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

* fix(component): dummy

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

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

* fix(component): dummy

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

* fix(component): dummy

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

* fix(component): dummy

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

* fix: success progressHook

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

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

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

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

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

* fix(component): dummy

* fix(component): dummy

* fix(component): dummy

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

* fix(component): dummy

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

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

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

* fix: local for local development (#295)

Co-Authored-By: aman035 <guptaaman200115@gmail.com>

* fix: version update

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

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

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

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

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

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

* ci(socket): 🎉 cut release to socket-v0.5.0

* fix: test commit

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

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

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

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

* fix: added ci-version-beta

* fix: added ci-version-beta

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

* fix: added releaseType

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

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

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

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

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

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

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

---------

Co-authored-by: aman035 <guptaaman200115@gmail.com>

* fix: added pagination and deprecation tag (#346)

* fix: eip191v2 signatures for create and auth.update (#353)

* fix: changed Definitions for auth.update and upgrade (#351)

* fix: changed Definitions for auth.update and upgrade

* fix: chnaged demoreact

* fix: revert code no

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

* fix: sendVideoNotification and end video call logic (#367)

* feat(video): add create and request method

* feat(video): add simple-peer dependency

* feat(video): add acceptRequest method

* feat(video): add establish and end methods

* refactor(video): wrap video methods in a class

* feat(video): add video audio toggle functions

* fix(video): add pgp private key in send video call notification

* fix(video): fix end call logic and remove hidden ppt from send video call notifications

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

* Modify video class (#379)

* feat(video): add create and request method

* feat(video): add simple-peer dependency

* feat(video): add acceptRequest method

* feat(video): add establish and end methods

* refactor(video): wrap video methods in a class

* feat(video): add video audio toggle functions

* fix(video): add pgp private key in send video call notification

* fix(video): fix end call logic and remove hidden ppt from send video call notifications

* refactor(video): combine all the states in the Video class to single state

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

* fix: Replace arrow functions with normal functions in the Video class (#380)

* feat(video): add create and request method

* feat(video): add simple-peer dependency

* feat(video): add acceptRequest method

* feat(video): add establish and end methods

* refactor(video): wrap video methods in a class

* feat(video): add video audio toggle functions

* fix(video): add pgp private key in send video call notification

* fix(video): fix end call logic and remove hidden ppt from send video call notifications

* refactor(video): combine all the states in the Video class to single state

* fix(video): replace arrow functions with normal functions

---------

Co-authored-by: Madhur Gupta <madhur@epns.io>

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

* fix(video): separate react state from video class instance variable data (#389)

Co-authored-by: Madhur Gupta <madhur@epns.io>

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

* fix: url fix

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

* fix: add video call retry logic upon error & doc: add video call in restapi/readme  (#391)

* docs(video): add video calls in restapi readme

* fix(video): add video call retry logic upon error

---------

Co-authored-by: Madhur Gupta <madhur@epns.io>

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

* fix(video): remove status change upon connect in request (#394)

Co-authored-by: Madhur Gupta <madhur@epns.io>

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

* docs: add push video backend example (#396)

* docs(video): add backend exmaple for push video

* fix(video): add backend compatibility to create function

---------

Co-authored-by: Madhur Gupta <madhur@epns.io>

* fix(video): set trickle to true while creating peer instance (#397)

Co-authored-by: Madhur Gupta <madhur@epns.io>

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

* fix(video): turn off trickle while creating peer instance (#398)

Co-authored-by: Madhur Gupta <madhur@epns.io>

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

* fix: added deprecated info to history (#399)

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

* revert(getverificationproof): add wallet and env params to getVerificationProof (#403)

Co-authored-by: Madhur Gupta <madhur@epns.io>

* fix(video): remove stop audio/video logic from create function (#404)

Co-authored-by: Madhur Gupta <madhur@epns.io>

* fix: changed additionalMeta structure (#406)

* docs: update

* docs: update

* fix: changed additionalMeta strcuture

---------

Co-authored-by: strykerin <dacosta.pereirafabio@gmail.com>

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

* fix: added enums

* fix: fix versions

* fix(sendvideonotifications): modify additional meta acc to new std (#407)

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

* fix(types): remove bad import

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

* fix(video): fix enableAudio

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

* fix: backward compatiblity fix

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

* docs: Update the enableVideo/Audio methods

* fix: fix nft videocall (#411)

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

* fix: Iuser structure changed (#365)

* fix: iuser changed

* fix: changed route

* fix: change profilePicture to picture

* fix: fixed tests

* fix: fix nftOwner and readme

* fix: iuser changes

* Deployment (#390)

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

* fix(component): dummy

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

* fix(component): dummy

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

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

* fix(component): dummy

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

* fix(component): dummy

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

* fix(component): dummy

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

* fix: success progressHook

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

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

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

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

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

* fix(component): dummy

* fix(component): dummy

* fix(component): dummy

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

* fix(component): dummy

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

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

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

* fix: local for local development (#295)

Co-Authored-By: aman035 <guptaaman200115@gmail.com>

* fix: version update

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

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

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

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

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

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

* ci(socket): 🎉 cut release to socket-v0.5.0

* fix: test commit

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

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

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

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

* fix: added ci-version-beta

* fix: added ci-version-beta

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

* fix: added releaseType

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

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

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

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

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

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

* fix: linkedListHash test cases removed & CI version corrected

* fix: update name to beta

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

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

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

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

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

* fix: update package json

* fix: updated socket version

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

* fix: socket lib update

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

---------

Co-authored-by: aman035 <guptaaman200115@gmail.com>

* fix: add deprecated info to chat.chat (#392)

* fix: show hardcoded msg rather than throwing error (#388)

* docs: update

* fix: fix decprecated param and verification of keys

---------

Co-authored-by: Mohammed S <shoaibmohammed92@gmail.com>
Co-authored-by: strykerin <dacosta.pereirafabio@gmail.com>

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

* fix: add spaces for functions (#307)

* fix: add spaces for functions

* fix: Separate page for space in the demo react APP

* fix: start/stop spaces functions

* fix: fix image and description types

* fix: added functions to add and remove members from group

* fix: spaces functions

* fix: spaces functions refactoring

* fix: few more changes

* fix: spaces function testing

* fix: spaces functions

* fix: SDK bug fixes

* fix: SDK bug fixes

* fix: minor fixes

* fix: minor fix

* fix: minor fix

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

* fix(video): fix error on repeated acceptRequest calls (#442)

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

* fix: update path

* fix: add name to SpaceIFeeds

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

* fix: rename based on new convention

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

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

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

* fix: new commit

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

* fix: spaces naming

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

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

* Add alpha version of Spaces SDK (#513)

* refactor: added initial SpacesUI class architecture

* Update packages/uiweb/src/lib/components/space/SpacesUI.tsx

Co-authored-by: Arnab Chatterjee <60937304+arn4b@users.noreply.github.com>

* Update packages/uiweb/src/lib/components/space/SpacesUI.tsx

Co-authored-by: Arnab Chatterjee <60937304+arn4b@users.noreply.github.com>

* fix: refine code structure

* refactor: change structure and added a test sample

* feat: added themeprovider for spaces ui components (#436)

* feat: feat: add themeprovider for spaces

* fix: resolved conflicts

* refactor: cleaned up provider

* refactor: resolved comments

* feat: added colors and themeing in demoreactapp

* refactor: cleaned code

* refactor: resolved comments

* refactor: added a basic style structure for ease of use (#453)

* feat: SpaceBanner Component (#438)

* feat: SpaceBanner

* refactor: removed-optionals

* feat: space-banner functionality

* fix: reverted app.tsx

* fix: reverted app.tsx

* fix: removed test svg file

* refactor: change structure and added a test sample

* feat: space-banner functionality

* refactor: api-implementation

* fix: removed-svg

* refactor: mobile version

* Revert "fix: removed test svg file"

This reverts commit 7af756b.

* Revert "refactor: change structure and added a test sample"

This reverts commit b1e8745.

* fix: revert

* refactor: lastest-pull

* feat: added-spaceBanner-test

* refactor: cache-to-context

* refactor: custom hook added for data

* refactor: spaceDTO

* fix: SpaceDTO implementation

* refactor: participant-container

* refactor: cleanups

* fix: ui-fixes

* fix: EOF newlines

* fix: overflow-fixed

* refactor: tweaked context structure a bit

---------

Co-authored-by: Samarendra Gouda <samarendragouda@gmail.com>
Co-authored-by: Nilesh Gupta <guptanilesh2312@gmail.com>

* refactor: updated theme object along with light and dark theme

* feat: Create Space Component (#454)

* refactor: resolved merge conflicts

* feat: added modals and modal behaviour logic

* feat: modal inputs

* feat: change modal logic + integr8 API

* feat: added CSS for modals and inputs

* fix: resolved PR comments

* refactor: improve css

* refactor: rft create modal

* feat: added search input component

* Refactor/space widget component (#458)

* refactor: added basic design

* refactor: added full widget with style

* refactor: reduced fixed height of scheduled widget content

* refactor: changes requested

* refactor: resolved review comments

* feat: add spaces info component (#474)

* Feat/added members modal (#477)

* refactor: added modal

* refactor: added members modal

* refactor: review comments

* refactor: resolve review comments

* fix: review comments

* 424 spaces functions webrtc logic (#482)

* fix: add spaces for functions

* fix: Separate page for space in the demo react APP

* fix: start/stop spaces functions

* fix: fix image and description types

* fix: added functions to add and remove members from group

* fix: spaces functions

* fix: spaces functions refactoring

* fix: few more changes

* fix: spaces function testing

* fix: spaces functions

* fix: SDK bug fixes

* fix: SDK bug fixes

* fix: minor fixes

* fix: minor fix

* fix: minor fix

* feat(video): add create mesh connection logic in Video class

* feat(spaces): make video mesh compatible & add spaces class

* feat(spaces): add backend methods in Space class

---------

Co-authored-by: Shoaib Mohammed <shoaibmohammed92@gmail.com>
Co-authored-by: Madhur Gupta <madhur@push.org>

* refactor: spaces UI Components refactor (#478)

> replaced hardcoded styles with context theme >added smoother animations on collapsoble components
>added profile cards to invite modal

* refactor: added spaceUI class variables into context as well (#488)

* refactor: added spaceUI class variables into context as well

* refactor: resolve review comments

* refactor: added a clickHandler in spaceBanner component for extra flexibility (#489)

* fix(spaces): fix console errs and refactor create, update methods (#492)

* fix: add spaces for functions

* fix: Separate page for space in the demo react APP

* fix: start/stop spaces functions

* fix: fix image and description types

* fix: added functions to add and remove members from group

* fix: spaces functions

* fix: spaces functions refactoring

* fix: few more changes

* fix: spaces function testing

* fix: spaces functions

* fix: SDK bug fixes

* fix: SDK bug fixes

* fix: minor fixes

* fix: minor fix

* fix: minor fix

* feat(video): add create mesh connection logic in Video class

* feat(spaces): make video mesh compatible & add spaces class

* feat(spaces): add backend methods in Space class

* fix: Merge branch 'alpha' into 424-spaces-functions-webrtc-logic

* fix(spaces): fix console errors and move out create, update functions from Space class

---------

Co-authored-by: Shoaib Mohammed <shoaibmohammed92@gmail.com>

* refactor: modified init class method

* refactor/added-space-feed-component(#481)

* feat: space-feed

* refactor: space-feed

* Deployment (#440)

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

* fix(component): dummy

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

* fix(component): dummy

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

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

* fix(component): dummy

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

* fix(component): dummy

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

* fix(component): dummy

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

* fix: success progressHook

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

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

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

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

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

* fix(component): dummy

* fix(component): dummy

* fix(component): dummy

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

* fix(component): dummy

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

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

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

* fix: local for local development (#295)

Co-Authored-By: aman035 <guptaaman200115@gmail.com>

* fix: version update

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

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

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

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

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

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

* ci(socket): 🎉 cut release to socket-v0.5.0

* fix: test commit

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

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

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

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

* fix: added ci-version-beta

* fix: added ci-version-beta

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

* fix: added releaseType

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

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

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

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

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

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

* fix: linkedListHash test cases removed & CI version corrected

* fix: update name to beta

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

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

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

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

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

* fix: update package json

* fix: updated socket version

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

* fix: socket lib update

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

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

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

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

* ci(socket): 🎉 cut release to socket-v0.5.1

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

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

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

---------

Co-authored-by: aman035 <guptaaman200115@gmail.com>

* feat: space-feed

* refactor: space-feed

* fix: api-call-custom-hooks

* fix: api-call

* refactor: enums/changes

* fix: scrollable

* fix: scrolling-issue

* feat: filter-changes

* fix: added types

* fix: loader-issue

* fix: tab-button-color

* feat: new-filter and prop

* fix: ended-logic && participant-number logic

* refactor: add onBannerClick

* fix: conflicts

* revert: messed-up spaceBanner

* fix: onClick issue

* fix: onClick and cleanups

* refactor: new pagination interface

* fix: scroll-logic

* fix: scroll-final

* fix: ..

* fix: removed any

* fix: onClick-issue

* fix: loading-context-to-state

* refactor: add-NoSpaceIcons

* refactor: new-ui-layout

* refactor: new-ui-layout

---------

Co-authored-by: Mohammed S <shoaibmohammed92@gmail.com>
Co-authored-by: aman035 <guptaaman200115@gmail.com>
Co-authored-by: Nilesh Gupta <guptanilesh2312@gmail.com>

* refactor: added structure for spaces invites modal component

* refactor: invite-component

* fix: minor-bug

* feat: Create Space API Integration (#494)

* feat: create spaces integration

* feat: added datetime picker

* feat: completed create space API integration

* feat: changed flow and time component

* feat(spaces): initiate livepeer playback in start method (#499)

* fix: add spaces for functions

* fix: Separate page for space in the demo react APP

* fix: start/stop spaces functions

* fix: fix image and description types

* fix: added functions to add and remove members from group

* fix: spaces functions

* fix: spaces functions refactoring

* fix: few more changes

* fix: spaces function testing

* fix: spaces functions

* fix: SDK bug fixes

* fix: SDK bug fixes

* fix: minor fixes

* fix: minor fix

* fix: minor fix

* feat(video): add create mesh connection logic in Video class

* feat(spaces): make video mesh compatible & add spaces class

* feat(spaces): add backend methods in Space class

* fix: Merge branch 'alpha' into 424-spaces-functions-webrtc-logic

* fix(spaces): fix console errors and move out create, update functions from Space class

* feat(spaces): initiate livepeer playback in start method

* feat(spaces): store livepeer playback id in space description

---------

Co-authored-by: Shoaib Mohammed <shoaibmohammed92@gmail.com>

* Add initialize method (#505)

* fix: add spaces for functions

* fix: Separate page for space in the demo react APP

* fix: start/stop spaces functions

* fix: fix image and description types

* fix: added functions to add and remove members from group

* fix: spaces functions

* fix: spaces functions refactoring

* fix: few more changes

* fix: spaces function testing

* fix: spaces functions

* fix: SDK bug fixes

* fix: SDK bug fixes

* fix: minor fixes

* fix: minor fix

* fix: minor fix

* feat(video): add create mesh connection logic in Video class

* feat(spaces): make video mesh compatible & add spaces class

* feat(spaces): add backend methods in Space class

* fix: Merge branch 'alpha' into 424-spaces-functions-webrtc-logic

* fix(spaces): fix console errors and move out create, update functions from Space class

* feat(spaces): initiate livepeer playback in start method

* feat(spaces): store livepeer playback id in space description

* feat(spaces): add intitialize method

---------

Co-authored-by: Shoaib Mohammed <shoaibmohammed92@gmail.com>

* refactor: resolved css in space banner

* refactor: added a skeleton loading effect on space Banner component

* feat: add invite functionality to create space (#506)

* feat: added invite functionality

* fix: add logic for time selector

* fix: css fixes

* refactor: info-on-widget (#504)

* refactor: info-on-widget

* refactor: add Space class to context

* fix: padding, added new mic icons

* fix: added-ref to context

* feat: start added

* fix: remove optional spaceId

* fix: inf-bug

* fix: effectAdded

* fix(spaces): add is supported check in start

* refactor: added-join-functionalities (#507)

* refactor: added-join-functionalities

* fix: screens

* fix(spaces): fix livepeer stream creation in start

---------

Co-authored-by: Madhur Gupta <madhur@push.org>

* Fix join and pgpPrivateKey in demoreact (#508)

* refactor: info-on-widget

* refactor: add Space class to context

* fix: padding, added new mic icons

* fix: added-ref to context

* feat: start added

* fix: remove optional spaceId

* fix: inf-bug

* fix: effectAdded

* fix(spaces): add is supported check in start

* refactor: added-join-functionalities

* fix: screens

* refactor: added-join-functionalities (#507)

* refactor: added-join-functionalities

* fix: screens

* fix(spaces): fix livepeer stream creation in start

* fix: join function

---------

Co-authored-by: samarendra-push <samarendra@push.org>
Co-authored-by: Samarendra Gouda <134079446+samarendra-push@users.noreply.github.com>

* refactor: added feature of triggering widget from sdk

* fix(spaces): fix join as speaker and listner

* fix: resolved updating env and other class variables

* Spaces/UI migration (#510)

* fix: ui-migration

* fix: migration fixes

* refactor: added notification socket for space in uiweb

* feat: add remove and admin func to invite modal (#509)

* feat: add remove and admin func to invite modal

* fix: fix null

* fix(spaces): fix start

* feat: add join functionality to invited spaces (#512)

* feat: add join functionality to invited spaces

* fix: open space widget after joining

* refactor: add audio playback from space speakers (#511)

* refactor: added a hidden Video container

* fix: migrated initSpaceObject to parent component

* feat(spaces): add user feeds socket handler logic

---------

Co-authored-by: Nilesh Gupta <guptanilesh2312@gmail.com>
Co-authored-by: Arnab Chatterjee <60937304+arn4b@users.noreply.github.com>
Co-authored-by: Samarendra Gouda <134079446+samarendra-push@users.noreply.github.com>
Co-authored-by: Samarendra Gouda <samarendragouda@gmail.com>
Co-authored-by: Shoaib Mohammed <shoaibmohammed92@gmail.com>
Co-authored-by: aman035 <guptaaman200115@gmail.com>
Co-authored-by: samarendra-push <samarendra@push.org>

* Spaces backend examples (#522)

* fix: spaces documentation

* Update README.md

* fix: formatting issues

* fix: uncommented code

* Spaces SDK alpha publish (#520)

* refactor: added initial SpacesUI class architecture

* Update packages/uiweb/src/lib/components/space/SpacesUI.tsx

Co-authored-by: Arnab Chatterjee <60937304+arn4b@users.noreply.github.com>

* Update packages/uiweb/src/lib/components/space/SpacesUI.tsx

Co-authored-by: Arnab Chatterjee <60937304+arn4b@users.noreply.github.com>

* fix: refine code structure

* refactor: change structure and added a test sample

* feat: added themeprovider for spaces ui components (#436)

* feat: feat: add themeprovider for spaces

* fix: resolved conflicts

* refactor: cleaned up provider

* refactor: resolved comments

* feat: added colors and themeing in demoreactapp

* refactor: cleaned code

* refactor: resolved comments

* refactor: added a basic style structure for ease of use (#453)

* feat: SpaceBanner Component (#438)

* feat: SpaceBanner

* refactor: removed-optionals

* feat: space-banner functionality

* fix: reverted app.tsx

* fix: reverted app.tsx

* fix: removed test svg file

* refactor: change structure and added a test sample

* feat: space-banner functionality

* refactor: api-implementation

* fix: removed-svg

* refactor: mobile version

* Revert "fix: removed test svg file"

This reverts commit 7af756b.

* Revert "refactor: change structure and added a test sample"

This reverts commit b1e8745.

* fix: revert

* refactor: lastest-pull

* feat: added-spaceBanner-test

* refactor: cache-to-context

* refactor: custom hook added for data

* refactor: spaceDTO

* fix: SpaceDTO implementation

* refactor: participant-container

* refactor: cleanups

* fix: ui-fixes

* fix: EOF newlines

* fix: overflow-fixed

* refactor: tweaked context structure a bit

---------

Co-authored-by: Samarendra Gouda <samarendragouda@gmail.com>
Co-authored-by: Nilesh Gupta <guptanilesh2312@gmail.com>

* refactor: updated theme object along with light and dark theme

* feat: Create Space Component (#454)

* refactor: resolved merge conflicts

* feat: added modals and modal behaviour logic

* feat: modal inputs

* feat: change modal logic + integr8 API

* feat: added CSS for modals and inputs

* fix: resolved PR comments

* refactor: improve css

* refactor: rft create modal

* feat: added search input component

* Refactor/space widget component (#458)

* refactor: added basic design

* refactor: added full widget with style

* refactor: reduced fixed height of scheduled widget content

* refactor: changes requested

* refactor: resolved review comments

* feat: add spaces info component (#474)

* Feat/added members modal (#477)

* refactor: added modal

* refactor: added members modal

* refactor: review comments

* refactor: resolve review comments

* fix: review comments

* 424 spaces functions webrtc logic (#482)

* fix: add spaces for functions

* fix: Separate page for space in the demo react APP

* fix: start/stop spaces functions

* fix: fix image and description types

* fix: added functions to add and remove members from group

* fix: spaces functions

* fix: spaces functions refactoring

* fix: few more changes

* fix: spaces function testing

* fix: spaces functions

* fix: SDK bug fixes

* fix: SDK bug fixes

* fix: minor fixes

* fix: minor fix

* fix: minor fix

* feat(video): add create mesh connection logic in Video class

* feat(spaces): make video mesh compatible & add spaces class

* feat(spaces): add backend methods in Space class

---------

Co-authored-by: Shoaib Mohammed <shoaibmohammed92@gmail.com>
Co-authored-by: Madhur Gupta <madhur@push.org>

* refactor: spaces UI Components refactor (#478)

> replaced hardcoded styles with context theme >added smoother animations on collapsoble components
>added profile cards to invite modal

* refactor: added spaceUI class variables into context as well (#488)

* refactor: added spaceUI class variables into context as well

* refactor: resolve review comments

* refactor: added a clickHandler in spaceBanner component for extra flexibility (#489)

* fix(spaces): fix console errs and refactor create, update methods (#492)

* fix: add spaces for functions

* fix: Separate page for space in the demo react APP

* fix: start/stop spaces functions

* fix: fix image and description types

* fix: added functions to add and remove members from group

* fix: spaces functions

* fix: spaces functions refactoring

* fix: few more changes

* fix: spaces function testing

* fix: spaces functions

* fix: SDK bug fixes

* fix: SDK bug fixes

* fix: minor fixes

* fix: minor fix

* fix: minor fix

* feat(video): add create mesh connection logic in Video class

* feat(spaces): make video mesh compatible & add spaces class

* feat(spaces): add backend methods in Space class

* fix: Merge branch 'alpha' into 424-spaces-functions-webrtc-logic

* fix(spaces): fix console errors and move out create, update functions from Space class

---------

Co-authored-by: Shoaib Mohammed <shoaibmohammed92@gmail.com>

* refactor: modified init class method

* refactor/added-space-feed-component(#481)

* feat: space-feed

* refactor: space-feed

* Deployment (#440)

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

* fix(component): dummy

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

* fix(component): dummy

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

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

* fix(component): dummy

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

* fix(component): dummy

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

* fix(component): dummy

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

* fix: success progressHook

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

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

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

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

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

* fix(component): dummy

* fix(component): dummy

* fix(component): dummy

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

* fix(component): dummy

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

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

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

* fix: local for local development (#295)

Co-Authored-By: aman035 <guptaaman200115@gmail.com>

* fix: version update

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

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

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

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

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

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

* ci(socket): 🎉 cut release to socket-v0.5.0

* fix: test commit

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

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

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

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

* fix: added ci-version-beta

* fix: added ci-version-beta

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

* fix: added releaseType

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

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

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

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

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

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

* fix: linkedListHash test cases removed & CI version corrected

* fix: update name to beta

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

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

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

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

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

* fix: update package json

* fix: updated socket version

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

* fix: socket lib update

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

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

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

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

* ci(socket): 🎉 cut release to socket-v0.5.1

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

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

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

---------

Co-authored-by: aman035 <guptaaman200115@gmail.com>

* feat: space-feed

* refactor: space-feed

* fix: api-call-custom-hooks

* fix: api-call

* refactor: enums/changes

* fix: scrollable

* fix: scrolling-issue

* feat: filter-changes

* fix: added types

* fix: loader-issue

* fix: tab-button-color

* feat: new-filter and prop

* fix: ended-logic && participant-number logic

* refactor: add onBannerClick

* fix: conflicts

* revert: messed-up spaceBanner

* fix: onClick issue

* fix: onClick and cleanups

* refactor: new pagination interface

* fix: scroll-logic

* fix: scroll-final

* fix: ..

* fix: removed any

* fix: onClick-issue

* fix: loading-context-to-state

* refactor: add-NoSpaceIcons

* refactor: new-ui-layout

* refactor: new-ui-layout

---------

Co-authored-by: Mohammed S <shoaibmohammed92@gmail.com>
Co-authored-by: aman035 <guptaaman200115@gmail.com>
Co-authored-by: Nilesh Gupta <guptanilesh2312@gmail.com>

* refactor: added structure for spaces invites modal component

* refactor: invite-component

* fix: minor-bug

* feat: Create Space API Integration (#494)

* feat: create spaces integration

* feat: added datetime picker

* feat: completed create space API integration

* feat: changed flow and time component

* feat(spaces): initiate livepeer playback in start method (#499)

* fix: add spaces for functions

* fix: Separate page for space in the demo react APP

* fix: start/stop spaces functions

* fix: fix image and description types

* fix: added functions to add and remove members from group

* fix: spaces functions

* fix: spaces functions refactoring

* fix: few more changes

* fix: spaces function testing

* fix: spaces functions

* fix: SDK bug fixes

* fix: SDK bug fixes

* fix: minor fixes

* fix: minor fix

* fix: minor fix

* feat(video): add create mesh connection logic in Video class

* feat(spaces): make video mesh compatible & add spaces class

* feat(spaces): add backend methods in Space class

* fix: Merge branch 'alpha' into 424-spaces-functions-webrtc-logic

* fix(spaces): fix console errors and move out create, update functions from Space class

* feat(spaces): initiate livepeer playback in start method

* feat(spaces): store livepeer playback id in space description

---------

Co-authored-by: Shoaib Mohammed <shoaibmohammed92@gmail.com>

* Add initialize method (#505)

* fix: add spaces for functions

* fix: Separate page for space in the demo react APP

* fix: start/stop spaces functions

* fix: fix image and description types

* fix: added functions to add and remove members from group

* fix: spaces functions

* fix: spaces functions refactoring

* fix: few more changes

* fix: spaces function testing

* fix: spaces functions

* fix: SDK bug fixes

* fix: SDK bug fixes

* fix: minor fixes

* fix: minor fix

* fix: minor fix

* feat(video): add create mesh connection logic in Video class

* feat(spaces): make video mesh compatible & add spaces class

* feat(spaces): add backend methods in Space class

* fix: Merge branch 'alpha' into 424-spaces-functions-webrtc-logic

* fix(spaces): fix console errors and move out create, update functions from Space class

* feat(spaces): initiate livepeer playback in start method

* feat(spaces): store livepeer playback id in space description

* feat(spaces): add intitialize method

---------

Co-authored-by: Shoaib Mohammed <shoaibmohammed92@gmail.com>

* refactor: resolved css in space banner

* refactor: added a skeleton loading effect on space Banner component

* feat: add invite functionality to create space (#506)

* feat: added invite functionality

* fix: add logic for time selector

* fix: css fixes

* refactor: info-on-widget (#504)

* refactor: info-on-widget

* refactor: add Space class to context

* fix: padding, added new mic icons

* fix: added-ref to context

* feat: start added

* fix: remove optional spaceId

* fix: inf-bug

* fix: effectAdded

* fix(spaces): add is supported check in start

* refactor: added-join-functionalities (#507)

* refactor: added-join-functionalities

* fix: screens

* fix(spaces): fix livepeer stream creation in start

---------

Co-authored-by: Madhur Gupta <madhur@push.org>

* Fix join and pgpPrivateKey in demoreact (#508)

* refactor: info-on-widget

* refactor: add Space class to context

* fix: padding, added new mic icons

* fix: added-ref to context

* feat: start added

* fix: remove optional spaceId

* fix: inf-bug

* fix: effectAdded

* fix(spaces): add is supported check in start

* refactor: added-join-functionalities

* fix: screens

* refactor: added-join-functionalities (#507)

* refactor: added-join-functionalities

* fix: screens

* fix(spaces): fix livepeer stream creation in start

* fix: join function

---------

Co-authored-by: samarendra-push <samarendra@push.org>
Co-authored-by: Samarendra Gouda <134079446+samarendra-push@users.noreply.github.com>

* refactor: added feature of triggering widget from sdk

* fix(spaces): fix join as speaker and listner

* fix: resolved updating env and other class variables

* Spaces/UI migration (#510)

* fix: ui-migration

* fix: migration fixes

* refactor: added notification socket for space in uiweb

* feat: add remove and admin func to invite modal (#509)

* feat: add remove and admin func to invite modal

* fix: fix null

* fix(spaces): fix start

* feat: add join functionality to invited spaces (#512)

* feat: add join functionality to invited spaces

* fix: open space widget after joining

* refactor: add audio playback from space speakers (#511)

* refactor: added a hidden Video container

* fix: migrated initSpaceObject to parent component

* feat(spaces): add user feeds socket handler logic

* fix: fix create invite UI edge cases (#515)

* fix: fix create invite UI edge cases

* fix: fix env

* fix: fix state behaviour

* fix: add wallet as name if name string empty

add wallet as name if name string empty

* refactor: added join function and socket code (#517)

* refactor: added join function and socket code

* refactor(spaces): fix mesh creation logic

* refactor(spaces): remove unused imports from context

* refactor(spaces): remove unused code and improve positioning of code blocks

---------

Co-authored-by: Madhur Gupta <madhur@push.org>

* Fix isJoined, add hidden video tag (#514)

* refactor: added a hidden Video container

* fix: migrated initSpaceObject to parent component

* fix: WIP isJoined

* fix: join as a listener

---------

Co-authored-by: Madhur Gupta <madhur@push.org>

* fix(spaces): add create audio call before join for speakers (#518)

* Widget/videoplayer (#519)

* refactor: added a hidden Video container

* fix: migrated initSpaceObject to parent component

* fix: WIP isJoined

* fix: revert husky

* fix: nx.json revert

* fix: join as a listener

* fix: start ui-logic refactor

* fix: merge-conflicts

* fix: isListener

* fix(spaces): fix isSpeaker and isListner logic

* feat: added blockies (#523)

---------

Co-authored-by: Nilesh Gupta <guptanilesh2312@gmail.com>
Co-authored-by: Arnab Chatterjee <60937304+arn4b@users.noreply.github.com>
Co-authored-by: Samarendra Gouda <134079446+samarendra-push@users.noreply.github.com>
Co-authored-by: Samarendra Gouda <samarendragouda@gmail.com>
Co-authored-by: Shoaib Mohammed <shoaibmohammed92@gmail.com>
Co-authored-by: aman035 <guptaaman200115@gmail.com>
Co-authored-by: samarendra-push <samarendra@push.org>

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

* Update README.md

* fix: rename chats to spaces

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

* fix: spaces examples fixes

* fix: renamed spaces variables and removed some unused variables

* Update README.md

* fix: space api

* fix: use SpaceIFeeds

* fix: space feed API path fix

---------

Co-authored-by: aman035 <guptaaman200115@gmail.com>
Co-authored-by: Madhur Gupta <madhur@epns.io>
Co-authored-by: Madhur Gupta <madhur@push.org>
Co-authored-by: strykerin <dacosta.pereirafabio@gmail.com>
Co-authored-by: Nilesh Gupta <guptanilesh2312@gmail.com>
Co-authored-by: Arnab Chatterjee <60937304+arn4b@users.noreply.github.com>
Co-authored-by: Samarendra Gouda <134079446+samarendra-push@users.noreply.github.com>
Co-authored-by: Samarendra Gouda <samarendragouda@gmail.com>
Co-authored-by: samarendra-push <samarendra@push.org>
Co-authored-by: Monalisha Mishra <mishramonalisha76@gmail.com>
  • Loading branch information
11 people authored Jul 20, 2023
1 parent 481d8fc commit 80ddaf1
Show file tree
Hide file tree
Showing 4 changed files with 50 additions and 12 deletions.
12 changes: 2 additions & 10 deletions packages/restapi/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,12 @@

This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).

# [1.4.0](https://github.com/ethereum-push-notification-service/push-sdk/compare/restapi-1.3.9...restapi-1.4.0) (2023-07-17)
## [0.0.1-alpha.24](https://github.com/ethereum-push-notification-service/push-sdk/compare/restapi-0.0.1-alpha.23...restapi-0.0.1-alpha.24) (2023-07-14)


### Bug Fixes

* add tc fix null meta ([#502](https://github.com/ethereum-push-notification-service/push-sdk/issues/502)) ([6e48314](https://github.com/ethereum-push-notification-service/push-sdk/commit/6e48314c0e58989849f66a4ffe387d906623ef69))
* added messageObj and Meta Messages support ([#485](https://github.com/ethereum-push-notification-service/push-sdk/issues/485)) ([2769aa6](https://github.com/ethereum-push-notification-service/push-sdk/commit/2769aa6bb0da6e7a4d28fca6b481db6cc2958d47))
* added silent notifications ([#467](https://github.com/ethereum-push-notification-service/push-sdk/issues/467)) ([88bafe4](https://github.com/ethereum-push-notification-service/push-sdk/commit/88bafe49d489cfe399efa7166407a50574995b16))
* fix unable to decrypt case ([#527](https://github.com/ethereum-push-notification-service/push-sdk/issues/527)) ([ccdf532](https://github.com/ethereum-push-notification-service/push-sdk/commit/ccdf532517e50e40ae0d0645c6c836360152813f))


### Features

* chat widget component ([#386](https://github.com/ethereum-push-notification-service/push-sdk/issues/386)) ([93a8fd8](https://github.com/ethereum-push-notification-service/push-sdk/commit/93a8fd8b41831ab61931336044a8f66cb9453edd)), closes [#460](https://github.com/ethereum-push-notification-service/push-sdk/issues/460)
* rename chats to spaces ([899eb21](https://github.com/ethereum-push-notification-service/push-sdk/commit/899eb212af29e3a65541686d98927e37b97927c5))



Expand Down
2 changes: 1 addition & 1 deletion packages/restapi/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@pushprotocol/restapi",
"version": "1.4.0",
"version": "0.0.1-alpha.24",
"type": "commonjs",
"publishConfig": {
"registry": "https://registry.npmjs.org/"
Expand Down
2 changes: 1 addition & 1 deletion packages/restapi/src/lib/space/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ export * from './addListeners';
export * from './removeListeners';
export * from './approve';
export * from './requests';

export {spaceFeed as space} from './spaceFeed';
export * from './Space'
46 changes: 46 additions & 0 deletions packages/restapi/src/lib/space/spaceFeed.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
import axios from 'axios';
import { getAPIBaseUrls, isValidETHAddress } from '../helpers';
import Constants, { ENV } from '../constants';
import { SpaceIFeeds } from '../types';
import { getSpaceInboxLists, getUserDID } from './../chat/helpers';

export const spaceFeed = async (options: {
account: string;
pgpPrivateKey?: string;
toDecrypt?: boolean;
env?: ENV;
recipient: string;
}): Promise<SpaceIFeeds> => {
const {
account,
pgpPrivateKey,
env = Constants.ENV.PROD,
toDecrypt = false,
recipient,
} = options || {};
const user = await getUserDID(account, env);
const recipientWallet = await getUserDID(recipient, env);
if (!isValidETHAddress(user)) throw new Error(`Invalid address ${user}`);
const API_BASE_URL = getAPIBaseUrls(env);
const apiEndpoint = `${API_BASE_URL}/v1/spaces/users/${user}/space/${recipientWallet}`;
try {
const response = await axios.get(apiEndpoint);
// If no chat between users, then returns {}
const space: SpaceIFeeds = response.data;
if (Object.keys(space).length !== 0) {
const [feed]: SpaceIFeeds[] = await getSpaceInboxLists({
lists: [space],
user,
toDecrypt,
pgpPrivateKey,
env,
});
return feed;
} else {
return space;
}
} catch (err) {
console.error(`[Push SDK] - API ${spaceFeed.name}: `, err);
throw Error(`[Push SDK] - API ${spaceFeed.name}: ${err}`);
}
};

0 comments on commit 80ddaf1

Please sign in to comment.