Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uiweb restapi fixes #1249

Merged
merged 370 commits into from
May 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
370 commits
Select commit Hold shift + click to select a range
35039b5
Chat Preview List workable PoC (#987)
HarshRajat Jan 18, 2024
f93c645
fix: Merge branch 'alpha' into alpha-deployment
mohammeds1992 Jan 18, 2024
6a91107
fix: fix errors
mohammeds1992 Jan 18, 2024
65d46c6
ci(restapi): 🎉 cut beta release to restapi-v0.0.1-alpha.64
mohammeds1992 Jan 18, 2024
fe2a3c5
fix: changed stream type to any
mishramonalisha76 Jan 18, 2024
e597fe5
fix: changed stream type to any
mishramonalisha76 Jan 18, 2024
859341e
ci(uiweb): 🎉 cut beta release to uiweb-v0.0.1-alpha.16
mohammeds1992 Jan 18, 2024
d75a862
fix: minor change
mohammeds1992 Jan 18, 2024
e57160a
ci(uiweb): 🎉 cut beta release to uiweb-v0.0.1-alpha.17
mohammeds1992 Jan 18, 2024
3034c2c
fix: minor fix
mohammeds1992 Jan 18, 2024
2f7f04e
ci(uiweb): 🎉 cut beta release to uiweb-v0.0.1-alpha.36
mohammeds1992 Jan 18, 2024
15c8488
fix: fixed issues on chatpreviewlist (#1044)
mishramonalisha76 Jan 19, 2024
bb3bdf5
fix: Merge branch 'alpha' into alpha-deployment
mohammeds1992 Jan 19, 2024
a05ba4a
ci(uiweb): 🎉 cut beta release to uiweb-v0.0.1-alpha.37
mohammeds1992 Jan 19, 2024
85d862f
fix: added a dynamic component for no chatId (#1042)
mishramonalisha76 Jan 23, 2024
8046688
fix: changed pushUser to user (#1058)
mishramonalisha76 Jan 23, 2024
e57f0ee
Chatpreview bug (#1063)
mishramonalisha76 Jan 25, 2024
6bac687
fix: Merge branch 'alpha' into alpha-deployment
mohammeds1992 Jan 25, 2024
77896b6
ci(uiweb): 🎉 cut beta release to uiweb-v0.0.1-alpha.38
mohammeds1992 Jan 25, 2024
d1cbafb
fix: fixed minor limit bug (#1065)
mishramonalisha76 Jan 25, 2024
12179ab
fix: Merge branch 'alpha' into alpha-deployment
mohammeds1992 Jan 25, 2024
6054507
ci(uiweb): 🎉 cut beta release to uiweb-v0.0.1-alpha.39
mohammeds1992 Jan 25, 2024
d4484dd
ci(uiweb): 🎉 cut beta release to uiweb-v0.0.1-alpha.39
mohammeds1992 Jan 25, 2024
bbd583c
Bug fix (#1068)
mishramonalisha76 Jan 29, 2024
e7d53ca
fix: Merge branch 'alpha' into alpha-deployment
mohammeds1992 Jan 29, 2024
df6c7a7
ci(uiweb): 🎉 cut beta release to uiweb-v0.0.1-alpha.40
mohammeds1992 Jan 29, 2024
889cf29
fix: Merge branch 'main' into deployment
mohammeds1992 Jan 29, 2024
6b4bf60
ci(restapi): 🎉 cut release to restapi-v1.6.4
mohammeds1992 Jan 29, 2024
ac17311
fix: Merge branch 'main' into deployment
mohammeds1992 Jan 30, 2024
35c983e
ci(uiweb): 🎉 cut release to uiweb-v1.2.5
mohammeds1992 Jan 30, 2024
64b8d97
Chatprofile (#1040)
mishramonalisha76 Jan 31, 2024
9961ab7
fix: fixed preview bugs (#1078)
mishramonalisha76 Feb 1, 2024
e051b80
Userprofile (#1084)
mishramonalisha76 Feb 1, 2024
78483d6
fix: removed console
mishramonalisha76 Feb 1, 2024
7be33d9
fix: fixed length issue in test
mishramonalisha76 Feb 1, 2024
e3d08bb
fix: Merge branch 'alpha' into alpha-deployment
mohammeds1992 Feb 1, 2024
e85d484
ci(uiweb): 🎉 cut beta release to uiweb-v0.0.1-alpha.41
mohammeds1992 Feb 1, 2024
fdf8e13
fix: fixed pagination bug
mishramonalisha76 Feb 2, 2024
a8332fc
fix: the messages disappearing on scroll (#1077)
pritipsingh Feb 2, 2024
abbc6ad
fix: fixed chat preview stream issues (#1085)
mishramonalisha76 Feb 2, 2024
9286ce8
fix: Merge branch 'main' into deployment
mohammeds1992 Feb 5, 2024
e57eb42
ci(restapi): 🎉 cut release to restapi-v1.6.5
mohammeds1992 Feb 5, 2024
f856207
fix: Merge branch 'main' into deployment
mohammeds1992 Feb 5, 2024
9717b18
ci(restapi): 🎉 cut release to restapi-v1.6.6
mohammeds1992 Feb 5, 2024
c9ddf4d
897 improvement proposal spaces high level functions (#898)
mohammeds1992 Feb 7, 2024
e80f2f8
fix: Merge branch 'alpha' into alpha-deployment
mohammeds1992 Feb 7, 2024
638b5d7
fix(restapi): build errors from spaces (#1098)
madhur-push Feb 8, 2024
0d61b10
fix: Merge branch 'alpha' into alpha-deployment
mohammeds1992 Feb 8, 2024
f822908
ci(restapi): 🎉 cut beta release to restapi-v0.0.1-alpha.65
mohammeds1992 Feb 8, 2024
bbf3ddf
ci(uiweb): 🎉 cut beta release to uiweb-v0.0.1-alpha.42
mohammeds1992 Feb 8, 2024
d832ae3
feat(spaces v2): update space.initialize() param name, rename media()…
madhur-push Feb 8, 2024
be351df
fix: Merge branch 'main' into deployment
mohammeds1992 Feb 8, 2024
1cd4512
ci(restapi): 🎉 cut release to restapi-v1.6.7
mohammeds1992 Feb 8, 2024
feb77a9
fix: Merge branch 'alpha' into alpha-deployment
mohammeds1992 Feb 8, 2024
ff22863
ci(restapi): 🎉 cut beta release to restapi-v0.0.1-alpha.66
mohammeds1992 Feb 8, 2024
a193560
fix: media emoji added
pritipsingh Feb 8, 2024
1d4622c
fix: sending first message now shows in the inbox
pritipsingh Feb 8, 2024
478e451
fix: Merge branch 'main' into deployment
mohammeds1992 Feb 9, 2024
b05e80e
ci(restapi): 🎉 cut release to restapi-v1.6.8
mohammeds1992 Feb 9, 2024
49d6bfc
fix: for requests for receivers
pritipsingh Feb 9, 2024
2b4fbce
Merge pull request #1106 from ethereum-push-notification-service/medi…
HarshRajat Feb 9, 2024
2c0a4b9
fix: Merge branch 'alpha' into alpha-deployment
mohammeds1992 Feb 9, 2024
3edb0ed
ci(uiweb): 🎉 cut beta release to uiweb-v0.0.1-alpha.43
mohammeds1992 Feb 9, 2024
c695c18
fix: added notification widget layout (#1076)
mishramonalisha76 Feb 13, 2024
be6cac0
fix: Merge alpha
mishramonalisha76 Feb 13, 2024
cdee5c6
fix: fixed build issues
mishramonalisha76 Feb 13, 2024
c6962ab
ci(uiweb): 🎉 cut beta release to uiweb-v0.0.1-alpha.36
mishramonalisha76 Feb 13, 2024
2962c6c
ci(uiweb): 🎉 cut beta release to uiweb-v0.0.1-alpha.44
mishramonalisha76 Feb 13, 2024
9014a76
ci(restapi): 🎉 cut beta release to restapi-v0.0.1-alpha.67
mishramonalisha76 Feb 13, 2024
658db3c
Alpha deployment (#1112)
mishramonalisha76 Feb 13, 2024
ae6934f
fix: merge main to alpha
mohammeds1992 Feb 13, 2024
2b02a65
fix: fixed minor bugs
mishramonalisha76 Feb 13, 2024
c6ba60b
fix: fixed conflicts
mishramonalisha76 Feb 13, 2024
bc1ade0
Alpha deployment (#1114)
mishramonalisha76 Feb 13, 2024
ff6b576
fix: fixed chatpreview and widget issues
mishramonalisha76 Feb 19, 2024
db2fd58
fix: fixed merge conflicts
mishramonalisha76 Feb 19, 2024
ca38a40
Alpha deployment (#1116)
mishramonalisha76 Feb 19, 2024
f4cdbda
fix: fixed chat bugs
mishramonalisha76 Feb 21, 2024
b7305b3
1119 read only mode bug fix (#1120)
mohammeds1992 Feb 21, 2024
50b6fd3
fix: testing readMode
mishramonalisha76 Feb 21, 2024
7214d68
fix: fixed readmode
mishramonalisha76 Feb 21, 2024
9c6383c
Alpha deployment (#1121)
mishramonalisha76 Feb 21, 2024
3d7f70f
ci(restapi): 🎉 cut beta release to restapi-v0.0.1-alpha.68
mohammeds1992 Feb 21, 2024
dd7a75c
ci(restapi): 🎉 cut beta release to restapi-v0.0.1-alpha.68
mohammeds1992 Feb 21, 2024
13649ff
ci(restapi): 🎉 cut beta release to restapi-v0.0.1-alpha.70
mohammeds1992 Feb 21, 2024
e5f598e
fix: merged main
Aman035 Feb 22, 2024
523bfb8
Mark ethers optional (#1124)
Aman035 Feb 26, 2024
07cdbeb
fix: Merge branch 'alpha' into alpha-deployment
mohammeds1992 Feb 26, 2024
c9894ca
ci(restapi): 🎉 cut beta release to restapi-v0.0.1-alpha.71
mohammeds1992 Feb 26, 2024
aa6667e
fix: Merge branch 'main' into deployment
mohammeds1992 Feb 28, 2024
e4d6929
ci(restapi): 🎉 cut release to restapi-v1.6.9
mohammeds1992 Feb 28, 2024
8b00609
fix: added prefillChatList (#1122)
mishramonalisha76 Feb 28, 2024
25184de
fix: fixed chatpreview
mishramonalisha76 Feb 28, 2024
815c59a
fix: troubleshoot
mishramonalisha76 Feb 29, 2024
841a2b7
fix: fixed minor issue
mishramonalisha76 Feb 29, 2024
c8d7a06
fix: merge issues
mishramonalisha76 Feb 29, 2024
8d33691
fix: pulled alpha
mishramonalisha76 Feb 29, 2024
3bf3bf0
Alpha deployment (#1132)
mishramonalisha76 Feb 29, 2024
f08725e
fix: fixed gues mode user profile
mishramonalisha76 Mar 1, 2024
5431ff8
fix: fixed subscription error
mishramonalisha76 Mar 1, 2024
3111be5
Minor changes in spaces v2 SDK (#1136)
madhur-push Mar 2, 2024
370e2f2
fix: Merge branch 'main' into alpha
mohammeds1992 Mar 2, 2024
93e6231
fix: Merge branch 'alpha' into alpha-deployment
mohammeds1992 Mar 2, 2024
747baab
ci(restapi): 🎉 cut beta release to restapi-v0.0.1-alpha.72
mohammeds1992 Mar 2, 2024
05a897e
fix: Merge branch 'main' into deployment
mohammeds1992 Mar 2, 2024
58d79ff
ci(restapi): 🎉 cut release to restapi-v1.6.10
mohammeds1992 Mar 2, 2024
ebbfc9c
Alpha deployment (#1134)
mishramonalisha76 Mar 5, 2024
0ea4e02
fix: stream connection support chat + pushUser to user fix (#1066)
pritipsingh Mar 5, 2024
c63cbb8
fix: fixed support chat issues
mishramonalisha76 Mar 5, 2024
f68a1ed
fix: fixed build issues
mishramonalisha76 Mar 5, 2024
44b0253
Alpha deployment (#1146)
mishramonalisha76 Mar 5, 2024
4e40221
fix: z-index modal (#1152)
pritipsingh Mar 6, 2024
ad47344
Revert "fix: z-index modal (#1152)" (#1153)
mishramonalisha76 Mar 6, 2024
71c5b0d
Fix role change stream event (#1157)
Aman035 Mar 7, 2024
dd88465
fix: Merge branch 'main' into alpha
mohammeds1992 Mar 7, 2024
ddfba9e
fix: Merge branch 'alpha' into alpha-deployment
mohammeds1992 Mar 7, 2024
6c85e2b
ci(uiweb): 🎉 cut beta release to uiweb-v0.0.1-alpha.45
mohammeds1992 Mar 7, 2024
3a11272
ci(restapi): 🎉 cut beta release to restapi-v0.0.1-alpha.73
mohammeds1992 Mar 7, 2024
f5a8f63
ci(restapi): 🎉 cut beta release to restapi-v0.0.1-alpha.74
mohammeds1992 Mar 7, 2024
b6c6f19
fix: Merge branch 'main' into deployment
mohammeds1992 Mar 7, 2024
a162682
ci(restapi): 🎉 cut release to restapi-v1.6.11
mohammeds1992 Mar 7, 2024
25b30c8
fix: merge main
mohammeds1992 Mar 8, 2024
0740d4e
ci(uiweb): 🎉 cut release to uiweb-v1.2.6
mohammeds1992 Mar 8, 2024
d902ded
fix: pulled main
mishramonalisha76 Mar 8, 2024
cfbff87
fix: pulled alpha
mishramonalisha76 Mar 8, 2024
b4305dc
Added channel.list API (#1160)
HarshRajat Mar 11, 2024
5c74c0f
fix: Merge branch 'alpha' into deployment
mohammeds1992 Mar 11, 2024
c0bd72e
ci(restapi): 🎉 cut release to restapi-v1.7.0
mohammeds1992 Mar 11, 2024
47a0426
ci(uiweb): 🎉 cut release to uiweb-v1.2.7
mohammeds1992 Mar 11, 2024
0f448dd
fix: Merge branch 'main' into deployment
mohammeds1992 Mar 13, 2024
0eab986
ci(restapi): 🎉 cut release to restapi-v1.7.1
mohammeds1992 Mar 13, 2024
2cbb86b
fix: some types are fixed
mohammeds1992 Mar 13, 2024
c57951c
ci(restapi): 🎉 cut release to restapi-v1.7.2
mohammeds1992 Mar 13, 2024
8fb3301
fix: horizontal scroll (#1156)
pritipsingh Mar 14, 2024
ddb3b97
fix: merge main
mohammeds1992 Mar 21, 2024
d39dd0e
fix: pulled alpha
mishramonalisha76 Mar 21, 2024
b7391b6
fix: pulled main
mishramonalisha76 Mar 21, 2024
a53271f
fix: pulled alpha
mishramonalisha76 Mar 21, 2024
ef944e4
fix: merged settings pr
mishramonalisha76 Mar 21, 2024
53a795d
fix: Merge branch 'main' into alpha
mohammeds1992 Mar 21, 2024
4d1c5ef
fix: merge alpha
mohammeds1992 Mar 21, 2024
6cd5dd8
fix: fixed berachain issue
mishramonalisha76 Mar 21, 2024
af3efe2
fix: fixed span
mishramonalisha76 Mar 21, 2024
f22e9fb
fix: pulled
mishramonalisha76 Mar 21, 2024
5f18cff
Alpha deployment (#1178)
mishramonalisha76 Mar 22, 2024
e54712a
fix: Merge branch 'main' into deployment
mohammeds1992 Mar 22, 2024
60b424f
fix: Merge branch 'main' into deployment
mohammeds1992 Mar 22, 2024
85cf829
fix: support chat scroll (#1184)
pritipsingh Mar 27, 2024
a68929c
Group fixes (#1182)
mishramonalisha76 Apr 1, 2024
5e6dcc5
fix: fixed user giving undefined for info (#1194)
mishramonalisha76 Apr 1, 2024
1e6caa2
Chatviewlist migration (#1164)
mishramonalisha76 Apr 2, 2024
d1cb028
fix: pulled alpha
mishramonalisha76 Apr 2, 2024
029e34d
Alpha deployment (#1200)
mishramonalisha76 Apr 2, 2024
b7f4856
Revert "Alpha deployment (#1200)" (#1201)
mishramonalisha76 Apr 2, 2024
9543bd5
fix: Merge branch 'main' into alpha
mohammeds1992 Apr 2, 2024
f3ca687
fix: Merge branch 'main' into alpha
mohammeds1992 Apr 2, 2024
13eaf0e
fix: Merge branch 'alpha' into alpha-deployment
mohammeds1992 Apr 2, 2024
beb7860
ci(restapi): 🎉 cut beta release to restapi-v0.0.1-alpha.75
mohammeds1992 Apr 2, 2024
0ab1986
ci(restapi): 🎉 cut beta release to restapi-v0.0.1-alpha.75
mohammeds1992 Apr 2, 2024
476d24a
ci(restapi): 🎉 cut beta release to restapi-v0.0.1-alpha.77
mohammeds1992 Apr 2, 2024
dc91e60
fix: Merge branch 'main' into deployment
mohammeds1992 Apr 2, 2024
4937466
ci(restapi): 🎉 cut release to restapi-v1.7.3
mohammeds1992 Apr 2, 2024
ae4d055
Chatviewlist migration (#1202)
mishramonalisha76 Apr 2, 2024
b349eff
fix: Merge branch 'alpha' into alpha-deployment
mohammeds1992 Apr 3, 2024
241080d
feat(uiweb): return response in createGroupModal (#1198)
Siddesh7 Apr 8, 2024
6cedac8
feat(uiweb): return response in createGroupModal (#1198) (#1215)
mishramonalisha76 Apr 8, 2024
1a24197
chore: merged main
Aman035 Apr 10, 2024
936ca8c
Add Polygon Amoy Support (#1221)
pratham-bhatnagar Apr 10, 2024
3d52b21
fix: Merge branch 'alpha' into alpha-deployment
mohammeds1992 Apr 10, 2024
e199abe
ci(restapi): 🎉 cut beta release to restapi-v0.0.1-alpha.78
mohammeds1992 Apr 10, 2024
dfc1f05
1220 add polygon amoy support (#1222)
pratham-bhatnagar Apr 10, 2024
18ad068
Tweaked UIWeb Chat
HarshRajat Apr 11, 2024
7dbfdf1
Merged Latest Alpha
HarshRajat Apr 11, 2024
34263c9
fix: added instanceids for push user and stream (#1224)
mohammeds1992 Apr 12, 2024
9c0c28e
1223 return id for push api and stream init (#1226)
mohammeds1992 Apr 12, 2024
cb8d996
fix: Merge branch 'alpha' into alpha-deployment
mohammeds1992 Apr 12, 2024
d29fda5
ci(restapi): 🎉 cut beta release to restapi-v0.0.1-alpha.79
mohammeds1992 Apr 12, 2024
12acc3c
fixed conversation private or not
HarshRajat Apr 12, 2024
0034618
Merge branch 'alpha' into uiweb-restapi-fixes
HarshRajat Apr 12, 2024
ad37848
fix: Merge branch 'alpha' into alpha-deployment
mohammeds1992 Apr 13, 2024
76d5e07
ci(restapi): 🎉 cut beta release to restapi-v0.0.1-alpha.80
mohammeds1992 Apr 13, 2024
6718648
fix: chat info changes
mohammeds1992 Apr 15, 2024
97f8390
fix: Merge branch 'alpha' into alpha-deployment
mohammeds1992 Apr 15, 2024
7d3e077
ci(restapi): 🎉 cut beta release to restapi-v0.0.1-alpha.81
mohammeds1992 Apr 15, 2024
f14c15c
fix: Merge branch 'main' into deployment
mohammeds1992 Apr 15, 2024
12fa2c6
ci(restapi): 🎉 cut release to restapi-v1.7.4
mohammeds1992 Apr 15, 2024
ba27ffc
Fixing chat components
HarshRajat Apr 16, 2024
3271cea
merging alpha
HarshRajat Apr 16, 2024
fab3700
fix: bug fixes
mohammeds1992 Apr 16, 2024
ce4af1a
fix: renamed sender to account
mohammeds1992 Apr 16, 2024
7bbc443
fix: fix fn definitions (#1232)
Aman035 Apr 16, 2024
7e32f93
fix: Merge branch 'alpha' into alpha-deployment
mohammeds1992 Apr 16, 2024
bd70cda
fix: fix tmp error
mohammeds1992 Apr 16, 2024
70c8e83
ci(restapi): 🎉 cut beta release to restapi-v0.0.1-alpha.82
mohammeds1992 Apr 16, 2024
9fe07cd
fix: merge conflicts
mohammeds1992 Apr 16, 2024
74a6785
fix: update chat
mohammeds1992 Apr 16, 2024
44e81e0
ci(restapi): 🎉 cut beta release to restapi-v0.0.1-alpha.83
mohammeds1992 Apr 16, 2024
ae4b5d3
fix: merge main
mohammeds1992 Apr 16, 2024
1985724
ci(restapi): 🎉 cut release to restapi-v1.7.5
mohammeds1992 Apr 16, 2024
f453a25
fix: push api account public
mohammeds1992 Apr 16, 2024
645581e
ci(restapi): 🎉 cut release to restapi-v1.7.6
mohammeds1992 Apr 16, 2024
0d045e4
fix: Merge branch 'main' into deployment
mohammeds1992 Apr 16, 2024
0873102
ci(restapi): 🎉 cut release to restapi-v1.7.7
mohammeds1992 Apr 16, 2024
a7d1ef8
fix: add public params
mohammeds1992 Apr 17, 2024
3f1ec4b
ci(restapi): 🎉 cut release to restapi-v1.7.8
mohammeds1992 Apr 17, 2024
ee67ea9
commit to pull changes from alpha
HarshRajat Apr 17, 2024
b6bb7d2
added .gitignore for .yarn
HarshRajat Apr 17, 2024
2833534
Merging from alpha
HarshRajat Apr 17, 2024
07060e7
fix: add public params
mohammeds1992 Apr 17, 2024
39c674a
fix: Merge branch 'alpha' into alpha-deployment
mohammeds1992 Apr 17, 2024
09e59fd
ci(restapi): 🎉 cut beta release to restapi-v0.0.1-alpha.84
mohammeds1992 Apr 17, 2024
a8a7bc9
merge alpha
HarshRajat Apr 17, 2024
de33818
fixed ChatProfile and PushUser
HarshRajat Apr 17, 2024
5b7c30a
fix: error meta fix
mohammeds1992 Apr 18, 2024
ea8feac
ci(restapi): 🎉 cut beta release to restapi-v0.0.1-alpha.85
mohammeds1992 Apr 18, 2024
e3b0d1d
Rebased few icons to PushIcons.tsx, optimized resolveWeb3Name, added …
HarshRajat Apr 18, 2024
d35f834
Added prettier in UIWeb and format rules, rebased icon and changed to…
HarshRajat Apr 18, 2024
b68ad09
vscode settings and rebasing helpers
HarshRajat Apr 18, 2024
1a45c3c
merging alpha branch
HarshRajat Apr 18, 2024
70f63b1
feat: Add Polygon zkEvm Cardona support (#1243)
pratham-bhatnagar Apr 23, 2024
f47dcc8
test: fix test case
Aman035 Apr 23, 2024
46dcbc3
fix: Merge branch 'alpha' into alpha-deployment
mohammeds1992 Apr 23, 2024
8c4557a
ci(restapi): 🎉 cut beta release to restapi-v0.0.1-alpha.86
mohammeds1992 Apr 23, 2024
6ede614
ci(uiweb): 🎉 cut beta release to uiweb-v0.0.1-alpha.46
mohammeds1992 Apr 23, 2024
2b1e8b4
fix: merge main
mohammeds1992 Apr 23, 2024
d814537
fixed localstorage and displaying chat profile
HarshRajat Apr 24, 2024
f169bfd
fix: Merge branch 'main' into alpha
mohammeds1992 Apr 25, 2024
5d1ce94
ci(restapi): 🎉 cut beta release to restapi-v0.0.1-alpha.87
mohammeds1992 Apr 25, 2024
9320e00
Changing stream operations
HarshRajat Apr 25, 2024
b582677
merge alpha
HarshRajat Apr 25, 2024
4cded05
feat: support chat v2 added (#1236)
mishramonalisha76 Apr 25, 2024
7e589ca
feat: support chat v2 added (#1236) (#1248)
mishramonalisha76 Apr 25, 2024
05b8c22
fix: logs
mohammeds1992 Apr 25, 2024
e30e7b6
fix: Merge branch 'alpha' into alpha-deployment
mohammeds1992 Apr 25, 2024
6239b7c
ci(restapi): 🎉 cut beta release to restapi-v0.0.1-alpha.88
mohammeds1992 Apr 25, 2024
e6fdb8f
partial commit before alpha merge
HarshRajat Apr 26, 2024
72516df
fix: stream fixes
mohammeds1992 Apr 27, 2024
866befb
ci(restapi): 🎉 cut beta release to restapi-v0.0.1-alpha.89
mohammeds1992 Apr 27, 2024
0301872
rebasing chat stream
HarshRajat Apr 27, 2024
7f0c667
Merging alpha branch
HarshRajat Apr 27, 2024
9e3ab21
Enabled debug mode
HarshRajat Apr 27, 2024
345c3c1
fix: chat stream fixes
mohammeds1992 Apr 27, 2024
198f843
chat stream fixes
HarshRajat Apr 27, 2024
7d49e31
Merged from alpha
HarshRajat Apr 27, 2024
3c20d57
Before toast rebase
HarshRajat Apr 29, 2024
8b3cc6a
Fixed most issues including toast, zIndex
HarshRajat Apr 29, 2024
bbd439d
Added comment for clarity on ChatPreviewList
HarshRajat Apr 29, 2024
d8c830c
fix: fixed chat qa issues
mishramonalisha76 May 1, 2024
1c06f94
fix: fixed issue
mishramonalisha76 May 1, 2024
1dfeb52
fix: fixed lint issue merged with main
mishramonalisha76 May 2, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading